Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Developing Analytics Applications
Birt.war not getting imported in Eclipse
Migrateduser
Hi all,<br />
<br />
I am new to eclipse and tomcat.. I am trying to deploy the example BIRT viewer application. I tried both the ways. I am using the latest BIRT 4.2.2 and Tomcat 7.0 versions.<br />
<br />
1) WebViewerExample<br />
I copied this entire folder onto my apache/webapps folder. I am not finding a way to list this application in the Project explorer..<br />
2) birt.war<br />
<br />
I thought of deploying the viewer by importing the war file. First I copied the file war file from BIRT runtime folder to apache/webapps folder. I clicked on File ->Import->Web->WAR File-> and I successfully choose the path to the WAR file. <br />
<br />
Then when I click on next, I get another window that says - "Select the web library jars from the list below to be imported as web library projects. Unselected web libraries will be imported as jars in the WEB-INF/lib directory." I didn't select any, I get this error message when I click on the Finish button.<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>org.eclipse.core.commands.ExecutionException: Error importing Module File
at org.eclipse.jst.j2ee.internal.archive.operations.J2EEArtifactImportOperation.doExecute(J2EEArtifactImportOperation.java:89)
at org.eclipse.jst.j2ee.internal.web.archive.operations.WebComponentImportOperation.doExecute(WebComponentImportOperation.java:70)
at org.eclipse.jst.j2ee.internal.archive.operations.J2EEArtifactImportOperation.execute(J2EEArtifactImportOperation.java:57)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl$1.run(DataModelPausibleOperationImpl.java:385)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.runOperation(DataModelPausibleOperationImpl.java:410)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.runOperation(DataModelPausibleOperationImpl.java:360)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.doExecute(DataModelPausibleOperationImpl.java:247)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.executeImpl(DataModelPausibleOperationImpl.java:219)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.cacheThreadAndContinue(DataModelPausibleOperationImpl.java:89)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.execute(DataModelPausibleOperationImpl.java:207)
at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizard$1CatchThrowableRunnableWithProgress.run(DataModelWizard.java:220)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: org.eclipse.wst.common.frameworks.internal.enablement.nonui.WFTWrappedException: Error importing Module File
at org.eclipse.jst.j2ee.internal.archive.operations.J2EEArtifactImportOperation.importModuleFile(J2EEArtifactImportOperation.java:127)
at org.eclipse.jst.j2ee.internal.archive.operations.J2EEArtifactImportOperation.doExecute(J2EEArtifactImportOperation.java:87)
... 12 more
Caused by: java.lang.NullPointerException
at org.eclipse.jst.j2ee.internal.archive.ComponentArchiveSaveAdapter.<init>(ComponentArchiveSaveAdapter.java:73)
at org.eclipse.jst.j2ee.internal.archive.J2EEComponentArchiveSaveAdapter.<init>(J2EEComponentArchiveSaveAdapter.java:43)
at org.eclipse.jst.j2ee.internal.archive.WebComponentArchiveSaveAdapter.<init>(WebComponentArchiveSaveAdapter.java:35)
at org.eclipse.jst.j2ee.internal.web.archive.operations.WebComponentImportOperation.getArchiveSaveAdapter(WebComponentImportOperation.java:130)
at org.eclipse.jst.j2ee.internal.archive.operations.J2EEArtifactImportOperation.importModuleFile(J2EEArtifactImportOperation.java:120)
... 13 more
</pre>
<br />
I am basically unable to deploy the webviewer example application. What am I doing wrong? I installed tomcat and made it work with eclipse. I downloaded some test app and I am using eclipse and tomcat and the test app works fine. do I have to set any environment variable for BIRT? I simply want to deploy the viewer and run the test rptdesign files<br />
<br />
Could you please help me?..Thanks.<br />
<br />
J
Find more posts tagged with
Comments
There are no comments yet