cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAXParserFactory argument missing

deborah_tolley2
Explorer
0 Likes
886

In my Alert Summary, under System Alerts, being notified that my APS.DF is triggering an alert because:

APS with a DSLBridge service is missing the command line argument "-Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl"

But, the APS.DF doesn't contain the DSLBridge service, it only contains Data Federation Service and TraceLog Service.

The DSL Bridge Service is under the APS.WebIDSLBridge and the referenced argument is included in the command line for that server.

So, wondering what is triggering this message?  Is a DSLBridge service covertly bundled into the DF Service?

Platform Support Tool version 2.0.3

BI 4.2 SP02

View Entire Topic
joshua_kuhn
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Deborah,

Sorry for the delay.  I was able to look into the code for the system alert and everything is analyzed correctly.  The problem is actually in the alert message.  That system alert looks for the command line: "-Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl", and does so for the Data Federation service... not the DSL Bridge service.  If the cmdline is missing for any server that has a DF service, it'll trigger the alert.  In your case, the alert is valid, just incorrectly worded.

I'm checking in a fix now for this under BITBITOOL-899 and it'll be included in patch 4.

Regards,

Joshua

0 Likes

Hi Joshua,

note 2288971 only refers to the DSL Bridge service, not the DF service

are there two checks , one for DF and one for DSL ?

This alert triggers if any APS with a Data Federation service is missing the command line argument "-Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl".

Please refer to the SAP Note 2288971

Regards,

Thierry

Toby_Johnston1
Product and Topic Expert
Product and Topic Expert
0 Likes

.....

JohnClark
Contributor
0 Likes

Is there a way to be notified when the KB Article is updated?  I don't see a following option when looking at it.  It looks like we will need to make this change also and it would be nice to have a copy of the corrected KB article available for proper reference.

Toby_Johnston1
Product and Topic Expert
Product and Topic Expert
0 Likes

Hey John,

This should be fixed today I'll post back asap and update you on this.

Thanks

Toby

Toby_Johnston1
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Thierry,

Ok, I've confirmed that the KB Article is correct.  This switch:

"-Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl"


is required only for APS running the DSL Bridge and not required for APS running the Data Federation service.

However, it shouldn't cause a problem if you added the switch to Data Federator APS, you can remove it again (if there is no DSL Bridge also on this APS). 

Thanks for your patience and for pointing this out.

This alert will be corrected again in the next patch (Patch 5)

Regards
Toby

Toby_Johnston1
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Thierry,

Ok, I've confirmed that the KB Article is correct.  This switch:

"-Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl"


is required only for APS running the DSL Bridge and not required for APS running the Data Federation service.

However, it shouldn't cause a problem if you added the switch to Data Federator APS, you can remove it again (if there is no DSL Bridge also on this APS). 

Thanks for your patience and for pointing this out.

This alert will be corrected again in the next patch (Patch 5)

Regards
Toby

joshua_kuhn
Product and Topic Expert
Product and Topic Expert
0 Likes

Sorry everyone for the confusion.  Internally we've gone back and forth a few times on the Alert, each time adjusting it to match the Kbase.  As Toby said, the DSLBridge service is the one that SHOULD have this cmdline argument and I've just adjusted the code to match.

The change has been checked in under Jira#  BITBITOOL-967

Regards,

Josh