Home » Archived » BIRT » Unable to hot deploy to JBOSS
Unable to hot deploy to JBOSS [message #185914] |
Fri, 18 August 2006 09:33 |
Eclipse User |
|
|
|
Originally posted by: mark.jones.adaptive-mobile.com
Hello,
I am having trouble trying to hot-deploy an application EAR that contains
reports using BIRT runtime to JBOSS (jboss-4.0.3SP1).
This is a code snippet from my BirtEngine (ala Jason's onJava article)
class;
try
{
logger.debug("Starting the Platform.");
Platform.startup(config);
logger.debug("Creating the Engine Factory.");
IReportEngineFactory factory = (IReportEngineFactory)
Platform.createFactoryObject(IReportEngineFactory.EXTENSION_ REPORT_ENGINE_FACTORY);
logger.debug("Setting the BirtEngine instance.");
logger.debug("Factory instance - " + factory);
logger.debug("Config instance - " + config);
birtEngine = factory.createReportEngine(config);
}
catch(BirtException e)
{
logger.error("Birt Exception starting Platform.",e);
}
catch(Exception e)
{
logger.error("Error starting Platform.",e);
}
The first time I deploy the App the following appears in the logs;
2006-08-18 11:33:27,661 DEBUG [.portal.reporting.BirtEngine] Creating the
Engine Config.
2006-08-18 11:33:27,677 DEBUG [.portal.reporting.BirtEngine] Setting the log
properties
2006-08-18 11:33:27,677 DEBUG [.portal.reporting.BirtEngine] Setting the
Engine Home.
2006-08-18 11:33:27,708 DEBUG [.portal.reporting.BirtEngine] Creating the
Platform Context.
2006-08-18 11:33:27,724 DEBUG [.portal.reporting.BirtEngine] Setting the
Platform Context.
2006-08-18 11:33:27,724 DEBUG [.portal.reporting.BirtEngine] Starting the
Platform.
2006-08-18 11:33:33,215 DEBUG [.portal.reporting.BirtEngine] Creating the
Engine Factory.
2006-08-18 11:33:33,607 DEBUG [.portal.reporting.BirtEngine] Setting the
BirtEngine instance.
2006-08-18 11:33:33,607 DEBUG [.portal.reporting.BirtEngine] Factory
instance -
org.eclipse.birt.report.engine.api.impl.ReportEngineFactory@18181a8
2006-08-18 11:33:33,607 DEBUG [.portal.reporting.BirtEngine] Config
instance - org.eclipse.birt.report.engine.api.EngineConfig@1674592
2006-08-18 11:33:34,721 DEBUG [.portal.bp.util.InitServlet] BritEngine was
loaded!
However, when I hot-deploy the app it results in the following log entries;
2006-08-18 11:42:57,612 DEBUG [.portal.reporting.BirtEngine] Creating the
Engine Config.
2006-08-18 11:42:57,612 DEBUG [.portal.reporting.BirtEngine] Setting the log
properties
2006-08-18 11:42:57,612 DEBUG [.portal.reporting.BirtEngine] Setting the
Engine Home.
2006-08-18 11:42:57,612 DEBUG [.portal.reporting.BirtEngine] Creating the
Platform Context.
2006-08-18 11:42:57,612 DEBUG [.portal.reporting.BirtEngine] Setting the
Platform Context.
2006-08-18 11:42:57,612 DEBUG [.portal.reporting.BirtEngine] Starting the
Platform.
2006-08-18 11:42:58,378 DEBUG [.portal.reporting.BirtEngine] Creating the
Engine Factory.
2006-08-18 11:42:58,378 DEBUG [.portal.reporting.BirtEngine] Setting the
BirtEngine instance.
2006-08-18 11:42:58,378 DEBUG [.portal.reporting.BirtEngine] Factory
instance - null
2006-08-18 11:42:58,378 DEBUG [.portal.reporting.BirtEngine] Config
instance - org.eclipse.birt.report.engine.api.EngineConfig@8cc09a
2006-08-18 11:42:58,378 ERROR [.portal.reporting.BirtEngine] Error starting
Platform.
java.lang.NullPointerException
at .portal.reporting.BirtEngine.getBirtEngine(Unknown Source)
at .portal.reporting.action.BaseAction.doExecute(Unknown Source)
at .portal.reporting.action.BaseAction.execute(Unknown Source)
at
org.apache.struts.action.RequestProcessor.processActionPerfo rm(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestPro cessor.java:236)
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:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:173)
at
com.adaptivemobile.portal.bp.filter.AuthenticationFilter.doF ilter(Unknown
Source)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:173)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(Repl yHeaderFilter.java:81)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:202)
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.jboss.web.tomcat.security.CustomPrincipalValve.invoke(Cu stomPrincipalValve.java:39)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invok e(SecurityAssociationValve.java:159)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccCo ntextValve.java:59)
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:856)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:744)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(Maste rSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
I also noticed this in the logs;
2006-08-18 11:39:45,984 DEBUG [org.jboss.util.file.Files] Failed to delete
file: C:\.....war\WEB-INF\platform\configuration\org.eclipse.updat e\.lock
2006-08-18 11:39:46,015 DEBUG [org.jboss.util.file.Files] Failed to delete
dir: C:\.....war\WEB-INF\platform\configuration\org.eclipse.updat e
2006-08-18 11:39:46,015 DEBUG [org.jboss.util.file.Files] Failed to delete
dir: C:\.....war\WEB-INF\platform\configuration\org.eclipse.updat e
2006-08-18 11:39:46,015 DEBUG [org.jboss.util.file.Files] Failed to delete
dir: C:\.....war\WEB-INF\platform\configuration
2006-08-18 11:39:46,015 DEBUG [org.jboss.util.file.Files] Failed to delete
dir: C:\.....war\WEB-INF\platform\configuration
2006-08-18 11:39:47,109 DEBUG [org.jboss.util.file.Files] Failed to delete
file:
C:\.....war\WEB-INF\platform\plugins\org.eclipse.osgi_3.2.0. v20060601.jar
2006-08-18 11:39:47,469 DEBUG [org.jboss.util.file.Files] Failed to delete
dir: C:\.....war\WEB-INF\platform\plugins
2006-08-18 11:39:47,469 DEBUG [org.jboss.util.file.Files] Failed to delete
dir: C:\.....war\WEB-INF\platform\plugins
2006-08-18 11:39:47,531 DEBUG [org.jboss.util.file.Files] Failed to delete
dir: C:\.....war\WEB-INF\platform
2006-08-18 11:39:47,531 DEBUG [org.jboss.util.file.Files] Failed to delete
dir: C:\.....war\WEB-INF\platform
2006-08-18 11:39:47,656 DEBUG [org.jboss.util.file.Files] Failed to delete
dir: C:\.....war\WEB-INF
2006-08-18 11:39:47,656 DEBUG [org.jboss.util.file.Files] Failed to delete
dir: C:\.....war\WEB-INF
2006-08-18 11:39:47,656 DEBUG [org.jboss.util.file.Files] Failed to delete
dir: C:\.....war
Any help would be greatly appreciated.
Mark.
|
|
|
Goto Forum:
Current Time: Mon Jul 14 13:00:39 EDT 2025
Powered by FUDForum. Page generated in 0.21964 seconds
|