[jboss-user] [JBoss Tools Users] - 3.1.0 nightly update fails for jPDL, bpel plugins

2009-12-10 Thread bdlink
System is windows 7, Eclipse 3.5 EE with JBT 3.1.0 nightly update site 
//download.jboss.org/jbosstools/updates/nightly/trunk/ The BIRT update site 
http://download.eclipse.org/birt/update-site/2.5 is also enabled. The only 
plugins on top of Eclipse EE are checkstyle, subclipse and m2eclipse. I have 
been updateing daily (with the jPDL update unchecked since it started failing).

The bulk of the JBT plugins are at H34 and the update is H40.  THe JBoss jPDL 
tools are at  3.2.0.v200910261201N-H27-RC1 and the update wants 
org.jbpm.gd.jpdl.feature.feature.group3.2.0.v200912080327-41-7w311A23191438.  
The JBpss BPEL Editor is at   1.0.0.v200912081204N-H34-GA and the update is 
org.jboss.tools.bpel.feature.feature.group1.0.0.v200912090331-27q-FAFkNP1ZkP1NwwZ

Interestingly, the jBPM tools runtime is at   jBPM 4 Tools Runtime  
4.0.0.v200912080349-773-88H3CH-F9QSGFOOHIPVx422B
org.jboss.tools.jbpm4.feature.feature.group whereas the jBPM jPDL tools is at 
3.2

For the last few weeks, the jPDL update has been failing and the only way to 
update JBT is to uncheck it.  Today, in addition the following bpel ones also 
failed with the following message:An error occurred while collecting items to 
be installed
  |   session context was:(profile=epp.package.jee, 
phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect, 
operand=, action=).
  |   Problems downloading artifact: 
osgi.bundle,org.jbpm.gd.jpdl,3.2.0.v200912080327.
  | Unpacking fails because intermediate file is empty: 
C:\Users\blink\AppData\Local\Temp\work6718214770681077360\p2.optimizers.incoming4571294547687034735.jar
  |   Problems downloading artifact: 
osgi.bundle,org.eclipse.bpel.common.ui,0.5.0.v200912090331.
  | Unpacking fails because intermediate file is empty: 
C:\Users\blink\AppData\Local\Temp\work6781773857109872534\p2.optimizers.incoming375636462944740258.jar
  |   Problems downloading artifact: 
osgi.bundle,org.eclipse.bpel.ui,0.5.0.v200912090331.
  | Unpacking fails because intermediate file is empty: 
C:\Users\blink\AppData\Local\Temp\work2135299298996056344\p2.optimizers.incoming1458072181015840034.jar
  |   Problems downloading artifact: 
osgi.bundle,org.eclipse.bpel.validator,0.5.0.v200912090331.
  | Unpacking fails because intermediate file is empty: 
C:\Users\blink\AppData\Local\Temp\work497386252367799\p2.optimizers.incoming8128901940429895743.jar
  |   Problems downloading artifact: 
osgi.bundle,org.eclipse.bpel.wsil.model,0.5.0.v200912090331.
  | Unpacking fails because intermediate file is empty: 
C:\Users\blink\AppData\Local\Temp\work6332140314794074277\p2.optimizers.incoming561151256381330.jar
  | 
By the way, if the readers have not found the site yet, the JBoss Community 
Asylum podcasts at http://asylum.libsyn.com/ are excellent.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4270029#4270029

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4270029
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Cannot run EAR seam project building from

2009-04-10 Thread bdlink
replacing the JBoss 4.2.3 JSF with mojarra 1.2_12 does not fix the problem 
(using exported .ear file still works)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4224950#4224950

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224950
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Cannot run EAR seam project building from

2009-04-10 Thread bdlink
files zipped and attached to JBIDE-4166.

This is a new Seam Web Project (EAR, seam 2.1.1.GA) with no entities generated. 
 The zip file is from the .plugins/org.jboss.ide.eclipse.as.core deploy 
directory for the server (when run, throws exception due to multiple seam's 
running).  The ear file is the result of exporting the project, and works

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4224951#4224951

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224951
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Cannot run EAR seam project building from

2009-04-10 Thread bdlink
I also tried creating new EAR seam web project with JBDS 2.0.0.GA and seam 
2.1.1.GA running on jboss-eap (installed as part of JBDS).  Fails with same 
symptoms as above posts.

Also fails if create new EAR seam web project using seam 2.0.2-FP (in same 
manner)

So seems to be same failure across
1. Eclipse 3.4.2 + JBT 3.0.0 and JBDS 2.0.0 (so not installation issue with my 
JBT plugins) 
2. JBoss AS 4.2.3 and JBoss EAP
3. Seam 2.1.1.GA and Seam 2.0.2-FP

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4224955#4224955

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224955
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Cannot run EAR seam project building from

2009-04-09 Thread bdlink
Thanks, I will try suggestions in above posts, but it may not be until tomorrow 
that I can get it done.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4224807#4224807

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224807
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Cannot run EAR seam project building from

2009-04-07 Thread bdlink
May be related to https://jira.jboss.org/jira/browse/JBIDE-4136 ?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4224126#4224126

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224126
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Cannot run EAR seam project building from

2009-04-07 Thread bdlink
Two points:

same behavior with JBDS 2.0.GA

If export ear file and drop it into JBoss AS deploy folder (along with data 
source definition file) then it works fine.



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4224196#4224196

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224196
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Cannot run EAR seam project building from

2009-04-06 Thread bdlink
I tried creating a new project today using Eclipse 3.4.2,  JBT 3.0.GA plus 
3.0.1 alpha nightlies.
Mysql database, cleaned out 
C:\apps\workspace3.4.2\.metadata\.plugins\org.jboss.ide.eclipse.as.core\JBoss_4.2_Server\
 from old projects.  

Created EAR project with FileNewSeam Web Project.  Chose Seam 2.1 using Seam 
2.1.1.GA

Deployed to JBoss AS 4.2.3.GA.  Got following startup info leading to error of 
two seam phase listeners installed.

There is one seam.jar in the EAR jar, and the web app references this one.

Startup follows (before browsing application home page, which throws exception: 
java.lang.IllegalStateException: No phase id bound to current thread (make sure 
you do not have two SeamPhaseListener instances installed))

11:03:23,718 INFO  [Server] Starting JBoss (MX MicroKernel)...
  | 11:03:23,718 INFO  [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: 
SVNTag=JBoss_4_2_3_GA date=200807181417)
  | 11:03:23,718 INFO  [Server] Home Dir: C:\apps\jboss-as-4.2.3.GA
  | 11:03:23,734 INFO  [Server] Home URL: file:/C:/apps/jboss-as-4.2.3.GA/
  | 11:03:23,734 INFO  [Server] Patch URL: null
  | 11:03:23,734 INFO  [Server] Server Name: default
  | 11:03:23,734 INFO  [Server] Server Home Dir: 
C:\apps\jboss-as-4.2.3.GA\server\default
  | 11:03:23,734 INFO  [Server] Server Home URL: 
file:/C:/apps/jboss-as-4.2.3.GA/server/default/
  | 11:03:23,734 INFO  [Server] Server Log Dir: 
C:\apps\jboss-as-4.2.3.GA\server\default\log
  | 11:03:23,734 INFO  [Server] Server Temp Dir: 
C:\apps\jboss-as-4.2.3.GA\server\default\tmp
  | 11:03:23,734 INFO  [Server] Root Deployment Filename: jboss-service.xml
  | 11:03:23,984 INFO  [ServerInfo] Java version: 1.5.0_16,Sun Microsystems Inc.
  | 11:03:23,984 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 
1.5.0_16-b02,Sun Microsystems Inc.
  | 11:03:23,984 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
  | 11:03:24,500 INFO  [Server] Core system initialized
  | 11:03:26,109 INFO  [WebService] Using RMI server codebase: 
http://localhost:8083/
  | 11:03:26,109 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: 
resource:jboss-log4j.xml
  | 11:03:26,515 INFO  [TransactionManagerService] JBossTS Transaction Service 
(JTA version) - JBoss Inc.
  | 11:03:26,515 INFO  [TransactionManagerService] Setting up property manager 
MBean and JMX layer
  | 11:03:26,687 INFO  [TransactionManagerService] Starting recovery manager
  | 11:03:26,796 INFO  [TransactionManagerService] Recovery manager started
  | 11:03:26,796 INFO  [TransactionManagerService] Binding TransactionManager 
