Error while creating ro.isdc.wro.extensions.manager.ExtensionsConfigurableWroManagerFactory - wro4j

Currently I am working in a web app proyect that involves Java, javascript, css (compass). I am trying to configure a runtime solution that merges all *.js and *.scss into a single file. I am following the guidelines explained in the Wro4j site but still I get the following error:
2014-12-16 12:59:00,154 [http-bio-8080-exec-2] ERROR ro.isdc.wro.extensions.model.factory.SmartWroModelFactory - Using XmlModelFactory for model creation..
[FAIL] Model creation using XmlModelFactory failed. Trying another ...
[FAIL] Exception occured while building the model using: XmlModelFactory Cannot build model from XML Using GroovyModelFactory for model creation..
[FAIL] Model creation using GroovyModelFactory failed. Trying another ...
[FAIL] Exception occured while building the model using: GroovyModelFactory Invalid model found! Using JsonModelFactory for model creation..
[FAIL] Model creation using JsonModelFactory failed. Trying another ...
[FAIL] Exception occured while building the model using: JsonModelFactory Invalid model found!
2014-12-16 12:59:00,155 [http-bio-8080-exec-2] ERROR ro.isdc.wro.model.factory.FallbackAwareWroModelFactory - Error while creating the model
ro.isdc.wro.WroRuntimeException: Cannot create model using any of provided factories
at ro.isdc.wro.extensions.model.factory.SmartWroModelFactory.create(SmartWroModelFactory.java:194)
at ro.isdc.wro.extensions.model.factory.SmartWroModelFactory.create(SmartWroModelFactory.java:36)
at ro.isdc.wro.model.factory.WroModelFactoryDecorator.create(WroModelFactoryDecorator.java:27)
at ro.isdc.wro.model.factory.FallbackAwareWroModelFactory.create(FallbackAwareWroModelFactory.java:48)
at ro.isdc.wro.model.factory.FallbackAwareWroModelFactory.create(FallbackAwareWroModelFactory.java:22)
at ro.isdc.wro.model.factory.WroModelFactoryDecorator.create(WroModelFactoryDecorator.java:27)
at ro.isdc.wro.model.factory.InMemoryCacheableWroModelFactory.access$101(InMemoryCacheableWroModelFactory.java:19)
at ro.isdc.wro.model.factory.InMemoryCacheableWroModelFactory$1.initialize(InMemoryCacheableWroModelFactory.java:32)
at ro.isdc.wro.model.factory.InMemoryCacheableWroModelFactory$1.initialize(InMemoryCacheableWroModelFactory.java:29)
at ro.isdc.wro.util.LazyInitializer.get(LazyInitializer.java:33)
at ro.isdc.wro.model.factory.InMemoryCacheableWroModelFactory.create(InMemoryCacheableWroModelFactory.java:42)
at ro.isdc.wro.model.factory.InMemoryCacheableWroModelFactory.create(InMemoryCacheableWroModelFactory.java:19)
at ro.isdc.wro.model.factory.WroModelFactoryDecorator.create(WroModelFactoryDecorator.java:27)
at ro.isdc.wro.model.factory.ModelTransformerFactory.create(ModelTransformerFactory.java:55)
at ro.isdc.wro.model.factory.ModelTransformerFactory.create(ModelTransformerFactory.java:27)
at ro.isdc.wro.model.factory.DefaultWroModelFactoryDecorator.create(DefaultWroModelFactoryDecorator.java:53)
at ro.isdc.wro.model.factory.DefaultWroModelFactoryDecorator.create(DefaultWroModelFactoryDecorator.java:25)
at ro.isdc.wro.model.group.processor.GroupsProcessor.process(GroupsProcessor.java:65)
at ro.isdc.wro.cache.DefaultSynchronizedCacheStrategyDecorator.loadValue(DefaultSynchronizedCacheStrategyDecorator.java:40)
at ro.isdc.wro.cache.DefaultSynchronizedCacheStrategyDecorator.loadValue(DefaultSynchronizedCacheStrategyDecorator.java:22)
at ro.isdc.wro.cache.AbstractSynchronizedCacheStrategyDecorator.get(AbstractSynchronizedCacheStrategyDecorator.java:52)
at ro.isdc.wro.manager.WroManager.serveProcessedBundle(WroManager.java:182)
at ro.isdc.wro.manager.WroManager.process(WroManager.java:134)
at ro.isdc.wro.http.WroFilter.processRequest(WroFilter.java:374)
at ro.isdc.wro.http.WroFilter.doFilter(WroFilter.java:324)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at de.tetralog.pqa.auth.valve.PQACBSamlLoginValve.invoke(PQACBSamlLoginValve.java:46)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
2014-12-16 12:59:00,157 [http-bio-8080-exec-2] WARN ro.isdc.wro.model.factory.FallbackAwareWroModelFactory - Couldn't load new model, reusing last Valid Model!
2014-12-16 12:59:00,160 [http-bio-8080-exec-2] INFO com.tetralog.optimize4.servlets.ErrorPageServlet - Error page servlet initialized with the following options: errorPage=/WEB-INF/pages/error/error.jsp, showStackTrace=true
2014-12-16 12:59:00,162 [http-bio-8080-exec-2] ERROR com.tetralog.optimize4.servlets.ErrorPageServlet - Unhandled error in web application: incident id 014a52f73440-6152ec8b, HTTP status code 404 (Not Found), error message: "/bestInvest/wro/all.js", servlet: default, request URI: "/bestInvest/wro/all.js" (referer: "http://localhost:8080/bestInvest/customerSelection.do")
2014-12-16 13:07:27,975 [http-bio-8080-exec-1] ERROR ro.isdc.wro.extensions.model.factory.SmartWroModelFactory - Using XmlModelFactory for model creation..
[FAIL] Model creation using XmlModelFactory failed. Trying another ...
[FAIL] Exception occured while building the model using: XmlModelFactory Cannot build model from XML Using GroovyModelFactory for model creation..
[FAIL] Model creation using GroovyModelFactory failed. Trying another ...
[FAIL] Exception occured while building the model using: GroovyModelFactory Invalid model found! Using JsonModelFactory for model creation..
[FAIL] Model creation using JsonModelFactory failed. Trying another ...
[FAIL] Exception occured while building the model using: JsonModelFactory Invalid model found!
2014-12-16 13:07:27,976 [http-bio-8080-exec-1] ERROR ro.isdc.wro.model.factory.FallbackAwareWroModelFactory - Error while creating the model
ro.isdc.wro.WroRuntimeException: Cannot create model using any of provided factories
at ro.isdc.wro.extensions.model.factory.SmartWroModelFactory.create(SmartWroModelFactory.java:194)
at ro.isdc.wro.extensions.model.factory.SmartWroModelFactory.create(SmartWroModelFactory.java:36)
at ro.isdc.wro.model.factory.WroModelFactoryDecorator.create(WroModelFactoryDecorator.java:27)
at ro.isdc.wro.model.factory.FallbackAwareWroModelFactory.create(FallbackAwareWroModelFactory.java:48)
at ro.isdc.wro.model.factory.FallbackAwareWroModelFactory.create(FallbackAwareWroModelFactory.java:22)
at ro.isdc.wro.model.factory.WroModelFactoryDecorator.create(WroModelFactoryDecorator.java:27)
at ro.isdc.wro.model.factory.InMemoryCacheableWroModelFactory.access$101(InMemoryCacheableWroModelFactory.java:19)
at ro.isdc.wro.model.factory.InMemoryCacheableWroModelFactory$1.initialize(InMemoryCacheableWroModelFactory.java:32)
at ro.isdc.wro.model.factory.InMemoryCacheableWroModelFactory$1.initialize(InMemoryCacheableWroModelFactory.java:29)
at ro.isdc.wro.util.LazyInitializer.get(LazyInitializer.java:33)
at ro.isdc.wro.model.factory.InMemoryCacheableWroModelFactory.create(InMemoryCacheableWroModelFactory.java:42)
at ro.isdc.wro.model.factory.InMemoryCacheableWroModelFactory.create(InMemoryCacheableWroModelFactory.java:19)
at ro.isdc.wro.model.factory.WroModelFactoryDecorator.create(WroModelFactoryDecorator.java:27)
at ro.isdc.wro.model.factory.ModelTransformerFactory.create(ModelTransformerFactory.java:55)
at ro.isdc.wro.model.factory.ModelTransformerFactory.create(ModelTransformerFactory.java:27)
at ro.isdc.wro.model.factory.DefaultWroModelFactoryDecorator.create(DefaultWroModelFactoryDecorator.java:53)
at ro.isdc.wro.model.factory.DefaultWroModelFactoryDecorator.create(DefaultWroModelFactoryDecorator.java:25)
at ro.isdc.wro.model.group.processor.GroupsProcessor.process(GroupsProcessor.java:65)
at ro.isdc.wro.cache.DefaultSynchronizedCacheStrategyDecorator.loadValue(DefaultSynchronizedCacheStrategyDecorator.java:40)
at ro.isdc.wro.cache.DefaultSynchronizedCacheStrategyDecorator.loadValue(DefaultSynchronizedCacheStrategyDecorator.java:22)
at ro.isdc.wro.cache.AbstractSynchronizedCacheStrategyDecorator.get(AbstractSynchronizedCacheStrategyDecorator.java:52)
at ro.isdc.wro.manager.WroManager.serveProcessedBundle(WroManager.java:182)
at ro.isdc.wro.manager.WroManager.process(WroManager.java:134)
at ro.isdc.wro.http.WroFilter.processRequest(WroFilter.java:374)
at ro.isdc.wro.http.WroFilter.doFilter(WroFilter.java:324)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at de.tetralog.pqa.auth.valve.PQACBSamlLoginValve.invoke(PQACBSamlLoginValve.java:46)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
2014-12-16 13:07:27,976 [http-bio-8080-exec-1] WARN ro.isdc.wro.model.factory.FallbackAwareWroModelFactory - Couldn't load new model, reusing last Valid Model!
I added the following dependencies to my pom.xml file:
<!-- ====================================================================================== -->
<!-- PROJECT DEPENDENCIES -->
<!-- ====================================================================================== -->
<dependencies>
<!-- WRO4J -->
<dependency>
<groupId>ro.isdc.wro4j</groupId>
<artifactId>wro4j-core</artifactId>
<version>${wro4j.version}</version>
</dependency>
<dependency>
<groupId>ro.isdc.wro4j</groupId>
<artifactId>wro4j-extensions</artifactId>
<version>${wro4j.version}</version>
</dependency>
<dependency>
<groupId>rhino</groupId>
<artifactId>js</artifactId>
<version>1.7R2</version>
</dependency>
...
</dependencies>
I create the wro.properties file inside the WEF-INF directory:
<pre><code>
cacheUpdatePeriod=0
modelUpdatePeriod=0
debug=true
disableCache=false
minimizeEnabled=false
gzipResources=true
ignoreMissingResources=true
jmxEnabled=true
managerFactoryClassName=ro.isdc.wro.extensions.manager.ExtensionsConfigurableWroManagerFactory
preProcessors=semicolonAppender,sassCss,cssImport
postProcessors=cssVariables
uriLocators=servletContext,uri,classpath
</code></pre>
and also the wro.xml in the same directory:
<?xml version="1.0" encoding="UTF-8"?>
<groups xmlns="http://www.isdc.ro/wro"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.isdc.ro/wro wro.xsd">
<group name="all">
<js>/js/lib/jquery-1.11.1.min.js</js>
<js>/js/lib/jquery.ie-select-width.js</js>
<js>/js/lib/jquery.blockUI.js</js>
<js>/js/lib/stringPrototypeFix.js</js>
<js>/js/lib/jquery.tooltipster.min.js</js>
<js>/js/constants.js</js>
<js>/js/common.js</js>
<js>/js/lib/underscore-min.js</js>
<js>/js/lib/backbone-min.js</js>
<js>/js/lib/jquery-ui/jquery-ui-1.11.0.custom.min.js</js>
<js>/js/lib/jquery-ui/jquery.ui.datepicker-de.js</js>
<js>/js/lib/timepicker/jquery-ui-timepicker-de.js</js>
<js>/js/lib/datetime.control.js</js>
<js>/js/lib/arrayExtensions.js</js>
<js>/js/lib/moment.js</js>
<js>/js/plugins/numeral.min.js</js>
<js>/js/plugins/numericInput.jquery.plugin.js</js>
<js>/js/plugins/defaultText.jquery.plugin.js</js>
<js>/js/plugins/dialog.jquery.plugin.js</js>
<js>/js/plugins/dataTracker.js</js>
<js>/js/plugins/editableCombobox.jquery.plugin.js</js>
<js>/js/plugins/textField.utils.jQuery.plugin.js</js>
<js>/js/models/common/common.models.js</js>
<js>/js/models/common/permissionKeys.js</js>
<js>/js/models/common/common.errorCodes.js</js>
<js>/js/models/common/categoryModel.model.js</js>
<js>/js/models/common/predicates.js</js>
<js>/js/models/common/filterCondition.model.js</js>
<js>/js/views/common/*.js</js>
<js>/js/models/common/pageResultModel.model.js</js>
<js>/js/models/common/searchResultModel.model.js</js>
<js>/js/models/common/paginatedModel.model.js</js>
<js>/js/models/common/chart.model.js</js>
<js>/js/models/common/message.model.js</js>
<js>/js/models/common/dataTrackerFunction.model.js</js>
<js>/js/views/common/workflow/*.js</js>
<js>/js/models/common/workflow/*.js</js>
<js>/js/models/domain/user.model.js</js>
<js>/js/models/domain/advisor.model.js</js>
<js>/js/models/domain/distribution.model.js</js>
<js>/js/models/domain/charts/chartDistribution.model.js</js>
<js>/js/models/domain/charts/chart.model.js</js>
<js>/js/models/domain/money.model.js</js>
<js>/js/models/domain/customer.model.js</js>
<js>/js/models/domain/allocation.model.js</js>
<js>/js/models/domain/products/product.model.js</js>
<js>/js/models/domain/products/productInstance.model.js</js>
<js>/js/models/domain/products/productLine.model.js</js>
<js>/js/models/recommendation/portfolioPositions.model.js</js>
<js>/js/models/customer-selection/customerSearch.model.js</js>
<js>/js/models/customerReports/reportType.model.js</js>
<js>/js/models/customerReports/report.model.js</js>
<js>/js/models/customerReports/customerReports.model.js</js>
<js>/js/models/customer-selection/newCustomer.model.js</js>
<js>/js/models/customerProfileChanges/profileChanges.model.js</js>
<js>/js/models/customerProfileChanges/customerProfileChanges.model.js</js>
<js>/js/models/customerOverview/currentAllocation.model.js</js>
<js>/js/models/documentation/documentation.model.js</js>
<js>/js/models/documentation/tax.model.js</js>
<js>/js/models/documentation/taxReduction.model.js</js>
<js>/js/models/orderform/orderformOrderPosition.model.js</js>
<js>/js/models/orderform/orderformDeposit.model.js</js>
<js>/js/models/orderform/orderform.model.js</js>
<js>/js/views/customerSelection/customerSelectionPage.view.js</js>
<js>/js/views/customerSelection/customerSearch.view.js</js>
<js>/js/views/customerSelection/newCustomer.view.js</js>
<js>/js/views/customerProfile/customerProfilePage.view.js</js>
<js>/js/views/customerProfile/customerProfileByLaw.view.js</js>
<js>/js/views/customerReports/customerReportRow.view.js</js>
<js>/js/views/customerReports/customerReportsTable.view.js</js>
<js>/js/views/customerReports/customerReportsPage.view.js</js>
<js>/js/views/customerProfileChanges/customerProfileChangesPage.view.js</js>
<js>/js/views/customerProfileChanges/customerProfileChangesRow.view.js</js>
<js>/js/views/customerProfileChanges/customerProfileChangesTable.view.js</js>
<js>/js/models/domain/portfolios/instrumentCategory.model.js</js>
<js>/js/models/domain/portfolios/instrumentInfo.model.js</js>
<js>/js/models/domain/portfolios/position.model.js</js>
<js>/js/models/domain/portfolios/role.model.js</js>
<js>/js/models/domain/portfolios/portfolioNode.model.js</js>
<js>/js/models/domain/portfolios/portfolio.model.js</js>
<js>/js/models/domain/portfolios/modelPortfolio.model.js</js>
<js>/js/models/domain/portfolios/deposit.model.js</js>
<js>/js/models/domain/portfolios/account.model.js</js>
<js>/js/models/domain/portfolios/investmentParameters.model.js</js>
<js>/js/models/domain/portfolios/accountClassification.model.js</js>
<js>/js/models/domain/portfolios/manualCreatedAccount.model.js</js>
<js>/js/models/domain/portfolios/instrumentQuantity.model.js</js>
<js>/js/views/portfolios/depotsPageSummaryTable.view.js</js>
<js>/js/views/portfolios/depotsPageSummaryAccountTable.view.js</js>
<js>/js/views/portfolios/depotsPage.view.js</js>
<js>/js/views/portfolios/combination.view.js</js>
<js>/js/views/portfolios/analysis.view.js</js>
<js>/js/views/portfolios/investmentInfo.view.js</js>
<js>/js/views/portfolios/holistic.view.js</js>
<js>/js/views/portfolios/accountClassificationTable.view.js</js>
<js>/js/views/portfolios/instrumentTable.view.js</js>
<js>/js/views/portfolios/thirdPartyComponents.view.js</js>
<js>/js/views/portfolios/investmentSummaryTable.view.js</js>
<js>/js/views/start/start.view.js</js>
<js>/js/models/customerOverview/assetOverview.model.js</js>
<js>/js/models/customerOverview/nodeOverview.model.js</js>
<js>/js/views/customerOverview/depotDetails.view.js</js>
<js>/js/views/customerOverview/customerOverviewRow.view.js</js>
<js>/js/views/customerOverview/customerOverviewTable.view.js</js>
<js>/js/views/customerOverview/customerOverviewPage.view.js</js>
<js>/js/views/documentation/documentationPage.view.js</js>
<js>/js/views/documentation/documentationTaxes.view.js</js>
<js>/js/views/documentation/documentationVacationReplacement.view.js</js>
<js>/js/views/documentation/documentationFactsheetsAndKid.view.js</js>
<js>/js/views/orderform/orderformPosition.view.js</js>
<js>/js/views/orderform/orderformDepositTable.view.js</js>
<js>/js/views/orderform/orderformDeposit.view.js</js>
<js>/js/views/orderform/orderformPage.view.js</js>
<js>/js/views/model-allocation/modelAllocation.view.js</js>
<js>/js/views/model-allocation/modelPortfolioList.view.js</js>
<js>/js/views/model-allocation/modelAllocationTable.view.js</js>
<js>/js/views/model-allocation/modelAllocationRow.view.js</js>
<js>/js/models/model-allocation/positionAllocation.model.js</js>
<js>/js/models/model-allocation/asset-allocation.model.js</js>
<js>/js/models/model-allocation/current-asset-allocation.model.js</js>
<js>/js/models/product-selection/product-selection.module.js</js>
<js>/js/models/model-allocation/automatic-allocation.js</js>
<js>/js/views/product-selection/productSelectionPositionRow.view.js</js>
<js>/js/views/product-selection/productSelectionTable.view.js</js>
<js>/js/views/product-selection/productSelectionPage.view.js</js>
<js>/js/views/product-selection/savingsPlanSelection.view.js</js>
<js>/js/views/product-selection/MifidCellGenerator.js</js>
<js>/js/views/product-selection/recursiveHeader.view.js</js>
<js>/js/views/needs/focusPage.view.js</js>
<js>/js/models/needs/needs.model.js</js>
<js>/js/models/needs/needs-product-selection.model.js</js>
<js>/js/views/logout/logout.view.js</js>
<js>/js/views/product-search/productSearchTable.view.js</js>
<js>/js/views/product-search/hitList.view.js</js>
<js>/js/views/product-search/expandable.view.js</js>
<js>/js/models/domain/portfolios/link.model.js</js>
<js>/js/views/recommendationPortfolioPositions/recommendationPortfolioPositionsPage.view.js</js>
<js>/js/views/transactions/transactionsPage.view.js</js>
<js>/js/views/transactions/transactionsSummaryTable.view.js</js>
<js>/js/views/transactions/transactionsTableRow.view.js</js>
<js>/js/models/transaction/reallocationItem.model.js</js>
<js>/js/models/transaction/transaction.model.js</js>
<js>/js/views/user-profile/user-profile.view.js</js>
<js>/js/views/user-profile/userProfile.view.js</js>
<js>/js/views/sessions/sessions.js</js>
</group>
<group name="allcss">
<css>/scss/pages/_login.scss</css>
<css>/scss/pages/_customerSearch.scss</css>
<css>/scss/pages/_customerInfo.scss</css>
<css>/scss/pages/_customerProfile.scss</css>
<css>/scss/pages/_customerReports.scss</css>
<css>/scss/pages/_customerProfileChanges.scss</css>
<css>/scss/pages/_customerOverview.scss</css>
<css>/scss/pages/_workflow.scss</css>
<css>/scss/pages/_portfolios.scss</css>
<css>/scss/pages/_modelAllocation.scss</css>
<css>/scss/pages/_productSelection.scss</css>
<css>/scss/pages/_needs.scss</css>
<css>/scss/pages/_transactions.scss</css>
<css>/scss/pages/_startPage.scss</css>
<css>/scss/pages/_documentationPage.scss</css>
<css>/scss/pages/_orderformPage.scss</css>
<css>/scss/pages/_recommendation.scss</css>
<css>/scss/pages/_userProfile.scss</css>
</group>
</groups>
Finally in my web.xml I have:
<!-- ===================================================================================== -->
<!-- FILTERS -->
<!-- ===================================================================================== -->
<!-- Wro4j -->
<filter>
<filter-name>WebResourceOptimizer</filter-name>
<filter-class>ro.isdc.wro.http.WroFilter</filter-class>
</filter>
...
<!-- ===================================================================================== -->
<!-- FILTER MAPPINGS -->
<!-- ===================================================================================== -->
<!-- Wro4j -->
<filter-mapping>
<filter-name>WebResourceOptimizer</filter-name>
<url-pattern>/wro/*</url-pattern>
</filter-mapping>
...
am I doing something wrong? Is there something missing?
I was using version 1.4.7 with ro.isdc.wro.extensions.manager.ExtensionsConfigurableWroManagerFactory . Now I am trying with version 1.7.7 and ro.isdc.wro.manager.factory.ConfigurableWroManagerFactory but still get the same error. The stack trace is a bit different, but that's something expected since I am using a different factory:
2014-12-17 17:09:32,604 [http-bio-8080-exec-4] ERROR ro.isdc.wro.extensions.model.factory.SmartWroModelFactory - Using XmlModelFactory for model creation..
[FAIL] Model creation using XmlModelFactory failed. Trying another ...
[FAIL] Exception occured while building the model using: XmlModelFactory Cannot build model from XML: Invalid resource requested: /WEB-INF/wro.xml Using LazyWroModelFactoryDecorator for model creation..
[FAIL] Model creation using LazyWroModelFactoryDecorator failed. Trying another ...
[FAIL] Exception occured while building the model using: LazyWroModelFactoryDecorator Invalid model found! Using LazyWroModelFactoryDecorator for model creation..
[FAIL] Model creation using LazyWroModelFactoryDecorator failed. Trying another ...
[FAIL] Exception occured while building the model using: LazyWroModelFactoryDecorator Invalid model found!
2014-12-17 17:09:32,605 [http-bio-8080-exec-4] ERROR ro.isdc.wro.model.factory.FallbackAwareWroModelFactory - Error while creating the model
ro.isdc.wro.WroRuntimeException: Cannot create model using any of provided factories
at ro.isdc.wro.extensions.model.factory.SmartWroModelFactory.create(SmartWroModelFactory.java:209)
at ro.isdc.wro.extensions.model.factory.SmartWroModelFactory.create(SmartWroModelFactory.java:38)
at ro.isdc.wro.model.factory.WroModelFactoryDecorator.create(WroModelFactoryDecorator.java:27)
Regarding the location of the wro.xml, I have the following project tree under eclipse:
project_root
+src
+main
+WEB-INF
-web.xml
-wro.properties
-wro.xml

Related

jhipster cannot run on docker and local computer

I followed all the steps here: https://www.jhipster.tech/installation/
for the local configuration, the jhipster was successfully built but didn't run on port 8080. This is the error:
2020-05-06 08:11:56.212 WARN 521 --- [ restartedMain] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'servletEndpointRegistrar' defined in class path resource [org/springframework/boot/actuate/autoconfigure/endpoint/web/ServletEndpointManagementContextConfiguration$WebMvcServletEndpointManagementContextConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.actuate.endpoint.web.ServletEndpointRegistrar]: Factory method 'servletEndpointRegistrar' threw exception; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'healthEndpoint' defined in class path resource [org/springframework/boot/actuate/autoconfigure/health/HealthEndpointConfiguration.class]: Unsatisfied dependency expressed through method 'healthEndpoint' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'healthContributorRegistry' defined in class path resource [org/springframework/boot/actuate/autoconfigure/health/HealthEndpointConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.actuate.health.HealthContributorRegistry]: Factory method 'healthContributorRegistry' threw exception; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'JHipsterHealthIndicatorConfiguration' defined in file [/home/jhipster/app/target/classes/com/kschain/app/config/metrics/JHipsterHealthIndicatorConfiguration.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cassandraConfiguration': Invocation of init method failed; nested exception is com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: localhost/127.0.0.1:9042 (com.datastax.driver.core.exceptions.TransportException: [localhost/127.0.0.1:9042] Cannot connect))
2020-05-06 08:11:58.253 ERROR 521 --- [ restartedMain] o.s.boot.SpringApplication : Application run failed
and this is what I got after all the steps are done
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 06:27 min
[INFO] Finished at: 2020-05-06T08:11:58Z
[INFO] ------------------------------------------------------------------------
2. The same problem occurred with the docker image
`2020-05-06 08:16:58.253 ERROR 521 --- [ restartedMain]
o.s.boot.SpringApplication: Application run failed`
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 06:27 min
[INFO] Finished at: 2020-05-06T08:18:58Z
[INFO] ------------------------------------------------------------------------
root#e8220a295cf8:/home/jhipster/app#
what's wrong?
The explanation is in the logs:
Error creating bean with name 'cassandraConfiguration': Invocation of init method failed; nested exception is com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: localhost/127.0.0.1:9042
You probably forgot to start Cassandra as explained in your project's generated README.md:
docker-compose -f src/main/docker/cassandra.yml up -d

Weblogic 12c R2 (12.2.1.3) error myfaces timeout java.sun.com with web.xml 2.3 tag

I'm facing a very old project.
Trying to revive it on a WL server 12c as per title.
When I thought everything was set I got this stack:
log4j:WARN No appenders could be found for logger (org.apache.myfaces.webapp.StartupServletContextListener).
log4j:WARN Please initialize the log4j system properly.
javax.faces.FacesException: java.net.ConnectException: Tried all: '1' addresses, but could not connect over HTTP to server: 'java.sun.com', port: '80'
failed reasons:
[0] address:'java.sun.com/156.151.59.19',port:'80' : java.net.ConnectException: Connection timed out: no further information
at org.apache.myfaces.shared_impl.webapp.webxml.WebXmlParser.parse(WebXmlParser.java:115)
at org.apache.myfaces.shared_impl.webapp.webxml.WebXml.init(WebXml.java:207)
at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:85)
at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:51)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:705)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:197)
at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
at weblogic.servlet.internal.EventsManager.executeContextListener(EventsManager.java:251)
at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:204)
at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:191)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1921)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3101)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1843)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:884)
at weblogic.application.internal.ExtensibleModuleWrapper$StartStateChange.next(ExtensibleModuleWrapper.java:360)
at weblogic.application.internal.ExtensibleModuleWrapper$StartStateChange.next(ExtensibleModuleWrapper.java:356)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:138)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:233)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:228)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:78)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:52)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:752)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:262)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:66)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:90)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:631)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:171)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:121)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:348)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:907)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1468)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:459)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:181)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:217)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:14)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:69)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:670)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:644)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:415)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:355)
Caused by: java.net.ConnectException: Tried all: '1' addresses, but could not connect over HTTP to server: 'java.sun.com', port: '80'
failed reasons:
[0] address:'java.sun.com/156.151.59.19',port:'80' : java.net.ConnectException: Connection timed out: no further information
at weblogic.net.http.HttpClient.openServer(HttpClient.java:408)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:511)
at weblogic.net.http.HttpClient.New(HttpClient.java:313)
at weblogic.net.http.HttpClient.New(HttpClient.java:292)
at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:295)
at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:685)
at weblogic.net.http.SOAPHttpURLConnection.getInputStream(SOAPHttpURLConnection.java:42)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:647)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1304)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:1270)
at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:264)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(XMLDocumentScannerImpl.java:1161)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(XMLDocumentScannerImpl.java:1045)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:959)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:842)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:243)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339)
at weblogic.xml.jaxp.RegistryDocumentBuilder.parse(RegistryDocumentBuilder.java:162)
at org.apache.myfaces.shared_impl.webapp.webxml.WebXmlParser.parse(WebXmlParser.java:99)
... 50 more
I'm quite sure that it's because of web.xml 2.3 DocType tag that says:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
I think it's a matter of definitions.
Tried lots of attempts but can't managed to get out of this trouble.

Liferay 7 Login Fragment error

I have created login fragment for login.jsp which is working perfectly fine.
Now I need to add some code to fetch some data from custom tables so I have added XYZLocalServiceUtil call using scriptlet.
Now service call is working but problem is when I deploy fragment hook it gives following error and portlet becomes unavailable, but only for first time after deployment.
When I refresh page, next time it works properly without any error. I am not sure why it is not able to get following dependency for first time.
07:17:00,237 ERROR [http-nio-9080-exec-9][PortletRequestDispatcherImpl:265] Unable to dispatch request: javax.el.ELException: Provider com.sun.el.ExpressionFactoryImpl not found
07:17:00,242 ERROR [http-nio-9080-exec-9][PortletServlet:111] javax.portlet.PortletException: org.apache.jasper.JasperException: javax.el.ELException: Provider com.sun.el.ExpressionFactoryImpl not found
javax.portlet.PortletException: org.apache.jasper.JasperException: javax.el.ELException: Provider com.sun.el.ExpressionFactoryImpl not found
at com.liferay.portlet.PortletRequestDispatcherImpl.dispatch(PortletRequestDispatcherImpl.java:267)
at com.liferay.portlet.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:102)
at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.include(MVCPortlet.java:594)
at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.include(MVCPortlet.java:610)
at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.doView(MVCPortlet.java:160)
at com.liferay.portal.kernel.portlet.LiferayPortlet.doDispatch(LiferayPortlet.java:303)
at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.doDispatch(MVCPortlet.java:497)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:262)
at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.render(MVCPortlet.java:317)
at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:103)
at com.liferay.portlet.ScriptDataPortletFilter.doFilter(ScriptDataPortletFilter.java:57)
at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100)
at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:64)
at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)
at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:62)
at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:117)
at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:48)
at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:530)
at com.liferay.portlet.InvokerPortletImpl.invokeRender(InvokerPortletImpl.java:605)
at com.liferay.portlet.InvokerPortletImpl.render(InvokerPortletImpl.java:391)
at com.liferay.portal.monitoring.internal.portlet.MonitoringInvokerPortlet.render(MonitoringInvokerPortlet.java:265)
at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:1580)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:64)
at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
at com.liferay.portlet.PortletContainerImpl._render(PortletContainerImpl.java:707)
at com.liferay.portlet.PortletContainerImpl.render(PortletContainerImpl.java:162)
at com.liferay.portlet.SecurityPortletContainerWrapper.render(SecurityPortletContainerWrapper.java:133)
at com.liferay.portlet.RestrictPortletContainerWrapper.render(RestrictPortletContainerWrapper.java:133)
...
I have tried by adding following dependency in gradle file but no luck.
compile group: 'org.glassfish', name: 'javax.el', version: '3.0.0'
I am using "liferay-ce-portal-7.0-ga4", If anyone faced similar issue please suggest the way to resolve it.
Thanks

jOOQ 3.6.3 Code Generation Bug? PatternSyntaxException: Illegal/unsupported escape sequence

It appears that jOOQs Code Generator has introduces a problem in v3.6.3. I cannot produces POJOs using this configuration file in v3.6.3
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<configuration>
<!-- Configure the database connection here -->
<jdbc>
<driver>org.postgresql.Driver</driver>
<url>jdbc:postgresql://localhost:5432/my_db</url>
<user>postgres</user>
<password>pw</password>
</jdbc>
<generator>
<database>
<name>org.jooq.util.postgres.PostgresDatabase</name>
<inputSchema>public</inputSchema>
</database>
</generator>
</configuration>
but it starts to work again with v3.6.2. The error stack I'm getting in the latest version :
org.jooq.util.GeneratorException: Error generating code for schema public
at org.jooq.util.JavaGenerator.generate(JavaGenerator.java:268)
at org.jooq.util.GenerationTool.run(GenerationTool.java:426)
at org.jooq.util.GenerationTool.generate(GenerationTool.java:176)
at org.jooq.util.GenerationTool.main(GenerationTool.java:151)
Caused by: java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near index 9
(?s:^.*?\Rpackage\s+(.*?);?\R.*?$)
^
at java.util.regex.Pattern.error(Unknown Source)
at java.util.regex.Pattern.escape(Unknown Source)
at java.util.regex.Pattern.atom(Unknown Source)
...
[main] ERROR org.jooq.util.GenerationTool - Cannot read jooq-config.xml. Error : Error generating code for schema public
org.jooq.util.GeneratorException: Error generating code for schema public
at org.jooq.util.JavaGenerator.generate(JavaGenerator.java:268)
at org.jooq.util.GenerationTool.run(GenerationTool.java:426)
at org.jooq.util.GenerationTool.generate(GenerationTool.java:176)
at org.jooq.util.GenerationTool.main(GenerationTool.java:151)
Caused by: java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near index 9
(?s:^.*?\Rpackage\s+(.*?);?\R.*?$)
^
at java.util.regex.Pattern.error(Unknown Source)
...
at org.jooq.util.JavaWriter.beforeClose(JavaWriter.java:121)
at org.jooq.util.GeneratorWriter.close(GeneratorWriter.java:237)
at org.jooq.util.JavaGenerator.generateSchema(JavaGenerator.java:3131)
at org.jooq.util.JavaGenerator.generate(JavaGenerator.java:298)
at org.jooq.util.JavaGenerator.generate(JavaGenerator.java:265)
... 3 more
[main] ERROR org.jooq.util.GenerationTool - Usage : GenerationTool <configuration-file>
Yes, this is a known regression that applies only to jOOQ 3.6.3:
https://github.com/jOOQ/jOOQ/issues/4576
You can work around it by using Java 8 to run the source code generator.

Liferay pentaho Integaration throwing error javax.naming.OperationNotSupportedException: Context is read only error

Integrating pentaho in liferay using pentaho.war and then after starting tomcat getting below error:
06:01:23,701 ERROR [JNDIResourceProvider] error closing context
javax.naming.OperationNotSupportedException: Context is read only
at org.apache.naming.NamingContext.checkWritable(NamingContext.java:962) at org.apache.naming.NamingContext.close(NamingContext.java:762)
at com.tonbeller.tbutils.res.JNDIResourceProvider.close(JNDIResourceProv
ider.java:68)
at com.tonbeller.tbutils.res.CompositeResourceProvider.close(CompositeRe
sourceProvider.java:56)
at com.tonbeller.tbutils.res.ResourcesFactory.initialize(ResourcesFactor
y.java:163)
at com.tonbeller.tbutils.res.ResourcesFactory.<init>(ResourcesFactory.ja
va:92)
at com.tonbeller.tbutils.res.ResourcesFactory.<clinit>(ResourcesFactory.
java:89)
at com.tonbeller.tbutils.res.ResourcesFactoryContextListener.contextInit
ialized(ResourcesFactoryContextListener.java:23)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
t.java:4779)
at org.apache.catalina.core.StandardContext.startInternal(StandardContex
t.java:5273)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.
java:1566)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.
java:1556)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:619)
Please help
Thanks in advance
Tomcat's JNDI implementation is read only.
The error is caused by the SessionFactory trying to remove itself from JNDI.
Its not that serious, all you are getting is an ungraceful shutdown.
Try adding a file named resfactory.properties under WEB-INF/classes containing the following line:
tbeller.usejndi=false
see: http://jpivot.sourceforge.net/wcf/api/com/tonbeller/tbutils/res/package-summary.html

Resources