Jason? BIRT and own reports deploy to JBoss? [message #108054] |
Thu, 12 January 2006 04:45  |
Eclipse User |
|
|
|
Hello (Jason),
I successfully could deploy BIRT to JBoss using the birt.war file by just
copying it into the JBoss/.../deploy directory.
But now I have my own report as myown.rptdesign file. How to depoy it as
well?
The problem is I do not know how to pass the file myown.rptdesign to the
JBoss.
After I deployed the birt.war to JBoss, a tmp directory
(JBoss/server/default/tmp/deploy/tmp/deploy/tmp30599birt-exp .war/) for birt
was created. I can copy myown.rptdesign to this tmp directory, but if I stop
and start the JBoss again, it deploys birt.war again, creates a different
tmp directory for birt
(JBoss/server/default/tmp/deploy/tmp/deploy/tmp30601birt-exp .war/) but of
course myown.rptdesign I have to copy to this tmp directory again.
I tried also to deploy the whole WEB-VIEWER-EXAMPLE (as described in the
BIRT online help) to JBoss but JBoss does not deploy it.
(see attached JBoss.txt file, this is the log file from JBoss after
deploying the whole WEB-VIEWER-EXAMPLE directory)
Under Tomcat it works if I deploy the birt.war. It creates a birt directory
which keeps there even if I start/stop the server several times
So I easily can copy a *.rptdesign file into this birt directory and my
report is always available.
The problem is, that JBoss after starting creates a NEW, different tmp
directory for the birt application and everytime I have to copy my
*.rptdesign file again to this tmp directoty.
This could not be the correct way to deploy a BIRT report, or not?
Does anybody kno how to deploy birt and afterwards also own reports?
Thanks a lot for any help!
Attachment: jboss.txt
(Size: 441.31KB, Downloaded 217 times)
|
|
|
Re: Jason? BIRT and own reports deploy to JBoss? [message #108202 is a reply to message #108054] |
Thu, 12 January 2006 09:39   |
Eclipse User |
|
|
|
Unzip birt.war into deploy/ folder and put your .rptdesign file over there,
that should work.
HTH
"Mr. Burns" <Mr._Burns@web.de> wrote in message
news:dq58gk$u09$1@utils.eclipse.org...
> Hello (Jason),
>
> I successfully could deploy BIRT to JBoss using the birt.war file by just
> copying it into the JBoss/.../deploy directory.
>
> But now I have my own report as myown.rptdesign file. How to depoy it as
> well?
>
> The problem is I do not know how to pass the file myown.rptdesign to the
> JBoss.
> After I deployed the birt.war to JBoss, a tmp directory
> (JBoss/server/default/tmp/deploy/tmp/deploy/tmp30599birt-exp .war/) for
> birt was created. I can copy myown.rptdesign to this tmp directory, but if
> I stop and start the JBoss again, it deploys birt.war again, creates a
> different tmp directory for birt
> (JBoss/server/default/tmp/deploy/tmp/deploy/tmp30601birt-exp .war/) but of
> course myown.rptdesign I have to copy to this tmp directory again.
>
> I tried also to deploy the whole WEB-VIEWER-EXAMPLE (as described in the
> BIRT online help) to JBoss but JBoss does not deploy it.
> (see attached JBoss.txt file, this is the log file from JBoss after
> deploying the whole WEB-VIEWER-EXAMPLE directory)
>
> Under Tomcat it works if I deploy the birt.war. It creates a birt
> directory which keeps there even if I start/stop the server several times
> So I easily can copy a *.rptdesign file into this birt directory and my
> report is always available.
> The problem is, that JBoss after starting creates a NEW, different tmp
> directory for the birt application and everytime I have to copy my
> *.rptdesign file again to this tmp directoty.
> This could not be the correct way to deploy a BIRT report, or not?
>
> Does anybody kno how to deploy birt and afterwards also own reports?
>
> Thanks a lot for any help!
>
>
|
|
|
|
|
|
Re: Jason? BIRT and own reports deploy to JBoss? [message #108704 is a reply to message #108054] |
Thu, 12 January 2006 15:39   |
Eclipse User |
|
|
|
Ok, I believe I have a solution for you.
I downloaded and installed JBoss. I then downloaded the BIRT runtime.
I didnt use the birt.war, because it does not contain the iText, axis, or
prototype.js files required.
These have not been approved by Eclipse yet. So I took the Web Viewer
example directory and copied it
to the deploy directory in JBoss. Make sure you rename the copied directory
to birt.war. This lets JBoss deploy it as an exploded war.
Copy the iText.jar file to
/deploy/birt.war/plugins/org.eclipse.birt.report.engine.pdf/ lib. (Double
check the size it should be about ~ 1 MB, I have had problems with this
downloading correctly).
Next copy the prtotype.js to the /deploy/birt.war/ajax/lib directory.
Finally copy the following six jars to the /deploy/birt.war/WEB-INF/lib
directory
axis.jar, axis-ant.jar, common-discovery-0.2.jar, jaxrpc.jar, saaj.jar and
wsdl4j-1.5.1.jar.
Start up JBoss and enter http://localhost:8080/birt run the test report.
You should be able to copy your new designs in without a problem.
Jason
"Mr. Burns" <Mr._Burns@web.de> wrote in message
news:dq58gk$u09$1@utils.eclipse.org...
> Hello (Jason),
>
> I successfully could deploy BIRT to JBoss using the birt.war file by just
> copying it into the JBoss/.../deploy directory.
>
> But now I have my own report as myown.rptdesign file. How to depoy it as
> well?
>
> The problem is I do not know how to pass the file myown.rptdesign to the
> JBoss.
> After I deployed the birt.war to JBoss, a tmp directory
> (JBoss/server/default/tmp/deploy/tmp/deploy/tmp30599birt-exp .war/) for
> birt was created. I can copy myown.rptdesign to this tmp directory, but if
> I stop and start the JBoss again, it deploys birt.war again, creates a
> different tmp directory for birt
> (JBoss/server/default/tmp/deploy/tmp/deploy/tmp30601birt-exp .war/) but of
> course myown.rptdesign I have to copy to this tmp directory again.
>
> I tried also to deploy the whole WEB-VIEWER-EXAMPLE (as described in the
> BIRT online help) to JBoss but JBoss does not deploy it.
> (see attached JBoss.txt file, this is the log file from JBoss after
> deploying the whole WEB-VIEWER-EXAMPLE directory)
>
> Under Tomcat it works if I deploy the birt.war. It creates a birt
> directory which keeps there even if I start/stop the server several times
> So I easily can copy a *.rptdesign file into this birt directory and my
> report is always available.
> The problem is, that JBoss after starting creates a NEW, different tmp
> directory for the birt application and everytime I have to copy my
> *.rptdesign file again to this tmp directoty.
> This could not be the correct way to deploy a BIRT report, or not?
>
> Does anybody kno how to deploy birt and afterwards also own reports?
>
> Thanks a lot for any help!
>
>
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 1.09950 seconds