JNDI Reference
  | 11:03:28,796 INFO  [EJB3Deployer] Starting java:comp multiplexer
  | 11:03:30,609 INFO  [NativeServerConfig] JBoss Web Services - Native
  | 11:03:30,609 INFO  [NativeServerConfig] jbossws-3.0.1-native-2.0.4.GA 
(build=200803312044)
  | 11:03:31,421 INFO  [Embedded] Catalina naming disabled
  | 11:03:31,531 INFO  [AprLifecycleListener] The Apache Tomcat Native library 
which allows optimal performance in production environments was not found on 
the java.library.path: 
C:\apps\jdk1.5.0_16\bin;.;C:\WINDOWS\system32;C:\WINDOWS;native
  | 11:03:31,578 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on 
http-localhost%2F127.0.0.1-8080
  | 11:03:31,859 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on 
http-8443
  | 11:03:31,859 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on 
ajp-localhost%2F127.0.0.1-8009
  | 11:03:31,859 INFO  [Catalina] Initialization processed in 433 ms
  | 11:03:31,859 INFO  [StandardService] Starting service jboss.web
  | 11:03:31,859 INFO  [StandardEngine] Starting Servlet Engine: 
JBossWeb/2.0.1.GA
  | 11:03:31,906 INFO  [Catalina] Server startup in 40 ms
  | 11:03:32,000 INFO  [TomcatDeployer] deploy, ctxPath=/, 
warUrl=.../deploy/jboss-web.deployer/ROOT.war/
  | 11:03:32,421 INFO  [TomcatDeployer] deploy, ctxPath=/invoker, 
warUrl=.../deploy/http-invoker.sar/invoker.war/
  | 11:03:32,531 INFO  [TomcatDeployer] deploy, ctxPath=/jbossws, 
warUrl=.../deploy/jbossws.sar/jbossws-context.war/
  | 11:03:32,609 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, 
warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
  | 11:03:33,375 INFO  [TomcatDeployer] deploy, ctxPath=/web-console, 
warUrl=.../deploy/management/console-mgr.sar/web-console.war/
  | 11:03:33,734 INFO  [MailService] Mail Service bound to java:/Mail
  | 11:03:33,875 INFO  [RARDeployment] Required license terms exist, view 
META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
  | 11:03:33,921 INFO  [RARDeployment] Required license terms exist, view 
META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
  | 11:03:33,953 INFO  [RARDeployment] Required license terms exist, view 
META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
  | 11:03:33,984 INFO  [RARDeployment] Required license terms exist, view 
META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
  | 11:03:34,015 INFO  [RARDeployment] Required license terms exist, view 
META-INF/ra.xml in .../deploy/jms/jms-ra.rar
  | 

[jboss-user] [JBoss Tools (users)] - Re: seam-gen IDE vs Console

2009-03-18 Thread bdlink
I think there are several issues here, but I am reinstalling everything at the 
moment and trying a Linux 64 stack so I am not sure of the situation since 
3.0.GA (have been using the nightlies).  When I was driving to work today, I 
was thinking that JBT/seam-gen integration was a big remaining issue, so was 
surprised to find a related topic already posted :-)  Before I get started, 
congratulations to the JBT team on their 3.0 GA release!  That is quite a 
milestone.

1. Last I looked, seam-gen had a few more features than JBT version (such as 
allowing generating the model separately from the UI CRUD) so it would be nice 
to take a seam-gen project, import it into JBT and run it from there.  Seam-gen 
tells you to import the project (they do create an eclipse project) into 
eclipse as a general project.  Doing that and adding the seam runtime in the 
properties file did not (last checked) allow using the JBoss tool to deploy the 
project to the server or use JBT tools to add new entities, etc.   Without 
autodeploy you are slowed down a lot!

2. We have had issues with eclipse autobuild messing things up when using seam 
to deploy (since seam will also build things). 

3. As I understand Dan Allen's blogs there are inherent differences between the 
way Eclipse builds a project (not using ant) and seam-gen (using ant).  It 
would be nice to resolve this so it is not an issue.

4. seam-gen ear does not generate the multiple projects which have been the 
eclipse style for ear projects (and which JBT converted to a while ago).  This 
is a seam issue that would be nice to fix (or a nice feature to add on the 
seam side).

As I read max.anderson's post, he does not seem to say that starting with a 
command-line seam-gen project, importing it into JBT and continuing with JBT 
works.  He seems to be saying that starting with JBT and continuing with JBT 
works (I should hope so).  Starting with seam-gen command line and staying with 
that also works.  

I think the biggest confusion at the moment, is how plain seam and JBT can work 
together (if they can).  If not, clarify that a seam-gen project can be 
imported into Eclipse but only if JBT is not installed.  At the moment it looks 
like you have to stay with what you start from, JBT or seam-gen command line.  
After the huge effort to move to eclipse 3.4.2 (which is greatly appreciated), 
maybe more effort on JBT/seam-gen integration.  I admit I do not understand the 
issues around ant versus WTP driven build/deploy and how hard that is to 
bridge.  I am speaking as a user here.

Note that Dan Allen, in Seam in Action Choosing an IDE says I find 
NetBeans easier to get into if you are a new user  I would hope this opinion 
can change, since NetBeans does not have the functionality that JBT has!  

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4219196#4219196

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4219196
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - H10 plugins left when upgrade to H11

2009-03-06 Thread bdlink
Using the 3.0.x update site, when I updated from H10 to H11, the H10 feature 
directories were replaces, but the H10 plugin directories are still there.

Also, the current H15 will not install because it is seen as earlier than H11 
(since R2009...H11  N2009...H15 ?).





View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4215802#4215802

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215802
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Hibernate reverse engineering errors

2009-03-06 Thread bdlink
Thanks for responding so quickly.  

With respect to some of my questions that were unclear:
1. JoinTables can map 1-1 and 1-n as well as n-n.  I was not clear on how to 
reverse engineer this situation.
2. I can use the same primary key in both tables to make a 1-1 relation.  This 
wants a @PrimaryKeyJoinColumn(s) annotation instead of @JoinColumn.  I was not 
clear how to reverse engineer this situation.

I understand that it would be a lot of work to add everything!  I had 
understood from the original Hibernate books years ago that the philosophy was 
that you could use three strategies with Hibernate:
1. Annotate the Java
2. write an hbm.xml
3. reverse engineer the db metadata
choosing which ever one suited the situation (and whichever one you write, the 
other two will be generated).  Since the database metadata does not contain 
enough information to generate the other two, you need to help that case with 
reveng.xml.  

I understood the ultimate goal would be that there are equal capabilities with 
all three strategies.  If not, we should say that one of these is the best 
practice, but the others can be useful at times (since the world seems to be 
moving away from xml, I guess that the Java annotations would have to be 
primary?)

Java Persistence with Hibernate, Bauer and King, indicate that the above three 
strategies are feasible (and recommend 2 only for the seasoned Hibernate 
expert).  Also Dan Allen's Seam in Action book gives the three strategies.   

So I would not be put out of reveng.xml became as big as hbm.xml :)  However, 
at the moment, I would be happy if I could clearly understand what exactly is 
possible, and what would be nice but is not there. 

Further information on the error (this is H11 update installed)  By the way, 
where do I look to find the hibernate-reverse-engineering-3.0.dtd?:

reveng.xml file (all but foreign-key elements generated by wizard):
?xml version=1.0 encoding=UTF-8?
  | !DOCTYPE hibernate-reverse-engineering PUBLIC -//Hibernate/Hibernate 
Reverse Engineering DTD 3.0//EN 
http://hibernate.sourceforge.net/hibernate-reverse-engineering-3.0.dtd; 
  | 
  | hibernate-reverse-engineering
  | table-filter match-catalog=infosys match-name=review /
  | table-filter match-catalog=infosys match-name=student /
  | table-filter match-catalog=infosys match-name=team /
  | table-filter match-catalog=infosys match-name=user_auth /
  | table-filter match-catalog=infosys match-name=user_roles /
  | table-filter match-catalog=infosys match-name=xuser /
  | table catalog=infosys name=team
  | column name=name jdbc-type=''/column
  | column name=year jdbc-type=''/column
  | column name=leaderId jdbc-type='' property=leader/column
  | foreign-key constraint-name=team_ibfk_1one-to-one 
