Fault on SOAP calls if no Content-Type - weblogic.developer.interest.webservices.general(Archived)

If sending a valid SOAP request with no Content-Type header to an EJB 3 JAX-WS endpoint, we get the following stacktrace. This is an urgent critical fault, is there any work around - any way to set a "default" content type for example?
<18-Mar-2008 12:37:58 o'clock GMT> <Error> <HTTP> <BEA-101017> <[weblogic.servlet.internal.WebAppServletContext#15e64f6 - appName: '_appsdir_cpcer-mockexternalservices-ear-1.1.9.1_ear', name: '/Module3And4TarsEndpointImpl', context-path: '/
Module3And4TarsEndpointImpl'] Root cause of ServletException.
javax.servlet.ServletException
at weblogic.wsee.jaxws.HttpServletAdapter.post(HttpServletAdapter.java:39)
at weblogic.wsee.jaxws.JAXWSServlet.doPost(JAXWSServlet.java:218)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
Truncated. see log file for complete stacktrace
java.lang.NullPointerException
at com.sun.xml.ws.encoding.SOAPBindingCodec.compareStrings(SOAPBindingCodec.java:261)
at com.sun.xml.ws.encoding.SOAPBindingCodec.isMultipartRelated(SOAPBindingCodec.java:245)
at com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:178)
at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:151)
at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:235)
Truncated. see log file for complete stacktrace

Related

After upgrade of Weblogic 8.1 to 9.2 web application fails to function

Hi,
After spending days and days together to get the upgrade to complete and finally build the web application, when i now try to run the web application, the admin (note i am runing under weblogic workshop domain) server gives the following warnings when starting up and the application throws a lot of exceptions related to netui pageflows. Kindly help.
<Jul 2, 2010 1:40:02 PM PDT> <Error> <WSRP-Consumer> <BEA-420731> <Exception [java.security.PrivilegedActionException: com.bea.wsrp.consumer.managemen
t.portlet.ProxyPortletManagerException: java.lang.ClassCastException: com.bea.wsrp.services.persistence.internal.ProxyPortletPersistenceManagerImpl_fx
ifd8_LocalHomeImpl] thrown while trying to do task [handleTimerNotification] in class [com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveList
ener].
java.security.PrivilegedActionException: com.bea.wsrp.consumer.management.portlet.ProxyPortletManagerException: java.lang.ClassCastException: com.bea.
wsrp.services.persistence.internal.ProxyPortletPersistenceManagerImpl_fxifd8_LocalHomeImpl
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:373)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener.handleNotification(ProxyPortletRemoveListener.java:197)
at javax.management.NotificationBroadcasterSupport.handleNotification(NotificationBroadcasterSupport.java:221)
at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:184)
Truncated. see log file for complete stacktrace
com.bea.wsrp.consumer.management.portlet.ProxyPortletManagerException: java.lang.ClassCastException: com.bea.wsrp.services.persistence.internal.ProxyP
ortletPersistenceManagerImpl_fxifd8_LocalHomeImpl
at com.bea.wsrp.consumer.management.ProxyPortletManagerImpl.getRemovableProxyPortlets(ProxyPortletManagerImpl.java:485)
at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener$ProxyPortletRemover.run(ProxyPortletRemoveListener.java:330)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener.handleNotification(ProxyPortletRemoveListener.java:197)
Truncated. see log file for complete stacktrace
java.lang.ClassCastException: com.bea.wsrp.services.persistence.internal.ProxyPortletPersistenceManagerImpl_fxifd8_LocalHomeImpl
at com.bea.wsrp.consumer.management.AbstractAdapter.getLocalPPPM(AbstractAdapter.java:313)
at com.bea.wsrp.consumer.management.AbstractAdapter.getProxyPortletPersistenceManager(AbstractAdapter.java:293)
at com.bea.wsrp.consumer.management.ProxyPortletManagerImpl.getRemovableProxyPortlets(ProxyPortletManagerImpl.java:483)
at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener$ProxyPortletRemover.run(ProxyPortletRemoveListener.java:330)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
Truncated. see log file for complete stacktrace
<Jul 2, 2010 1:40:04 PM PDT> <Error> <netuix> <BEA-423147> <Exception [java.lang.ClassCastException: Cannot narrow remote object com.bea.netuix.applic
ation.manager.persistence.jdbc.PortalPresentationManager_4ekhk0_HomeImpl#11ef9a9 to com.bea.netuix.application.manager.persistence.PortalPresentationM
anagerHome] thrown while trying to do task [initPortalPresentationManager] in class [com.bea.netuix.servlets.manager.PortalServlet].
java.lang.ClassCastException: Cannot narrow remote object com.bea.netuix.application.manager.persistence.jdbc.PortalPresentationManager_4ekhk0_HomeImp
l#11ef9a9 to com.bea.netuix.application.manager.persistence.PortalPresentationManagerHome
at weblogic.corba.server.naming.ReferenceHelperImpl.narrow(ReferenceHelperImpl.java:206)
at weblogic.rmi.extensions.PortableRemoteObject.narrow(PortableRemoteObject.java:88)
at weblogic.iiop.PortableRemoteObjectDelegateImpl.narrow(PortableRemoteObjectDelegateImpl.java:32)
at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
at com.bea.netuix.servlets.manager.PortalServlet.initPortalPresentationManager(PortalServlet.java:418)
Truncated. see log file for complete stacktrace
<Jul 2, 2010 1:40:04 PM PDT> <Error> <netuix> <BEA-423393> <An exception was thrown while running PortalServlet.init: [ javax.servlet.ServletException
: Cannot narrow remote object com.bea.netuix.application.manager.persistence.jdbc.PortalPresentationManager_4ekhk0_HomeImpl#11ef9a9 to com.bea.netuix.
application.manager.persistence.PortalPresentationManagerHome ].
javax.servlet.ServletException: Cannot narrow remote object com.bea.netuix.application.manager.persistence.jdbc.PortalPresentationManager_4ekhk0_HomeI
mpl#11ef9a9 to com.bea.netuix.application.manager.persistence.PortalPresentationManagerHome
at com.bea.netuix.util.ThrowServletException.throwServletException(ThrowServletException.java:28)
at com.bea.netuix.servlets.manager.PortalServlet.initPortalPresentationManager(PortalServlet.java:430)
at com.bea.netuix.servlets.manager.PortalServlet.initCommon(PortalServlet.java:378)
at com.bea.netuix.servlets.manager.PortalServlet.reinitInternal(PortalServlet.java:234)
at com.bea.netuix.servlets.manager.PortalServlet.initInternal(PortalServlet.java:225)
Truncated. see log file for complete stacktrace
java.lang.ClassCastException: Cannot narrow remote object com.bea.netuix.application.manager.persistence.jdbc.PortalPresentationManager_4ekhk0_HomeImp
l#11ef9a9 to com.bea.netuix.application.manager.persistence.PortalPresentationManagerHome
at weblogic.corba.server.naming.ReferenceHelperImpl.narrow(ReferenceHelperImpl.java:206)
at weblogic.rmi.extensions.PortableRemoteObject.narrow(PortableRemoteObject.java:88)
at weblogic.iiop.PortableRemoteObjectDelegateImpl.narrow(PortableRemoteObjectDelegateImpl.java:32)
at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
at com.bea.netuix.servlets.manager.PortalServlet.initPortalPresentationManager(PortalServlet.java:418)
Truncated. see log file for complete stacktrace

