[jboss-user] [JBoss Tools Users] - Weld and JBT?
Was over on the Seam forum looking at the JSR299/Weld work - any plans for supporting this JBT ? Thanks, View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4270142#4270142 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4270142 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: Failed while installing Dynamic Web Module 2.5.
Apologies, here are the details. Seam 2.2 Target runtime is JBoss 5.1 Target server is JBoss 5.1 Deployment type is EAR Scenario is very simple; I run the JBT new seam web project wizard and when I click Finish I see the exception. Only one of the 4 Eclipse (web) projects is created. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4263590#4263590 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4263590 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Failed while installing Dynamic Web Module 2.5.
Hi, Latest and greatest is failing when trying to add a new Seam Web project. Details below. JBT: eam Tools for Eclipse Version: 3.1.0.v200910281724M-H247-M4 Copyright (c) JBoss by Red Hat, 2007 - 2009. All rights reserved. Visit http://www.jboss.org/tools and http://www.seamframework.org ST: java.lang.NullPointerException at org.eclipse.jst.j2ee.web.project.facet.WebFacetInstallDelegate.createWeb25DeploymentDescriptor(WebFacetInstallDelegate.java:310) at org.eclipse.jst.j2ee.web.project.facet.WebFacetInstallDelegate.execute(WebFacetInstallDelegate.java:116) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.callDelegate(FacetedProject.java:1467) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modifyInternal(FacetedProject.java:438) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChangesInternal(FacetedProject.java:1171) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.access$2(FacetedProject.java:1107) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject$5.run(FacetedProject.java:1089) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChanges(FacetedProject.java:1099) at org.eclipse.wst.common.project.facet.core.internal.FacetedProjectWorkingCopy.commitChanges(FacetedProjectWorkingCopy.java:1958) at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard.performFinish(ModifyFacetedProjectWizard.java:400) at org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelFacetWizard.performFinish(NewProjectDataModelFacetWizard.java:279) at org.jboss.tools.seam.ui.wizard.SeamProjectWizard.performFinish(SeamProjectWizard.java:278) at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$3.run(ModifyFacetedProjectWizard.java:331) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800) at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$4.run(ModifyFacetedProjectWizard.java:345) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) Eclipse: eclipse.buildId=M20090917-0800 java.version=1.6.0_16 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_IE Command-line arguments: -os win32 -ws win32 -arch x86 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4263338#4263338 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4263338 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: Failed while installing Dynamic Web Module 2.5.
Also tried with the nightly build same result. (Version: 3.1.0.v200910310441N-H45-RC1) The previous entry in the Eclipse error log is also related: java.lang.NullPointerException: No IModelProvider exists for project P/ref of version: Dynamic Web Module 2.5 at org.eclipse.jst.j2ee.model.ModelProviderManager.getModelProvider(ModelProviderManager.java:99) at org.eclipse.jst.j2ee.web.project.facet.WebFacetInstallDelegate.createWeb25DeploymentDescriptor(WebFacetInstallDelegate.java:283) at org.eclipse.jst.j2ee.web.project.facet.WebFacetInstallDelegate.execute(WebFacetInstallDelegate.java:116) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.callDelegate(FacetedProject.java:1467) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modifyInternal(FacetedProject.java:438) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChangesInternal(FacetedProject.java:1171) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.access$2(FacetedProject.java:1107) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject$5.run(FacetedProject.java:1089) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChanges(FacetedProject.java:1099) at org.eclipse.wst.common.project.facet.core.internal.FacetedProjectWorkingCopy.commitChanges(FacetedProjectWorkingCopy.java:1958) at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard.performFinish(ModifyFacetedProjectWizard.java:400) at org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelFacetWizard.performFinish(NewProjectDataModelFacetWizard.java:279) at org.jboss.tools.seam.ui.wizard.SeamProjectWizard.performFinish(SeamProjectWizard.java:278) at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$3.run(ModifyFacetedProjectWizard.java:331) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800) at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$4.run(ModifyFacetedProjectWizard.java:345) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4263340#4263340 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4263340 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - NPE in Hibernate Configurations view, JBT GA 3.0.0
Downloaded the GA today, this query in HC; select imei from Cibenixclient as C inner join C.imei as imei gives; !SUBENTRY 2 org.hibernate.eclipse.console 4 150 2009-03-19 12:15:39.608 !MESSAGE java.lang.NullPointerException: no message !STACK 0 java.lang.NullPointerException at org.hibernate.hql.ast.HqlSqlWalker.createFromJoinElement(HqlSqlWalker.java:310) at org.hibernate.hql.antlr.HqlSqlBaseWalker.joinElement(HqlSqlBaseWalker.java:3275) at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3067) at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:2945) at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:688) at org.hibernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:544) at org.hibernate.hql.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:281) at org.hibernate.hql.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:229) at org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:228) at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:160) at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:111) at org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:77) at org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:56) at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:72) at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:133) at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:112) at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1623) at org.hibernate.console.HQLQueryPage.setSession(HQLQueryPage.java:106) at org.hibernate.console.ConsoleConfiguration$4.execute(ConsoleConfiguration.java:519) at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:64) at org.hibernate.console.ConsoleConfiguration.executeHQLQuery(ConsoleConfiguration.java:514) at org.hibernate.eclipse.hqleditor.HQLEditor.executeQuery(HQLEditor.java:416) at org.hibernate.eclipse.console.actions.ExecuteQueryAction.execute(ExecuteQueryAction.java:73) at org.hibernate.eclipse.console.actions.ExecuteQueryAction.run(ExecuteQueryAction.java:53) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.hibernate.eclipse.console.actions.ExecuteQueryAction.runWithEvent(ExecuteQueryAction.java:57) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500) at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236) View the original post :
[jboss-user] [JBoss jBPM] - Re: New to jBPM - does it fit my requirement?
Thank you very much for your reply. One last question - can you point me at the best documentation resource for this specific requirement ? Thanks, View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4216142#4216142 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4216142 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - New to jBPM - does it fit my requirement?
Hi, Picked up on jBPM from the Seam in Action book - I'd like to implement a simple workflow that; Calls 3 tasks in sequence; Waits until a DB query returns a certain count OR a timer expires I think jBPM will work - just looking for a level of comfort. What is best practice around implementing a task waiting for a DB table to fit to a certain minimum number of entries ? Thanks, View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215887#4215887 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215887 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Hibernate Configurations problem
Thank you very much. That was the problem, but in a more indirect way. The .classpath file in the xxx-ejb project had an entry of; when I removed the excluding attribute and reopened the Hibernate Configurations view, it worked fine. I wonder how the excluding attribute got added though ? I dont hack the .classpath files for Eclipse projects in any way. Perhaps consider annonating the error message with a is META-INF/persistence.xml in the classpath style hint ? Thanks again. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215123#4215123 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215123 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Hibernate Configurations problem
.classpath entry; View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215138#4215138 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215138 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Hibernate Configurations problem
Argh.. classpathentry excluding=META-INF/|META-INF/ kind=src path=ejbModule/ I'll create a JIRA ticket. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215140#4215140 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215140 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Hibernate Configurations problem
It was created using Eclipse 3.4.1/Seam 2.1.1 CR2/JBT 3.0.0 CR1, selecting the New/Seam Web project option and building as an EAR. That generated the four standard projects which worked fine. I then added some jBPM artefacts following the instructions in Chapter 14 of the Seam In Action book, but as I said, no direct editing of .classpath files. Had to upgrade to Eclipse 3.4.2 for other reasons so rebuilt the dev. environment with Seam 2.1.1 GA/JBT 3.0.0 CR2 and imported the project into this new env. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215156#4215156 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215156 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Hibernate Configurations problem
JBT 3.00 CR2, Eclipse 3.4.2 When I open the Hibernate Configurations to view and expand a configuration created with seam-gen (through Eclipse) from Sean 2.1.1 GA, I get an error of; Error while opening console configuration: xxx-ejb Reason: org.hibernate.console.HibernateConsoleRuntimeException: Persistence Unit not found: 'null' no message any ideas on how to fix ??? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4214948#4214948 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4214948 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Hibernate Configurations problem
Thanks for the reply Max. Unfortunately your suggestion does not work. I havent not yet tried the ant suggestion. Some more background on this; the project was originally created with JBT 3.0.0 CR1/Eclipse 3.4.1 and was imported as a project into the current environment. A seam-gen project that I created from scratch in the current environment works fine so I started comparing the various artefacts. persistence.xml files are the same, as are the ds- files, as are the hibernate-console.properties and the xxx-launch files. Any suggestions where I might start to debug this ? Are there other files that are not visible in the Eclipse views that might be out of alignment ? Or... is there another UI to test JPA queries in ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215028#4215028 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215028 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: How to do exploded deployment?
I am using Eclipse 3.4.1 and JBoss AS Tools 2.0.0 GA. The default publishing is as you say to a separate deploy directory under the Eclipse .pluging directory. When I make an incremental change (eg. to a .xhtml file), the change is published successfully. However, when I switch to publishing to the JBoss deploy folder, the incremental change does not appear. Do I need to configure something on the server to allow incremental publishing ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4200263#4200263 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4200263 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: How to do exploded deployment?
I got it working by rebuilding my dev. environment. * Downloaded and installed the current Eclipse IDE JEE distro (3.4.1) * Downloaded and installed JBoss Tools 3 CR1 from the update sites (I had to uncheck the JBoss Birt option before the install would work) * Restarted Incremental publishing to the JBoss deploy folder is now working correctly. Thanks for the help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4200284#4200284 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4200284 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: How to do exploded deployment?
I have exactly the same requirement and followed the instructions below. However, the EAR will not deploy onto the exploded configuration. When I select the project and click Full Publish, the Publishing to JBoss breifly flickers but nothing is changed under the deploy directory. Any suggestions ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4200097#4200097 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4200097 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Erros in Authenticator Class
This may be of some help - but... I am a Seam newcomer. I discovered that the New Seam project wizard uses JBoss rules as a default for the security authenticator (or maybe I missed the option) so I made the following changes in components.xml - I removed the rules references and added the simple authenticator; !-- Removing JBoss Rules because Tools 3.0 generated causes exception on 1st page access drools:rule-base name=securityRules drools:rule-files security /drools:rule-files /drools:rule-base -- !-- Removing JBoss Rules because Tools 3.0 generated causes exception on 1st page access security:identity security-rules=#{securityRules} authenticate-method=#{authenticator.authenticate} remember-me=true/ -- security:identity authenticate-method=#{authenticator.authenticate}/ Then, hey presto, it all worked. Magic or what ? Figuring out why the rules doesnt work is for another day. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4183313#4183313 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4183313 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user