property=leader//foreign-key
  | /table
  | table catalog=infosys name=student
  | column name=studentNumber jdbc-type=''/column
  | column name=setLetter jdbc-type=''/column
  | column name=year jdbc-type=''/column
  | column name=CSTOption jdbc-type=''/column
  | column name=teamId jdbc-type='' property=tesm/column
  | column name=userId jdbc-type='' property=user/column
  | foreign-key constraint-name=student_ibfk_1many-to-one 
property=team/set property=members//foreign-key
  | foreign-key constraint-name=student_ibfk_2one-to-one 
property=user//foreign-key
  | /table
  | table catalog=infosys name=review
  | column name=employee jdbc-type=''/column
  | column name=pos jdbc-type=''/column
  | column name=reviewer jdbc-type=''/column
  | column name=received jdbc-type=''/column
  | column name=period jdbc-type=''/column
  | column name=year jdbc-type=''/column
  | column name=reviewType jdbc-type=''/column
  | column name=tech1 jdbc-type=''/column
  | column name=rateTech1 jdbc-type=''/column
  | column name=tech2 jdbc-type=''/column
  | column name=rateTech2 jdbc-type=''/column
  | column name=tech3 jdbc-type=''/column
  | column name=rateTech3 jdbc-type=''/column
  | column name=tech4 jdbc-type=''/column
  | column name=rateTech4 jdbc-type=''/column
  | column name=rateTask1 jdbc-type=''/column
  | column name=rateTask2 jdbc-type=''/column
  | column name=rateTask3 jdbc-type=''/column
  | column name=rateTask4 jdbc-type=''/column
  | column name=rateTask5 jdbc-type=''/column
  | column name=rateTask6 jdbc-type=''/column
  | column name=rateTask7 jdbc-type=''/column
  | column name=rateTask8 jdbc-type=''/column
  | column name=ratePersonal1 jdbc-type=''/column
  | column name=ratePersonal2 jdbc-type=''/column
  

[jboss-user] [JBoss Tools (users)] - Re: H10 plugins left when upgrade to H11

2009-03-06 Thread bdlink
You are saying that updates only add?  This means that all of the old versions 
of modules will hang around?  Sorry, I did not understand that, and it seems to 
me that the old modules hanging around would create a lot of trouble.  Please 
clarify that this is what you mean.

My point is that an update should update, replacing what went before, not 
leaving it around.  If the update to H10 is H11, should not the H10 plugin 
directories disappear?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4215886#4215886

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215886
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Hibernate reverse engineering errors

2009-03-06 Thread bdlink
OK, I edited the reveng.xml file by hand, eliminating all of the empty string 
attribures, and that eliminates the exception (cheers!)

I looked at my DB to see why extra associations were showing up and found 
duplicate foreign key constraints that mysql added at some time, and when I 
removed these, I get the associations I would expect.  

So things are much improved!  There are some remaining issues I am looking at 
including :
1. Even though I annotate a foreign key with one-to-one, the property is marked 
with @ManyToOne and the inverse side uses a Set (when it is not excluded).  

2. I have one case where there are two associations between Student and Review 
(both one Student to many Reviews).  In the ReviewHome class it injects two 
studentHome components (duplicate names), where one of them should be a 
different @Role.  (I think this is in JIRA from long ago, but I will check 
later)

The one-to-one issue is obviously more important.

Updated reveng.xml:
?xml version=1.0 encoding=UTF-8? !DOCTYPE hibernate-reverse-engineering 
PUBLIC -//Hibernate/Hibernate Reverse Engineering DTD 3.0//EN 
http://hibernate.sourceforge.net/hibernate-reverse-engineering-3.0.dtd; 
  | 
  | hibernate-reverse-engineering
  | table-filter match-catalog=infosys match-name=review /
  | table-filter match-catalog=infosys match-name=student /
  | table-filter match-catalog=infosys match-name=team /
  | table-filter match-catalog=infosys match-name=user_auth /
  | table-filter match-catalog=infosys match-name=user_roles /
  | table-filter match-catalog=infosys match-name=xuser /
  | table catalog=infosys name=team
  | foreign-key constraint-name=team_ibfk_1
  | one-to-one property=leader/
  | inverse-one-to-one exclude=true /
  | /foreign-key
  | /table
  | table catalog=infosys name=student
  | foreign-key constraint-name=student_ibfk_1
  | many-to-one property=team/
  | set property=members/
  | /foreign-key
  | foreign-key constraint-name=student_ibfk_2
  | one-to-one property=user/
  | /foreign-key
  | /table
  | table catalog=infosys name=review
  | foreign-key constraint-name=review_ibfk_1
  | many-to-one property=employee/
  | /foreign-key
  | foreign-key constraint-name=review_ibfk_2
  | many-to-one property=reviewer/
  | /foreign-key
  | /table
  | table catalog=infosys name=xuser 
class=ca.bcit.infosys.entity.User 
  | foreign-key constraint-name=xuser_ibfk_1
  | one-to-one property=userAuth exclude=true/
  | /foreign-key
  | /table
  | table catalog=infosys name=user_roles 
class=ca.bcit.infosys.entity.UserRole
  | column name=userRoles property=userRole/
  | foreign-key constraint-name=user_roles_ibfk_1
  | many-to-one exclude=true/
  | /foreign-key
  | /table
  | /hibernate-reverse-engineering

I understand getting things through for GA is taking a long time, thanks for 
replying!


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4215914#4215914

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215914
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: H10 plugins left when upgrade to H11

2009-03-06 Thread bdlink
No big trouble, these things happen when you are following nightly's.

I was mainly posting to raise what was happening.  When eclipse claims there 
are no updates, usually installing the latest will update, this time not, so I 
investigated a bit more.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4215917#4215917

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215917
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Hibernate reverse engineering errors

2009-03-05 Thread bdlink
For the last couple of years, I have been trying hibernate reverse engineering 
on a test database with seam-gen or JBT.  It is improving, but does not work 
out of the box.  (work, in terms of generating examples that will compile).  I 
think all of the issues are in JIRA.  

At the moment I am trying to get the hibernate.reveng.xml to customize the 
reverse engineering so it will be as desired.  I have read the Hibernate Tools 
Reference Guide version 3.2.4.CR2 from the JBoss Tools CR2 Doc site, as well as 
the one at Hibernate.org (which is quite similar).  Neither has a detailed 
reference on how to specify the reverse engineering of relationships.  The 
hibernate reverse engineering editor (part of Hibernate tools) does not seem to 
deal with this aspect, so I have been trying to use the source window to add 
foreign-key elements appropriately.  

I get the following error when I try to generate the entities:

Exception while generating code
  | Reason:
  | org.hibernate.MappingException: Could not configure overrides from file: 
C:\apps\workspace3.4.2\infosys-ejb\.settings\hibernate.reveng.xml
  | Could not configure overrides from file: 
C:\apps\workspace3.4.2\infosys-ejb\.settings\hibernate.reveng.xml
  |   org.hibernate.MappingException: 
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  |   java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  | org.hibernate.MappingException: 
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  | java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  | java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  | String index out of range: 0
  | 
This is using 3.0.x branch nightly on top of eclipse 3.4.2

Unfortunately, this error does not help me figure out what I did wrong.  

I am currently searching for the DTD, but if there is some more detailed 
documentation I have not found, that would be appreciated.

A useful addition to the documentation would be examples of how to reverse 
engineer:
1. OneToOne unidirectional
2. OneToOne bidirectional
3. OneToMany unidirectional
4. ManyToOne unidirectional
5. OneToMany bidirectional
6. ManyToMany unidirectional
7. ManyToMany bidirectional

How should one reverse engineer JoinTable mapping in all of the above, as well 
as foreign key mapping, and primary key join columns where those are 
appropriate?

Is it possible to specify how to handle composite primary keys (@IdClass vs. 
@EmbeddedId)?

Also, how to specify the type of collection (Collection, Set, List, Map)?

Also wonderful would be how to reverse engineer inheritance strategies 
(SINGLE_TABLE, TABLE_PER_CLASS, JOINED) 

Finally, is it possible to reverse engineer an entity with properties from 
multiple tables (@SecondaryTable)?

