Could not read reports properties
I am compiling reports with 11.1.1.3.0 on Solaris and keep getting the message: "Could not read reports properties". The RDFs do get to converted to REP files, so it appears to be just a warning message.
The error appears to be a file privilege issue since if I use the oracle account the message goes away, but if I use my personal account I get the message.
So what is the name of the file it is looking for? I had assumed prefs.ora; but I have already granted my personal account access to all of them.
Thanks
I will tell you that I had several errors when I migrated to 11g last month, the solution for all of my problems was upgrade to:
Forms & Reports 11.1.1.4 and weblogic 10.3.4.
its not difficult, it takes me 70 minutes to do it. after you do upgrade I bet you wont have this problem.
cheers.
Similar Messages
-
Error: Could not read reports properties. java.lang.NullPointerException
Hi All,
I am facing Could not read reports properties. java.lang.NullPointerException while trying to run the report using below string
String:_
/rcrmap2/weblogic/bea/ORA_PFRD/bin/rwrun module=/rcrmkr1/exe_dir/CA_PG1_T.rdf CUSTGRPID=''001139'' CANO=104 CACOPY=''F'' OPTION=''W'' CCODE=''KR'' USERID=apl_D_RCRMNIU3/Q5e3C4l1FPjrG6epG6f3C4dqFMgsDP@krcrmd DESTYPE=FILE DESNAME=/rcrmkr1/crms_RG/rep_dir/gcapg1_to_test_20110112_121902.rep BATCH=YES MODE=CHARACTER DESFORMAT=/rcrmap2/weblogic/bea/ORA_PFRD/reports/printers/wide.prt pagesize=132x80
Environment Variables :*
export ORACLE_LOCALPREFERENCE=/rcrmap2/weblogic/bea/rcrms/config/FRComponent/frcommon/tools/admin/
export WIDE_DEF=/rcrmap2/weblogic/bea/ORA_PFRD/reports/printers/hplwide.prt
export WIDE_VIW=/rcrmap2/weblogic/bea/ORA_PFRD/reports/printers/wide.prt
export REPORTS_FONT_DIRECTORY=/rcrmap2/weblogic/bea/rcrms/reports/fonts
export REPORTS_TAGLIB_URI=/WEB-INF/lib/reports_tld.jar
export REPORTS_NO_DUMMY_PRINTER=TRUE
export REPORTS_TMP=/tmp
export RW=/rcrmap2/weblogic/bea/ORA_PFRD/reports
export LD_LIBRARY_PATH=/rcrmap2/weblogic/bea/ORA_PFRD/jdk/jre/lib/ppc64:/rcrmap2/weblogic/bea/ORA_PFRD/jdk/jre/lib/ppc64/classic:/rcrmap2/weblogic/bea/ORA_PFRD/lib:/usr/dt/lib:
export LIBPATH=/rcrmap2/weblogic/bea/ORA_PFRD/lib:/usr/dt/lib:/rcrmap2/weblogic/bea/ORA_PFRD/jdk/jre/lib/ppc64:/rcrmap2/weblogic/bea/ORA_PFRD/jdk/jre/lib/ppc64/classic:/usr/lpp/cobol/lib:/oracle/oracle/11.1.0.7/lib:/oracle/oracle/11.1.0.7/lib32:/rcrmkr1/exe_dir/pvcs_12july/pco:.
export LDR_CNTRL=USERREGS@MAXDATA=0x80000000
export TK_ICON=/rcrmap2/weblogic/bea/ORA_PFRD/reports/plugins/resource
export REPORTS_DEFAULT_DISPLAY=NO
export REPORTS_CLASSPATH=/rcrmkr1/exe_dir:/rcrmap2/weblogic/bea/ORA_PFRD/reports/jlib/rwbuilder.jar:/rcrmap2/weblogic/bea/ORA_PFRD/reports/jlib/rwrun.jar:/rcrmap2/weblogic/bea/ORA_PFRD/jlib/zrclient.jar:/rcrmap2/weblogic/bea/ORA_PFRD/modules/oracle.jsp_11.1.1/ojsp.jar:/rcrmap2/weblogic/bea/ORA_PFRD/javacache/lib/cache.jar:/rcrmap2/weblogic/bea/ORA_PFRD/modules/oracle.javacache_11.1.1/cache.jar
Please help to provide your inputs
Regards,
HarishHi,
The problem was resolved by setting proper acl's to the corresponding directories (cache directory) in the application server
Regards,
Harish -
Help, could not read properties after setting the RMISecurityManager.
Hi,
I am new in RMi and I could not read a properties file when run a class in jar file with java -jar option.
I start the the class by as follows.
java -jar darwin_enhanced.jar -Djava.rmi.server.codebase=file:///home/wing/Darwin/Project/release.server/DarwinServer.jar -Djava.security.policy=darwin.server.policy
I extract the following code snipplet from the main class.
/* get security manager */
if (System.getSecurityManager() == null) {
System.setSecurityManager(new RMISecurityManager());
/* get properties */
Properties properties = new Properties();
try
System.out.println("before happy");
properties.load(getClass().
getResourceAsStream("/darwinServer.properties"));
System.out.println("after happy");
}catch (Exception e)
e.printStackTrace();
If the System.setSecurityManager(new RMISecurityManager()) is called before the properties.load method, the pgm prints out
'before happy' and dumps
java.lang.NullPointerException
at java.io.Reader.<init>(Reader.java:61)
at java.io.InputStreamReader.<init>(InputStreamReader.java:80)
at java.util.Properties.load(Properties.java:189)
at com.darwin.server.DarwinServer.startBind(DarwinServer.java:61)
at com.darwin.server.DarwinServer.main(DarwinServer.java:48)
If I reverse the order, call properties.load mehod before setting the RmiSecurityMananger,
/* get properties */
Properties properties = new Properties();
try
System.out.println("before happy");
properties.load(getClass().
getResourceAsStream("/darwinServer.properties"));
System.out.println("after happy");
}catch (Exception e)
e.printStackTrace();
/* get security manager */
if (System.getSecurityManager() == null) {
System.setSecurityManager(new RMISecurityManager());
it works fine and print out
'before happy'
'after happy'
Thanks,
WingHi,
Thanks for your ideas.
My primary object is to let the server reads propertiy files. I found that I have to set the RMISecurityManager, otherwise, the rebind will throws
java.rmi.UnmarshalException.
I have changed the testing program according to you inputs.
void startTest(){
System.out.println("CodeSource="+this.getClass().getProtectionDomain().getCodeSource());
System.out.println("Permission="+this.getClass().getProtectionDomain().getPermissions());
if(System.getSecurityManager()==null)
System.setSecurityManager(new RMISecurityManager());
Properties properties = new Properties();
try
System.out.println("CodeSource="+this.getClass().getProtectionDomain().getCodeSource());
System.out.println("Permission="+this.getClass().getProtectionDomain().getPermissions());
properties.load(RMIClassLoader.getClassLoader("file:/").getResourceAsStream("sample.properties"));
System.out.println("size of properties = " + properties.size() );
properties.load(getClass().getResourceAsStream("/sample.properties"));
}catch(Exception e)
e.printStackTrace();
I run in jar with the following command with no exception,
java -Djava.security.policy=java.all.policy -jar simBug.jar
Output
CodeSource=(file:/home/wing/try/java/bug.sim/RMISecurityManager/simBug.jar <no certificates>)
Permission=java.security.Permissions@8d107f (
(java.lang.RuntimePermission exitVM)
(java.io.FilePermission /home/wing/try/java/bug.sim/RMISecurityManager/simBug.jar read)
CodeSource=(file:/home/wing/try/java/bug.sim/RMISecurityManager/simBug.jar <no certificates>)
Permission=java.security.Permissions@8d107f (
(java.lang.RuntimePermission exitVM)
(java.io.FilePermission /home/wing/try/java/bug.sim/RMISecurityManager/simBug.jar read)
size of properties = 1
Thanks,
Wing -
I'm having a problem getting Media Encoder to get past the dynamic link portion of encoding a time line sequence.
I can send it over to Media Encoder, but it crashes consistently after the yellow bar saying something about dynamic link.
I have CS6 installed in my computer here at work, it previously had CS5.5 installed on it.
I read some answers about CS4 having this problem and tried to create a shortcut and put it in the dynamic link folder, but that didnt work.
I would hate to have to reinstall the software here at work as the IT department is a pain- but I can't encode video on one of the computers we use here.
Any ideas on what may be happening and how I can solve the problem?
Thanks!
Its a Dell Workstation with Windows 7 Ultimate installed dualE5620 processors at 2.4GHz. .
only 6 GB RAM, and a RAID 5 hard drive setup with 3- one gb drives giving the C drive space of 1.8Gigs
Its got an NVIDIA Quadro NVS 420 video card.
I'm upgrading this computer to better work with editing video, so this is a good time to get this all cleaned up.
Im adding RAM (24GBs)- replacing the video card to a GTX 780 3GB running 3 monitors.
I'd also like to either split up the RAID (ugh)..or just add 2 internal SAS HDDs. to split up the video and the cache and the OS/programs as is usually done with editing video.
Thanks for your help in advance...
Mike...more information...problem still not solved....
After searching more in the forums, I tried a couple more things:
I tried to restart AME and clearing the preferences. This didnt help.
I also deleted the ...appData/Roaming/Adobe/AdobeMediaEncoder/6.0 folder and all subfolders No help here either.
I also tried to import the sequence via AME rather than export via PP. This worked. The sequence loaded immediately and processed perfectly.
When I export via PP, I hit the queue button, it hangs for about 3 mins, then the yellow bar appears saying "Connecting to Dynamic Link server"
it then hangs for approx 3 mins again and then I get the Failed alert.
the error log reports:
Encoding failed
Could not read from source. Please check if it has moved or been deleted.
any help available here???? -
Could not read the profile path for user S-1-5-21-1272265863-3531003469-187
hi
I was doing the installation of the crm702 on MAXDB+WINDOWS.IN THE FIRST PHASE OF EXECUTION(CREATE USERS FOR SAP SYSTEM) I GOT THE ERROR MENTIONED BELOW.CAN SOMEONE HELPE ME :
An error occurred while processing option Enhancement Package 2 for SAP CRM 7.0 > SAP Application Server ABAP > MaxDB > Central System > Central System( Last error reported by the step: Could not read the profile path for user S-1-5-21-1272265863-3531003469-18741865-1021 from the registry: The system cannot find the file specified. .). You can now:
Choose Retry to repeat the current step.
Choose Log Files to get more information about the error.
Stop the option and continue with it later.
Log files are written to C:/crmfeb.Hi,
Delete all keys in registry (regedit) with: S-1-5-21-1272265863-3531003469-18741865-1021. You can do it by find it - F3.
After that restart sapinst.
Regards. -
Could not read from the source. Please check if it has moved or been deleted
hi all,
when i try to render a afx project from media encoder i get the following message
"Could not read from the source. Please check if it has moved or been deleted"
i've read on the forum that this is due to an old installation of Premiere.
I'm using a brand new computer. the only software installed is my cs5 master collection and the updates from adobe website.
win7 pro
i7
16 gig ram
cheers
sHello, this is terrible problem, which i found in CS 6 softwares ...
solution i found only working, is uninstall and reinstall full package.. but it is not all,
you need to do BRAND NEW admin account in windows, and install it there.
that means, i could not export after repair from encoder in my original account never more (!!) .. this is really terrible way how to repair this issue, because :
1.by reinstalling of software, client WASTE HIS TIME
2.by necessity to begin work in another windows profile you again WASTE YOUR TIME because of learning and migrating all other profile modifications, which i see really unaccpetable. Adobe means, this solution of repair is ok, and they did not do till today any steps of creating some "clever" solution.
I ask everybody, who will meet this issue in future, guys, please, complain about this situation, give "BUG Report" to them, and write "feature request" to them , in the way of creating some repair tool, which check actual "broken" connections between encoder and premiere, which refuses to "take material" from it and encode, and REPAIR it automatically..
I am not IT, but ..does it seems so hard to create this ? Adobe IT developers should know their systems, and should create such utility tool really easy.
Steps to reproduce bug:
1. i export anything by button "queue" from premiere to Encoder
2. Encoder will start encoding
3. Encoder does not show the window of media encoding (down left )
Results: sound of sheep occur,
in encoding error file is this reason of canceling the encoding :
01/02/2014 10:10:48 AM : Encoding Failed
Could not read from the source. Please check if it has moved or been deleted.
History of this problem and detailed description, HOW i did "repair" this. With wasting of app 2,5 days of my working time :
1. after repairing "error 5" problem , i solved it by reinstalling the suite from the new admin user profile (profile B) .
I continued my work on my normal working windows profile . (profile A)
Every cooperation (AE+Pr, export media via "queue" to Encoder) was working fine . . .
2. suddenly it stop working (without knowing any possible reason - i did not do installations )
and showed in error export log file :
"Could not read from the source. Please check if it has moved or been deleted."
3.repair via procedure(procedure "a"):
i did this procedure on the profile B (profile from last time installation of repairing problem error 5)
I did these steps :
a-uninstall master coll suite
b-i used Adobe cleaner tool (remove ALL)
c-removed raw directories in locations
•C:\Program Files\Adobe
•C:\Program Files(x86)\Adobe
•C:\Program Files\Common Files\Adobe
•C:\Program Files(x86)\Common Files\Adobe
•C:\ProgramData\Adobe
d-removed these links from registry file
•HKEY_LOCAL_MACHINE\SOFTWARE\Adobe
•HKEY_CURRENT_USER\Software\Adobe
•HKEY_LOCAL_MACH INE\SOFTWARE\Wow6432Node\Adobe
•HKEY_CURRENT_USER \Software\Wow6432Node\Adobe
e-restarted the PC
f- newly installed the Master Coll CS6
g-update the software
result of repair of "3" : problem still exists
4.Ok i find out after coordination with support, it should have been created ANOTHER NEW admin account.
4a:so i did the same procedure (uninstalling) in profile B
4b: and then i created brand new admin profile (profile C)for INSTALLATION of software
4c: restarted the pc (and did not updated it yet)
result :
==exporting of any sequence/raw/AE link video material from premiere via "queue" (Encoder) (profile C) : export WORKS
==exporting of any sequence/raw/AE link video material from premiere via "queue" (Encoder) (profile B) : export WORKS
==exporting of any sequence/raw/AE link video material from premiere via "queue" (Encoder) (profile A) : export DOES NOT WORK ! ! !
(in profile A, is possible to export some raw video material in encoder which is imported to it via "drag and drop)
problem i see:, i have my basic profile A, which i am interested to work, because of all my directory modifications are in there..
this issue should be some "broken" connections between encoder and premiere, which refuses to "take material" from it and encode.
what i expect :
to get from Adobe some repair tool, which automatically checks these connections and repair if necessary, without necessity of founding the new profile and reinstallation of whole software.. this is madness !
what i do NOT expect from Adobe:
to get from Adobe advice of kind : you have to reinstall full software in new admin profile. sorry , we do not know the solution, because we do not know, how do behave our software. -
Could not read Log4j configuration file when I run jar file
Hi,
I'm using Log4J in my application..
I configure the log4j, as follows;
PropertyConfigurator.configure("properties/logging.properties");and then go on to use it.
The .properties is in the root when I jar my source. I use Ant to Jar the file. It all works good when I run the jar file from ant.
The problem is when I run the jar file by double clicking on it, I get an error
" Could not read configuration file [properties/logging.properties]."
I tried the following options;
PropertyConfigurator.configure("/logging.properties");
PropertyConfigurator.configure("./logging.properties");
PropertyConfigurator.configure("../logging.properties");But in all cases, I get corresponding errors on running the jar file through Ant:
log4j:ERROR Could not read configuration file [logging.properties].
log4j:ERROR Could not read configuration file [./logging.properties].
log4j:ERROR Could not read configuration file [../logging.properties].
I want to be able to run the Jar by double clicking on it or through Ant.. Would any one know how to fix this issue so that I can use both methods..Keep your properties file inside the root folder of your application.It is working fine
-
Ad Hoc Query - While executing - System could not read any data
Hello Techies,
When I am excuting my Ad hoc query - for one personnel number for which Infotype 28 subtype 0001 has been maintained
But system is throwing this error -
System could not read any data
Message no. AQ_AD_HOC226
Diagnosis
There is no data available for the specified selections.
System response
The results list in the lower part of the screen still displays the last list to be created.
Please let me know why does it happening ?
Thanks
JaydeepIt was an date selection issue - as while executing the Ad hoc query - the reporting date is today -
changed to all -
Could not read boot block (input/output errror) powerbook g4
Hello
My friend gave me a powerbook g4 and a copy of osx lion, I would like to install it but the internal hardive is not available within the "select Destination" area of the installation process. I tried to repair the disk which is labelled Disk0s1, but shortly after it is underway i recieve this message.
**/dev/disk0s1 could not read boot block (input/output error) Error: The underlying task reported failure on exit. 1 non HFS volume checked, 1 volume could not be repaired because of an error.
Within disk utilities the Disk01s is grey, I can try to repair it but the above error occurs. Do you know what the problem is and how I can fix it?Since you are going to install system fresh, it sounds like, you should erase the drive. Boot from the installer disc, then select the language but do not start the installer. From the menu bar, you should have either an Applications or an Installer menu. From one of the menus, you can then start Disk Utility.
From the drives and volumes pane, select the internal drive hardware listing.
This will now allow you to partition or erase the disc. Now click the Erase tab and select Mac OS Extended (Journaled) as the format and then click the "Erase" button. You can name the volume that will actually be created, like for instance "MacintoshHD" or whatever you want.)
Once the erase has completed, you need to check the information for the hard drive at the bottom of the window. Be sure that the partition scheme is Apple Partition Map. If for some reason it is something else, like GUID, you won't be able to install MacOS on it. You will need to click the Partition tab, click the "Options..." button and select Apple Partition Map, then click the "Partition" button.
Once this is done, then you can quit Disk Utility and you should be able to install Tiger on that HD. -
Hi
I follow FAXS_2_0_Quickstart and start tomcat. The check
http://centos:8080/flashaccessserver/flashaccess/license/v1
is ok. But the log file say
2011-04-21 15:57:59,122 FATAL [com.adobe.flashaccess.refimpl.packager.RefImplPackagerServer][] - Could not open server properties
java.io.FileNotFoundException
at com.adobe.flashaccess.refimpl.packager.RefImplPackagerServer.packagerSetup(RefImplPackage rServer.java:98)
at com.adobe.flashaccess.refimpl.packager.RefImplPackagerServer.run(RefImplPackagerServer.ja va:165)
at java.lang.Thread.run(Thread.java:636)
2011-04-21 15:57:59,125 INFO [com.adobe.flashaccess.refimpl.packager.RefImplPackagerServer][] - Exiting Packager thread.
Which file is it refer to ?
Where is the propert file to set this?Hello,
It looks like at one time or another, you tried setting up the Flash Access Reference Implementation License Server. Part of that package is a packaging server (which interfaces with a Graphical UI to package content). The error you're seeing below suggests something from the Reference Implementation is left behind.
I suggest doing the following:
1. Shut down your Flash Access license server
2. Remove the following from your <tomcat installation directory>/webapps
2a. (file) flashaccess-packager.war
2b. (directory) flashaccess-packager
3. Remove the directory <tomcat installation directory>/work/Catalina
4. Remove the directory <tomcat installation directory>/conf/Catalina
5. Start your server
Also - something to note is that your logfile seems to indicate only an issue was found with the packager deployment. If there are no issues around the flashaccessserver, then your license server should still work, as those 2 different services (packager server & license server) are independent of each other.
cheers,
/Eric. -
Cisco SA 520 "Could not read headers"
Hello
We've recently purchased an SA 520 and have problems with a few websites as the Cisco device returns an error:
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
The server is down.
Could not read headers
Has anyone else experienced this problem? The websites in question are all working and worked for us on our previous system. Additionally, this is definitely the SA reporting the error.Anybody else beside me having this problem? I have three SA520's installed in three different offices, and they are all doing the same thing. If I turn on Protectlink URL filtering, the customer will constantly, but intermittently complain about various website, even sites I have specifically listed in the over-ride list, will generate this error. They get the blue Cisco SA520 page stating either "Could not read headers" or "server is down". If they hit refresh a few times, the page will come up. This is happening with several users at each site. Some on XP, some on Win7. Some IE6, some IE7, some IE8. The only way to have the errors go away is to turn off Protectlink URL filtering, then all works fine. Of coarse, then they are running unprotected.
I have been using Protectlinlk on the RV042 and RV082 at several other customer's sites with great sucess for some time now, but the SA520 obviously has bugs with this. I have had this problem now with both the 1142 and 1165 firmware. I hope to GOD Cisco is able to fix these bugs soon. At this point, I have the Protectlink turned off in the hopes Cisco will release a firmware fix soon.
Come on Cisco, FIX THIS!!! -
Jasperreports JRException: Could not instantiate report compiler :
I am getting the following error while trying run a jasperreport application that makes a connection to a database and retrieves values based on a parameter passed. I am using eclipse 3.1 and the jetty server.
net.sf.jasperreports.engine.JRException: Could not instantiate report compiler : net.sf.jasperreports.engine.design.JRJavacCompiler
at net.sf.jasperreports.engine.design.JRDefaultCompiler.getCompiler(JRDefaultCompiler.java:205)
at net.sf.jasperreports.engine.design.JRDefaultCompiler.loadEvaluator(JRDefaultCompiler.java:216)
at net.sf.jasperreports.engine.fill.JRFillDataset.createCalculator(JRFillDataset.java:404)
at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:354)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:92)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:74)
at net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:147)
at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:57)
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:402)
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:363)
at net.sf.jasperreports.engine.JasperRunManager.runReportToPdfStream(JasperRunManager.java:163)
at net.ensode.jasperbook.FirstReportSendToBrowserServlet.doGet(FirstReportSendToBrowserServlet.java:36)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:459)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:231)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:629)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:453)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:149)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:123)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
at org.mortbay.jetty.Server.handle(Server.java:303)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:452)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:721)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:509)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:349)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:320)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
Caused by: java.lang.ClassCastException
at net.sf.jasperreports.engine.design.JRDefaultCompiler.getCompiler(JRDefaultCompiler.java:201)
... 29 more
The servlet code is given below:
package net.ensode.jasperbook;
import java.sql.*;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.util.HashMap;
import javax.servlet.ServletException;
import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import net.sf.jasperreports.engine.JREmptyDataSource;
import net.sf.jasperreports.engine.JRException;
import net.sf.jasperreports.engine.JasperCompileManager;
import net.sf.jasperreports.engine.JasperFillManager;
import net.sf.jasperreports.engine.JasperRunManager;
public class FirstReportSendToBrowserServlet extends HttpServlet {
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
HashMap parameterMap = new HashMap();
parameterMap.put("value", new Integer(1));
Connection con;
try {
ServletOutputStream servletOutputStream = response.getOutputStream();
InputStream reportStream = getServletConfig().getServletContext()
.getResourceAsStream("/reports/FirstReport.jasper");
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:att", "att_report", "jasper");
JasperRunManager.runReportToPdfStream(reportStream, servletOutputStream, parameterMap, con);
con.close();
response.setContentType("application/pdf");
servletOutputStream.flush();
servletOutputStream.close();
} catch (JRException e) {
// display stack trace in the browser
StringWriter stringWriter = new StringWriter();
PrintWriter printWriter = new PrintWriter(stringWriter);
e.printStackTrace(printWriter);
response.setContentType("text/plain");
response.getOutputStream().print(stringWriter.toString());
catch (SQLException e1){
StringWriter stringWriter = new StringWriter();
PrintWriter printWriter = new PrintWriter(stringWriter);
e1.printStackTrace(printWriter);
response.setContentType("text/plain");
response.getOutputStream().print(stringWriter.toString());
catch (ClassNotFoundException e2){
StringWriter stringWriter = new StringWriter();
PrintWriter printWriter = new PrintWriter(stringWriter);
e2.printStackTrace(printWriter);
response.setContentType("text/plain");
response.getOutputStream().print(stringWriter.toString());
Could anyone please try and find me a solution.the jasper report , instructions and examples work
just fine on Creator Studio
Give Creator Studio a Try and you will be relieved of your frustrations
(of course following the sun provided tutorial) -
below is described error:
Microsoft.SqlServer.Management.Smo.SmoException: Could not read metadata, possibly due to insufficient access rights. at Microsoft.SqlServer.Management.SqlScriptPublish.GeneratePublishPage.worker_DoWork(Object sender, DoWorkEventArgs e) at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs
e) at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
some urgent help needed to fix this...
error while geneartign script for entire datbase and entire obbject case only.Hi skc_chat,
According to the error message, you may do not have the permission to view the metadata. Please follow the steps below to grant the permissions to the current login on the SQL Server Management Studio:
Right click on the server name and select properties.
Click on the Permissions tab.
Select the login name.
On the Explicit tap, Grant "View Any Definition" to this login.
To grant this permission by T-SQL:
GRANT VIEW ANY DEFINITION TO <loginname>
Go
For more information:
Cannot Create Script
Also have a look at this article with the same error:
http://blog.davidsilvasmith.com/2011/08/i-was-on-sql-server-2008-r2-database-i.html
Best Regards,
Stephanie Lv
Please remember to mark the replies as answers if they help and unmark them if they provide no help. -
Adobe Media Encoder for CS4 error Could not read from the source
Hello,
I get an error when I try to export from Premiere CS4. It doesn't matter how I export. Seems like an easy fix, but I can't figure it out. Any help is appreciated:
- Source File: C:\DOCUME~1\ARTWHI~1\LOCALS~1\Temp\extra and b roll.prproj
- Output File: E:\Living Accused Movie Transfers\video\Cindy at table.avi
- Preset Used: NTSC DV
- Video:
- Audio:
- Bitrate:
- Encoding Time: 16:10:34
1/21/2009 9:50:25 PM : Encoding Failed
Could not read from the source. Please check if it has moved or been
deleted.
Thank you
ArtWhen you attempt to encode media with Adobe Media Encoder CS4 on Windows, the following error message appears in the text file (AMEEncodingErrorLog.txt) that opens when you click the error icon: "Encoding Failed. Could not read from the source. Please check if it has moved or been deleted."
If it's that correct, you removed an earlier version of Adobe Premiere Pro or Adobe Creative Suite on the same computer.
Do one or both of the following solutions:
Solution 1: Create a shortcut to the Premiere Pro executable file, rename the shortcut to Premiere, and move the shortcut to C:\Program Files\Common Files\Adobe\dynamiclink.
Close all Adobe applications.
In Windows Explorer, navigate to C:\Program Files\Adobe\Adobe Premiere Pro CS4. (If you installed Premiere Pro CS4 in a location other than the default of C:\Program Files\Adobe, then navigate to your custom installation location.)
Right-click on Adobe Premiere Pro.exe (which might appear without the .exe extension) and choose Create Shortcut.
Rename the newly created shortcut to just Premiere.
Important: The name of the shortcut must be exactly Premiere with no other characters.
Open a second Windows Explorer window, and navigate to C:\Program Files\Common Files\Adobe\dynamiclink.
Move the Premiere shortcut that you created into the dynamiclink folder.
Solution 2: Remove and reinstall all Premiere Pro CS4 components or all Adobe Creative Suite 4 components.
Do one of the following:
Windows XP: Choose Start > Control Panel > Add or Remove Programs.
Windows Vista: Choose Start > Control Panel > Programs and Features.
In the list of installed programs, select Adobe Premiere Pro CS4, Adobe Creative Suite 4 Production Premium, or Adobe Creative Suite 4 Master Collection.
Click Change/Remove (Windows XP) or Uninstall (Windows Vista).
Follow the on-screen instructions to remove all components of Premiere Pro CS4 (including Adobe Encore CS4 and Adobe OnLocation CS4) or to remove all components of your edition of Adobe Creative Suite 4.
Re-install your Adobe software. -
Subject: VSTS loadtest error while running Loadtest with Runsettings as No of test iterations , ERROR is : could not read result repository: unknown transaction
id in results:
Hello All,
I am facing the following error while running a loadtest (when i choose the scenario to be executed for No of test iterations). But the same loadtest with the Run duration for X minutes is running fine without any issues.
Any suggestions on the issue i am facing
error is :
could not read result repository: unknown transaction id in results:
or
could not read result repository: unknown request id in results:
Thanks
SatishHi Kotapati,
>>Subject: VSTS loadtest error while running Loadtest with Runsettings as No of test iterations , ERROR is : could not read result repository: unknown transaction
id in results:
According to your description, you mean that when you run your load test using the Test Iterations way and then get the error message, am I right?
If yes, please you try to close the VS, and then open this VS again. Then clean your load test project/solution and then re-build it, run your load test again check this issue again.
In addition, I suggest you could try to create a new load test and then run it using Test Iterations way check if you get the issue for the specified load test or all load tests.
If possible, I suggest you could share me simple load test for us so that we will further help you.
You could upload your load test to OneDrive and then copy link here.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Maybe you are looking for
-
Is there a way to remove very old Oracle SR we created 4-5 years ago?
We have changed several dbas, and have a whole bunch of old SR in our account. I want to remove most of those old unrelevent SRs. I could not find a button to do that. Can anybody tell me if it is even possible to do that? Thanks
-
Hi Experts, I am making an report for my customer with shipment details of the AR delivery. Now i want the export of the shipment details in 4 records, but only get the exported data in 1 line. Is there a way to change the format in excel advanced re
-
Problem with website dispplaying images
Hi, I made a website using iWeb. I click on the index.html file in the folder everything is and my website is perfect. Then I used ftp and uploaded all the contents of the folder to a public_html folder. Now the problem is that although the image fil
-
What is the build method to be used in this scenario
A B --- C ---d ----e ---f ---g X ---Y---Z here A is parent and B,X are childs of A, and C,D,e,f,g, are childs of B, and Y,Z are childs of X then what the build method we must take,when and how do we choose the build methods, is it depending on the hi
-
I updated to Yosemite and now I can't open my YNAB finance app. There is a question mark in the Dock where the App should be and when I hover over the question mark it does say YNAB but I can't open it. When I double click on the question mark nothin