weblogic9.2+dll

Hi,
I have an Enterprise application running fine on weblogic6.1, now I am trying to deploy it in weblogic 9.2.
This application uses third party dll(like one used to make login validation). I have placed dll files under “E:\bea\weblogic92\server\bin”.
When I start weblogic server and go to my application after logging to my application I am getting following error
----------------------------------------------------------
Procedure query1 {call prLoginStatusCheck('J500102')}
<Oct 6, 2006 3:58:56 PM GMT+05:30> <Error> <HTTP> <BEA-101017> <[weblogic.servlet.internal.WebAppServletContext#11d00cf - appName: 'mvrappnew', name: 'mvrappnew', context-path: '/mvrappnew'] Root cause of
ServletException.
java.lang.NoSuchMethodError: setShared
at com.adr.WebBlackBox.setCommDllPath(Native Method)
at com.adr.DllValidation.validateUser(Unknown Source)
at com.webmvr.mods.login.web.cLoginWebController.validate(Unknown Source)
at com.webmvr.mods.login.web.cLoginWebController.validateUser(Unknown Source)
at com.webmvr.control.web.cRequestProcessor.processRequest(Unknown Source)
Truncated. see log file for complete stacktrace
Please anybody help me in fixing this problem.
After this error the application goes to error page.
Regards,
kamath
kamath

"Internal server error" accesing to console (WL9.2 under Fedora FC7)

Hi,
     I've just installed Bea Weblogic 9.2 MP1 under Fedora Linux FC7. I've launched the samples domain servers from quickstart.sh. They start OK, and also I can go to login page (http://localhost:7001/console), but when I type the user/password (weblogic/weblogic) an "internal server error" raises and the console shows the error bellow. Why? Why the class servlet/login/images/button_disabled_bg.gif is not found? Why says CLASS not found Servlet/login/images/button_disabled_bg.gif when it is a IMAGE?
PD: I also try to create new server domains using config.sh and they are created OK, however when I login the same error raises.
Responses will be appreciated.
Thanks in advance.
     Juan 
Ups I forgot attach the console message. Here it is:
-----------------------
<21-jun-2007 17H45' CEST> <Notice> <WebLogicServer> <BEA-000360>
<Server started in RUNNING mode>
<21-jun-2007 17H46' CEST> <Error> <HTTP> <BEA-101249>
<[weblogic.servlet.internal.WebAppServletContext#1f530d8 - appName:
'consoleapp', name: 'console', context-path: '/console']: Servlet
class jsp_servlet._login._images.__button_disabled_bg_gif for servlet
/login/images/button_disabled_bg.gif could not be loaded because the
requested class was not found in the classpath
/root/bea/weblogic92/server/lib/consoleapp/webapp/WEB-INF/classes:/root/bea/weblogic92/server/lib/consoleapp/webapp/WEB-INF/lib/console.jar:/root/bea/weblogic92/server/lib/consoleapp/webapp/WEB-INF/lib/beehive-netui-core.jar:/root/bea/weblogic92/server/lib/consoleapp/webapp/WEB-INF/lib/render_taglib.jar:/root/bea/weblogic92/server/lib/consoleapp/webapp/WEB-INF/lib/standard.jar:/root/bea/weblogic92/server/lib/consoleapp/webapp/WEB-INF/lib/beehive-netui-tags.jar:/root/bea/weblogic92/server/lib/consoleapp/webapp/WEB-INF/lib/struts-adapter.jar:/root/bea/weblogic92/server/lib/consoleapp/webapp/WEB-INF/lib/struts.jar:/root/bea/weblogic92/server/lib/consoleapp/webapp/WEB-INF/lib/commons-beanutils.jar:/root/bea/weblogic92/server/lib/consoleapp/webapp/WEB-INF/lib/commons-collections.jar:/root/bea/weblogic92/server/lib/consoleapp/webapp/WEB-INF/lib/commons-digester.jar:/root/bea/weblogic92/server/lib/consoleapp/webapp/WEB-INF/lib/commons-fileupload.jar:/root/bea/weblogic92/server/lib/consoleapp/webapp/WEB-INF/lib/commons-logging.jar:/root/bea/weblogic92/server/lib/consoleapp/webapp/WEB-INF/lib/commons-validator.jar:/root/bea/weblogic92/server/lib/consoleapp/webapp/WEB-INF/lib/jakarta-oro.jar:/root/bea/weblogic92/server/lib/consoleapp/webapp/WEB-INF/lib/netui-adapter.jar:/root/bea/weblogic92/server/lib/consoleapp/webapp/WEB-INF/lib/l10n_taglib.jar:/root/bea/weblogic92/server/lib/consoleapp/webapp/WEB-INF/lib/client_taglib.jar:/root/bea/weblogic92/server/lib/consoleapp/webapp/WEB-INF/lib/netuix_servlet.jar:/root/bea/weblogic92/server/lib/consoleapp/webapp/WEB-INF/lib/beehive-controls.jar:/root/bea/weblogic92/server/lib/consoleapp/webapp/WEB-INF/lib/netuix_common_web.jar:/root/bea/weblogic92/server/lib/consoleapp/webapp/WEB-INF/lib/prefs-spi.jar.
java.lang.ClassNotFoundException:
jsp_servlet._login._images.__button_disabled_bg_gif.>
<21-jun-2007 17H46' CEST> <Error> <HTTP> <BEA-101017>
<[weblogic.servlet.internal.WebAppServletContext#1f530d8 - appName:
'consoleapp', name: 'console', context-path: '/console'] Root cause of
ServletException.
javax.servlet.ServletException:
[HTTP:101249][weblogic.servlet.internal.WebAppServletContext#1f530d8 -
appName: 'consoleapp', name: 'console', context-path: '/console']:
Servlet class jsp_servlet._login._images.__button_disabled_bg_gif for
servlet /login/images/button_disabled_bg.gif could not be loaded
because the requested class was not found in the classpath .
java.lang.ClassNotFoundException:
jsp_servlet._login._images.__button_disabled_bg_gif.
        at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:516)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:235)
        at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:391)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:309)
        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
        Truncated. see log file for complete stacktraceNOTE: There are at least 10 more gif files that says classNotFoundException. 
