For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 9 replies, 3 voices, and was last updated 18 years, 11 months ago by
Curt King.
-
AuthorPosts
-
Curt KingParticipantI’ve got an EAR file that is dependent upon a JAR file named jcisobjects.jar. This JAR file is created by another project in the workspace (project name is JCISObjects).
When I try to deploy my EAR (using “Custom Location” and “Packaged Archive”), I get the following message:
“Error during deployment: exception deploying JCISObjects.”
Here’s the log file:
!SESSION 2006-09-15 10:40:10.808 ----------------------------------------------- eclipse.buildId=M20060629-1905 java.version=1.5.0_07 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Framework arguments: -product com.genuitec.myeclipse.product.ide Command-line arguments: -os win32 -ws win32 -arch x86 -product com.genuitec.myeclipse.product.ide !ENTRY com.genuitec.eclipse.ast.deploy.core 1 0 2006-09-15 10:40:42.634 !MESSAGE Deploy failed !STACK 0 com.genuitec.eclipse.core.GenuitecCoreException: Exception deploying JCISObjects at com.genuitec.eclipse.ast.deploy.ant.J2EEArchiveDeployer.privExportWebProject(Unknown Source) at com.genuitec.eclipse.ast.deploy.ant.J2EEArchiveDeployer.privExportWebProject(Unknown Source) at com.genuitec.eclipse.ast.deploy.ant.J2EEArchiveDeployer.packageModules(Unknown Source) at com.genuitec.eclipse.ast.deploy.ant.J2EEArchiveDeployer.exportEARProject(Unknown Source) at com.genuitec.eclipse.ast.deploy.core.DeploymentPackager.exportEARProject(Unknown Source) at com.genuitec.eclipse.ast.deploy.core.EARDeployment.deployAsPackageArchive(Unknown Source) at com.genuitec.eclipse.ast.deploy.core.Deployment.deploy(Unknown Source) at com.genuitec.eclipse.ast.deploy.core.ui.wizard.NewDeploymentWizard$2.run(Unknown Source) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113) Caused by: org.eclipse.core.runtime.CoreException: Exception deploying JCISObjects at com.genuitec.eclipse.ast.deploy.ant.J2EEArchiveDeployer$1.run(Unknown Source) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1719) ... 9 more
I have already restarted Eclipse with the -clean option and it didn’t seem to help.
This is odd: “Exploded Archive” deploys just fine. “Packaged Archive” seems to be the problem.
Where do I begin to debug this?
Thanks,
CurtSeptember 18, 2006 at 9:10 am #258655
Riyad KallaMemberWhat type of project is the JCISObjects project? How do you have the relationship defined between the two of these projects?
September 18, 2006 at 9:19 am #258658
Curt KingParticipantJCISObjects is a standard Java project (a “utility” project).
On the main project (called “Queries”), I’ve added JCISObjects as a “Project Reference” and on the “Java Build Path/Projects” tab. It is also listed under “Project References” on the EAR project (QueriesEAR).
On the “Properties/MyEclipse/Web/Deployment” tab, I’ve defaulted to the workspace settings, which are “Smart Deployment” and all four checked under “Library Deployment Policies”.
September 18, 2006 at 9:24 am #258659
Riyad KallaMemberSo the setup is:
+ QueriesEAR (EAR) + Queries (Web) + JCISObject (Java)
Is that correct?
September 18, 2006 at 9:26 am #258661
Curt KingParticipantYes, sir.
September 18, 2006 at 10:09 am #258675
Riyad KallaMemberCurt,
I created an example setup modelling what I believe is similar to your situation here. Please download and import it, and see if you can deploy it.September 18, 2006 at 10:18 am #258681
Curt KingParticipantYes, sir, it deployed just fine.
September 18, 2006 at 12:21 pm #258706
Curt KingParticipantRiyad — not sure why this worked, but when I put my Java packages and classes into a folder called /src, the project deploys properly.
I’ve never had a /src folder in the JCISObjects project and it hasn’t been a problem until now.
Has something changed recently?
Thanks,
CurtSeptember 18, 2006 at 5:02 pm #258719
Scott AndersonParticipantCurt,
Nothing has really changed, but most likely your project is simply set up to have a source folder called ‘src/’ and without it it couldn’t find your Java code to compile. Have a look at Properties > Java Build Path to verify.
September 18, 2006 at 7:32 pm #258727
Curt KingParticipantThat was probably it…something must have changed on my side to get things confused.
Thanks for your help!
Curt
-
AuthorPosts