The reason for all of these questions, is that there is the large ripple effect 
to generated artifacts when the relationships are not as desired. The current 
default seems to aggressively add reverse engineered relationships (even in the 
absence of foreign key constraints in the DB), so knowing how to eliminate 
undesired ones is also important. 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4215530#4215530

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215530
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - link for final bug fixes does not match documentation, sort

2009-03-04 Thread bdlink
Since the bug fixes were branched off and the trunk is 3.1.0.Alpha1, the doc on 
installing jboss tools, http://jboss.org/community/docs/DOC-10044, is 
misleading.  It gives two links, to the CR2 site as stable (OK) and the 
3.1.9.Alpha site as nightly (literally correct, I guess).

For people who are following the path to 3.0.0.GA, it looks like the update 
site to use is http://download.jboss.org/jbosstools/updates/nightly/3.0.x/ 
which I have not seen mentioned.

Is this right?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4214991#4214991

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4214991
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - JBT Nightly Deleting project does not clean up metadata

2009-02-19 Thread bdlink
Deleted a project created with new seam project (ear).  Eclipse 3.4.1 builds 
deployment in 
.metadata\.plugins\org.jboss.ide.eclipse.as.core\JBoss_4.2_Server\deploy, 
including data source xml files.  When I delete the project (right click on 
project and select delete), checking to delete all files, the project remains 
configured on the server (in the JBoss server view and also in the Add and 
remove Projects window).  The metadata in org.jboss.ide.eclipse.as.core also 
remains.

Shouldn't this data also be deleted?  I would expect that deleting a project 
also deletes any derived files as well.

I would think it is reasonable for JBT to remove the project from the server as 
well, since it should no longer exist (even if associated files have not been 
deleted).  Is there another box to check to make this happen.  I do not like 
cleaning up using the file explorer, because there may be other configuration I 
do not know about and may leave the tools in an inconsistent state.

If the project is left deployed, there is concern that creating a new project 
with the same name will be corrupted with previous project residue.  

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4211598#4211598

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4211598
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - JBoss Tools nightly update site down?

2009-01-09 Thread bdlink
For the last couple of days, I have not been able to access the JBT 3 nightly 
update site from eclipse updates.  If I do directly to the site at 
http://download.jboss.org/jbosstools/updates/nightly/trunk/ there is a page 
with links to the updates, but clicking on any of them results in a Not Found 
message, for example:
The requested URL 
/jbosstools/updates/nightly/trunk/features/org.jboss.tools.seam.feature_3.0.0.CR2-N200901091812.jar
 was not found on this server.
Any ideas when updates will be back?  Or did they change location?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4200747#4200747

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4200747
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - How to install JBT should include ref to CR1 site

2009-01-02 Thread bdlink
The document http://jboss.org/community/docs/DOC-10044 has a reference to the 
stable site (for eclipse 3.3) and the nightly site (for eclipse 3.4).

The development site http://download.jboss.org/jbosstools/updates/development/ 
should be added for people who want a more stable version than the nightly.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4199265#4199265

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4199265
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: JDK 5 or 6 with JBoss AS 5, eclipse ganymede, JBoss tool

2008-12-16 Thread bdlink
In the JBoss AS5 release notes it seems to suggest you are better to be using 
Java 5:
The Java5 compiled binary is our primary/recommended binary 
  | distribution. It has undergone rigorous testing and can run under both a 
Java 5 and a Java 6 runtime. When running 
  | under Java 6 you need to manually copy the following libraries from the 
JBOSS_HOME/client directory to the 
  | JBOSS_HOME/lib/endorsed directory, so that the JAX-WS 2.0 apis supported by 
JBossWS are used:
  | 
  | * jbossws-native-saaj.jar
  | * jbossws-native-jaxrpc.jar
  | * jbossws-native-jaxws.jar
  | * jbossws-native-jaxws-ext.jar
  | 

JBDS 1 required being run from Java 5.  The getting started for JBoss Tools 
Guides - 3.0.0.Beta1 saysYou must have a working installation of JDK 5 before 
you install JBoss Developer Studio. Currently it will only fully work with a 
32-bit JVM, not a 64-bit JVM. 
Does Max's comment mean that this requirement (Java 5) will be removed for JBDS 
2.0.0?, and presumably also in JBT 3.0.0?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4196946#4196946

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4196946
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Eclipse help has no JBT help

2008-12-16 Thread bdlink
Sorry if this is already in JIRA, I looked and could not find.  I know there is 
a lot of activity getting the functionality in, but the documentation is really 
important in terms of usability.  Easily finding the documentation is as 
important as having it.

Documentation has grown since JBDS 1, but I still find nothing under the 
Eclipse help.
My Help Contents:
Workbench User Guide
  | Java development user guide
  | Plug-in Development Environment Guide
  | BIRT Report Developer Guide
  | C/C++ Development User Guide
  | Dali Java Persistence Tools User Guide
  | Hibernate Developer Guide
  | Javascript Development Toolkit User Guide
  | JavaServer Faces Tooling User Guide
  | Monitoring and profiling applications
  | Mylyn
  | RSE User Guide
  | Testing applications
  | Usage Data Collector
  | Web Tools Platform User Guide
  | Working with the Agent Controller
Second point, the documentation is mostly fragmented based on the individual 
plugins (that is how the JIRA items are categorized as well).  The only overall 
documentation seems to be the Getting Started Guide. It would be nice to one 
unified document at a deeper level than the getting started guide. 

Third point, If I have downloaded JBDS or installed JBT, or if I am sitting 
down at a machine that has it and open eclipse, I would tend to go to the 
elipse help to find docs or tutorials on how to use the features.  With 
eclipse, there is always potential confusion between multiple plugins that seem 
to address similar tasks.  For example, what do I use for JPA?  Dali, 
Hibernate, something built into Seam?  It would be nice if the use cases 
applicable to JBT/JBDS were clearly described along with corresponding tool 
usage.

Working through a nontrivial example using all of the tools would also be good, 
for example the Seam booking example from scratch (if this is already there, 
sorry).

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4196966#4196966

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4196966
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - JBoss AS InterceptorRegistry warning

2008-12-13 Thread bdlink
What does the following warning mean, where is it documented, what do I do to 
get rid of it?  I know EJBTHREE-1246 says bean developers do not have to worry. 
 Example is from O'Reilly EJB3 workbook. example 4.1.

13:11:44,515 WARN  [InterceptorsFactory] EJBTHREE-1246: Do not use 
InterceptorsFactory with a ManagedObjectAdvisor, Inte
  | rceptorRegistry should be used via the bean container
  | 13:11:44,515 WARN  [InterceptorsFactory] EJBTHREE-1246: Do not use 
InterceptorsFactory with a ManagedObjectAdvisor, Inte
  | rceptorRegistry should be used via the bean container
  | 13:11:44,515 WARN  [InterceptorRegistry] applicable interceptors is 
non-existent for public void com.titan.travelagent.T
  | ravelAgentBean.createCabin(com.titan.domain.Cabin)
  | 13:11:44,515 WARN  [InterceptorRegistry] applicable interceptors is 
non-existent for public com.titan.domain.Cabin com.t
  | itan.travelagent.TravelAgentBean.findCabin(int)
  | 13:11:44,531 WARN  [InterceptorRegistry] applicable interceptors is 
non-existent for public void com.titan.travelagent.T
  | ravelAgentBean.createCabin(com.titan.domain.Cabin)
  | 13:11:44,531 WARN  [InterceptorRegistry] applicable interceptors is 
non-existent for public com.titan.domain.Cabin com.t
  | itan.travelagent.TravelAgentBean.findCabin(int)
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4196375#4196375

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4196375
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - jboss.xml question AS 5

2008-12-13 Thread bdlink
The following jboss.xml would bind a jndi name under jboss as 4, but does not 
do so under jboss as 5, even though the dtd would seem to indicate that it is 
still supported:
jboss xmlns=http://www.jboss.com/xml/ns/javaee;
  |  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  |  xsi:schemaLocation=http://www.jboss.org/j2ee/schema
  | http://www.jboss.org/j2ee/schema/jboss_5_0.xsd;
  |  version=5.0
  |enterprise-beans
  |   session
  |  ejb-nameTravelAgentBean/ejb-name
  |  jndi-nameTravelAgentRemote/jndi-name
  |   /session
  |/enterprise-beans
  | /jboss
  | 
