Fixed JAXP jdk.xml.entityExpansionLimit error

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-portlet@100146 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-09-23 16:40:09 +00:00
parent 51b3ee1df0
commit a72a854073
1 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,8 @@ public class TabularDataServiceImpl extends RemoteServiceServlet implements Tabu
//System.out.println("Registered DemoCSVTarget");
//ScopeProvider.instance.get();
System.out.println("Fix JAXP: jdk.xml.entityExpansionLimit=0");
System.setProperty("jdk.xml.entityExpansionLimit", "0");
System.out.println("initializing TDXDataSourceFactory");
DataSourceXFactoryRegistry.getInstance().add(new TDXDataSourceFactory());