[jboss-user] [JBoss Seam] - Re: Seam 2.0.1.CR2 seam-gen does not create a deployable pro

2008-01-29 Thread jsimone
Copying the facelet home.xhtml in the vew directory to hello.xhtml allow the URL

http://localhost:8080/helloworld 

to redirect to 

http://localhost:8080/helloworld/hello.seam

seam-gen or the docs are incorrect.

Thanks for listening!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124611#4124611

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124611
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam 2.0.1.CR2 seam-gen does not create a deployable pro

2008-01-29 Thread jsimone
I think I found the problem, but I don't know how to remedy the situation.

If I carefully follow the Seam 2.0.1.CR2 docs in section 2.2 (2.2. Setting up a 
new Eclipse project) then start JBoss 4.2.2.GA I can't access 

 http://localhost:8080/helloworld

cause this maps to 

 http://localhost/helloworld/hello.seam

when I try and go to the first URL.   However,  WEB-INF index.html has this

 content="0; URL=home.seam"

So, when I try and go to

 http://localhost:8080/helloworld/home.seam

It works and I get the empty project welcome page.

Why does helloworld redirect to helloworld/hello.seam and where is this 
defined?  I can't find hello.seam anywhere in the project.

Are the docs wrong or is seam-gen creating the wrong redirect URL?

Thanks for listening!


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124610#4124610

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124610
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: seam-gen makes EARs that are 12X bigger than they need t

2008-01-29 Thread jsimone
So what libs are actually required by a seam app?  I know I can always add more 
libs to my project.  What is the minimum ?  Just jboss-seam.jar and 
jboss-el.jar ?

So if I am running on a fresh Jboss 4.2.2.GA install what libs need to be added 
for Seam?

Thanks for listening!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124518#4124518

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124518
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam 2.0.1.CR2 seam-gen does not create a deployable pro

2008-01-29 Thread jsimone
yes, I ran seam setup.  It all looks ok to me.  Here it is ...

#Generated by seam setup
#Fri Jan 25 11:38:24 EST 2008
hibernate.connection.password=kramerica
workspace.home=/dev/ws/seam
model.package=com.e2msystems.model
driver.jar=/opt/jboss-4.2.2.GA/server/default/lib/mysql-connector-java-5.0.8-bin.jar
action.package=com.e2msystems.action
test.package=com.e2msystems.test
database.type=mysql
richfaces.skin=blueSky
hibernate.default_catalog.null=
hibernate.default_schema.null=test
database.drop=n
project.name=joe2
hibernate.connection.username=seam
hibernate.connection.driver_class=com.mysql.jdbc.Driver
hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider
project.type=ear
icefaces.home=
database.exists=n
jboss.home=/opt/jboss-4.2.2.GA
hibernate.dialect=org.hibernate.dialect.MySQLDialect
hibernate.connection.url=jdbc\:mysql\:///test
icefaces=n

Yes, I followed the docs as far as creating the project and then importing into 
eclipse.  I also have the prentice hall "JBoss Seam" book.  So are you saying 
the result of seam-gen should be a working project?

Thanks for listening!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124505#4124505

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124505
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - seam-gen makes EARs that are 12X bigger than they need to be

2008-01-28 Thread jsimone
I created a new project with seam-gen create-project and then imported it into 
eclipse as a general project.  After copying the helloworld source files into  
the project to create a deployable EAR I noticed that the EAR that gets built 
from build.xml is 12 times larger that the helloworld.ear from the 2.0 updated 
book samples download.


helloworld.ear  @ 889 KB
newproject.ear @ 11377 KB

How can this be?   Did I do something wrong?

It seems the small helloworld.ear deploys and executes just fine even though 
there are about 100 less libs in it!

Thanks for listening!
(the above was with 2.0.1.CR2 version of Seam and Europa Eclipse with JBoss 
Tools 2.0 GA)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124219#4124219

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124219
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Seam 2.0.1.CR2 seam-gen does not create a deployable project

2008-01-28 Thread jsimone
I just downloaded the latest Seam 2.0.1.CR2 and have been looking at seam-gen.  
I noticed 2 things:

1. If I execute 

seam create-project projname

then I can't override the default build.properties project name with the name 
projname.  I tried setting 

project.name= 

but that resulted in a seam-gen error.  I should be able to specify a name on 
the gen, no?

2. If I create a new project, then the project created is not a complete 
deployable project.  I would think the least it would do is put up a page at 
the URL saying "Welcome to Seam".  In the spirit of Ruby On Rails, this is what 
happens when a new ROR project is generated.   In the current release when the 
empty project is deployed we get:


17:54:27,510 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

--- MBeans waiting for other MBeans ---
ObjectName: persistence.units:ear=joe1.ear,unitName=joe1
  State: NOTYETINSTALLED
  I Depend On:
jboss.jca:name=joe1Datasource,service=DataSourceBinding

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.jca:name=joe1Datasource,service=DataSourceBinding
  State: NOTYETINSTALLED
  Depends On Me:
persistence.units:ear=joe1.ear,unitName=joe1
   
Thanks for listening!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124211#4124211

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124211
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [J2EE Design Patterns] - any pointers on how to automate ear versioning?

2007-03-30 Thread jsimone
We have an EAR that consists of 3 eclipse projects.  I would like to know if 
anyone has tried to "derive" some sort of version number for every build that 
can be applied to the ear.

Eclipse versions their IDE in an interesting way ...
  Version: 3.2.2
  Build id: M20070212-1330

for the IDE proper, but each feature 
  Version: 3.2.2.r322_v20070119-RQghndJN8IM0MsK
  Build id: M20070212-1330

where a version number is concatenated with a date string and then some long 
random key string that LOOKS autogenerated.

We could just always use the date and bump a build-number but that would always 
produce a new version even if the code never changed (only a recompile).

I would think its possible to create a string that is based upon all the 
project files (.java, .xml, .properties etc.) that reflects the current level 
of code.

Any ideas?

Thanks in advance,
Joe


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033367#4033367

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033367
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - Re: JBoss Mbean Dependencies - How to start scheduler servic

2006-07-31 Thread jsimone
What is the format of depends tag?

     

to make this work?

I have tried endless variations using just the ear file name, EARDeployer 
service, EARDeployment service etc.  Can't seem to make it work.

Thanks,
Joe

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962001#3962001

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962001
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user