Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Provider for javax.xml.parsers.SAXParserFactory cannot be found
Provider for javax.xml.parsers.SAXParserFactory cannot be found [message #363247] Mon, 16 June 2008 16:53 Go to next message
Eclipse UserFriend
Originally posted by: victor.garcia.aplicaciones.com.co

Hi,

I'm trying to use birt 2.2.2 as a standalone application that i call from
a web application in websphere 6.1, and when i try to start the platform i
get the following message:


!ENTRY org.eclipse.update.configurator 4 0 2008-06-10 11:30:39.063
!MESSAGE !STACK 0
org.osgi.framework.BundleException: Exception in
org.eclipse.update.internal.configurator.ConfigurationActiva tor.start() of
bundle org.eclipse.update.configurator.
at java.lang.Throwable.<init>(Throwable.java:196)
at java.lang.Exception.<init>(Exception.java:41)
at org.osgi.framework.BundleException.<init>(BundleException.java:51)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1018)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:350)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1118)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:634)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:508)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:282)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:468)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:195)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:297)
Caused by: javax.xml.parsers.FactoryConfigurationError: Provider for
javax.xml.parsers.SAXParserFactory cannot be found
at java.lang.Throwable.<init>(Throwable.java:196)
at java.lang.Error.<init>(Error.java:49)
at javax.xml.parsers.FactoryConfigurationError.<init>(Unknown Source)
at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
at
org.eclipse.update.internal.configurator.ConfigurationParser . <clinit>(ConfigurationParser.java:34)
at
org.eclipse.update.internal.configurator.PlatformConfigurati on.loadConfig(PlatformConfiguration.java:1063)
at
org.eclipse.update.internal.configurator.PlatformConfigurati on.initializeCurrent(PlatformConfiguration.java:736)
at
org.eclipse.update.internal.configurator.PlatformConfigurati on. <init>(PlatformConfiguration.java:103)
at
org.eclipse.update.internal.configurator.PlatformConfigurati on.startup(PlatformConfiguration.java:690)
at
org.eclipse.update.internal.configurator.ConfigurationActiva tor.getPlatformConfiguration(ConfigurationActivator.java:382 )
at
org.eclipse.update.internal.configurator.ConfigurationActiva tor.initialize(ConfigurationActivator.java:111)
at
org.eclipse.update.internal.configurator.ConfigurationActiva tor.start(ConfigurationActivator.java:69)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
... 10 more
Root exception:
javax.xml.parsers.FactoryConfigurationError: Provider for
javax.xml.parsers.SAXParserFactory cannot be found
at java.lang.Throwable.<init>(Throwable.java:196)
at java.lang.Error.<init>(Error.java:49)
at javax.xml.parsers.FactoryConfigurationError.<init>(Unknown Source)
at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
at
org.eclipse.update.internal.configurator.ConfigurationParser . <clinit>(ConfigurationParser.java:34)
at
org.eclipse.update.internal.configurator.PlatformConfigurati on.loadConfig(PlatformConfiguration.java:1063)
at
org.eclipse.update.internal.configurator.PlatformConfigurati on.initializeCurrent(PlatformConfiguration.java:736)
at
org.eclipse.update.internal.configurator.PlatformConfigurati on. <init>(PlatformConfiguration.java:103)
at
org.eclipse.update.internal.configurator.PlatformConfigurati on.startup(PlatformConfiguration.java:690)
at
org.eclipse.update.internal.configurator.ConfigurationActiva tor.getPlatformConfiguration(ConfigurationActivator.java:382 )
at
org.eclipse.update.internal.configurator.ConfigurationActiva tor.initialize(ConfigurationActivator.java:111)
at
org.eclipse.update.internal.configurator.ConfigurationActiva tor.start(ConfigurationActivator.java:69)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:350)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1118)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:634)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:508)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:282)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:468)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:195)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:297)


Thanks for your help,