Looking at the jmx jndi view, there is a TravelAgentBean in the global context, 
but no TravelAgentRemote.
Global JNDI Namespace
  | 
  |   +- UserTransactionSessionFactory (proxy: $Proxy93 implements interface 
org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory)
  |   +- jmx (class: org.jnp.interfaces.NamingContext)
  |   |   +- rmi (class: org.jnp.interfaces.NamingContext)
  |   |   |   +- RMIAdaptor[link - jmx/invoker/RMIAdaptor] (class: 
javax.naming.LinkRef)
  |   |   +- invoker (class: org.jnp.interfaces.NamingContext)
  |   |   |   +- RMIAdaptor (proxy: $Proxy94 implements interface 
org.jboss.jmx.adaptor.rmi.RMIAdaptor,interface 
org.jboss.jmx.adaptor.rmi.RMIAdaptorExt)
  |   +- TravelAgentBean (class: org.jnp.interfaces.NamingContext)
  |   |   +- remote (class: Proxy for: com.titan.travelagent.TravelAgentRemote)
  |   |   +- remote-com.titan.travelagent.TravelAgentRemote (class: Proxy for: 
com.titan.travelagent.TravelAgentRemote)
  |   +- queue (class: org.jnp.interfaces.NamingContext)
  |   |   +- DLQ (class: org.jboss.jms.destination.JBossQueue)
  |   |   +- ExpiryQueue (class: org.jboss.jms.destination.JBossQueue)
  |   +- UUIDKeyGeneratorFactory (class: 
org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory)
  |   +- ClusteredConnectionFactory (class: 
org.jboss.jms.client.JBossConnectionFactory)
  |   +- ClusteredXAConnectionFactory (class: 
org.jboss.jms.client.JBossConnectionFactory)
  |   +- ConnectionFactory (class: org.jboss.jms.client.JBossConnectionFactory)
  |   +- ProfileService (class: AOPProxy$0)
  |   +- console (class: org.jnp.interfaces.NamingContext)
  |   |   +- PluginManager (proxy: $Proxy95 implements interface 
org.jboss.console.manager.PluginManagerMBean)
  |   +- topic (class: org.jnp.interfaces.NamingContext)
  |   +- HiLoKeyGeneratorFactory (class: 
org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory)
  |   +- persistence.unit:unitName=#titan (class: 
org.hibernate.impl.SessionFactoryImpl)
  |   +- TomcatAuthenticators (class: java.util.Properties)
  |   +- XAConnectionFactory (class: 
org.jboss.jms.client.JBossConnectionFactory)
  |   +- UserTransaction (class: 
org.jboss.tm.usertx.client.ClientUserTransaction)
  | 
Using the annotation @jboss.ejb3.annotations.RemoteBinding does work.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4196377#4196377

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4196377
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Hibernate validation failure with Seamgen/MYSQL

2008-12-09 Thread bdlink
This is not new, and may belong with the hibernate people (just tell me).

Using windows XP, latest daily build of JBT 3.

Have a mysql database with a fixed width field STATE char(2) and some varchar 
fields. (mysql shows the column type for STATE as char(2))

Seam gen entities generates (in the code)
@Column(name = STATE, length = 2)
@Length(max = 2)
(similarly for the varchar fields, no difference other than the 2 lengths)
In the persistence.xml, seamgen generates
 
Application fails to load with following traceback (partial):
Caused by: org.hibernate.HibernateException: Wrong column type: STATE, 
expected: varchar(2)
  | at org.hibernate.mapping.Table.validateColumns(Table.java:261)
  | at 
org.hibernate.cfg.Configuration.validateSchema(Configuration.java:1083)
  | at 
org.hibernate.tool.hbm2ddl.SchemaValidator.validate(SchemaValidator.java:116)
  | at 
org.hibernate.impl.SessionFactoryImpl.init(SessionFactoryImpl.java:317)
  | at 
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
  | at 
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:713)
I note that in the JBDS 2 Beta 1, the persistence.xml is autogenerated with 
update, not validate.  I can make the error go away by adding 
columnDefinition=char(2) to the column attribute.  

I guess I feel generate entities should generate correct entities in the 
presence of fixed length character fields.  


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4195450#4195450

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4195450
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - JBoss tools 3 daily Deployment failure due to spaces?

2008-12-08 Thread bdlink
Windows OS.  Started with Eclipse 3.4.1 EE version, updated with BRIT and JBoss 
Tools update site enabled.  Installed latest daily, N200812080252.  Added JBoss 
AS 4.2.3.GA as JBoss, a division of Red Hat JBoss 4.2 Runtime and created a 
new local server by checking checkbox in New Server Runtime Environment wizard.

Created new Seam project, testseam, and added Jboss-seam-2.0.2.SP1 as Seam 
Runtime version 2.0 (remark - it would not allow adding a version 2.1 here, but 
does allow it via preferences window) (remark - when opening seam runtime in 
preferences window and selecting edit, it sets version to 1.2 instead of 
picking up current version setting).  Connector was MYSQL (innodb) to exisiting 
database I use for testing (this process has worked in the past, and works on 
JBDS 2 beta - using stock server and seam).

Try to run on server, get exception (traceback edited down):
12:49:25,218 ERROR [[/testseam]] Exception sending context initialized event to 
listener instance of class org.jboss.seam.servlet.SeamListener
  | org.jboss.seam.InstantiationException: Could not instantiate Seam 
component: testseamEntityManagerFactory
  | ...
  | Caused by: javax.persistence.PersistenceException: 
java.lang.IllegalArgumentException: Unable to visit JAR 
file:/C:/apps/workspace3.4.1/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss
 4.2 Server/deploy/testseam.war/WEB-INF/classes. Cause: Illegal character in 
path at index 83: 
file:/C:/apps/workspace3.4.1/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss
 4.2 Server/deploy/testseam.war/WEB-INF/classes
  | ...
  | Caused by: java.lang.IllegalArgumentException: Unable to visit JAR 
file:/C:/apps/workspace3.4.1/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss
 4.2 Server/deploy/testseam.war/WEB-INF/classes. Cause: Illegal character in 
path at index 83: 
file:/C:/apps/workspace3.4.1/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss
 4.2 Server/deploy/testseam.war/WEB-INF/classes
  | at 
org.hibernate.ejb.packaging.JarVisitor.getVisitor(JarVisitor.java:100)
  | at 
org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:226)
  | ... 175 more
  | 12:49:25,234 ERROR [StandardContext] Error listenerStart
  | 12:49:25,234 ERROR [StandardContext] Context [/testseam] startup failed due 
to previous errors
  | 12:49:25,234 WARN  [ServiceController] Problem starting service 
jboss.web.deployment:war=testseam.war,id=-1001488612
  | org.jboss.deployment.DeploymentException: URL 
file:/C:/apps/workspace3.4.1/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss
 4.2 Server/deploy/testseam.war/ deployment failed
  | 
Problem seems to be spaces in path (char at index 83 mentioned in error is a 
space).  I used default names for server given by add runtime wizard.



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4195186#4195186

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4195186
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Cannot update daily build