SOLVED!
The error was caused because of I was ussing the Konqueror web explorer and it is not supported by WL console. I use the firefox instead, and it works.
The exception that raises on the console deceive me in the way that I thought the problem was on server side not in client side.

Portal Registration Issue after Weblogic 10.0 to 10.3 upgradation

The Poratal Adminitration console throws this error upon logging in.
<Aug 12, 2009 3:25:16 PM GMT+05:30> <Error> <netuix> <BEA-423143> <A javax.servlet.ServletException occurred while rendering JSP /framework/skeletons/wlp-tools/main_menu.jsp, for control com.bea.netuix.servlets.controls.page.SingleLevelMenu indicating the exception most likely originated in the JSP page. The error was: javax.servlet.ServletException: java.lang.NoSuchFieldError: deferredExpression The underlying cause was: java.lang.NoSuchFieldError: deferredExpression
java.lang.NoSuchFieldError: deferredExpression
at org.apache.taglibs.standard.tag.common.core.ForEachSupport.release(ForEachSupport.java:196)
at jsp_servlet._util.__defaulttoolsmenutag._jsp__tag3(__defaulttoolsmenutag.java:332)
at jsp_servlet._util.__defaulttoolsmenutag._jspService(__defaulttoolsmenutag.java:244)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:35)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
Truncated. see log file for complete stacktrace
>
<Aug 12, 2009 3:25:16 PM GMT+05:30> <Error> <netuix> <BEA-423405> <An exception [java.lang.NoSuchFieldError: deferredExpression] was thrown while rendering the content at [home_xmlhttp.jsp].
javax.servlet.ServletException: java.lang.NoSuchFieldError: deferredExpression
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:333)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
Truncated. see log file for complete stacktrace
java.lang.NoSuchFieldError: deferredExpression
at org.apache.taglibs.standard.tag.common.core.ForEachSupport.release(ForEachSupport.java:196)
at jsp_servlet.__home_xmlhttp._releaseTags(__home_xmlhttp.java:23)
at jsp_servlet.__home_xmlhttp._jspService(__home_xmlhttp.java:619)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
Truncated. see log file for complete stacktrace
Please suggest on what could have gone wrong.
P.S : I have created a sample application and have checked for the libraries to be deployed for the portal.All the libraries mentioned in the weblogic-application.xml of the sample application is present in the upgraded application and deployed in the server properly.
Edited by: user8719709 on Aug 18, 2009 6:15 AM 
If you are still experiencing this problem .... You most likely have the jstl.jar and jstl-impl*.jar files included in your classpath. Try to remove those jar files from your domain server lib directory (e.g. <yourWeblogicPath>/samples/domains/wl_server/lib ) 
I've not upgraded to 10.3. But I see this error every time I try to access Admin console for any Portal application deployed.
Please note that
1) I don't even get a chance to log in. The Login page itself is not getting rendered
2) I checked that I don't have jstl.jar in my server lib. Is more information about the jstl issue available anywhere?
Error:
<AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1255717436591> <BEA-423142> <The control com.bea.netuix.servlets.controls.page.SingleLevelMenu could not be rendered properly due to the following error:
com.bea.p13n.entitlements.common.PolicyMgmtAccessException: Attempt to access Entitlement Policy Mgmt API by user in invalid role. Entitlement Policy operation attempted by disallowed user ["principals=[]"].
     at com.bea.p13n.entitlements.management.internal.SecurityHelper.isWLPAdminRole(SecurityHelper.java:937)
     at com.bea.p13n.entitlements.management.internal.RolePolicyDelegate.roleExists(RolePolicyDelegate.java:346)

