Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Error deploying birt viewer on Tomcat 5.5
Error deploying birt viewer on Tomcat 5.5 [message #189415] Thu, 07 September 2006 19:23 Go to next message
Eclipse UserFriend
Originally posted by: kraj.illumen.com

While trying to load the test report which comes with the irt runtime, I am
getting an error.
I checked the Tomcat logs, and I was geting the following error:

!ENTRY org.eclipse.osgi 4 0 2006-09-07 17:27:06.282
!MESSAGE Error reading configuration:
/usr/local/tomcat5.5/webapps/birt-viewer/WEB-INF/platform/co nfiguration/org.eclipse.osgi/.manager/.fileTableLock
(No such file or directory)
!STACK 0
java.io.FileNotFoundException:
/usr/local/tomcat5.5/webapps/birt-viewer/WEB-INF/platform/co nfiguration/org.eclipse.osgi/.manager/.fileTableLock
(No such file or directory)

I checked the directory structure and the org.eclipse.osgi directory was
missing.
I copied the one from the eclipse instalation, restarted tomcat.

The stach trace from thr birt-viewer is as follows:

Stack Trace:

org.eclipse.birt.report.service.actionhandler.BirtRunReportA ctionHandler.__execute(Unknown
Source)
org.eclipse.birt.report.service.actionhandler.AbstractBaseAc tionHandler.execute(Unknown
Source)
org.eclipse.birt.report.service.actionhandler.BirtGetPageAct ionHandler.__checkDocumentExists(Unknown
Source)
org.eclipse.birt.report.service.actionhandler.AbstractGetPag eActionHandler.prepareParameters(Unknown
Source)
org.eclipse.birt.report.service.actionhandler.AbstractGetPag eActionHandler.__execute(Unknown
Source)
org.eclipse.birt.report.service.actionhandler.AbstractBaseAc tionHandler.execute(Unknown
Source)
org.eclipse.birt.report.soapengine.processor.AbstractBaseDoc umentProcessor.__executeAction(Unknown
Source)
org.eclipse.birt.report.soapengine.processor.AbstractBaseCom ponentProcessor.executeAction(Unknown
Source)
org.eclipse.birt.report.soapengine.processor.BirtDocumentPro cessor.handleGetPage(Unknown
Source)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.eclipse.birt.report.soapengine.processor.AbstractBaseCom ponentProcessor.process(Unknown
Source)
org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingI mpl.getUpdatedObjects(Unknown
Source)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCP rovider.java:397)
org.apache.axis.providers.java.RPCProvider.processMessage(RP CProvider.java:186)
org.apache.axis.providers.java.JavaProvider.invoke(JavaProvi der.java:323)
org.apache.axis.strategies.InvocationStrategy.visit(Invocati onStrategy.java:32)
org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService .java:453)
org.apache.axis.server.AxisServer.invoke(AxisServer.java:281 )
org.apache.axis.transport.http.AxisServlet.doPost(AxisServle t.java:699)
org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.doPost(Unknown
Source)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBase.java:327)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:178)
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:107)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11Connection Handler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:595)

The tomcat log is as follows:

!ENTRY org.eclipse.osgi 4 0 2006-09-07 19:14:53.711
!MESSAGE Error reading configuration: Permission denied
!STACK 0
java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1345)
at java.io.File.createTempFile(File.java:1434)
at
org.eclipse.osgi.storagemanager.StorageManager.initializeIns tanceFile(StorageManager.java:187)
at
org.eclipse.osgi.storagemanager.StorageManager.open(StorageM anager.java:700)
at
org.eclipse.osgi.internal.baseadaptor.BaseStorage.initFileMa nager(BaseStorage.java:152)
at
org.eclipse.osgi.internal.baseadaptor.BaseStorage.initialize (BaseStorage.java:129)
at
org.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorage(B aseAdaptor.java:124)
at
org.eclipse.osgi.framework.internal.core.Framework.initializ e(Framework.java:138)
at
org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.java:112)
at
org.eclipse.osgi.framework.internal.core.OSGi.createFramewor k(OSGi.java:90)
at org.eclipse.osgi.framework.internal.core.OSGi.<init>(OSGi.java:31)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.startup(Ecli pseStarter.java:286)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.eclipse.birt.core.framework.osgi.OSGILauncher.startup(OS GILauncher.java:131)
at org.eclipse.birt.core.framework.Platform.startup(Platform.ja va:78)
at
org.eclipse.birt.report.service.ReportEngineService.setEngin eContext(Unknown
Source)
at
org.eclipse.birt.report.service.BirtViewerReportService.setC ontext(Unknown
Source)
at org.eclipse.birt.report.servlet.ViewerServlet.__getContext(U nknown
Source)
at
org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.doGet(Unknown
Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at
org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11Connection Handler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)

Which configuration file is the birt-viewer having problems with? Any
assistance will be deeply appreciated.
Re: Error deploying birt viewer on Tomcat 5.5 [message #189441 is a reply to message #189415] Thu, 07 September 2006 20:16 Go to previous messageGo to next message
Mauro R. Ubeda is currently offline Mauro R. UbedaFriend
Messages: 33
Registered: July 2009
Member
How did you deploy birt ?

a . Using birt.war and Tomcat Manager
b. or unziping birt content con Tomcat/webapps?

if (b) then see if birt-viewer user& group are tomcat:tomcat.
Re: Error deploying birt viewer on Tomcat 5.5 [message #189473 is a reply to message #189441] Thu, 07 September 2006 22:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kraj.illumen.com

I deployed by unzipping.
I am new to Tomcat and am having a few issues with manager, and to be
truthful I am still stumbling my way though the actual tomcat deployment.

Where do I check for the user & gropu for birt-viewer?


"Mauro R. Ubeda" <ubeda@delsatgroup.com> wrote in message
news:edpukp$nsr$1@utils.eclipse.org...
> How did you deploy birt ?
>
> a . Using birt.war and Tomcat Manager
> b. or unziping birt content con Tomcat/webapps?
>
> if (b) then see if birt-viewer user& group are tomcat:tomcat.
>
Re: Error deploying birt viewer on Tomcat 5.5 [message #189558 is a reply to message #189473] Fri, 08 September 2006 11:43 Go to previous messageGo to next message
Mauro R. Ubeda is currently offline Mauro R. UbedaFriend
Messages: 33
Registered: July 2009
Member
On console type:
ls -l /usr/local/tomcat5.5/webapps/

And you will see birt-viewer owners, to change them type

chown -R tomcat:tomcat /usr/local/tomcat5.5/webapps/birt-viewer/

If not working try to change with chmod permissions on birt-viewer folder.

I have same problems under linux with unzipping, but finally i had used
tomcat web manager to deploy birt.war (easiest way). Tomcat manager is
running on localhost:8080 read tomcat install instructions to use
manager. Copy birt.war to /webapps directory and on manager on browse
for war only type birt.war and press deploy button. That is all, don't
forget to copy itext jar.

Regards,
Mauro



Benjamin Krajmalnik wrote:
> I deployed by unzipping.
> I am new to Tomcat and am having a few issues with manager, and to be
> truthful I am still stumbling my way though the actual tomcat deployment.
>
> Where do I check for the user & gropu for birt-viewer?
>
>
> "Mauro R. Ubeda" <ubeda@delsatgroup.com> wrote in message
> news:edpukp$nsr$1@utils.eclipse.org...
>> How did you deploy birt ?
>>
>> a . Using birt.war and Tomcat Manager
>> b. or unziping birt content con Tomcat/webapps?
>>
>> if (b) then see if birt-viewer user& group are tomcat:tomcat.
>>
>
>
Re: Error deploying birt viewer on Tomcat 5.5 [message #189581 is a reply to message #189558] Fri, 08 September 2006 13:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kraj.illumen.com

Thanks.
Will give it a try :)
Still playing with tomcat itself. For some reson I am unable to run manager
:(

"Mauro R. Ubeda" <ubeda@delsatgroup.com> wrote in message
news:edrkru$v2s$1@utils.eclipse.org...
> On console type:
> ls -l /usr/local/tomcat5.5/webapps/
>
> And you will see birt-viewer owners, to change them type
>
> chown -R tomcat:tomcat /usr/local/tomcat5.5/webapps/birt-viewer/
>
> If not working try to change with chmod permissions on birt-viewer folder.
>
> I have same problems under linux with unzipping, but finally i had used
> tomcat web manager to deploy birt.war (easiest way). Tomcat manager is
> running on localhost:8080 read tomcat install instructions to use manager.
> Copy birt.war to /webapps directory and on manager on browse for war only
> type birt.war and press deploy button. That is all, don't forget to copy
> itext jar.
>
> Regards,
> Mauro
>
>
>
> Benjamin Krajmalnik wrote:
>> I deployed by unzipping.
>> I am new to Tomcat and am having a few issues with manager, and to be
>> truthful I am still stumbling my way though the actual tomcat deployment.
>>
>> Where do I check for the user & gropu for birt-viewer?
>>
>>
>> "Mauro R. Ubeda" <ubeda@delsatgroup.com> wrote in message
>> news:edpukp$nsr$1@utils.eclipse.org...
>>> How did you deploy birt ?
>>>
>>> a . Using birt.war and Tomcat Manager
>>> b. or unziping birt content con Tomcat/webapps?
>>>
>>> if (b) then see if birt-viewer user& group are tomcat:tomcat.
>>>
>>
Re: Error deploying birt viewer on Tomcat 5.5 [message #189597 is a reply to message #189558] Fri, 08 September 2006 14:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kraj.illumen.com

OK.

I got manager up and running.
When I try to do a remote deployment, I get the following:

FAIL - Deploy Upload Failed, Exception: nullI copied the birt.war to the
local server file system.Trying to deploy directly i am also getting
errors.I have left contect path empty.XML Configuration file URL : birtWAR
or Directory URL : /[pathtobirt.war]/birt.warError -> FAIL - Invalid
context path was specified
COntext path: birtXML Configuration file URL : birtWAR or Directory URL :
/[pathtobirt.war]/birt.warError ->FAIL - Invalid context path birt was
specified
BTW, this is running on FreeBSD 6.1. tomcat5.5 is owned by root/wheelAny
assistance will be deeply appreciated."Mauro R. Ubeda"
<ubeda@delsatgroup.com> wrote in message
news:edrkru$v2s$1@utils.eclipse.org...
> On console type:
> ls -l /usr/local/tomcat5.5/webapps/
>
> And you will see birt-viewer owners, to change them type
>
> chown -R tomcat:tomcat /usr/local/tomcat5.5/webapps/birt-viewer/
>
> If not working try to change with chmod permissions on birt-viewer folder.
>
> I have same problems under linux with unzipping, but finally i had used
> tomcat web manager to deploy birt.war (easiest way). Tomcat manager is
> running on localhost:8080 read tomcat install instructions to use manager.
> Copy birt.war to /webapps directory and on manager on browse for war only
> type birt.war and press deploy button. That is all, don't forget to copy
> itext jar.
>
> Regards,
> Mauro
>
>
>
> Benjamin Krajmalnik wrote:
>> I deployed by unzipping.
>> I am new to Tomcat and am having a few issues with manager, and to be
>> truthful I am still stumbling my way though the actual tomcat deployment.
>>
>> Where do I check for the user & gropu for birt-viewer?
>>
>>
>> "Mauro R. Ubeda" <ubeda@delsatgroup.com> wrote in message
>> news:edpukp$nsr$1@utils.eclipse.org...
>>> How did you deploy birt ?
>>>
>>> a . Using birt.war and Tomcat Manager
>>> b. or unziping birt content con Tomcat/webapps?
>>>
>>> if (b) then see if birt-viewer user& group are tomcat:tomcat.
>>>
>>
icon14.gif  Re: Error deploying birt viewer on Tomcat 5.5 [message #1607059 is a reply to message #189597] Sun, 08 February 2015 16:24 Go to previous message
nitish pandey is currently offline nitish pandeyFriend
Messages: 1
Registered: February 2015
Junior Member
I too suffered the same fate onboard max OS X. I am not aware of the detailed fault but i have the solution. There is a security option in Tomcat confifugration. It should be in server.xml. I switched it off from the server configuration in Eclipse and the access violation java.util.properties "birt.designer" read went away. I think it is because of the fact that tomcat is deployed in some other directory and as another owner while my birt app (especially when running from ecplise Run/Debug clicks) is getting deployed and invoked at another temp location inside the workspace folder. Hence the user of the folders would be different and hence the access violation.
In production environment the webapps folder user rights and the rights of the tomcat server would essentially be taken care off and hence you would be able to keep the security bit ON and not face this.
Previous Topic:Birt Report
Next Topic:PageBreaks Based on element in XML
Goto Forum:
  


Current Time: Thu Apr 25 01:29:48 GMT 2024

Powered by FUDForum. Page generated in 0.03282 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top