2008-12-07 Thread bdlink
This has happened frequently.  
Usually when I take out BIRT the rest will update.  
Yesterday it was a hibernate issue.  I added the BIRT update site and JBoss 
Tool Update site, as described in http://jboss.org/community/docs/DOC-10044.  
With that I was able to install N200812051203.  Update failed, so I removed 
BIRT integration, which was failing to update.  Then got message:
Cannot complete the request.  See the details.
  | Unsatisfied dependency: [org.hibernate.eclipse.feature.feature.group 
3.2.4.CR1-N200812060004] requiredCapability: 
org.eclipse.equinox.p2.iu/org.jboss.tools.hibernate.ui.view/[3.2.4.CR1-N200812060004,3.2.4.CR1-N200812060004]
  | Cannot find a solution where both Match[requiredCapability: 
org.eclipse.equinox.p2.iu/org.eclipse.equinox.preferences/[3.2.201.R34x_v20080709,3.2.201.R34x_v20080709]]
 and Match[requiredCapability: 
org.eclipse.equinox.p2.iu/org.eclipse.equinox.preferences/[3.2.200.v20080421-2006,3.2.200.v20080421-2006]]
 can be satisfied.
  | Cannot find a solution where both Match[requiredCapability: 
org.eclipse.equinox.p2.iu/org.eclipse.equinox.launcher.win32.win32.x86/[1.0.101.R34x_v20080731,1.0.101.R34x_v20080731]]
 and Match[requiredCapability: 
org.eclipse.equinox.p2.iu/org.eclipse.equinox.launcher.win32.win32.x86/[1.0.100.v20080509-1800,1.0.100.v20080509-1800]]
 can be satisfied.
  | Cannot find a solution where both Match[requiredCapability: 
org.eclipse.equinox.p2.iu/org.eclipse.ui/[3.4.1.M20080910-0800,3.4.1.M20080910-0800]]
 and Match[requiredCapability: 
org.eclipse.equinox.p2.iu/org.eclipse.ui/[3.4.0.I20080610-1200,3.4.0.I20080610-1200]]
 can be satisfied.
  | Cannot find a solution where both Match[requiredCapability: 
org.eclipse.equinox.p2.iu/org.eclipse.osgi/[3.4.2.R34x_v20080826-1230,3.4.2.R34x_v20080826-1230]]
 and Match[requiredCapability: 
org.eclipse.equinox.p2.iu/org.eclipse.osgi/[3.4.0.v20080605-1900,3.4.0.v20080605-1900]]
 can be satisfied.
  | Cannot find a solution where both Match[requiredCapability: 
org.eclipse.equinox.p2.iu/org.eclipse.ui.workbench/[3.4.1.M20080827-0800a,3.4.1.M20080827-0800a]]
 and Match[requiredCapability: 
org.eclipse.equinox.p2.iu/org.eclipse.ui.workbench/[3.4.0.I20080606-1300,3.4.0.I20080606-1300]]
 can be satisfied.
  | Cannot find a solution where both Match[requiredCapability: 
org.eclipse.equinox.p2.iu/org.eclipse.swt/[3.4.1.v3449c,3.4.1.v3449c]] and 
Match[requiredCapability: 
org.eclipse.equinox.p2.iu/org.eclipse.swt/[3.4.0.v3448f,3.4.0.v3448f]] can be 
satisfied.
  | Cannot find a solution where both Match[requiredCapability: 
org.eclipse.equinox.p2.iu/org.eclipse.update.configurator/[3.2.201.R34x_v20080819,3.2.201.R34x_v20080819]]
 and Match[requiredCapability: 
org.eclipse.equinox.p2.iu/org.eclipse.update.configurator/[3.2.200.v20080417,3.2.200.v20080417]]
 can be satisfied.
  | Cannot find a solution where both Match[requiredCapability: 
org.eclipse.equinox.p2.iu/org.eclipse.help/[3.3.101.v20080702_34x,3.3.101.v20080702_34x]]
 and Match[requiredCapability: 
org.eclipse.equinox.p2.iu/org.eclipse.help/[3.3.100.v20080610,3.3.100.v20080610]]
 can be satisfied.
  | Cannot find a solution where both Match[requiredCapability: 
org.eclipse.equinox.p2.iu/org.eclipse.swt.win32.win32.x86/[3.4.1.v3449c,3.4.1.v3449c]]
 and Match[requiredCapability: 
org.eclipse.equinox.p2.iu/org.eclipse.swt.win32.win32.x86/[3.4.0.v3448f,3.4.0.v3448f]]
 can be satisfied.
  | Cannot find a solution where both Match[requiredCapability: 
org.eclipse.equinox.p2.iu/org.eclipse.rcp.feature.jar/[3.4.100.r341_v20080814-989JESIEdAciFYfkZZsBfSwQ2341,3.4.100.r341_v20080814-989JESIEdAciFYfkZZsBfSwQ2341]]
 and Match[requiredCapability: 
org.eclipse.equinox.p2.iu/org.eclipse.rcp.feature.jar/[3.4.0.v20080324a-989JERhEk-jWnd5IY8K5tjxB,3.4.0.v20080324a-989JERhEk-jWnd5IY8K5tjxB]]
 can be satisfied.
  | Cannot find a solution where both Match[requiredCapability: 
org.eclipse.equinox.p2.iu/org.eclipse.equinox.preferences/[3.2.201.R34x_v20080709,3.2.201.R34x_v20080709]]
 and Match[requiredCapability: 
org.eclipse.equinox.p2.iu/org.eclipse.equinox.preferences/[3.2.200.v20080421-2006,3.2.200.v20080421-2006]]
 can be satisfied.
  | Cannot find a solution where both Match[requiredCapability: 
org.eclipse.equinox.p2.iu/org.eclipse.ui/[3.4.1.M20080910-0800,3.4.1.M20080910-0800]]
 and Match[requiredCapability: 
org.eclipse.equinox.p2.iu/org.eclipse.ui/[3.4.0.I20080610-1200,3.4.0.I20080610-1200]]
 can be satisfied.
  | Cannot find a solution where both Match[requiredCapability: 
org.eclipse.equinox.p2.iu/org.eclipse.update.configurator/[3.2.201.R34x_v20080819,3.2.201.R34x_v20080819]]
 and Match[requiredCapability: 
org.eclipse.equinox.p2.iu/org.eclipse.update.configurator/[3.2.200.v20080417,3.2.200.v20080417]]
 can be satisfied.
  | Cannot find a solution where both Match[requiredCapability: 
org.eclipse.equinox.p2.iu/org.eclipse.help/[3.3.101.v20080702_34x,3.3.101.v20080702_34x]]
 and Match[requiredCapability: 

[jboss-user] [JBoss Tools (users)] - Daily build will not install either

2008-12-07 Thread bdlink
I reinstalled eclipse-jee-ganymede-SR1-win32.zip (on windows XP).  Included the 
BIRT update site and JBOSS tools daily site.  Set all of the update sites as 
active and updated eclipse, no problem.  

Tried to install latest JBoss tools.  Failed on BRIT as above.  

Removed BRIT Integration and tried to install rest of tools, and got error 
message regarding hibernate dependency above.  So the N200812060004 will not 
install on my machine without some other library.

Is there another Hibernate site I should reference? 





View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4194900#4194900

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4194900
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Can't install nightly build

2008-12-07 Thread bdlink
This also happens with Java 5 and Windows XP (32)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4194906#4194906

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4194906
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Can't install nightly build

2008-12-07 Thread bdlink
This may affect the issue:

Invalid build.properties in org.jboss.tools.hibernate.ui.view
-

 Key: JBIDE-3370
 URL: https://jira.jboss.org/jira/browse/JBIDE-3370

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4194908#4194908

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4194908
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Cannot update daily build

2008-12-07 Thread bdlink
OK, based on new JIRA, it looks like the hibernate was broken:
Invalid build.properties in org.jboss.tools.hibernate.ui.view
  | -
  | 
  |  Key: JBIDE-3370
  |  URL: https://jira.jboss.org/jira/browse/JBIDE-3370
But what about the BIRT integration error?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4194909#4194909

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4194909
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Cannot update daily build

2008-12-07 Thread bdlink
Hey,

Thanks for fixing it right away.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4194924#4194924

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4194924
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - JDK 5 or 6 with JBoss AS 5, eclipse ganymede, JBoss tools 3

2008-12-06 Thread bdlink
Now that JBoss AS 5 is finally out, the question arises which JDK to use with 
it.  JBoss AS 5.0.0.GA seems to come in two versions, using JDK 5 or 6.  JBoss 
Developer Studio 1 required JDK 5.

Sun has move JDK 5 into the sunset, even though it is the reference JDK for 
Java EE 5.  Presumably at some point we will need to move to JDK 6.

What is the recommendation from the JBoss Tools standpoint?  Is JBoss tools 3 
(on top of Ganymede and with Seam, etc.) intended to work with JDK 6?  Is there 
a different answer for JBoss Developer Studio 2?

I have been testing it with JDK5 and have not tried it with 6, since there were 
issues earlier.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4194841#4194841

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4194841
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Cannot create a Dynamic Web Module 2.5 version project

2008-11-16 Thread bdlink
bdlink wrote : This is happening to me as well.  I am using eclipse 3.4.1 and 
the latest (updated Nov 20, 08) Jboss tools 3 daily.
  | 

Sorry, make that Nov 15 update

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4189677#4189677

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4189677
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Cannot create a Dynamic Web Module 2.5 version project

2008-11-15 Thread bdlink
This is happening to me as well.  I am using eclipse 3.4.1 and the latest 
(updated Nov 20, 08) Jboss tools 3 daily.

Creating a new JSF project and selecting servlet 2.5 and JSF 1.2 leaves the 
Dynamic web facet at 2.4, and it cannot be changed.  I came to the conclusion 
that JBoss tools is not using the facits, since it has separate JBoss tools add 
capability wizards.

Is it true that we should not be adding facets to a JBoss JSF project?  

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4189637#4189637

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4189637
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - JBoss Tools JSF/Add Custom Capabilities/JBoss RichFaces3.1 h

2008-11-15 Thread bdlink
I am running Eclipse 3.4.1 with JBoss tools 3 latest daily (Updated Nov 16/08).

I created a JSF project and tried to add RichFaces Libraries.

1st attempt, adding RichFaces 3.2.2.SR1 with Configure Build Path.  Added the 
RichFaces jars as external jars under libraries tab of Java Build path.  The 
libraries appeared as referenced libraries, but not under Web App Libraries in 
the package explorer.  When I ran the app, the uri for richfaces could not be 
found, so the jars did not make it into the application.

2nd attempt.  I discovered right clicking on the project in the Web Project 
explorer had a JBoss Tools JSF/Add Custom Capabilities.  I tried using this and 
selecting JBoss RichFaces3.1  (since I was not that picky about the version).  
The entire IDE hung.

How are we supposed to add RichFaces to a JSF Project?  Is there any way to use 
3.2.2.SR1?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4189638#4189638

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4189638
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: JBossTools 2.1.2.GA released

2008-07-13 Thread bdlink
Har,

Yes, JBDS. :)   But thanks for the info.  

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4164104#4164104

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4164104
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: JBossTools 2.1.2.GA released

2008-07-12 Thread bdlink
I notice Drools is mentioned in the JBossTools project, but not in the JBDC 
spec.

Do we know if Drools is included in JBDC 1.1.0.GA?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4164043#4164043

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4164043
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools Documentation

2007-11-09 Thread bdlink
After reading from Max (above) that we are to use Dali for persistence with 
JBoss tools, I tried using JPA with todays Jboss tools nightly build, after 
creating a seam-web project (with Seam 2).  As near as I can figure, JPA only 
works in a JPA project.  It does not appear to work with a Seam project with 
JPA aspect added (in the JPA structure window the message Structure is not 
available for the current selection when selecting a class which is to be 
bound to a database table). The Dali tutorial works but requires a JPA project.

The last messages sound like we should be using hibernate directly for 
generating Entities from DB tables.

Using a seam entity does not seem to do anything useful, because the associated 
pages get out of synch when you edit the entity properties.  Perhaps more 
useful would be generating the other artifacts (Home, List, and pages) after 
the Entity has been generated.

Using seam-gen does not seem to work well, because it is all database tables or 
nothing, and gets the relationships wrong (not enough info in database schema 
to determine correct multiplicities and direction).  After correcting the 
Entities you have to track down corrections in the other artifacts, since 
refactoring does not know about the dependencies.

I noticed that the example JBoss tools documentation does not yet get past the 
front end to generating the entities.

I am assuming/hoping that my confusion is simply due to a lack of documentation 
which will eventually be answered (or perhaps features which are not there but 
will be for GA), but I am still trying to figure the best way to do a simple 
application with a database that has multiple tables, with relationships.  I am 
trying to use JSF/Facelets/RichFaces/Seam2/EJB3/JAS4.2.2. 

Pointers to an end-to-end project would be useful (something more than a 
one-table CRUD example).  If seam is the main focus of JBoss tools/RHDS, 
perhaps the examples in the Seam tutorial could be redone using these tools.

When JBoss Tools/RHDS really gets it together, it looks like it will be 
preferable to the NetBeans model which has the same architectural constraints 
that Sun Studio Creator had (each page has a backing bean that everything gets 
dumped into, etc.)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4103385#4103385

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4103385
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools Documentation

2007-11-09 Thread bdlink
Thank you for your prompt reply.  

I selected the JPA facet when creating the project.  However looking at the 
project facets for the -ejb project, it does not show up.  Adding in the JPA 
facet at that point does fix the Dali error.

I did not (in this test project) use seam generate enties, because I have used 
it before, and it has issues which I mentioned in my post.  I have not yet 
tried controlling it with reveng.xml (next step )

I tried using Seam generate entities from entity and got the following error: 
can't generate seam entities, with details regarding not being able to load JPA 
configuration (illegal characters in path - perhaps the space in Documents and 
Settings - where the eclipse workspace is). 


I was referring to example Getting Started with Redhat Studio at: 
http://www.redhat.com/developers/rhds/pdf/Getting_Started_with_RHDS.pdf


Most of the examples in the Seam tutorial are multiple table examples ( Hotel 
booking example, DVD store)

Anyway, I can try some other things now, thanks for the help!



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4103392#4103392

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4103392
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools Documentation

2007-11-09 Thread bdlink
I guess what I would find useful (after trying generate-entries on an earlier 
test project) would be something that either maps entities to tables, or 
generates tables from entities, but since in either case, the mapping probably 
needs some ability for human guidance.  For example, given a schema, a tool can 
not guess whether I want to navigate both directions, may not be able to guess 
if a relation is 1-1 or 1-n (at least generate entities turned my 1-1 
relationships to 1-n, even though I had put unique constraints on the table to 
force only one interpretation).  Another example which could not be guessed 
from the schema is if I want the entities to be in an inheritance relationship.

My main issue with generate entities is not that it guesses wrong, but that 
after hand-fixing the entities, the other artifacts need massive editing, and 
it is hard to be sure I have found everything.  If I restart the project (to 
perhaps use a new version of the tools or seam) I have to go through the entire 
process again.

As well, the CRUD pages generate-entities creates are interesting from the 
standpoint of a demo, and for seeing how they are done, however, I am not 
convinced I would want these pages for creating and updating generated for each 
table (For example, that is not how to handle an associative table that 
implements a many-many relationship).  So generate-entities seems to create a 
lot of things that have to be edited/deleted.  (apropos names, it generates a 
lot more than entities)

I may be wrong in the above feelings, but in any case, generating EJB3 
entities/session beans is a useful separate thing from getting everything seam 
generate entities creates.  

Is there a place that the use cases for RHDS are described?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4103398#4103398

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4103398
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools Documentation

2007-10-31 Thread bdlink
Still looking for JBoss Tools 2.0 documentation.

Pressing F1 in eclipse (after installing beta 4) does not provide any 
documentation for Jboss tools that I can find.  There is some documentation for 
Hibernate, some very old (3-4 years?) documentation for doing a J2EE 1.4 CMP 
application with XDoclet.  Nothing on EJB3 that I see.

The referenced information on the redhat site seems to be also outdated.

Will there be tools to work with EJB3 entity beans (including reverse 
engineering a single table) in the context of a seam application (preferably 
seam 2.0 which seems to be almost out)?

In looking around, I get the idea that there was an EJB3 tool in an earlier 
version which has been dropped.  True/false?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100802#4100802

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100802
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: seam-gen generate entities errors

2007-10-25 Thread bdlink
Tried with seam2.0.0.CR3, same errors.

As suggested, adding columnDefinition=char(32) to the id key fixes the 
problem with hibernate validation.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4099067#4099067

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4099067
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: seam-gen generate entities errors

2007-10-24 Thread bdlink
Perhaps it is related to the fact(according to mysql documentation) that mysql 
will silently change the char(32) field (which shows as char(32) in the schema) 
to a varchar(32) that is actually stored.

If you describe the table from mysql, it shows char(32), perhaps this was read 
to generate the entities, and somehow the validation is finding about the 
silent change in column type.

According to mysql documentation (13.1.5.1. Silent Column Specification 
Changes), this does not affect how you use the columns in any way.

Since hibernate is generating the java, and doing the validation, it may be a 
hibernate bug, nothing to do with seamgen?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4098624#4098624

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4098624
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: seam-gen generate entities errors

2007-10-23 Thread bdlink
Commenting out the  line in the persistence-dev.xml file removes the error and 
allows the generated project to work.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4098006#4098006

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4098006
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: seam-gen generate entities errors

