[
https://jira.jboss.org/jira/browse/JBIDE-4415?page=com.atlassian.jira.plu...
]
Snjezana Peco commented on JBIDE-4415:
--------------------------------------
The problem happens when the project doesn't have the Java facet.
It is possible to reproduce it in the PDE Runtime when removing the
org.jboss.tools.seam.core/templates/ejb/.settings directory.
David,
You probably have a faulty JBoss Tools installation. I am not sure what caused it, maybe
an invalid zip utility.
Could you pack the org.jboss.tools.seam.core plugin and attach it to this jira?
If you have unpacked JBoss Tools to the dropins directory, you probably can fix the issue
by copying JBoss Tools plugins and features from the machine where the Seam Project wizard
works correctly.
Failed while installing Seam 2.1
--------------------------------
Key: JBIDE-4415
URL:
https://jira.jboss.org/jira/browse/JBIDE-4415
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Seam
Affects Versions: 3.0.1.GA
Environment: OS: Microsoft Windows SP3 en
JDK: Sun JDK 6.0_4
Eclipse Ganymede SR2 (3.4.0)
JBoss Tools plugins (JBossTools-ALL-win32-3.0.1.GA-R200905070146-H18)
JBoss Seam 2.1.2 CR2
JBoss AS 4.2.2 GA
ANT_HOME=C:\apache-ant-1.7.0
CATALINA_HOME=C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.18
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_04
java_home and ant_home in the path
Reporter: David Hernandez
Assignee: Snjezana Peco
Fix For: 3.0.2.GA, 3.1.0.M2
I create a new project using war deployment and all is fine, the .log file in the
.metadata folder only contains this lines:
!SESSION 2009-06-03 10:57:16.546 -----------------------------------------------
eclipse.buildId=M20090211-1700
java.version=1.6.0_04
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86
!ENTRY org.eclipse.ui.views.properties.tabbed 4 4 2009-06-03 10:58:56.453
!MESSAGE Contributor org.jboss.ide.eclipse.as.ui.views.JBossServerView cannot be
created.
Now, I try to create a project using the EJB deployment way and get an error that said
"Failed while installing Seam 2.1" and the detailed description is
"java.lang.IllegalArgumentException". To create the project I first configure
the server in the "Jboss server view", later I create the new seam web project.
In the first view I select "Dinamic web project with seam 2.1 (technology
preview)", the other values are the default ones (jboss 4.2 runtime, dinamic web
module 2.5 and jboss 4.2 server). When the seam facet view is show I select the seam
runtime from my disk, create new connection to my postgreSQL local server, select DB
tables already exists in database and select ejb as deployment way. the database schema
and catalog names are left empty. Finally press the finish button and I get the error.
the .log file now contains the exception:
!SESSION 2009-06-03 10:57:16.546 -----------------------------------------------
eclipse.buildId=M20090211-1700
java.version=1.6.0_04
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86
!ENTRY org.eclipse.ui.views.properties.tabbed 4 4 2009-06-03 10:58:56.453
!MESSAGE Contributor org.jboss.ide.eclipse.as.ui.views.JBossServerView cannot be
created.
!ENTRY org.eclipse.wst.common.project.facet.core 4 0 2009-06-03 11:15:50.953
!MESSAGE Failed while installing Seam 2.1.
!STACK 0
java.lang.IllegalArgumentException
at
org.eclipse.wst.common.project.facet.core.internal.FacetedProjectWorkingCopy.changeProjectFacetVersion(FacetedProjectWorkingCopy.java:858)
at
org.eclipse.wst.common.project.facet.core.internal.FacetedProject$1.run(FacetedProject.java:290)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at
org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modify(FacetedProject.java:319)
at
org.jboss.tools.seam.internal.core.project.facet.SeamProjectCreator.execute(SeamProjectCreator.java:270)
at
org.jboss.tools.seam.internal.core.project.facet.SeamFacetAbstractInstallDelegate.execute(SeamFacetAbstractInstallDelegate.java:188)
at
org.eclipse.wst.common.project.facet.core.internal.FacetedProject.callDelegate(FacetedProject.java:1394)
at
org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modifyInternal(FacetedProject.java:401)
at
org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChangesInternal(FacetedProject.java:1134)
at
org.eclipse.wst.common.project.facet.core.internal.FacetedProject.access$2(FacetedProject.java:1070)
at
org.eclipse.wst.common.project.facet.core.internal.FacetedProject$5.run(FacetedProject.java:1052)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at
org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChanges(FacetedProject.java:1062)
at
org.eclipse.wst.common.project.facet.core.internal.FacetedProjectWorkingCopy.commitChanges(FacetedProjectWorkingCopy.java:1828)
at
org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard.performFinish(ModifyFacetedProjectWizard.java:388)
at
org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelFacetWizard.performFinish(NewProjectDataModelFacetWizard.java:276)
at
org.jboss.tools.seam.ui.wizard.SeamProjectWizard.performFinish(SeamProjectWizard.java:226)
at
org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$3.run(ModifyFacetedProjectWizard.java:330)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at
org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$4.run(ModifyFacetedProjectWizard.java:344)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
The curious thing is that using the same tools (eclipse, seam framework, jboss as, java
jdk, jboss tools and even microsoft windows) in other PC all works fine.
--
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