weblogic portal server 10.3.2 supports jsf-portlets using icefaces librarie

Hi,
I have created the project when i run on the server it is working fine.But when i run the .portal file and i have included the instance of the .portlet file in the portal page. When i run .portal file on the server it will throw the below exception.
<Warning> <netuix> <BEA-423319> <A default JSP response character encoding was not found for webapp [Portal]. Defaulting to [UTF-8]. You can override this default response character encoding for all portals in netuix-config.xml or for each portal or desktop in each portal or desktop definition.>
12, 2010 9:57:05 AM com.sun.faces.lifecycle.Phase doPhase
SEVERE: JSF1054: (Phase ID: RENDER_RESPONSE 6, View ID: /login.jspx) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl#18fddac]
<Error> <netuix> <BEA-423405> <An exception [java.lang.NullPointerException] was thrown while rendering the content at [login.jspx].
javax.faces.FacesException: java.lang.NullPointerException
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:128)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at com.bea.portlet.adapter.faces.FacesContentStubImpl.render(FacesContentStubImpl.java:354)
at com.bea.netuix.servlets.controls.content.FacesContent.beginRender(FacesContent.java:424)
at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:485)
Truncated. see log file for complete stacktrace
Caused By: java.lang.NullPointerException
at com.sun.faces.renderkit.RenderKitImpl.createResponseWriter(RenderKitImpl.java:188)
at com.icesoft.faces.renderkit.D2DRenderKit.createResponseWriter(D2DRenderKit.java:87)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:194)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
at org.apache.myfaces.portlet.faces.application.PortletViewHandlerImpl.renderView(PortletViewHandlerImpl.java:257)
Truncated. see log file for complete stacktrace
>
<Error> <netuix> <BEA-423137> <There was an error loading the requested URI /login.jspx.>
Thanks in advance.

Categories

Resources