[JBoss JIRA] Created: (JBDS-420) RHDS GSG
by Shaun Appleton (JIRA)
RHDS GSG
--------
Key: JBDS-420
URL: https://jira.jboss.org/jira/browse/JBDS-420
Project: Developer Studio
Issue Type: Task
Components: Doc - RHDS GSG
Affects Versions: 1.1.0.GA
Environment: n/a
Reporter: Shaun Appleton
Assignee: Max Rydahl Andersen
I have run through the RHDS GSG and have the following comments -
sect 1.2.1 the note does not match up with the script.
The script states -
export PATH=$PATH:$JAVA_HOME/bin
The note states -
When you add $JAVA_HOME/bin to $PATH, you should add it before the old $PATH not after it. This way, the machine will pick up the new JVM first. You only need to run "alternative" as a safe guard for the right JVM.
It might be better if script stated -
export PATH=$JAVA_HOME/bin:$PATH
and note
Note:
$JAVA_HOME/bin is added after the $PATH to ensure the machine will pick up the new JVM first. You only need to run "alternative" as a safe guard for the right JVM.
If you follow the sections of the guide through sequentially
The sect 3.5 doesn't work as the method public String hello() is never called
if getValue() is changed to
public String getValue()
{
if (convertToCap) {
value = value.toUpperCase ();
}
return value;
}
Then it works.
Also it is not possible to produce the result shown in Fig 3.17 as the value input must have a surname and lastname as enforced by the validator introduced in sect 3.4.
Sect 3.5 I tried following this section as it is written but I could not secure the pages. Either the are some steps missing or this section assumes the readers know much about the seam secruity framework (which I don't yet!).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 8 months
[JBoss JIRA] Created: (JBIDE-2853) Invalid thread access when adding a new runtime within ESB Project Wizard
by Snjezana Peco (JIRA)
Invalid thread access when adding a new runtime within ESB Project Wizard
-------------------------------------------------------------------------
Key: JBIDE-2853
URL: https://jira.jboss.org/jira/browse/JBIDE-2853
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: esb
Affects Versions: 3.0.0.beta1
Reporter: Snjezana Peco
Assignee: Snjezana Peco
If you try to add a new runtime within ESB Project Wizard, you will get the following exception:
eclipse.buildId=I20080617-2000
java.version=1.5.0_14
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.sdk.ide
Command-line arguments: -product org.eclipse.sdk.ide -data E:\workspace-3.4M7-JBoss\plugins/../runtime-New_configuration -dev file:E:/workspace-3.4M7-JBoss/plugins/.metadata/.plugins/org.eclipse.pde.core/Test/dev.properties -debug E:\workspace-3.4M7-JBoss\plugins\.metadata\.plugins\org.eclipse.pde.core\Test/.options -os win32 -ws win32 -arch x86 -clean -console -consoleLog
Error
Mon Oct 06 12:30:29 CEST 2008
Invalid thread access
org.eclipse.swt.SWTException: Invalid thread access
at org.eclipse.swt.SWT.error(SWT.java:3777)
at org.eclipse.swt.SWT.error(SWT.java:3695)
at org.eclipse.swt.SWT.error(SWT.java:3666)
at org.eclipse.swt.widgets.Widget.error(Widget.java:463)
at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:355)
at org.eclipse.swt.widgets.Combo.removeAll(Combo.java:1205)
at org.jboss.tools.esb.project.ui.wizards.pages.ESBFacetInstallationPage.initializeRuntimesCombo(ESBFacetInstallationPage.java:293)
at org.jboss.tools.esb.project.ui.wizards.pages.ESBFacetInstallationPage$1.handleEvent(ESBFacetInstallationPage.java:92)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProjectWorkingCopy.notifyListeners(FacetedProjectWorkingCopy.java:1640)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProjectWorkingCopy.resumeEventNotification(FacetedProjectWorkingCopy.java:1685)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProjectWorkingCopy.setSelectedPreset(FacetedProjectWorkingCopy.java:1054)
at org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelFacetWizard.setRuntimeAndDefaultFacets(NewProjectDataModelFacetWizard.java:261)
at org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelFacetWizard$2.propertyChanged(NewProjectDataModelFacetWizard.java:212)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelImpl.notifyListeners(DataModelImpl.java:346)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelImpl.notifyPropertyChange(DataModelImpl.java:337)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelImpl.internalSetProperty(DataModelImpl.java:183)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelImpl.setProperty(DataModelImpl.java:172)
at org.eclipse.wst.web.ui.internal.wizards.DataModelFacetCreationWizardPage$5.run(DataModelFacetCreationWizardPage.java:411)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 8 months
seam generate entities from eclipse throws exception
by Kanwar bir singh sangha
Hi,
Seam generate entities using JBoss tools
(JBossTools-2.1.2.GA-ALL-win32) is throwing the following exception -
Can't generate seam entities
org.hibernate.tool.hbm2x.ExporterException: Error while processing
Entity: org.domain.SeamGen.entity.Auditlog with template
view/list.xhtml.ftl Error while processing Entity:
org.domain.SeamGen.entity.Auditlog with template view/list.xhtml.ftl
org.hibernate.tool.hbm2x.ExporterException: Error while processing
Entity: org.domain.SeamGen.entity.Auditlog with template
view/list.xhtml.ftl Error while processing Entity:
org.domain.SeamGen.entity.Auditlog with template view/list.xhtml.ftl
freemarker.core.InvalidReferenceException: Expression util.isToOne is
undefined on line 27, column 38 in view/list.xhtml.ftl. Expression
util.isToOne is undefined on line 27, column 38 in view/list.xhtml.ftl
seam version - 2.1.0.CR1
Jboss Tools - 2.1.2.GA
Thanks,
Kanwar
15 years, 8 months