Jump to content
We've recently updated our Privacy Statement, available here ×

AllN

Members
  • Posts

    10
  • Joined

  • Last visited

AllN's Achievements

Apprentice

Apprentice (3/14)

  • First Post Rare
  • Collaborator Rare
  • Conversation Starter Rare
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. i'm developing an AIR project the is bridged on java for using jasper. now i would use a jrxml file with xml datasource for reading it from flash viewer and integrate this component into my project. Is there someone that can help me? how can i load a file like the one is attached? thanks in advance Tiziano
  2. is there anyone that have integrated flex with jasper for running report? If yes, how? RPC,running runtime or calling a string? can someone help a newbie? Please Teodor, any doc or sample for flex integration? ciao
  3. Is there anywhere a manual/guide to setup and use jasper with objects in object? thanks a lot
  4. i'm not able to view flash swf in this example. I try to down my firewall, but I can't see anything...
  5. I'm trying to study a way for compiling a querystring with parameters running a report from flex. Shortly I need to give value from flex to the jrxml file in a query like this: <queryString> <!CDATA[ SELECT * FROM Orders WHERE OrderID <= $P{MaxOrderID} ORDER BY ShipCountry ]]> </queryString> Is there a way to pass value to $P{MaxOrderID} selecting it in a flex application? can you help me?
  6. Thanks Teodord for your answer... I think to write a jrxml with a string like this: <queryString> <![CDATA[$sql]]> </queryString> But how can do to valorize $sql from flex or actionscript? thanks a lot for your support
  7. I'm writting a flex application. How can pass the SQL query (MySQL) to the jrpxml file with parameter selected from my application? thanks a lot
  8. I have a problem on run the report from applet in the webapp sample. The viewer correctly works. The error start with this string: java.security.accesscontrolexception: access denied (java.lang.runtimepermission accessclassInPackage.sun.awt.windows) I try to edit my tomcat (6.0) policies as follow: // ============================================================================ // catalina.corepolicy - Security Policy Permissions for Tomcat 5 // // This file contains a default set of security policies to be enforced (by the // JVM) when Catalina is executed with the "-security" option. In addition // to the permissions granted here, the following additional permissions are // granted to the codebase specific to each web application: // // * Read access to the document root directory // // $Id: catalina.policy 543026 2007-05-31 02:44:55Z markt $ // ============================================================================ // ========== SYSTEM CODE PERMISSIONS ========================================= // These permissions apply to javac grant codeBase "file:${java.home}/lib/-" { permission java.security.AllPermission; permission java.lang.RuntimePermission "createClassLoader"; }; // These permissions apply to all shared system extensions grant codeBase "file:${java.home}/jre/lib/ext/-" { permission java.security.AllPermission; permission java.lang.RuntimePermission "createClassLoader"; }; // These permissions apply to javac when ${java.home] points at $JAVA_HOME/jre grant codeBase "file:${java.home}/../lib/-" { permission java.security.AllPermission; permission java.lang.RuntimePermission "createClassLoader"; }; // These permissions apply to all shared system extensions when // ${java.home} points at $JAVA_HOME/jre grant codeBase "file:${java.home}/lib/ext/-" { permission java.security.AllPermission; permission java.lang.RuntimePermission "createClassLoader"; }; // ========== CATALINA CODE PERMISSIONS ======================================= // These permissions apply to the launcher code grant codeBase "file:${catalina.home}/bin/commons-launcher.jar" { permission java.security.AllPermission; permission java.lang.RuntimePermission "createClassLoader"; }; // These permissions apply to the daemon code grant codeBase "file:${catalina.home}/bin/commons-daemon.jar" { permission java.security.AllPermission; permission java.lang.RuntimePermission "createClassLoader"; }; // These permissions apply to the commons-logging API grant codeBase "file:${catalina.home}/bin/commons-logging-api.jar" { permission java.security.AllPermission; permission java.lang.RuntimePermission "createClassLoader"; }; // These permissions apply to the server startup code grant codeBase "file:${catalina.home}/bin/bootstrap.jar" { permission java.security.AllPermission; permission java.lang.RuntimePermission "createClassLoader"; }; // These permissions apply to the JMX server grant codeBase "file:${catalina.home}/bin/jmx.jar" { permission java.security.AllPermission; permission java.lang.RuntimePermission "createClassLoader"; }; // These permissions apply to the servlet API classes // and those that are shared across all class loaders // located in the "common" directory grant codeBase "file:${catalina.home}/common/-" { permission java.security.AllPermission; permission java.lang.RuntimePermission "createClassLoader"; }; // These permissions apply to the container's core code, plus any additional // libraries installed in the "server" directory grant codeBase "file:${catalina.home}/server/-" { permission java.security.AllPermission; permission java.lang.RuntimePermission "createClassLoader"; }; // The permissions granted to the balancer WEB-INF/classes directory grant codeBase "file:${catalina.home}/webapps/balancer/WEB-INF/classes/-" { permission java.lang.RuntimePermission "accessClassInPackage.org.apache.tomcat.util.digester"; permission java.lang.RuntimePermission "accessClassInPackage.org.apache.tomcat.util.digester.*"; permission java.lang.RuntimePermission "createClassLoader"; }; // ========== WEB APPLICATION PERMISSIONS ===================================== // These permissions are granted by default to all web applications // In addition, a web application will be given a read FilePermission // and JndiPermission for all files and directories in its document root. grant { // Required for JNDI lookup of named JDBC DataSource's and // javamail named MimePart DataSource used to send mail permission java.util.PropertyPermission "java.home", "read"; permission java.util.PropertyPermission "java.naming.*", "read"; permission java.util.PropertyPermission "javax.sql.*", "read"; permission java.lang.RuntimePermission "createClassLoader"; // OS Specific properties to allow read access permission java.util.PropertyPermission "os.name", "read"; permission java.util.PropertyPermission "os.version", "read"; permission java.util.PropertyPermission "os.arch", "read"; permission java.util.PropertyPermission "file.separator", "read"; permission java.util.PropertyPermission "path.separator", "read"; permission java.util.PropertyPermission "line.separator", "read"; // JVM properties to allow read access permission java.util.PropertyPermission "java.version", "read"; permission java.util.PropertyPermission "java.vendor", "read"; permission java.util.PropertyPermission "java.vendor.url", "read"; permission java.util.PropertyPermission "java.class.version", "read"; permission java.util.PropertyPermission "java.specification.version", "read"; permission java.util.PropertyPermission "java.specification.vendor", "read"; permission java.util.PropertyPermission "java.specification.name", "read"; permission java.util.PropertyPermission "java.vm.specification.version", "read"; permission java.util.PropertyPermission "java.vm.specification.vendor", "read"; permission java.util.PropertyPermission "java.vm.specification.name", "read"; permission java.util.PropertyPermission "java.vm.version", "read"; permission java.util.PropertyPermission "java.vm.vendor", "read"; permission java.util.PropertyPermission "java.vm.name", "read"; // Required for OpenJMX permission java.lang.RuntimePermission "getAttribute"; // Allow read of JAXP compliant XML parser debug permission java.util.PropertyPermission "jaxp.debug", "read"; // Precompiled JSPs need access to this package. permission java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.runtime"; permission java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.runtime.*"; permission java.lang.RuntimePermission "createClassLoader"; }; // You can assign additional permissions to particular web applications by // adding additional "grant" entries here, based on the code base for that // application, /WEB-INF/classes/, or /WEB-INF/lib/ jar files. // // Different permissions can be granted to JSP pages, classes loaded from // the /WEB-INF/classes/ directory, all jar files in the /WEB-INF/lib/ // directory, or even to individual jar files in the /WEB-INF/lib/ directory. // // For instance, assume that the standard "examples" application // included a JDBC driver that needed to establish a network connection to the // corresponding database and used the scrape taglib to get the weather from // the NOAA web server. You might create a "grant" entries like this: // // The permissions granted to the context root directory apply to JSP pages. // grant codeBase "file:${catalina.home}/webapps/examples/-" { // permission java.net.SocketPermission "dbhost.mycompany.com:5432", "connect"; // permission java.net.SocketPermission "*.noaa.gov:80", "connect"; // }; // // The permissions granted to the context WEB-INF/classes directory grant codeBase "file:${catalina.home}/webapps/examples/WEB-INF/classes/-" { permission java.lang.RuntimePermission "createClassLoader"; }; // // The permission granted to your JDBC driver // grant codeBase "jar:file:${catalina.home}/webapps/examples/WEB-INF/lib/driver.jar!/-" { // permission java.net.SocketPermission "dbhost.mycompany.com:5432", "connect"; // }; // The permission granted to the scrape taglib // grant codeBase "jar:file:${catalina.home}/webapps/examples/WEB-INF/lib/scrape.jar!/-" { // permission java.net.SocketPermission "*.noaa.gov:80", "connect"; // }; // ############################################################### // AGGIUNTE MANUALI // ############################################################### // These permissions apply to the servlet API classes and those that are shared across // all class loaders located in the "RGI/lib/common" OR "RGI/lib/shared" directory grant codeBase "file:C:/Java/jdbcDrivers/-" { permission java.security.AllPermission; }; // grant codeBase "file:${catalina.home}/RGI/lib/-" { permission java.security.AllPermission; }; // Web applications permission, J2EE Specification 1.4 // Minimum set of permissions that Web Components components can expect. grant { permission java.lang.RuntimePermission "loadLibrary.*"; permission java.lang.RuntimePermission "queuePrintJob"; permission java.net.SocketPermission "*", "connect"; permission java.io.FilePermission "<<ALL FILES", "read,write"; permission java.util.PropertyPermission "*", "read"; permission java.lang.RuntimePermission "createClassLoader"; }; // RGI JBasis and PassCompagnia requirements grant { permission java.io.FilePermission "<<ALL FILES", "delete"; // "read,write,delete,execute"; permission java.net.SocketPermission "*:1024-65535", "accept,listen"; // "connect,accept,listen"; // permission java.util.PropertyPermission "*", "read,write"; // Per poter richiedere System.getProperties() // permission java.util.PropertyPermission "user.language", "write"; // Per poter cambiare i "Regional Settings" // permission java.security.AllPermission; // DEBUG // permission java.lang.RuntimePermission "getClassLoader"; // per CTRL Controller ?!?! // permission javax.management.MBeanServerPermission "*","*"; // JMX Java Management eXtensions // permission javax.management.MBeanPermission "*","*"; // JMX Java Management eXtensions // permission javax.management.MBeanTrustPermission "register"; // JMX Java Management eXtensions }; // ############################################################### // AGGIUNTE MANUALI // ############################################################### grant codeBase "http://localhost:8080/*" { permission java.lang.RuntimePermission "accessClassInPackage.sun.awt.windows"; }
  9. when I try to export report in the "SWF Export" page, it returns me this error if I run " Direct SWF Servlet Example": HTTP Status 404 - Servlet SwfServlet is not available type Status report message Servlet SwfServlet is not available description The requested resource (Servlet SwfServlet is not available) is not available. And if I run "Embedded SWF Servlet Example", browser was blank where do I wrong? what shouold I do? :(
×
×
  • Create New...