You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Daniel Northam (JIRA)" <ji...@apache.org> on 2010/01/11 23:46:43 UTC
[jira] Created: (WW-3373) Weblogic 11g throwing
java.lang.NullPointerException
Weblogic 11g throwing java.lang.NullPointerException
----------------------------------------------------
Key: WW-3373
URL: https://issues.apache.org/struts/browse/WW-3373
Project: Struts 2
Issue Type: Bug
Components: Dispatch Filter
Affects Versions: 2.1.8
Environment: Weblogic 11g, running on RHEL 5.3 x86. JVM = jrockit_160_14_R27.6.5-32
Reporter: Daniel Northam
WAR file works with TOMCAT 6. When I deploy to WEBLOGIC 11g the following NPE is given. Been searching Google and struts issues, but have not been able to find a solution. My knowledge of Java is next to none.
Can Someone point me into the right direction?
'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1263248899938> <BEA-101020> <[ServletContext@25367851[app:www module:XXX.war path:/XXX spec-version:2.5]] Servlet failed with Exception
java.lang.NullPointerException
at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:645)
at org.apache.struts2.dispatcher.Dispatcher.sendError(Dispatcher.java:725)
at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:488)
at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:467)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
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)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WW-3373) Weblogic 11g throwing
java.lang.NullPointerException
Posted by "Lukasz Lenart (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-3373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47230#action_47230 ]
Lukasz Lenart commented on WW-3373:
-----------------------------------
Do you have spaces in path to war file like below?
/opt/weblogic /server/webapp
Regards
--
Lukasz
> Weblogic 11g throwing java.lang.NullPointerException
> ----------------------------------------------------
>
> Key: WW-3373
> URL: https://issues.apache.org/struts/browse/WW-3373
> Project: Struts 2
> Issue Type: Bug
> Components: Dispatch Filter
> Affects Versions: 2.1.8
> Environment: Weblogic 11g, running on RHEL 5.3 x86. JVM = jrockit_160_14_R27.6.5-32
> Reporter: Daniel
>
> WAR file works with TOMCAT 6. When I deploy to WEBLOGIC 11g the following NPE is given. Been searching Google and struts issues, but have not been able to find a solution. My knowledge of Java is next to none.
> Can Someone point me into the right direction?
> 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1263248899938> <BEA-101020> <[ServletContext@25367851[app:www module:XXX.war path:/XXX spec-version:2.5]] Servlet failed with Exception
> java.lang.NullPointerException
> at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:645)
> at org.apache.struts2.dispatcher.Dispatcher.sendError(Dispatcher.java:725)
> at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:488)
> at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:467)
> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
> at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
> 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)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WW-3373) Weblogic 11g throwing
java.lang.NullPointerException
Posted by "Daniel (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-3373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47234#action_47234 ]
Daniel commented on WW-3373:
----------------------------
Also, I deployed the struts 2 blank sample application to weblogic 11g and I get the same behavior; 404 when re-directing to the .action page.
So not sure if this is a incompatibility issue between struts 2 and weblogic 11g or if there is some permissions configuration issue with weblogic and struts 2..
> Weblogic 11g throwing java.lang.NullPointerException
> ----------------------------------------------------
>
> Key: WW-3373
> URL: https://issues.apache.org/struts/browse/WW-3373
> Project: Struts 2
> Issue Type: Bug
> Components: Dispatch Filter
> Affects Versions: 2.1.8
> Environment: Weblogic 11g, running on RHEL 5.3 x86. JVM = jrockit_160_14_R27.6.5-32
> Reporter: Daniel
>
> WAR file works with TOMCAT 6. When I deploy to WEBLOGIC 11g the following NPE is given. Been searching Google and struts issues, but have not been able to find a solution. My knowledge of Java is next to none.
> Can Someone point me into the right direction?
> 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1263248899938> <BEA-101020> <[ServletContext@25367851[app:www module:XXX.war path:/XXX spec-version:2.5]] Servlet failed with Exception
> java.lang.NullPointerException
> at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:645)
> at org.apache.struts2.dispatcher.Dispatcher.sendError(Dispatcher.java:725)
> at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:488)
> at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:467)
> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
> at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
> 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)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WW-3373) Weblogic 11g throwing
java.lang.NullPointerException
Posted by "Daniel (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-3373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47232#action_47232 ]
Daniel commented on WW-3373:
----------------------------
Yes, it looks like I do..
/ opt/ Oracle/ Middleware/ wl_domains/ managed_domain/ servers/ WEBLOGIC1/ upload/ XXX. war
what I got when I copied and paste to notepad from weblogic console;;
Any idea where I can go to fix this up? looking through the docs and config files now...
> Weblogic 11g throwing java.lang.NullPointerException
> ----------------------------------------------------
>
> Key: WW-3373
> URL: https://issues.apache.org/struts/browse/WW-3373
> Project: Struts 2
> Issue Type: Bug
> Components: Dispatch Filter
> Affects Versions: 2.1.8
> Environment: Weblogic 11g, running on RHEL 5.3 x86. JVM = jrockit_160_14_R27.6.5-32
> Reporter: Daniel
>
> WAR file works with TOMCAT 6. When I deploy to WEBLOGIC 11g the following NPE is given. Been searching Google and struts issues, but have not been able to find a solution. My knowledge of Java is next to none.
> Can Someone point me into the right direction?
> 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1263248899938> <BEA-101020> <[ServletContext@25367851[app:www module:XXX.war path:/XXX spec-version:2.5]] Servlet failed with Exception
> java.lang.NullPointerException
> at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:645)
> at org.apache.struts2.dispatcher.Dispatcher.sendError(Dispatcher.java:725)
> at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:488)
> at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:467)
> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
> at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
> 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)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WW-3373) Weblogic 11g throwing
java.lang.NullPointerException
Posted by "Daniel (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-3373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47233#action_47233 ]
Daniel commented on WW-3373:
----------------------------
However, there are no spaces in config/config.xml
<source-path>servers/WEBLOGIC1/upload/XXX.war</source-path>
> Weblogic 11g throwing java.lang.NullPointerException
> ----------------------------------------------------
>
> Key: WW-3373
> URL: https://issues.apache.org/struts/browse/WW-3373
> Project: Struts 2
> Issue Type: Bug
> Components: Dispatch Filter
> Affects Versions: 2.1.8
> Environment: Weblogic 11g, running on RHEL 5.3 x86. JVM = jrockit_160_14_R27.6.5-32
> Reporter: Daniel
>
> WAR file works with TOMCAT 6. When I deploy to WEBLOGIC 11g the following NPE is given. Been searching Google and struts issues, but have not been able to find a solution. My knowledge of Java is next to none.
> Can Someone point me into the right direction?
> 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1263248899938> <BEA-101020> <[ServletContext@25367851[app:www module:XXX.war path:/XXX spec-version:2.5]] Servlet failed with Exception
> java.lang.NullPointerException
> at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:645)
> at org.apache.struts2.dispatcher.Dispatcher.sendError(Dispatcher.java:725)
> at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:488)
> at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:467)
> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
> at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
> 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)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.