bluesoft-rnd / aperte-reports

Automatically exported from code.google.com/p/aperte-reports
0 stars 4 forks source link

Glassfish 3.1.2 aperte-reports Installation #40

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The installation of aperte-reports on Liferay 6.1 running on Glassfish 3.1.2 
gives "JMS Unavailable" while adding "Cyclic Reporting". This causes issue in 
scheduled reporting.
Any solution to overcome this?

Original issue reported on code.google.com by balu...@gmail.com on 28 Nov 2012 at 2:02

GoogleCodeExporter commented 9 years ago
Hi!

I will look at this problem probably tomorrow.

Regards,
Tomek

Original comment by tsera...@bluesoft.net.pl on 28 Nov 2012 at 7:35

GoogleCodeExporter commented 9 years ago
Thanks! That will be great! I have been struggling to resolve this fro the past 
more than 2 weeks. I could figure out that it is not able to resolve look up 
for jms/ConnectionFactory.

Original comment by balu...@gmail.com on 28 Nov 2012 at 7:47

GoogleCodeExporter commented 9 years ago
Hi!

I'm working on it but I need more time - I have encountered some problems with 
starting this configuration...

Regards,
Tomek

Original comment by tsera...@bluesoft.net.pl on 29 Nov 2012 at 3:41

GoogleCodeExporter commented 9 years ago
By the way... Haven't you had other problems with liferay + glassfish 
configuration, for example jndi configuration?

Tomek

Original comment by tsera...@bluesoft.net.pl on 29 Nov 2012 at 3:46

GoogleCodeExporter commented 9 years ago
Ok, I have just started application on Glassfish. Would you be able to attach 
log file from Glassfish indicating the error?

Original comment by tsera...@bluesoft.net.pl on 30 Nov 2012 at 9:13

GoogleCodeExporter commented 9 years ago
There is no exception thrown in the server log, since the message "JMS not 
available" is given in catch block as below:

in 
aperte-reports/aperte-reports-ui/backbone/src/main/java/org/apertereports/backbo
ne/jms/AperteReportsJmsFacade.java:157 (isJMSAvailable)

                } catch (Exception e) {
                  return false;
                } finally {
..
..

Inserted  the folowing code for throwing exception before "retrun false"
                        ExceptionUtils.logWarningException("JMS unAvailable ******", e);

to get the following stack trace due to exception:

[#|2012-11-30T17:15:43.201+0530|INFO|glassfish3.1.2|javax.enterprise.system.std.
com.sun.enterprise.server.logging|_ThreadID=29;_ThreadName=http-thread-pool-8080
(1);|17:15:43,199 WARN  [http-thread-pool-8080(1)][ExceptionUtils:14] JMS 
unAvailable ******
javax.naming.NamingException: Lookup failed for 
'java:comp/env/jms/ConnectionFactory' in 
SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.
SerialInitContextFactory, java.naming.provider.url=tcp://192.168.1.16:61616, 
java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactor
yImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming} [Root exception 
is javax.naming.NameNotFoundException: No object bound to name 
java:comp/env/jms/ConnectionFactory]
    at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:518)
    at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:455)
    at javax.naming.InitialContext.lookup(InitialContext.java:409)
    at javax.naming.InitialContext.lookup(InitialContext.java:409)
    at org.apertereports.backbone.jms.AperteReportsJmsFacade.isJmsAvailable(AperteReportsJmsFacade.java:152)
    at org.apertereports.components.CyclicReportsComponent.init(CyclicReportsComponent.java:138)
    at org.apertereports.components.CyclicReportsComponent.<init>(CyclicReportsComponent.java:90)
    at org.apertereports.CyclicReportsApplication.portletInit(CyclicReportsApplication.java:22)
    at org.apertereports.AbstractReportingApplication.applicationInit(AbstractReportingApplication.java:57)
    at eu.livotov.tpt.TPTApplication.init(TPTApplication.java:68)
    at com.vaadin.Application.start(Application.java:551)
    at com.vaadin.terminal.gwt.server.AbstractApplicationPortlet.startApplication(AbstractApplicationPortlet.java:792)
    at com.vaadin.terminal.gwt.server.AbstractApplicationPortlet.handleRequest(AbstractApplicationPortlet.java:405)
    at com.vaadin.terminal.gwt.server.AbstractApplicationPortlet.doDispatch(AbstractApplicationPortlet.java:748)
    at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
    at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100)
    at org.apertereports.util.I18nHelperFilter.doFilter(I18nHelperFilter.java:41)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:616)
    at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:67)
    at $Proxy606.doFilter(Unknown Source)
    at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:97)
    at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:64)
    at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:111)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
    at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
    at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:807)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:671)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:626)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:556)
    at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:534)
    at com.liferay.portlet.InvokerPortletImpl.invokeRender(InvokerPortletImpl.java:607)
    at com.liferay.portlet.InvokerPortletImpl.render(InvokerPortletImpl.java:359)
    at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:1174)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
    at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
    at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:807)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:671)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:626)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:556)
    at com.liferay.portal.servlet.DirectServletPathRegisterDispatcher.include(DirectServletPathRegisterDispatcher.java:53)
    at com.liferay.portal.servlet.PACLRequestDispatcherWrapper.doDispatch(PACLRequestDispatcherWrapper.java:90)
    at com.liferay.portal.servlet.PACLRequestDispatcherWrapper.include(PACLRequestDispatcherWrapper.java:54)
    at com.liferay.portal.util.PortalImpl.renderPortlet(PortalImpl.java:5158)
    at com.liferay.portal.util.PortalImpl.renderPortlet(PortalImpl.java:5116)
    at com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:1557)
    at com.liferay.portal.action.RenderPortletAction.execute(RenderPortletAction.java:92)
    at com.liferay.portal.action.UpdateLayoutAction.addPortlet(UpdateLayoutAction.java:334)
    at com.liferay.portal.action.UpdateLayoutAction.getJSON(UpdateLayoutAction.java:287)
    at com.liferay.portal.struts.JSONAction.execute(JSONAction.java:75)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
    at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:176)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
    at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:560)
    at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:537)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
    at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
    at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:335)
    at com.liferay.portal.kernel.servlet|#]

