You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Harikrishnan Ramakrishnapillai (JIRA)" <ji...@apache.org> on 2008/08/13 08:16:24 UTC

[jira] Created: (STR-3162) Struts2 Jasper integration not working when we application is deployed in WAR or EAR format in weblogic.

Struts2 Jasper integration not working when we application is deployed in WAR or EAR format in weblogic.
--------------------------------------------------------------------------------------------------------

                 Key: STR-3162
                 URL: https://issues.apache.org/struts/browse/STR-3162
             Project: Struts 1
          Issue Type: Bug
          Components: Unknown
    Affects Versions: 1.3.9
         Environment: Windows XP, JDK1.5,strus2,weblogic10
            Reporter: Harikrishnan Ramakrishnapillai


I have created a web application which uses jasper reports along with struts2.The application is working fine as it is deployed in exploded format. When deploying in EAR or WAR format in weblogic its thoring a nullpointer exception in JasperReportResult file. When i anlysed the issue  the code
String systemId = servletContext.getRealPath(finalLocation); is returning null when application is deployed as WAR.
Expecting a solution /workaround for this problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (STR-3162) Struts2 Jasper integration not working when we application is deployed in WAR or EAR format in weblogic.

Posted by "Paul Benedict (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/STR-3162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Benedict closed STR-3162.
------------------------------

    Resolution: Not A Problem

This is not a problem with Struts. You cannot get location paths from WAR files unless they are exploded. Paths belong to file systems. If they are not exploded, there is no path. That's part of the JEE spec, not Struts. 

> Struts2 Jasper integration not working when we application is deployed in WAR or EAR format in weblogic.
> --------------------------------------------------------------------------------------------------------
>
>                 Key: STR-3162
>                 URL: https://issues.apache.org/struts/browse/STR-3162
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Unknown
>    Affects Versions: 1.3.9
>         Environment: Windows XP, JDK1.5,strus2,weblogic10
>            Reporter: Harikrishnan Ramakrishnapillai
>
> I have created a web application which uses jasper reports along with struts2.The application is working fine as it is deployed in exploded format. When deploying in EAR or WAR format in weblogic its thoring a nullpointer exception in JasperReportResult file. When i anlysed the issue  the code
> String systemId = servletContext.getRealPath(finalLocation); is returning null when application is deployed as WAR.
> Expecting a solution /workaround for this problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (STR-3162) Struts2 Jasper integration not working when we application is deployed in WAR or EAR format in weblogic.

Posted by "Dave Newton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/STR-3162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44562#action_44562 ] 

Dave Newton commented on STR-3162:
----------------------------------

(Well, in fairness, it'd be better if the S2 JasperResult supported WAR deployment. Once it's entered as an S2 enhancement I'll fix it, similar to how the FreeMarker result does. At least that's my first guess as to the implementation.)

> Struts2 Jasper integration not working when we application is deployed in WAR or EAR format in weblogic.
> --------------------------------------------------------------------------------------------------------
>
>                 Key: STR-3162
>                 URL: https://issues.apache.org/struts/browse/STR-3162
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Unknown
>    Affects Versions: 1.3.9
>         Environment: Windows XP, JDK1.5,strus2,weblogic10
>            Reporter: Harikrishnan Ramakrishnapillai
>
> I have created a web application which uses jasper reports along with struts2.The application is working fine as it is deployed in exploded format. When deploying in EAR or WAR format in weblogic its thoring a nullpointer exception in JasperReportResult file. When i anlysed the issue  the code
> String systemId = servletContext.getRealPath(finalLocation); is returning null when application is deployed as WAR.
> Expecting a solution /workaround for this problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (STR-3162) Struts2 Jasper integration not working when we application is deployed in WAR or EAR format in weblogic.

Posted by "Dave Newton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/STR-3162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44556#action_44556 ] 

Dave Newton commented on STR-3162:
----------------------------------

It'd be more appropriate to report this as a Struts 2 issue then, not Struts 1, no?

> Struts2 Jasper integration not working when we application is deployed in WAR or EAR format in weblogic.
> --------------------------------------------------------------------------------------------------------
>
>                 Key: STR-3162
>                 URL: https://issues.apache.org/struts/browse/STR-3162
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Unknown
>    Affects Versions: 1.3.9
>         Environment: Windows XP, JDK1.5,strus2,weblogic10
>            Reporter: Harikrishnan Ramakrishnapillai
>
> I have created a web application which uses jasper reports along with struts2.The application is working fine as it is deployed in exploded format. When deploying in EAR or WAR format in weblogic its thoring a nullpointer exception in JasperReportResult file. When i anlysed the issue  the code
> String systemId = servletContext.getRealPath(finalLocation); is returning null when application is deployed as WAR.
> Expecting a solution /workaround for this problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.