[jboss-user] [JBoss Seam] - JBossSEAMReverseEngineerGuide is incorrect or software is no

VotTak do-not-reply at jboss.com
Thu Aug 17 16:35:31 EDT 2006


Yes... This day is completely waisted.  (Still have one more to go till management will kill this idea)

Was not able to locate necessary jars at the recommended places, so, got them from:
# jboss-annotations-ejb3.jar : $JBOSS_HOME\server\default\deploy\ejb3.deployer
# jboss-ejb3x.jar - can be found at: $JBOSS_HOME\server\default\deploy\ejb3.deployer 
# hibernate-annotations.jar : $JBOSS_HOME\server\default\lib
# ejb3-persistence.jar : $JBOSS_HOME\server\default\lib
# myfaces-api.jar : $JBOSS_HOME\server\default\deploy\jbossweb-tomcat55.sar\jsf-libs
# jboss-seam.jar : $JBOSS_SEAM_1.0.1GA_HOME

Needed to change:
import javax.ejb.Interceptors;
into:
import javax.interceptor.Interceptors;

Also, in persistance.xml I changed:

into:
 


Errors during deploy:

13:45:21,154 INFO  [SchemaUpdate] Running hbm2ddl schema update
13:45:21,154 INFO  [SchemaUpdate] fetching database metadata
13:45:21,154 INFO  [SchemaUpdate] updating schema
13:45:21,170 INFO  [DatabaseMetadata] table not found: HAZARD_INDEX
13:45:21,170 INFO  [DatabaseMetadata] table not found: HAZARD_INDEX
13:45:21,170 ERROR [SchemaUpdate] Unsuccessful: create table GCORK.HAZARD_INDEX
(HAZARD_INDEX_ID bigint not null, HAZARD_INDEX_NAME varchar(30) not null, primar
y key (HAZARD_INDEX_ID))
13:45:21,170 ERROR [SchemaUpdate] invalid schema name: GCORK in statement [creat
e table GCORK.HAZARD_INDEX]
13:45:21,170 INFO  [SchemaUpdate] schema update complete

What happened here(in the log above)? Can you explain?

Next error:

13:45:21,717 INFO  [FacesConfigurator] Reading standard config org/apache/myface
s/resource/standard-faces-config.xml
13:45:21,983 INFO  [FacesConfigurator] Reading config jar:file:/C:/Program Files
/jboss-4.0.4.GA/server/default/tmp/deploy/tmp49883seamapp.ear-contents/seamapp.e
jb3-contents/jboss-seam.jar!/META-INF/faces-config.xml
13:45:21,983 INFO  [FacesConfigurator] Reading config /WEB-INF/faces-config.xml
13:45:22,014 ERROR [LocaleUtils] Locale name null or empty, ignoring
13:45:22,139 INFO  [StartupServletContextListener] ServletContext 'C:\Program Fi
les\jboss-4.0.4.GA\server\default\.\tmp\deploy\tmp49883seamapp.ear-contents\seam
app-exp.war\' initialized.
13:45:22,139 ERROR [StandardContext] Error listenerStart
13:45:22,139 ERROR [StandardContext] Context [/seamapp] startup failed due to pr
evious errors
13:45:22,155 WARN  [ServiceController] Problem starting service jboss.web.deploy
ment:war=seamapp.war,id=1157802242
org.jboss.deployment.DeploymentException: URL file:/C:/Program Files/jboss-4.0.4
.GA/server/default/tmp/deploy/tmp49883seamapp.ear-contents/seamapp-exp.war/ depl
oyment failed

What caused this one?

Is there any guide following which I will be able to generate the code(using correct version of Eclipse(I'm using 3.2, with JBoss Eclipse IDE 1.6.0 GA, HibernateTools 3.1.0.beta5, with JBoss installation recommended by chuckadams), than please let me know. As I still have one day to burn...

Thanks a lot.

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3965884



More information about the jboss-user mailing list