2007-10-23 Thread bdlink
Problem line:
property name=hibernate.hbm2ddl.auto value=validate/

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4098007#4098007

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4098007
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - seam-gen generate entities errors

2007-10-22 Thread bdlink
Saw something similar in JIRA regarding Temporal fields, but that is not an 
issue here.  

Running Seam 2.0.0.CR2 with JDK 1.5.0_12 and JBoss4.2.1.GA and eclipse3.3.1 
with JBoss Tools2.0.0.beta4 installed.

Created a new project with seamgen new-project with the following properties: 
  | #Generated by seam setup
  | #Sun Oct 21 13:21:48 PDT 2007
  | hibernate.connection.password=changed
  | workspace.home=C\:/Documents and Settings/blink/workspace33
  | model.package=ca.bcit.infosys.entity
  | 
hibernatetool.metadatadialect=org.hibernate.cfg.reveng.dialect.MySQLMetaDataDialect
  | driver.jar=lib/mysql-connector-java-5.0.7-bin.jar
  | action.package=ca.bcit.infosys.session
  | test.package=ca.bcit.infosys.test
  | database.type=mysql
  | richfaces.skin=blueSky
  | hibernate.default_catalog.null=
  | hibernate.default_schema.null=
  | database.drop=n
  | project.name=infosys
  | hibernate.connection.username=changed
  | hibernate.connection.driver_class=com.mysql.jdbc.Driver
  | hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider
  | project.type=ear
  | icefaces.home=
  | database.exists=y
  | jboss.home=C\:/apps/jboss-4.2.1.GA
  | hibernate.dialect=org.hibernate.dialect.MySQLDialect
  | hibernate.connection.url=jdbc\:mysql\://localhost\:3306/infosys
  | 

then generated entities from the mysql database.  No errors from seamgen script.

Code generated did not compile due to duplicate names (the type was used 
instead of the column name for the variable name - column name would be 
better).  After fixing this so it would compile, project would not deploy.  

Error:

  | 11:40:40,929 INFO  [SchemaValidator] Running schema validator
  | 11:40:40,929 INFO  [SchemaValidator] fetching database metadata
  | 11:40:40,999 INFO  [TableMetadata] table found: infosys.review
  | 11:40:40,999 INFO  [TableMetadata] columns: [comments, ratepersonal3, 
reviewer, rateleadership4, tech4, ratepersonal4, ratetask1, id, ratepersonal5, 
ratetech1, ratetask3, ratetask6, rateleadership2, ratepersonal2, tech3, 
summary, period, received, ratetask8, ratepersonal7, reviewtype, ratetech2, 
rateleadership1, ratetask5, ratepersonal8, ratetask7, ratetask2, 
rateleadership3, tech1, ratetech4, year, pos, ratepersonal1, employee, 
ratepersonal6, ratetech3, tech2, ratetask4]
  | 11:40:41,009 WARN  [ServiceController] Problem starting service 
persistence.units:ear=infosys.ear,unitName=infosys
  | javax.persistence.PersistenceException: org.hibernate.HibernateException: 
Wrong column type: id, expected: varchar(32)
  | at 
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:720)
  | at 
org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:127)
  | at 
org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:246)
  | 
The generated annotation for the Review class is as follows:

  | @Entity
  | @Table(name = review, catalog = infosys)
  | public class Review implements java.io.Serializable {
  | 
  | private String id;
  | ...
  | @Id
  | @Column(name = id, unique = true, nullable = false, length = 32)
  | @NotNull
  | @Length(max = 32)
  | public String getId() {
  | return this.id;
  | }
  | ...
  | 

Following is the schema of the review table:

  | CREATE TABLE `review` (
  |   `id` char(32) NOT NULL,
  |   `employee` varchar(32) default NULL,
  |   `pos` varchar(20) default NULL,
  |   `reviewer` varchar(32) default NULL,
  |   `received` datetime default NULL,
  |   `period` tinyint(4) default NULL,
  |   `year` smallint(4) unsigned default NULL,
  |   `reviewType` varchar(20) default NULL,
  |   `tech1` varchar(35) default NULL,
  |   `rateTech1` tinyint(3) unsigned default NULL,
  |   `tech2` varchar(35) default NULL,
  |   `rateTech2` tinyint(3) unsigned default NULL,
  |   `tech3` varchar(35) default NULL,
  |   `rateTech3` tinyint(3) unsigned default NULL,
  |   `tech4` varchar(35) default NULL,
  |   `rateTech4` tinyint(3) unsigned default NULL,
  |   `rateTask1` tinyint(3) unsigned default NULL,
  |   `rateTask2` tinyint(3) unsigned default NULL,
  |   `rateTask3` tinyint(3) unsigned default NULL,
  |   `rateTask4` tinyint(3) unsigned default NULL,
  |   `rateTask5` tinyint(3) unsigned default NULL,
  |   `rateTask6` tinyint(3) unsigned default NULL,
  |   `rateTask7` tinyint(3) unsigned default NULL,
  |   `rateTask8` tinyint(3) unsigned default NULL,
  |   `ratePersonal1` tinyint(3) unsigned default NULL,
  |   `ratePersonal2` tinyint(3) unsigned default NULL,
  |   `ratePersonal3` tinyint(3) unsigned default NULL,
  |   `ratePersonal4` tinyint(3) unsigned default NULL,
  |   `ratePersonal5` tinyint(3) unsigned default NULL,
  |   `ratePersonal6` tinyint(3) unsigned default NULL,
  |   `ratePersonal7` tinyint(3) unsigned default NULL,
  |   `ratePersonal8` tinyint(3) unsigned default NULL,
  |   `rateLeadership1` tinyint(3) unsigned default NULL,

[jboss-user] [JBoss Seam] - Re: seam-gen generate entities errors

2007-10-22 Thread bdlink
Sorry, forgot to post persistence.xml file seamgen produced, related to above 
issues:
!-- Persistence deployment descriptor for dev profile --
  | persistence xmlns=http://java.sun.com/xml/ns/persistence; 
  |  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  |  xsi:schemaLocation=http://java.sun.com/xml/ns/persistence 
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd; 
  |  version=1.0
  |  
  |persistence-unit name=infosys
  |   providerorg.hibernate.ejb.HibernatePersistence/provider
  |   jta-data-sourcejava:/infosysDatasource/jta-data-source
  |   properties
  |  property name=hibernate.dialect 
value=org.hibernate.dialect.MySQLDialect/
  |  property name=hibernate.hbm2ddl.auto value=validate/
  |  property name=hibernate.cache.use_query_cache value=true/
  |  property name=hibernate.show_sql value=true/
  |  property name=jboss.entity.manager.factory.jndi.name 
value=java:/infosysEntityManagerFactory/
  |   /properties
  |/persistence-unit
  | 
  | /persistence

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4097652#4097652

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4097652
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Problems with Seam-gen (and maven i guess)

2007-10-20 Thread bdlink
OK, I figured it out.  In tiny mouse print in the blog referenced in the second 
post, it says to run ant build.  I saw that when I reread the blog.

When I run ant build in the top seam directory, it fixes the problem.  



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4097201#4097201

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4097201
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Problems with Seam-gen (and maven i guess)

2007-10-19 Thread bdlink
Same problem happening to me.  Trying to run seam-gen, in particular seam 
setup and get error message during the init phase:

anonymous wrote : 1 required artifact is missing.
  | 
  | for artifact:
  |   unspecified:unspecified:jar:0.0
  | 
  | from the specified remote repositories:
  |   central (http://repo1.maven.org/maven2)
  | 

How do you change the maven repository for seam-gen?

I do not generally use maven, too many problems :-).

thanks

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4097142#4097142

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4097142
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Layering the code in Seam

2007-09-25 Thread bdlink
stateless session beans

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4088675#4088675

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4088675
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - jboss downloads do not include jboss tools

2007-09-25 Thread bdlink
In the jboss downloads area, http://labs.jboss.com/projects/download, under 
tools, it has jboss IDE for eclipse (which the seam 2.0 documentation and 
earlier refers to).  The most recent version there is 2.0.0 Beta2.  There is no 
mention of an eclipse update site (only for the stable 1.6 version)

I only discovered by accident this forum (many screens below the top of the 
forum list) and that there was a version 2.0.0beta3 and that you were renaming 
it Jboss tools.  

The jboss download site should be updated, I think.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4088678#4088678

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4088678
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user