[#|2012-11-30T17:15:43.203+0530|INFO|glassfish3.1.2|javax.enterprise.system.std.
com.sun.enterprise.server.logging|_ThreadID=29;_ThreadName=http-thread-pool-8080
(1);|.BaseFilter.doFilter(BaseFilter.java:57)
    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
    at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:294)
    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
    at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:83)
    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
    at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:80)
    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
    at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:216)
    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:187)
    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
    at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:167)
    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:167)
    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:187)
    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
    at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
    at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
    at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
    at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
    at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
    at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
    at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
    at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
    at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
    at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
    at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
    at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
    at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
    at java.lang.Thread.run(Thread.java:679)
Caused by: javax.naming.NameNotFoundException: No object bound to name 
java:comp/env/jms/ConnectionFactory
    at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:772)
    at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:744)
    at com.sun.enterprise.naming.impl.JavaURLContext.lookup(JavaURLContext.java:169)
    at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:498)
    ... 154 more
|#]

Of course in any case it throws exception due to quartz scheduling failure, 
periodically depending upon the cron setting.
I tried with various options like genericra,activemq-ra etc. Nothing worked.
Results are same.

Regards,
-Bala

Original comment by balu...@gmail.com on 30 Nov 2012 at 12:10

GoogleCodeExporter commented 9 years ago
Ok, thank you for the error details. You can see the message:

java.naming.factory.url.pkgs=com.sun.enterprise.naming} [Root exception is 
javax.naming.NameNotFoundException: No object bound to name 
java:comp/env/jms/ConnectionFactory]

Have you configured JMS in Glassfish?

By the way... How did you install liferay + glassfish? From liferay+glassfish 
package downloaded from liferay website?

Original comment by tsera...@bluesoft.net.pl on 30 Nov 2012 at 12:21

GoogleCodeExporter commented 9 years ago
No. I can not use glassfish-webprofile, because my need is to use enterprise 
server. I have taken glassfish3.1.2 with complete profile. I deployed liferay 
6.1 war file. It is working fine in all respects except the above mentioned one.

Original comment by balu...@gmail.com on 30 Nov 2012 at 1:41

GoogleCodeExporter commented 9 years ago
Here:

  http://code.google.com/p/aperte-reports/wiki/CompleteConfiguration

you can find information what kind of JMS configuration is needed to enable 
background and cyclic reporting.

Please, let me know when you do this and check the result.

Original comment by tsera...@bluesoft.net.pl on 30 Nov 2012 at 1:50

GoogleCodeExporter commented 9 years ago
I exactly followed the same. Could not make it work.

Original comment by balu...@gmail.com on 30 Nov 2012 at 2:12

GoogleCodeExporter commented 9 years ago
Oh, I see. I'm still preparing Glassfish configuration. I hope I am able to 
check it soon...

Original comment by tsera...@bluesoft.net.pl on 30 Nov 2012 at 2:27

GoogleCodeExporter commented 9 years ago
Thanks! I will do wait..

Original comment by balu...@gmail.com on 3 Dec 2012 at 7:40

GoogleCodeExporter commented 9 years ago

Original comment by tsera...@bluesoft.net.pl on 3 Dec 2012 at 11:16

GoogleCodeExporter commented 9 years ago
Hi!

I found the solution. Details in a minute...

Tomek

Original comment by tsera...@bluesoft.net.pl on 3 Dec 2012 at 1:25

GoogleCodeExporter commented 9 years ago
To solve the problem two changes have to be done. Unfortunatelly, code change 
is required.

1. There is a need to change the name of the JMS queues (to remove additional 
'/' character). New names are as follows:

  jms/CyclicReportOrderQueue
  jms/GenerateReportQueue

Class org.apertereports.common.ReportConstants has to be adjusted.

