Tuesday, 2 October 2018

report server for weblogic 11g

Can not build schema 'http://xmlns.oracle.com/reports/network' located at 'file:$$Instance.oracle_home$$/reports/dtd/rwnetworkconf.xsd'
http://10.11.1.xx:9002/reports/rwservlet/showjobs?

error: REP-50125: An internal exception occurred: oracle.xml.parser.v2.XMLParseException: Can not build schema
'http://xmlns.oracle.com/reports/network' located at 'file:$$Instance.oracle_home$$/reports/dtd/rwnetworkconf.xsd'

CAUSE
rwnetwork.conf and rwsever.conf after upgrade were referencing $$Instance.oracle_home$$ instead of the real
INSTANCE_HOME value.

SOLUTION

DOMAIN_HOME/config/fmwconfig/servers/WLS_REPORTS/applications/reports_11.1.1.2.0/configuration/rwnetwork.conf
DOMAIN_HOME/config/fmwconfig/servers/WLS_REPORTS/applications/reports_11.1.1.2.0/configuration/rwserver.conf

app

/u01/oracle/middleware/user_projects/domains/ClassicDomain/config/fmwconfig/servers/WLS_REPORTS/applications/reports_11.1.1.2.0/configuration/rwnetwork.conf

Example
DOMAIN_HOME/config/fmwconfig/servers/WLS_REPORTS/applications/reports_11.1.2/configuration
2- Edit DOMAIN_HOME/config/fmwconfig/servers/WLS_REPORTS/applications/reports_11.1.1.2.0/configuration/rwnetwork.conf
and change


FROM
xsi:schemaLocation="http://xmlns.oracle.com/reports/networkfile:$$Instance.oracle_home$$/reports/dtd/rwnetworkconf.xsd"
TO
xsi:schemaLocation="http://xmlns.oracle.com/reports/networkfile:/usr/local/oracle/Middleware/reports_11g/reports/dtd/rwnetworkconf.xsd"


app
/u01/oracle/middleware/Oracle_FRHome1/reports/dtd/rwnetworkconf.xsd

3- Save file
4- Edit DOMAIN_HOME/config/fmwconfig/servers/WLS_REPORTS/applications/reports_11.1.1.2.0/configuration/rwserver.conf
and change


FROM
<server
xmlns="http://xmlns.oracle.com/reports/server"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.oracle.com/reports/serverfile:$$Instance.oracle_home$$/reports/dtd/rwserverconf.xsd"
version="11.1.1.2.0">
TO
<server
xmlns="http://xmlns.oracle.com/reports/server"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.oracle.com/reports/serverfile:/usr/local/oracle/Middleware/reports_11g/reports
/dtd/rwserverconf.xsd"
version="11.1.1.2.0">


5- Save file
6- Re-start WLS_REPORTS and re-test.

No comments:

Post a Comment