[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-10-31 Thread [EMAIL PROTECTED]
I think you would be better off asking in the jBPM forum, nothing to do with Seam, AFAICT. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982172#3982172 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982172 ___

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-10-31 Thread diablo341
I'm getting an error working through the guide. I installed AS 4.0.5.GA and jbpm starters kit 3.1.2. I get the following error when deploying the sample project: | 11:17:55,517 INFO [EARDeployer] Init J2EE application: file:/C:/jboss_installs/jboss-4.0.5.GA/server/default/deploy/sample.ear

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-10-28 Thread japplicoon
Who was the guy that planned to write a build.xml for the WTP-structure? That would be the nicest way for me, since I really don't want to refactor the whole project back to the "seam-structure" ... While upgrading Jboss I seem to have secured the jmx console such that the shutdown script need

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-10-28 Thread [EMAIL PROTECTED]
anonymous wrote : I've actually given up on WTP's crummy "publish" mechanism | and gone and written a shell script to jar up and deploy the ear by hand. seam-gen actually has non WTP based build script tasks and that was my original objective. But, since most newbies really want tooling, I add

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-10-24 Thread shundavid
The new documentation works perfect, Thanks!. You guys look into fixing the Reverse Engineering demo too View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980593#3980593 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=39805

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-10-23 Thread andyd
The MyEclipse publish is pretty good. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980174#3980174 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980174 ___ jboss-user mailin

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-10-23 Thread cja987
Calling WTP is a little bit flakey is like calling Ubuntu a little bit brown. I've actually given up on WTP's crummy "publish" mechanism and gone and written a shell script to jar up and deploy the ear by hand. And unlike WTP's mouse-only (afaict) interface for manual publish, I can just make

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-10-23 Thread [EMAIL PROTECTED]
"shundavid" wrote : I did it, and it still says: | | org.jboss.deployment.DeploymentException: Failed to find module file: lib/jboss-seam.jar Has a fix documented in step#5. Basically the WTP tooling changed and is a bit flaky. You have to remove the jboss-seam.jar and jbpm-3.1.1.jar J2EE m

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-10-16 Thread scofield
Hi,hatcheck I got same problems with you.And I did the same actions with yours,but with the first step i took it on the sampleWeb.When I run it,I didn't see any error message.Good luck View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978678#3978678 Reply to th

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-10-14 Thread hatcheck
So, I took a fresh start with seam-gen's tutorial this morning. I followed the tutorial steps; got the same jboss-seam.jar not found and followed japplicoon's suggestion with application.xml & properties. Here's what worked for me: 1. In sampleEJB > J2EE Module Dependencies select both jboss-s

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-10-13 Thread japplicoon
You don't need to. The file shown there is the build.properties file in seam-gen, only used to create your project and, afterwards, actions etc. I was mislead by the open file, too. The build.xml AND build.properties in your wtp-project will not be used and it cannot be used, because it is the

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-10-13 Thread japplicoon
Hi, shundavid! I just removed the entries for jboss-seam.jar and jbpm-xxx.jar from application.xml. Make sure the two jar files appear in your EarContent directory (for some reason they first did not in my project). There is also a configuration option in "properties (context menu)" --> "J2EE

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-10-13 Thread hatcheck
Also, in step #5 screenshot of build.properties it shows the variables entered in seam set-properties step. However, my build.properties only has the jboss.home property. How do you get the other properties generated? Can you manually add them? If so, do you have to rerun any steps? View th

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-10-12 Thread hatcheck
"karakal" wrote : I have this error with Eclipse 3.2, Jboss 4.0.4GA, the newest version of Seam and seam-gen: | | 11:45:08,510 ERROR [MainDeployer] Could not initialise deployment: file:/home/lah/jboss-4.0.4.GA/server/default/deploy/sample.ear | org.jboss.deployment.DeploymentException: Fa

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-10-12 Thread shundavid
I did it, and it still says: org.jboss.deployment.DeploymentException: Failed to find module file: lib/jboss-seam.jar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978029#3978029 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-10-11 Thread maulinpshah
I was able to easily fix this by adjusting the ear file to the following. notice the lib/ before the jboss-seam.jar. | | Seam Shell | | | | tutorialWeb.war | /tutorial | | | | l

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-10-11 Thread maulinpshah
(to be clearer, its the application.xml file) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977716#3977716 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977716 ___ jboss-use

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-10-11 Thread shundavid
I'm getting the same errors as all you guys. I've downloaded the new seam-gen.zip file. I've unchecked the dependencies you said so. And still nothing! What's going on with you jboss people? neither this seam-gen nor the Reverse Engineer tool works. View the original post : http://www.jboss.c

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-10-10 Thread japplicoon
"karakal" wrote : | 11:45:08,510 ERROR [MainDeployer] Could not initialise deployment: file:/home/lah/jboss-4.0.4.GA/server/default/deploy/sample.ear | org.jboss.deployment.DeploymentException: Failed to find module file: jboss-seam.jar | I got the same error. There is no jboss-seam.jar

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-10-10 Thread karakal
I have this error with Eclipse 3.2, Jboss 4.0.4GA, the newest version of Seam and seam-gen: 11:45:08,510 ERROR [MainDeployer] Could not initialise deployment: file:/home/lah/jboss-4.0.4.GA/server/default/deploy/sample.ear org.jboss.deployment.DeploymentException: Failed to find module file: jbo

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-10-02 Thread Yvo
"bjk002" wrote : 16:43:05,104 ERROR [MainDeployer] Could not create deployment: file:/C:/Program Files/JBoss/jboss-4.0.4.GA/server/defaul | | t/tmp/deploy/tmp37422jboss-seam-booking.ear-contents/jboss-seam-booking.jar | | org.jboss.deployment.DeploymentException: expected one enterprise-b

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-08-21 Thread [EMAIL PROTECTED]
"chuckadams" wrote : The latest version of seam-gen is looking for a src directory that is nowhere to be found. This issue has been fixed in the latest seam-gen.zip. Thanks for pointing this out. James View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966479#3

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-08-17 Thread bjk002
16:43:05,104 ERROR [MainDeployer] Could not create deployment: file:/C:/Program Files/JBoss/jboss-4.0.4.GA/server/defaul | t/tmp/deploy/tmp37422jboss-seam-booking.ear-contents/jboss-seam-booking.jar | org.jboss.deployment.DeploymentException: expected one enterprise-beans tag | at or

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-08-17 Thread bjk002
Just a quick note: when attempting #5 exec. "seam scaffold-wtp-project sample" you get an error the "src" not found You need to add an "src" folder to your seam-gen dir, then try again, works just fine. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965876

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-08-16 Thread chuckadams
It looks like the missing src directory is supposed to be empty, so I just created it. Also, I had troubles when I was not running seam-gen in the seam-gen subdirectory of the unpacked seam distribution (I had another copy I was messing with that wasn't under a seam distribution). View the

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-08-16 Thread chuckadams
The latest version of seam-gen is looking for a src directory that is nowhere to be found. | C:\jboss\seam\seam-gen>seam scaffold-wtp-project myseam | Buildfile: build.xml | | create-folders-wtp: | [echo] Creating Project Folders ... | [mkdir] Created dir: C:\workspace\myse

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-08-15 Thread wondermike
Another thing, I changed the example in order to use mysql, this works, but as soon as I include an import.sql file, it will be executed twice. I've put it in the sample project --> Folder 'EarContent'. It's a bit disturbing, because data with autogenerated id's will become inserted twice, other

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-08-15 Thread lowecg2004
Okay - after installing the new version of seam-gen and refreshing the 3 projects in eclipse, running seam.sh for scaffold-wtp-project generation now works. Thank you for the tutorial! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965326#3965326 Reply to t

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-08-15 Thread [EMAIL PROTECTED]
"aozoren" wrote : More findings.. | | 1. seam.sh is missing one more parameter (shown below) | | if [ "${seamtask}" = new-wtp-project ] | then | ant new-wtp-project -Dproject.name=${projectname} | fi | | 2. Using "new-wtp-project" parameter actually works and c

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-08-15 Thread [EMAIL PROTECTED]
anonymous wrote : The last exception was caused because application.xml is not being copied either. If you're on WinXP and ejb-jar.xml and application.xml aren't being overwritten when running "seam scaffold-wtp-project" or "seam new-wtp-project" it's likely that you are not refreshing your ecl

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-08-15 Thread wondermike
Hi, maybe that's a clue to locate the error, because the same error java.lang.RuntimeException: Interceptor class not found: org.jboss.seam.ejb.SeamInterceptor happens here after I do the following: Goto Preferences --> J2EE Module Dependencies of project "sample" uncheck JAR/Module "jboss-seam

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-08-14 Thread lowecg2004
The last exception was caused because application.xml is not being copied either. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965138#3965138 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3965138

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-08-14 Thread lowecg2004
I'm also getting this problem on WinXP. I checked ejb-jar.xml, and it hadn't been modified. I replaced sampleEJB\ejbModule\META-INF\ejb-jar.xml with the file in seam-gen\resources\META-INF. This time, when I ran the application I received the following error: ejb-jar.xml must either obey the

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-08-14 Thread [EMAIL PROTECTED]
I think you might have a permissions issue. In your case seam-gen doesn't appear to overwrite existing files like ejb-jar.xml when creating a new project, although the ant task does define overwrite explicitly. Those files are created initially by eclipse WTP, but we want to overwrite them with

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-08-13 Thread [EMAIL PROTECTED]
"org.jboss" package names for example code and especially screenshots and console output is not a good idea in any case. The tutorial should be rewritten with "my.package". View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964886#3964886 Reply to the post : h

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-08-13 Thread chuckadams
Actually it looks like it's not that simple. If I take that shortcut, the sample fails to deploy: | :18:55,245 ERROR [MainDeployer] Could not create deployment: file:/pkg/jboss-4.0.4.GA/server/default/tmp/deploy/tmp3975sample.ear-contents/sampleEJB.jar | org.jboss.deployment.DeploymentExcep

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-08-13 Thread chuckadams
anonymous wrote : "An EJB module must contain one or more enterprise beans." still remains.. That's a normal validation failure, since there actually aren't any beans yet. You can silence it by editing the EJB's META-INF/ejb-jar.xml file and taking the schema attribute off the opening tag, i.

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-08-11 Thread aozoren
One more thing... in page.ftl and template.ftl, namespaces are defined as follows.. http://www.w3.org/1999/xhtml"; xmlns:ui="http://java.sun.com/jsf/facelets"; xmlns:h="http://java.sun.com/jsf/html"; xmlns:f="http://java.sun.com/jsf";> I believe the "f" namespace should be as f

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-08-11 Thread aozoren
More findings.. 1. seam.sh is missing one more parameter (shown below) if [ "${seamtask}" = new-wtp-project ] then ant new-wtp-project -Dproject.name=${projectname} fi 2. Using "new-wtp-project" parameter actually works and creates correct ejb-jar.xml like below..

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-08-11 Thread [EMAIL PROTECTED]
anonymous wrote : seam.sh is missing the following parameter that seam.bat has. | if [ "${seamtask}" = scaffold-wtp-project ] | then | ant new-project -Dproject.name=${projectname} -Dscaffold=true | fi Another good catch! I fixed seam.sh in seam-gen, so that won't screw up others. anony

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-08-10 Thread aozoren
I guess I am the only Mac user here. :) seam.sh is missing the following parameter that seam.bat has. if [ "${seamtask}" = scaffold-wtp-project ] then ant new-project -Dproject.name=${projectname} -Dscaffold=true fi "An EJB module must contain one or more enterprise bean

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-08-10 Thread [EMAIL PROTECTED]
anonymous wrote : Great tutorial! | | BTW, can you show us how create seam project by reverse engineer on annotated bean?!?!!? | That's a very good idea for a tutorial. Have you figured out how to get the reverse engineer plugins to work yet? If so, wanna contribute? If not, wanna figu

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-08-10 Thread [EMAIL PROTECTED]
anonymous wrote : Hi, after typing 'seam scaffold-wtp-project sample' instead of 'seam scaffold-wtp-project' in step #5 the sample worked for me. | Thanks for this tutorial! Thanks for spotting the typo, Michael! I fixed the wiki so others shouldn't encounter this issue. James View the or

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-08-10 Thread [EMAIL PROTECTED]
Great tutorial! BTW, can you show us how create seam project by reverse engineer on annotated bean?!?!!? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964285#3964285 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=rep

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-08-09 Thread wondermike
Hi, after typing 'seam scaffold-wtp-project sample' instead of 'seam scaffold-wtp-project' in step #5 the sample worked for me. Thanks for this tutorial! Michael View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964229#3964229 Reply to the post : http://www.jbo

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-08-09 Thread aozoren
1. In Step #5 - "seam scaffold-wtp-project" does not do anything since "scaffold-wtp-project" is not one the parameters defined in seam.sh. I hope I am not using a different seam-gen than you. 2. Eclipse reports a problem in "ejb-jar.xml" file. Problem is "An EJB module must contain one or mor