2. Web.xml file of Aperte Reports should contain the following sections:

    <resource-ref>
        <res-ref-name>jms/ConnectionFactory</res-ref-name>
        <res-type>javax.jms.ConnectionFactory</res-type>
        <res-auth>Container</res-auth>
    </resource-ref>

    <resource-ref>
        <res-ref-name>jms/CyclicReportOrderQueue</res-ref-name>
        <res-type>javax.jms.Queue</res-type>
        <res-auth>Container</res-auth>
    </resource-ref>

    <resource-ref>
        <res-ref-name>jms/GenerateReportQueue</res-ref-name>
        <res-type>javax.jms.Queue</res-type>
        <res-auth>Container</res-auth>
    </resource-ref>

Changes presented above have been added to 'development' branch and will be 
available in the next official release (2.4).

Regards,
Tomek

Original comment by tsera...@bluesoft.net.pl on 3 Dec 2012 at 1:38

GoogleCodeExporter commented 9 years ago
Any other settings I need to do? I am still having the problem.

Original comment by balu...@gmail.com on 4 Dec 2012 at 10:44

GoogleCodeExporter commented 9 years ago
In my opinion - no. But maybe my and your configuration differ a bit... Please, 
do what follows:

1. Check Glassfish JMS configuration.
2. Check Aperte Reports web.xml file.
3. Stop and start Glassfish once again.

If the problem stiil exists, please attach screens with Glassfish JMS 
configuration.

I have tried above configuration twice and I had no problems.

Regards,
Tomek

Original comment by tsera...@bluesoft.net.pl on 4 Dec 2012 at 11:02

GoogleCodeExporter commented 9 years ago
Please, attach 
<glassfish_dir>\glassfish\domains\<domain_name>\config\domain.xml file instead 
of screens.

Tomek

Original comment by tsera...@bluesoft.net.pl on 4 Dec 2012 at 11:08

GoogleCodeExporter commented 9 years ago
Sure! Please see the attached!

Original comment by balu...@gmail.com on 4 Dec 2012 at 3:12

Attachments:

GoogleCodeExporter commented 9 years ago
There aro no entries with jms/ConnectionFactory configuration in this file. You 
need to do as follows:

1. From the web console of Glassfish server select Resources -> JMS Resources 
-> Connection Factories.
2. Add resource:

  Pool Name:                 jms/ConnectionFactory
  Resource Type:             javax.jms.ConnectionFactory

Original comment by tsera...@bluesoft.net.pl on 4 Dec 2012 at 4:55

GoogleCodeExporter commented 9 years ago
Thanks! It works! In the process of cleaning up I removed the  
jms/ConnectionFactory. I regret for the same.
When do you release version 2.4?
Regards,
=Bala

Original comment by balu...@gmail.com on 5 Dec 2012 at 2:26

GoogleCodeExporter commented 9 years ago
I'm not sure at the moment, maybe in January or February. We want to fix most 
of known issues and add new functionality. You can visit project's website from 
time to time in 2013...

Regards,
Tomek

Original comment by tsera...@bluesoft.net.pl on 5 Dec 2012 at 6:46

GoogleCodeExporter commented 9 years ago
Thanks,
=Bala

Original comment by balu...@gmail.com on 5 Dec 2012 at 1:19

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi Tamek,
Continuation of the above, with 2.4 SNAPSHOT (after the fixes), I get the 
following error at the cron event:
[#|2012-12-05T09:58:36.871+0530|WARNING|glassfish3.1.2|javax.enterprise.system.c
ontainer.web.com.sun.enterprise.web|_ThreadID=27;_ThreadName=http-thread-pool-80
80(3);|ApplicationDispatcher[/aperte-reports-ui-2.4-SNAPSHOT] PWC1231: 
Servlet.service() for servlet default threw exception
java.io.FileNotFoundException: /aperte-reports-ui-2.4-SNAPSHOT/Cyclic Reports 
portlet/invoke
    at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:872)
    at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:466)
    at org.apache.catalina.servlets.DefaultServlet.doPost(DefaultServlet.java:502)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
    at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)

Do I need to change the servlet mappings for Glassfish?
Regards,
=Bala

Original comment by balu...@gmail.com on 5 Dec 2012 at 4:59

GoogleCodeExporter commented 9 years ago
Hi again!

Ok, I will check it today or tomorrow.

In the future, please create a new issue for a new topic. Thanks!

Tomek

Original comment by tsera...@bluesoft.net.pl on 6 Dec 2012 at 7:13

GoogleCodeExporter commented 9 years ago
Hi!

Unfortunatelly I have to postpone it to the next week, I'm sorry...

Regards,
Tomek

Original comment by tsera...@bluesoft.net.pl on 7 Dec 2012 at 11:01

GoogleCodeExporter commented 9 years ago
Ok. Take your time.

Original comment by balu...@gmail.com on 7 Dec 2012 at 11:51

GoogleCodeExporter commented 9 years ago
Hi!

Unfortunatelly I can't restore this problem. Would you describe step by step 
what you do to get this unexpected behaviour? Please, do it creating new issue.

There are probably other problems with cyclic reports (rather not related to 
that described above). I will add new issues in case of finding any.

Tomek

Original comment by tsera...@bluesoft.net.pl on 13 Dec 2012 at 11:48

GoogleCodeExporter commented 9 years ago
Let me open it as a new issue. I think it is more appropriate.

Original comment by balu...@gmail.com on 18 Dec 2012 at 2:53