Victor
Re: Provider for javax.xml.parsers.SAXParserFactory cannot be found [message #363272 is a reply to message #363247] Tue, 17 June 2008 14:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Victor,

Can you post more details on how you are calling it and what your setup is?

Jason

Victor Garcia wrote:
> Hi,
>
> I'm trying to use birt 2.2.2 as a standalone application that i call
> from a web application in websphere 6.1, and when i try to start the
> platform i get the following message:
>
>
> !ENTRY org.eclipse.update.configurator 4 0 2008-06-10 11:30:39.063
> !MESSAGE !STACK 0
> org.osgi.framework.BundleException: Exception in
> org.eclipse.update.internal.configurator.ConfigurationActiva tor.start()
> of bundle org.eclipse.update.configurator.
> at java.lang.Throwable.<init>(Throwable.java:196)
> at java.lang.Exception.<init>(Exception.java:41)
> at org.osgi.framework.BundleException.<init>(BundleException.java:51)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1018)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:350)
>
> at
> org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1118)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:634)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:508)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:282)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:468)
>
> at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:195)
>
> at
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:297)
>
> Caused by: javax.xml.parsers.FactoryConfigurationError: Provider for
> javax.xml.parsers.SAXParserFactory cannot be found
> at java.lang.Throwable.<init>(Throwable.java:196)
> at java.lang.Error.<init>(Error.java:49)
> at javax.xml.parsers.FactoryConfigurationError.<init>(Unknown Source)
> at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
> at
> org.eclipse.update.internal.configurator.ConfigurationParser . <clinit>(ConfigurationParser.java:34)
>
> at
> org.eclipse.update.internal.configurator.PlatformConfigurati on.loadConfig(PlatformConfiguration.java:1063)
>
> at
> org.eclipse.update.internal.configurator.PlatformConfigurati on.initializeCurrent(PlatformConfiguration.java:736)
>
> at
> org.eclipse.update.internal.configurator.PlatformConfigurati on. <init>(PlatformConfiguration.java:103)
>
> at
> org.eclipse.update.internal.configurator.PlatformConfigurati on.startup(PlatformConfiguration.java:690)
>
> at
> org.eclipse.update.internal.configurator.ConfigurationActiva tor.getPlatformConfiguration(ConfigurationActivator.java:382 )
>
> at
> org.eclipse.update.internal.configurator.ConfigurationActiva tor.initialize(ConfigurationActivator.java:111)
>
> at
> org.eclipse.update.internal.configurator.ConfigurationActiva tor.start(ConfigurationActivator.java:69)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
>
> ... 10 more
> Root exception:
> javax.xml.parsers.FactoryConfigurationError: Provider for
> javax.xml.parsers.SAXParserFactory cannot be found
> at java.lang.Throwable.<init>(Throwable.java:196)
> at java.lang.Error.<init>(Error.java:49)
> at javax.xml.parsers.FactoryConfigurationError.<init>(Unknown Source)
> at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
> at
> org.eclipse.update.internal.configurator.ConfigurationParser . <clinit>(ConfigurationParser.java:34)
>
> at
> org.eclipse.update.internal.configurator.PlatformConfigurati on.loadConfig(PlatformConfiguration.java:1063)
>
> at
> org.eclipse.update.internal.configurator.PlatformConfigurati on.initializeCurrent(PlatformConfiguration.java:736)
>
> at
> org.eclipse.update.internal.configurator.PlatformConfigurati on. <init>(PlatformConfiguration.java:103)
>
> at
> org.eclipse.update.internal.configurator.PlatformConfigurati on.startup(PlatformConfiguration.java:690)
>
> at
> org.eclipse.update.internal.configurator.ConfigurationActiva tor.getPlatformConfiguration(ConfigurationActivator.java:382 )
>
> at
> org.eclipse.update.internal.configurator.ConfigurationActiva tor.initialize(ConfigurationActivator.java:111)
>
> at
> org.eclipse.update.internal.configurator.ConfigurationActiva tor.start(ConfigurationActivator.java:69)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:350)
>
> at
> org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1118)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:634)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:508)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:282)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:468)
>
> at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:195)
>
> at
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:297)
>
>
>
> Thanks for your help,
>
> Victor
>
>
Re: Provider for javax.xml.parsers.SAXParserFactory cannot be found [message #363291 is a reply to message #363272] Tue, 17 June 2008 19:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: victor.garcia.aplicaciones.com.co

Hi Jason,

In WAS 6.1, I have an ear application, and from a JSF bean i create the
engine with the following code:

EngineConfig config = new EngineConfig();

String logLevel =
System.getProperty("aplicaltda.faces.birt.logLevel", "INFO");
Level level = Level.OFF;
if ("SEVERE".equalsIgnoreCase(logLevel))
{
level = Level.SEVERE;
} else if ("WARNING".equalsIgnoreCase(logLevel))
{
level = Level.WARNING;
} else if ("INFO".equalsIgnoreCase(logLevel))
{
level = Level.INFO;
} else if ("CONFIG".equalsIgnoreCase(logLevel))
{
level = Level.CONFIG;
} else if ("FINE".equalsIgnoreCase(logLevel))
{
level = Level.FINE;
} else if ("FINER".equalsIgnoreCase(logLevel))
{
level = Level.FINER;
} else if ("FINEST".equalsIgnoreCase(logLevel))
{
level = Level.FINEST;
} else if ("OFF".equalsIgnoreCase(logLevel))
{
level = Level.OFF;
}

String logDir =
System.getProperty("aplicaltda.faces.birt.logDirectory", ".");
config.setLogConfig(logDir, level);


String home = System.getProperty("aplicaltda.faces.birt.home").trim();
config.setEngineHome(home);

try
{
Platform.startup( config );
}
catch ( BirtException e )
{
e.printStackTrace( );
}

IReportEngineFactory factory = (IReportEngineFactory) Platform
.createFactoryObject(
IReportEngineFactory.EXTENSION_REPORT_ENGINE_FACTORY );

IReportEngine birtEngine = factory.createReportEngine( config );



I Read the engine home and log dir from System properties i put when i
start the application.

The report engine is not in the ear, but in fhe following path that is
what i put in the System properties:

/QIBM/UserData/JarAplications/birt/birt-runtime-2_2_2/Report Engine/

In my ear i have the jars of birt i need to make the previos call, but
no the plugins and configuration directories.

The application is running in iSeries.

When i run the application, I get a NullPointerException in the last
line of code i put here, and the stacktrace i put in the previous post
is from a log file in the
/QIBM/UserData/JarAplications/birt/birt-runtime-2_2_2/Report Engine/configuration
directory.


Thanks,

Victor.

Jason Weathersby escribió:
> Victor,
>
> Can you post more details on how you are calling it and what your setup is?
>
> Jason
>
> Victor Garcia wrote:
>> Hi,
>>
>> I'm trying to use birt 2.2.2 as a standalone application that i call
>> from a web application in websphere 6.1, and when i try to start the
>> platform i get the following message:
>>
>>
>> !ENTRY org.eclipse.update.configurator 4 0 2008-06-10 11:30:39.063
>> !MESSAGE !STACK 0
>> org.osgi.framework.BundleException: Exception in
>> org.eclipse.update.internal.configurator.ConfigurationActiva tor.start()
>> of bundle org.eclipse.update.configurator.
>> at java.lang.Throwable.<init>(Throwable.java:196)
>> at java.lang.Exception.<init>(Exception.java:41)
>> at org.osgi.framework.BundleException.<init>(BundleException.java:51)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1018)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:350)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1118)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:634)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:508)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:282)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:468)
>>
>> at
>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:195)
>>
>> at
>> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:297)
>>
>> Caused by: javax.xml.parsers.FactoryConfigurationError: Provider for
>> javax.xml.parsers.SAXParserFactory cannot be found
>> at java.lang.Throwable.<init>(Throwable.java:196)
>> at java.lang.Error.<init>(Error.java:49)
>> at javax.xml.parsers.FactoryConfigurationError.<init>(Unknown Source)
>> at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
>> at
>> org.eclipse.update.internal.configurator.ConfigurationParser . <clinit>(ConfigurationParser.java:34)
>>
>> at
>> org.eclipse.update.internal.configurator.PlatformConfigurati on.loadConfig(PlatformConfiguration.java:1063)
>>
>> at
>> org.eclipse.update.internal.configurator.PlatformConfigurati on.initializeCurrent(PlatformConfiguration.java:736)
>>
>> at
>> org.eclipse.update.internal.configurator.PlatformConfigurati on. <init>(PlatformConfiguration.java:103)
>>
>> at
>> org.eclipse.update.internal.configurator.PlatformConfigurati on.startup(PlatformConfiguration.java:690)
>>
>> at
>> org.eclipse.update.internal.configurator.ConfigurationActiva tor.getPlatformConfiguration(ConfigurationActivator.java:382 )
>>
>> at
>> org.eclipse.update.internal.configurator.ConfigurationActiva tor.initialize(ConfigurationActivator.java:111)
>>
>> at
>> org.eclipse.update.internal.configurator.ConfigurationActiva tor.start(ConfigurationActivator.java:69)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
>>
>> ... 10 more
>> Root exception:
>> javax.xml.parsers.FactoryConfigurationError: Provider for
>> javax.xml.parsers.SAXParserFactory cannot be found
>> at java.lang.Throwable.<init>(Throwable.java:196)
>> at java.lang.Error.<init>(Error.java:49)
>> at javax.xml.parsers.FactoryConfigurationError.<init>(Unknown Source)
>> at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
>> at
>> org.eclipse.update.internal.configurator.ConfigurationParser . <clinit>(ConfigurationParser.java:34)
>>
>> at
>> org.eclipse.update.internal.configurator.PlatformConfigurati on.loadConfig(PlatformConfiguration.java:1063)
>>
>> at
>> org.eclipse.update.internal.configurator.PlatformConfigurati on.initializeCurrent(PlatformConfiguration.java:736)
>>
>> at
>> org.eclipse.update.internal.configurator.PlatformConfigurati on. <init>(PlatformConfiguration.java:103)
>>
>> at
>> org.eclipse.update.internal.configurator.PlatformConfigurati on.startup(PlatformConfiguration.java:690)
>>
>> at
>> org.eclipse.update.internal.configurator.ConfigurationActiva tor.getPlatformConfiguration(ConfigurationActivator.java:382 )
>>
>> at
>> org.eclipse.update.internal.configurator.ConfigurationActiva tor.initialize(ConfigurationActivator.java:111)
>>
>> at
>> org.eclipse.update.internal.configurator.ConfigurationActiva tor.start(ConfigurationActivator.java:69)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:350)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1118)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:634)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:508)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:282)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:468)
>>
>> at
>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:195)
>>
>> at
>> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:297)
>>
>>
>>
>> Thanks for your help,
>>
>> Victor
>>
>>
Re: Provider for javax.xml.parsers.SAXParserFactory cannot be found [message #363302 is a reply to message #363291] Tue, 17 June 2008 22:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Victor,

Are you using a 1.4 or greater JVM?
Also you may want to add
config.getAppContext().put(EngineConstants.APPCONTEXT_CLASSL OADER_KEY,
Whateveryourclassisnamed.class.getClassLoader());
to your code.

Jason

Victor Hugo Garcia Yepes wrote:
> Hi Jason,
>
> In WAS 6.1, I have an ear application, and from a JSF bean i create the
> engine with the following code:
>
> EngineConfig config = new EngineConfig();
>
> String logLevel =
> System.getProperty("aplicaltda.faces.birt.logLevel", "INFO");
> Level level = Level.OFF;
> if ("SEVERE".equalsIgnoreCase(logLevel))
> {
> level = Level.SEVERE;
> } else if ("WARNING".equalsIgnoreCase(logLevel))
> {
> level = Level.WARNING;
> } else if ("INFO".equalsIgnoreCase(logLevel))
> {
> level = Level.INFO;
> } else if ("CONFIG".equalsIgnoreCase(logLevel))
> {
> level = Level.CONFIG;
> } else if ("FINE".equalsIgnoreCase(logLevel))
> {
> level = Level.FINE;
> } else if ("FINER".equalsIgnoreCase(logLevel))
> {
> level = Level.FINER;
> } else if ("FINEST".equalsIgnoreCase(logLevel))
> {
> level = Level.FINEST;
> } else if ("OFF".equalsIgnoreCase(logLevel))
> {
> level = Level.OFF;
> }
>
> String logDir =
> System.getProperty("aplicaltda.faces.birt.logDirectory", ".");
> config.setLogConfig(logDir, level);
>
>
> String home = System.getProperty("aplicaltda.faces.birt.home").trim();
> config.setEngineHome(home);
>
> try
> {
> Platform.startup( config );
> }
> catch ( BirtException e )
> {
> e.printStackTrace( );
> }
>
> IReportEngineFactory factory = (IReportEngineFactory) Platform
> .createFactoryObject(
> IReportEngineFactory.EXTENSION_REPORT_ENGINE_FACTORY );
>
> IReportEngine birtEngine = factory.createReportEngine( config );
>
>
>
> I Read the engine home and log dir from System properties i put when i
> start the application.
>
> The report engine is not in the ear, but in fhe following path that is
> what i put in the System properties:
>
> /QIBM/UserData/JarAplications/birt/birt-runtime-2_2_2/Report Engine/
>
> In my ear i have the jars of birt i need to make the previos call, but
> no the plugins and configuration directories.
>
> The application is running in iSeries.
>
> When i run the application, I get a NullPointerException in the last
> line of code i put here, and the stacktrace i put in the previous post
> is from a log file in the
> /QIBM/UserData/JarAplications/birt/birt-runtime-2_2_2/Report Engine/configuration
> directory.
>
>
> Thanks,
>
> Victor.
>
> Jason Weathersby escribió:
>> Victor,
>>
>> Can you post more details on how you are calling it and what your
>> setup is?
>>
>> Jason
>>
>> Victor Garcia wrote:
>>> Hi,
>>>
>>> I'm trying to use birt 2.2.2 as a standalone application that i call
>>> from a web application in websphere 6.1, and when i try to start the
>>> platform i get the following message:
>>>
>>>
>>> !ENTRY org.eclipse.update.configurator 4 0 2008-06-10 11:30:39.063
>>> !MESSAGE !STACK 0
>>> org.osgi.framework.BundleException: Exception in
>>> org.eclipse.update.internal.configurator.ConfigurationActiva tor.start()
>>> of bundle org.eclipse.update.configurator.
>>> at java.lang.Throwable.<init>(Throwable.java:196)
>>> at java.lang.Exception.<init>(Exception.java:41)
>>> at org.osgi.framework.BundleException.<init>(BundleException.java:51)
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1018)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:350)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1118)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:634)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:508)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:282)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:468)
>>>
>>> at
>>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:195)
>>>
>>> at
>>> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:297)
>>>
>>> Caused by: javax.xml.parsers.FactoryConfigurationError: Provider for
>>> javax.xml.parsers.SAXParserFactory cannot be found
>>> at java.lang.Throwable.<init>(Throwable.java:196)
>>> at java.lang.Error.<init>(Error.java:49)
>>> at javax.xml.parsers.FactoryConfigurationError.<init>(Unknown Source)
>>> at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
>>> at
>>> org.eclipse.update.internal.configurator.ConfigurationParser . <clinit>(ConfigurationParser.java:34)
>>>
>>> at
>>> org.eclipse.update.internal.configurator.PlatformConfigurati on.loadConfig(PlatformConfiguration.java:1063)
>>>
>>> at
>>> org.eclipse.update.internal.configurator.PlatformConfigurati on.initializeCurrent(PlatformConfiguration.java:736)
>>>
>>> at
>>> org.eclipse.update.internal.configurator.PlatformConfigurati on. <init>(PlatformConfiguration.java:103)
>>>
>>> at
>>> org.eclipse.update.internal.configurator.PlatformConfigurati on.startup(PlatformConfiguration.java:690)
>>>
>>> at
>>> org.eclipse.update.internal.configurator.ConfigurationActiva tor.getPlatformConfiguration(ConfigurationActivator.java:382 )
>>>
>>> at
>>> org.eclipse.update.internal.configurator.ConfigurationActiva tor.initialize(ConfigurationActivator.java:111)
>>>
>>> at
>>> org.eclipse.update.internal.configurator.ConfigurationActiva tor.start(ConfigurationActivator.java:69)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
>>>
>>> ... 10 more
>>> Root exception:
>>> javax.xml.parsers.FactoryConfigurationError: Provider for
>>> javax.xml.parsers.SAXParserFactory cannot be found
>>> at java.lang.Throwable.<init>(Throwable.java:196)
>>> at java.lang.Error.<init>(Error.java:49)
>>> at javax.xml.parsers.FactoryConfigurationError.<init>(Unknown Source)
>>> at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
>>> at
>>> org.eclipse.update.internal.configurator.ConfigurationParser . <clinit>(ConfigurationParser.java:34)
>>>
>>> at
>>> org.eclipse.update.internal.configurator.PlatformConfigurati on.loadConfig(PlatformConfiguration.java:1063)
>>>
>>> at
>>> org.eclipse.update.internal.configurator.PlatformConfigurati on.initializeCurrent(PlatformConfiguration.java:736)
>>>
>>> at
>>> org.eclipse.update.internal.configurator.PlatformConfigurati on. <init>(PlatformConfiguration.java:103)
>>>
>>> at
>>> org.eclipse.update.internal.configurator.PlatformConfigurati on.startup(PlatformConfiguration.java:690)
>>>
>>> at
>>> org.eclipse.update.internal.configurator.ConfigurationActiva tor.getPlatformConfiguration(ConfigurationActivator.java:382 )
>>>
>>> at
>>> org.eclipse.update.internal.configurator.ConfigurationActiva tor.initialize(ConfigurationActivator.java:111)
>>>
>>> at
>>> org.eclipse.update.internal.configurator.ConfigurationActiva tor.start(ConfigurationActivator.java:69)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:350)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1118)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:634)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:508)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:282)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:468)
>>>
>>> at
>>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:195)
>>>
>>> at
>>> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:297)
>>>
>>>
>>>
>>> Thanks for your help,
>>>
>>> Victor
>>>
>>>
Re: Provider for javax.xml.parsers.SAXParserFactory cannot be found [message #363395 is a reply to message #363302] Fri, 20 June 2008 15:59 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: victor.garcia.aplicaciones.com.co

Hi Jason,

We are using 1.5 JVM.

We put the line with the class loader in the code, but it didn't work.
This setup we are using has always worked fine on Windows and Linux, but
it doesn't work on iSeries.

Thanks,

Victor.


Jason Weathersby escribió:
> Victor,
>
> Are you using a 1.4 or greater JVM?
> Also you may want to add
> config.getAppContext().put(EngineConstants.APPCONTEXT_CLASSL OADER_KEY,
> Whateveryourclassisnamed.class.getClassLoader());
> to your code.
>
> Jason
>
> Victor Hugo Garcia Yepes wrote:
>> Hi Jason,
>>
>> In WAS 6.1, I have an ear application, and from a JSF bean i create
>> the engine with the following code:
>>
>> EngineConfig config = new EngineConfig();
>>
>> String logLevel =
>> System.getProperty("aplicaltda.faces.birt.logLevel", "INFO");
>> Level level = Level.OFF;
>> if ("SEVERE".equalsIgnoreCase(logLevel))
>> {
>> level = Level.SEVERE;
>> } else if ("WARNING".equalsIgnoreCase(logLevel))
>> {
>> level = Level.WARNING;
>> } else if ("INFO".equalsIgnoreCase(logLevel))
>> {
>> level = Level.INFO;
>> } else if ("CONFIG".equalsIgnoreCase(logLevel))
>> {
>> level = Level.CONFIG;
>> } else if ("FINE".equalsIgnoreCase(logLevel))
>> {
>> level = Level.FINE;
>> } else if ("FINER".equalsIgnoreCase(logLevel))
>> {
>> level = Level.FINER;
>> } else if ("FINEST".equalsIgnoreCase(logLevel))
>> {
>> level = Level.FINEST;
>> } else if ("OFF".equalsIgnoreCase(logLevel))
>> {
>> level = Level.OFF;
>> }
>>
>> String logDir =
>> System.getProperty("aplicaltda.faces.birt.logDirectory", ".");
>> config.setLogConfig(logDir, level);
>>
>>
>> String home = System.getProperty("aplicaltda.faces.birt.home").trim();
>> config.setEngineHome(home);
>>
>> try
>> {
>> Platform.startup( config );
>> }
>> catch ( BirtException e )
>> {
>> e.printStackTrace( );
>> }
>>
>> IReportEngineFactory factory = (IReportEngineFactory) Platform
>> .createFactoryObject(
>> IReportEngineFactory.EXTENSION_REPORT_ENGINE_FACTORY );
>>
>> IReportEngine birtEngine = factory.createReportEngine( config );
>>
>>
>>
>> I Read the engine home and log dir from System properties i put when i
>> start the application.
>>
>> The report engine is not in the ear, but in fhe following path that is
>> what i put in the System properties:
>>
>> /QIBM/UserData/JarAplications/birt/birt-runtime-2_2_2/Report Engine/
>>
>> In my ear i have the jars of birt i need to make the previos call, but
>> no the plugins and configuration directories.
>>
>> The application is running in iSeries.
>>
>> When i run the application, I get a NullPointerException in the last
>> line of code i put here, and the stacktrace i put in the previous post
>> is from a log file in the
>> /QIBM/UserData/JarAplications/birt/birt-runtime-2_2_2/Report Engine/configuration
>> directory.
>>
>>
>> Thanks,
>>
>> Victor.
>>
>> Jason Weathersby escribió:
>>> Victor,
>>>
>>> Can you post more details on how you are calling it and what your
>>> setup is?
>>>
>>> Jason
>>>
>>> Victor Garcia wrote:
>>>> Hi,
>>>>
>>>> I'm trying to use birt 2.2.2 as a standalone application that i call
>>>> from a web application in websphere 6.1, and when i try to start the
>>>> platform i get the following message:
>>>>
>>>>
>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-06-10 11:30:39.063
>>>> !MESSAGE !STACK 0
>>>> org.osgi.framework.BundleException: Exception in
>>>> org.eclipse.update.internal.configurator.ConfigurationActiva tor.start()
>>>> of bundle org.eclipse.update.configurator.
>>>> at java.lang.Throwable.<init>(Throwable.java:196)
>>>> at java.lang.Exception.<init>(Exception.java:41)
>>>> at
>>>> org.osgi.framework.BundleException.<init>(BundleException.java:51)
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1018)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:350)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1118)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:634)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:508)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:282)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:468)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:195)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:297)
>>>>
>>>> Caused by: javax.xml.parsers.FactoryConfigurationError: Provider for
>>>> javax.xml.parsers.SAXParserFactory cannot be found
>>>> at java.lang.Throwable.<init>(Throwable.java:196)
>>>> at java.lang.Error.<init>(Error.java:49)
>>>> at javax.xml.parsers.FactoryConfigurationError.<init>(Unknown
>>>> Source)
>>>> at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
>>>> at
>>>> org.eclipse.update.internal.configurator.ConfigurationParser . <clinit>(ConfigurationParser.java:34)
>>>>
>>>> at
>>>> org.eclipse.update.internal.configurator.PlatformConfigurati on.loadConfig(PlatformConfiguration.java:1063)
>>>>
>>>> at
>>>> org.eclipse.update.internal.configurator.PlatformConfigurati on.initializeCurrent(PlatformConfiguration.java:736)
>>>>
>>>> at
>>>> org.eclipse.update.internal.configurator.PlatformConfigurati on. <init>(PlatformConfiguration.java:103)
>>>>
>>>> at
>>>> org.eclipse.update.internal.configurator.PlatformConfigurati on.startup(PlatformConfiguration.java:690)
>>>>
>>>> at
>>>> org.eclipse.update.internal.configurator.ConfigurationActiva tor.getPlatformConfiguration(ConfigurationActivator.java:382 )
>>>>
>>>> at
>>>> org.eclipse.update.internal.configurator.ConfigurationActiva tor.initialize(ConfigurationActivator.java:111)
>>>>
>>>> at
>>>> org.eclipse.update.internal.configurator.ConfigurationActiva tor.start(ConfigurationActivator.java:69)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
>>>>
>>>> ... 10 more
>>>> Root exception:
>>>> javax.xml.parsers.FactoryConfigurationError: Provider for
>>>> javax.xml.parsers.SAXParserFactory cannot be found
>>>> at java.lang.Throwable.<init>(Throwable.java:196)
>>>> at java.lang.Error.<init>(Error.java:49)
>>>> at javax.xml.parsers.FactoryConfigurationError.<init>(Unknown
>>>> Source)
>>>> at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
>>>> at
>>>> org.eclipse.update.internal.configurator.ConfigurationParser . <clinit>(ConfigurationParser.java:34)
>>>>
>>>> at
>>>> org.eclipse.update.internal.configurator.PlatformConfigurati on.loadConfig(PlatformConfiguration.java:1063)
>>>>
>>>> at
>>>> org.eclipse.update.internal.configurator.PlatformConfigurati on.initializeCurrent(PlatformConfiguration.java:736)
>>>>
>>>> at
>>>> org.eclipse.update.internal.configurator.PlatformConfigurati on. <init>(PlatformConfiguration.java:103)
>>>>
>>>> at
>>>> org.eclipse.update.internal.configurator.PlatformConfigurati on.startup(PlatformConfiguration.java:690)
>>>>
>>>> at
>>>> org.eclipse.update.internal.configurator.ConfigurationActiva tor.getPlatformConfiguration(ConfigurationActivator.java:382 )
>>>>
>>>> at
>>>> org.eclipse.update.internal.configurator.ConfigurationActiva tor.initialize(ConfigurationActivator.java:111)
>>>>
>>>> at
>>>> org.eclipse.update.internal.configurator.ConfigurationActiva tor.start(ConfigurationActivator.java:69)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:350)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1118)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:634)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:508)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:282)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:468)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:195)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:297)
>>>>
>>>>
>>>>
>>>> Thanks for your help,
>>>>
>>>> Victor
>>>>
>>>>
Re: Provider for javax.xml.parsers.SAXParserFactory cannot be found [message #363399 is a reply to message #363395] Fri, 20 June 2008 16:24 Go to previous message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Victor,

Can you log a bug for this? Are the permissions different on the iSeries?

Jason

Victor Hugo Garcia Yepes wrote:
> Hi Jason,
>
> We are using 1.5 JVM.
>
> We put the line with the class loader in the code, but it didn't work.
> This setup we are using has always worked fine on Windows and Linux, but
> it doesn't work on iSeries.
>
> Thanks,
>
> Victor.
>
>
> Jason Weathersby escribió:
>> Victor,
>>
>> Are you using a 1.4 or greater JVM?
>> Also you may want to add
>> config.getAppContext().put(EngineConstants.APPCONTEXT_CLASSL OADER_KEY,
>> Whateveryourclassisnamed.class.getClassLoader());
>> to your code.
>>
>> Jason
>>
>> Victor Hugo Garcia Yepes wrote:
>>> Hi Jason,
>>>
>>> In WAS 6.1, I have an ear application, and from a JSF bean i create
>>> the engine with the following code:
>>>
>>> EngineConfig config = new EngineConfig();
>>>
>>> String logLevel =
>>> System.getProperty("aplicaltda.faces.birt.logLevel", "INFO");
>>> Level level = Level.OFF;
>>> if ("SEVERE".equalsIgnoreCase(logLevel))
>>> {
>>> level = Level.SEVERE;
>>> } else if ("WARNING".equalsIgnoreCase(logLevel))
>>> {
>>> level = Level.WARNING;
>>> } else if ("INFO".equalsIgnoreCase(logLevel))
>>> {
>>> level = Level.INFO;
>>> } else if ("CONFIG".equalsIgnoreCase(logLevel))
>>> {
>>> level = Level.CONFIG;
>>> } else if ("FINE".equalsIgnoreCase(logLevel))
>>> {
>>> level = Level.FINE;
>>> } else if ("FINER".equalsIgnoreCase(logLevel))
>>> {
>>> level = Level.FINER;
>>> } else if ("FINEST".equalsIgnoreCase(logLevel))
>>> {
>>> level = Level.FINEST;
>>> } else if ("OFF".equalsIgnoreCase(logLevel))
>>> {
>>> level = Level.OFF;
>>> }
>>>
>>> String logDir =
>>> System.getProperty("aplicaltda.faces.birt.logDirectory", ".");
>>> config.setLogConfig(logDir, level);
>>>
>>>
>>> String home = System.getProperty("aplicaltda.faces.birt.home").trim();
>>> config.setEngineHome(home);
>>>
>>> try
>>> {
>>> Platform.startup( config );
>>> }
>>> catch ( BirtException e )
>>> {
>>> e.printStackTrace( );
>>> }
>>>
>>> IReportEngineFactory factory = (IReportEngineFactory) Platform
>>> .createFactoryObject(
>>> IReportEngineFactory.EXTENSION_REPORT_ENGINE_FACTORY );
>>>
>>> IReportEngine birtEngine = factory.createReportEngine( config );
>>>
>>>
>>>
>>> I Read the engine home and log dir from System properties i put when
>>> i start the application.
>>>
>>> The report engine is not in the ear, but in fhe following path that
>>> is what i put in the System properties:
>>>
>>> /QIBM/UserData/JarAplications/birt/birt-runtime-2_2_2/Report Engine/
>>>
>>> In my ear i have the jars of birt i need to make the previos call,
>>> but no the plugins and configuration directories.
>>>
>>> The application is running in iSeries.
>>>
>>> When i run the application, I get a NullPointerException in the last
>>> line of code i put here, and the stacktrace i put in the previous
>>> post is from a log file in the
>>> /QIBM/UserData/JarAplications/birt/birt-runtime-2_2_2/Report Engine/configuration
>>> directory.
>>>
>>>
>>> Thanks,
>>>
>>> Victor.
>>>
>>> Jason Weathersby escribió:
>>>> Victor,
>>>>
>>>> Can you post more details on how you are calling it and what your
>>>> setup is?
>>>>
>>>> Jason
>>>>
>>>> Victor Garcia wrote:
>>>>> Hi,
>>>>>
>>>>> I'm trying to use birt 2.2.2 as a standalone application that i
>>>>> call from a web application in websphere 6.1, and when i try to
>>>>> start the platform i get the following message:
>>>>>
>>>>>
>>>>> !ENTRY org.eclipse.update.configurator 4 0 2008-06-10 11:30:39.063
>>>>> !MESSAGE !STACK 0
>>>>> org.osgi.framework.BundleException: Exception in
>>>>> org.eclipse.update.internal.configurator.ConfigurationActiva tor.start()
>>>>> of bundle org.eclipse.update.configurator.
>>>>> at java.lang.Throwable.<init>(Throwable.java:196)
>>>>> at java.lang.Exception.<init>(Exception.java:41)
>>>>> at
>>>>> org.osgi.framework.BundleException.<init>(BundleException.java:51)
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1018)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:350)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1118)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:634)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:508)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:282)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:468)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:195)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:297)
>>>>>
>>>>> Caused by: javax.xml.parsers.FactoryConfigurationError: Provider
>>>>> for javax.xml.parsers.SAXParserFactory cannot be found
>>>>> at java.lang.Throwable.<init>(Throwable.java:196)
>>>>> at java.lang.Error.<init>(Error.java:49)
>>>>> at javax.xml.parsers.FactoryConfigurationError.<init>(Unknown
>>>>> Source)
>>>>> at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
>>>>> at
>>>>> org.eclipse.update.internal.configurator.ConfigurationParser . <clinit>(ConfigurationParser.java:34)
>>>>>
>>>>> at
>>>>> org.eclipse.update.internal.configurator.PlatformConfigurati on.loadConfig(PlatformConfiguration.java:1063)
>>>>>
>>>>> at
>>>>> org.eclipse.update.internal.configurator.PlatformConfigurati on.initializeCurrent(PlatformConfiguration.java:736)
>>>>>
>>>>> at
>>>>> org.eclipse.update.internal.configurator.PlatformConfigurati on. <init>(PlatformConfiguration.java:103)
>>>>>
>>>>> at
>>>>> org.eclipse.update.internal.configurator.PlatformConfigurati on.startup(PlatformConfiguration.java:690)
>>>>>
>>>>> at
>>>>> org.eclipse.update.internal.configurator.ConfigurationActiva tor.getPlatformConfiguration(ConfigurationActivator.java:382 )
>>>>>
>>>>> at
>>>>> org.eclipse.update.internal.configurator.ConfigurationActiva tor.initialize(ConfigurationActivator.java:111)
>>>>>
>>>>> at
>>>>> org.eclipse.update.internal.configurator.ConfigurationActiva tor.start(ConfigurationActivator.java:69)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
>>>>>
>>>>> ... 10 more
>>>>> Root exception:
>>>>> javax.xml.parsers.FactoryConfigurationError: Provider for
>>>>> javax.xml.parsers.SAXParserFactory cannot be found
>>>>> at java.lang.Throwable.<init>(Throwable.java:196)
>>>>> at java.lang.Error.<init>(Error.java:49)
>>>>> at javax.xml.parsers.FactoryConfigurationError.<init>(Unknown
>>>>> Source)
>>>>> at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
>>>>> at
>>>>> org.eclipse.update.internal.configurator.ConfigurationParser . <clinit>(ConfigurationParser.java:34)
>>>>>
>>>>> at
>>>>> org.eclipse.update.internal.configurator.PlatformConfigurati on.loadConfig(PlatformConfiguration.java:1063)
>>>>>
>>>>> at
>>>>> org.eclipse.update.internal.configurator.PlatformConfigurati on.initializeCurrent(PlatformConfiguration.java:736)
>>>>>
>>>>> at
>>>>> org.eclipse.update.internal.configurator.PlatformConfigurati on. <init>(PlatformConfiguration.java:103)
>>>>>
>>>>> at
>>>>> org.eclipse.update.internal.configurator.PlatformConfigurati on.startup(PlatformConfiguration.java:690)
>>>>>
>>>>> at
>>>>> org.eclipse.update.internal.configurator.ConfigurationActiva tor.getPlatformConfiguration(ConfigurationActivator.java:382 )
>>>>>
>>>>> at
>>>>> org.eclipse.update.internal.configurator.ConfigurationActiva tor.initialize(ConfigurationActivator.java:111)
>>>>>
>>>>> at
>>>>> org.eclipse.update.internal.configurator.ConfigurationActiva tor.start(ConfigurationActivator.java:69)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:350)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1118)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:634)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:508)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:282)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:468)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:195)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:297)
>>>>>
>>>>>
>>>>>
>>>>> Thanks for your help,
>>>>>
>>>>> Victor
>>>>>
>>>>>
Previous Topic:export options xls , csv, tsv, xml ,html
Next Topic:Release Build: 2.2.2 - ALLINONE ? BIRT Plugins not visible in perspective
Goto Forum:
  


Current Time: Fri Apr 26 00:13:07 GMT 2024

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

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

Back to the top