you would also have to remove the -Djava.security.manager line from  
the startup script. If you don't, then WL will just use a default  
security policy with the security manager that may be even more  
restrictive than the one you commented out.

-jason

On Jun 27, 2006, at 7:23 AM, Leyzerzon, Simeon wrote:

> Jason,
>
> I appreciate your response and a suggestion.  I've disabled  
> WebLogic's security by removing this line from its startup script: - 
> Djava.security.policy=%WL_HOME%\server\lib\weblogic.policy
>
> This doesn't fix the problem though.
> Appreciate your help!
> Simeon
>
> -----Original Message-----
> From: Jason Essington [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 26, 2006 1:05 PM
> To: Leyzerzon, Simeon
> Subject: Re: [jasperreports-questions] JRXML Compilation Error
>
>
> your problem is likely related to the security policy installed in
> WebLogic.
>
> You could try starting WebLogic without a securityManager (in a test
> environment of course) and if it works there, then figure out how to
> modify the security policy so that it all works in production.
>
> -jason
>
> On Jun 26, 2006, at 8:49 AM, Leyzerzon, Simeon wrote:
>
>> Hi,
>>
>> I've just downloaded the jasperreport distribution and am doing
>> some experimentation with it.
>> I build the jasper-webapp war and deployed in on WebLogic 8.1 sp2.
>> When running the example and clicking on the link to compile JRXML,
>> I'm encountering the following error:
>>
>> java.lang.NullPointerException
>>      at java.io.File.<init>(File.java:180)
>>      at
>> net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile
>> (JasperCompileManager.java:79)
>>      at servlets.CompileServlet.service(CompileServlet.java:66)
>>      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>>      at weblogic.servlet.internal.ServletStubImpl
>> $ServletInvocationAction.run(ServletStubImpl.java:971)
>>      at weblogic.servlet.internal.ServletStubImpl.invokeServlet
>> (ServletStubImpl.java:402)
>>      at weblogic.servlet.internal.ServletStubImpl.invokeServlet
>> (ServletStubImpl.java:305)
>>      at weblogic.servlet.internal.WebAppServletContext
>> $ServletInvocationAction.run(WebAppServletContext.java:6350)
>>      at weblogic.security.acl.internal.AuthenticatedSubject.doAs
>> (AuthenticatedSubject.java:317)
>>      at weblogic.security.service.SecurityManager.runAs
>> (SecurityManager.java:118)
>>      at weblogic.servlet.internal.WebAppServletContext.invokeServlet
>> (WebAppServletContext.java:3635)
>>      at weblogic.servlet.internal.ServletRequestImpl.execute
>> (ServletRequestImpl.java:2585)
>>      at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
>>      at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
>>>
>>
>> Looks like I have all the necessary files in the war,
>> WeappReport.jrxml sits in war's \reports directory.  Am I doing
>> anything wrong?
>>
>> Could someone please tell me what this could be attributable to and
>> if anyone had the same issue how did they solve it.
>>
>> Thanks in advance.
>> Simeon
>>
>>
>>
>>
>> ===================================================================== 
>> =
>> ========
>> Please access the attached hyperlink for an important electronic
>> communications disclaimer:
>>
>> http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
>> ===================================================================== 
>> =
>> ========
>>
>>
>> Using Tomcat but need to do more? Need to support web services,
>> security?
>> Get stuff done quickly with pre-integrated technology to make your
>> job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> Geronimo
>> http://sel.as-us.falkag.net/sel?
>> cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> jasperreports-questions mailing list
>> jasperreports-questions@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jasperreports-questions
>
>
> ====================================================================== 
> ========
> Please access the attached hyperlink for an important electronic  
> communications disclaimer:
>
> http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
> ====================================================================== 
> ========
>
>
> Using Tomcat but need to do more? Need to support web services,  
> security?
> Get stuff done quickly with pre-integrated technology to make your  
> job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache  
> Geronimo
> http://sel.as-us.falkag.net/sel? 
> cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> jasperreports-questions mailing list
> jasperreports-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions

Reply via email to