Call to RWSERVLET Fails with "Error 500--Internal Server Error" for New Instance (Doc ID 1053674.1)

Last updated on APRIL 27, 2017

Applies to:

Oracle Reports Developer - Version 11.1 to 11.1.1.4.0 [Release 11g]
Information in this document applies to any platform.
***Checked for relevance on 18-DEC-2014***

Symptoms

 

This is a new installation of Reports 11g (11.1.1.1.0 or 11.1.1.2.0).

When attempting to run reports or access Servlet Command Help page, the following error is shown in browser window:

Error 500--Internal Server Error
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.5.1 500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.


You encounter this error when trying to run any report (even test.rdf) or when trying to run:

http://<hostname>:<port>/reports/rwservlet
http://<hostname>:<port>/reports/rwservlet/showjobs


However, Forms works fine when trying:

http://<hostname>:<port>/forms/frmservlet


The WLS_REPORTS.log may show the following errors:

 ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1263932708107> <BEA-101020> <[ServletContext@29447462[app:reports module:/reports path:/reports spec-version:2.5 version:11.1.1.2.0]] Servlet failed with Exception
java.lang.NullPointerException
at oracle.reports.rwclient.RWClient.doGet(RWClient.java:344)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)


The WLS_REPORTS-diagnostic.log may show something like:


[2009-11-25T14:18:04.866-05:00] [WLS_REPORTS] [WARNING] [NOT-0022] [oracle.as.config.notification.filesystem.WatchingDocumentChangeNotifier] [tid: JMX Framework document pooling thread] [userId: <WLS Kernel>] [ecid: 0000IKglqp06qIYFLrePOA1B2eGu000001,0] Exception during change of a document.[[
oracle.as.config.persistence.exceptions.ConfigException: A JAXB error occurred during unmarshalling.
at oracle.as.config.persistence.jaxb.JAXBXmlPersistenceManagerImpl.load(JAXBXmlPersistenceManagerImpl.java:200)at oracle.as.jmx.framework.util.DefaultConfigObjectMBeanAssociationInfo.loadConfigObject(DefaultConfigObjectMBeanAssociationInfo.java:665)
at oracle.as.jmx.framework.util.DocumentChangeListenerSupport.documentChanged(DocumentChangeListenerSupport.java:146)
at oracle.as.config.notification.filesystem.WatchingDocumentChangeNotifier$DocumentChangeListenerWrapper.documentChanged(WatchingDocumentChangeNotifier.java:479)
at oracle.as.config.notification.filesystem.WatchingDocumentChangeNotifier.checkUsingListeners(WatchingDocumentChangeNotifier.java:195)
at oracle.as.config.notification.filesystem.WatchingDocumentChangeNotifier.checkFiles(WatchingDocumentChangeNotifier.java:127)
at oracle.as.config.notification.filesystem.WatchingDocumentChangeNotifier$1.run(WatchingDocumentChangeNotifier.java:136)
at oracle.as.config.notification.filesystem.WatchingDocumentChangeNotifier.internalCheckFiles(WatchingDocumentChangeNotifier.java:133)
at oracle.as.config.notification.filesystem.WatchingDocumentChangeNotifier.run(WatchingDocumentChangeNotifier.java:116)
at java.lang.Thread.run(Thread.java:619)

Caused by: javax.xml.bind.UnmarshalException
- with linked exception:
[org.xml.sax.SAXParseException: Element type "property" must be followed by either attribute specifications, ">" or "/>".]

Changes

This is a new installation and/or upgrade (e.g. from 11.1.1.3 to 11.1.1.4).

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms