Error in solving MultiSchema.sqlj

Hello there,
I am trying to solve Multischema.sqlj example given in sample
examples of sqlj with slight moditications. My emp table is
having scott schema and dept table is having sheetal schema.
The compilation fails at
#sql (deptCtx) {
SELECT dname INTO :dname FROM sdept WHERE deptno = :deptno
stating error as "missing equal to sign".
can anybody help me to come out of this mess?
A complete program is as follows :
import java.sql.SQLException;
import java.sql.DriverManager;
import java.sql.Driver;
import java.sql.Connection;
// declare a new context class for obtaining departments
#sql context DeptContext;
#sql iterator Employees (String ename, int deptno);
class MultiSchema
public static void main(String[] args) throws SQLException
// Create the default context used to query employees.
ConnectionManager.initContext();
// Create a context for querying department info using
// a second connection. Edit the URL2, UID2, and PWD2
// strings for a connection and schema available to you.
String DRIVER = "oracle.jdbc.driver.OracleDriver";
String URL2 = "jdbc:oracle:thin:@garuda:1521:orcl";
String UID2 = "sheetal";
String PWD2 = "sheetal";
Boolean flg = false ;
Connection conn = null;
try {
Driver d = (Driver) (Class.forName(DRIVER).newInstance());
DriverManager.registerDriver(d);
} catch (Exception ex) {
System.err.println("Could not load driver: " + DRIVER);
ex.printStackTrace();
System.exit(1);
try {
conn = DriverManager.getConnection(URL2, UID2, PWD2, flg);
} catch (SQLException ex) {
System.err.println("Could not get another connection");
ex.printStackTrace();
System.exit(1);
DeptContext deptCtx = new DeptContext(conn);
new MultiSchema().printEmployees(deptCtx);
deptCtx.close();
// Performs a join on deptno field of two tables accessed from
// different connections.
void printEmployees(DeptContext deptCtx) throws SQLException
// obtain the employees from the default context
Employees emps;
#sql emps = { SELECT ename, deptno FROM emp };
// For each employee, obtain the department name
// using the dept table connection context.
while (emps.next()) {
String dname;
int deptno = emps.deptno();
#sql (deptCtx) {
SELECT dname INTO :dname FROM sdept WHERE deptno = :deptno
}; // I GET AN ERROR HERE as MISSING EQUAL SIGN IN
ASSIGNMENT
System.out.println("employee: " emps.ename()",department:"
+ dname);
emps.close();
thanking you in advance,
-Sheetal
null

Are you using JDK 1.2.1? If yes, then try to use JDK 1.2.2 instead. We have seen JDK 1.2.1 garbage collecting things that are still in scope (very unsafe).
If wiggling your configuration does not help, you'll need to provide more info about your environment and it would be best to get a reproducible test case.
One other note: make sure to finally close the SQLJ iterator not the result set that is being returned. Otherwise you can start leaking cursor handles and/or statement cleanup will not be properly performed.

Similar Messages

  • Current iTunes MSVCR80.dll, Error 7 (windows error 126): SOLVED.

    Dear avid iTunes users - I have cracked it!!!
    The response from Apple/iTunes was extremely poor and did not solve the problem.
    I have a look in msconfig and observed which applications/services were running - one of which was the 'Apple Application Support'
    So ... I had a look at what was in this folder and found the APS Daemon.exe file causing all the trouble.
    So ... I simply deleted the Apple folder found in C:\program files\common files\.
    I did a restart and did not get the MSCVCR80.dll or Error 7 (windows 126) error messages.
    I reinstalled the current version of iTunes (for the 16th time!)
    Hey presto!!!
    IT WORKED :-O Woooohooo!!!
    So ... to all those smarty-pants boffin-brianiacs out there (apple/iTunes): this is how you do it!!!!!!!!!!
    YOU DO NOT NEED TO UNINSTALL ALL THE APPLE/QUICKTIME OR RELATED PROGRAMS - JUST DELETE THE APPLE FOLDER IN THE C:\PROGRAM FILES DIRECTORY.
    Nuff said.
    Like (0)

    Solving the iTunes Installation Problems in Windows
    1. Apple has posted their solution here: iTunes 11.1.4 for Windows- Unable to install or open - MSVCR80 issue.
    2. If the Apple article does not fully resolve the problem for you, then try Troubleshooting issues with iTunes for Windows updates - MSVCR80.

  • Burn error 4261 - solved! (?)

    Hello All-
    I feel your pain. I have been working on this for a week. I got it working tonight. I believe the key was updating the firmware for the burner. I have a dell xps400 and found an update r143730 for the hl-dt-st dvd+-rw gsa-h21n drive on the dell website. I had to download it, extract it, then 'flash' the firmware. It was tricky to find..I had to go to drivers/downloads, enter my service tag, and look carefully for a download that had a slightly differently named device, but appeared to be the right one. I'm now burning.
    Not following a very good scientific process, here were the other changes I made...It's possible one of these or some combo did the trick:
    -new discs
    -slow burn speed to 16x
    -used a totally new disc that I had never failed to write on.
    -enabled DLA in properties of the drive.
    -updated some sonic software from some clicks off the drive properties near where I enabled DLA.
    -tried to burn through media player.
    Hope this helps.

    I got an Error 4261 message on my computer some months ago while attempting to backup my iTunes music ---about Dec. 2006. Hopefully, the problem is now solved. This was a difficult and time consuming issue to resolve. I shall provide some details of this resolution (worked for me) as I know some others are having the same problem. I hope to post this message to others with 4261 errors.
    I have a Dimension E510 computer bought in 2006. I am using Windows XP. My CD ROM burner is as follows: HL-DT-ST DVD +-RW GWA4164B. I wonder if you have the same type CD ROM.
    At first, several thoughts came to mind. Google? Never listen to music again. Invest in a sledge hammer? I decided to try and fix the problem and would work on this for the next eight months. Recently, I decided that this problem had to go away. I tried various things to correct the problem often with technical assistance as the following indicate:
    Changed copy speed//Did a restore on my computer (no help)// reversed restore
    Updated iTunes files//Did virus scans
    Contacted a company techie—Discovered my warranty was still good. Cdrom driver was updated. We got the iTunes program to copy a disk. Problem solved?? Time passes.
    The problem reoccurs. I contacted a techie again. He was able to get another program to copy on the cdrom I was using to copy iTunes music. I was told that I should contact an iTunes rep. $$. Says cdrom hardware is OK. (One can save files (ex. photos) to a new file created on the desk top and copy them to a cdrom---a test method used.)
    I read suggestions about updating my BIOS and chipset on the iTunes message board. Not being a techie I wasn’t so sure about this. (Also Techies did not go in this direction.) Time passes.
    I didn’t buy music.
    I read messages saying that I should backup my iTunes music.
    Called techie again. Updated cdrom driver. We were able to copy data using the same cdrom used for the iTunes copy. (Again this was not a fix. It was indicative of an intermittent/partial cdrom failure which occurred over time, and one manifesting itself in iTunes.) I asked him to try to copy another. Amazingly, this copy failed. Something was wrong. Now we’re getting somewhere. Techie eliminated some startup files to try to determine source of a software error, if one. This did not fix the problem.
    Techie deleted a couple registry files. I don’t like deleting registry files because they serve a valuable purpose, but I’m not a techie. Later I was told that this is a routine test procedure. (After the fix I would have to do an update of my iTunes program. iTunes has a repair feature which was on my desktop—a holdover from a previous attempt to fix things with an iTunes update. I ran this repair without harming my music files, and this repaired the program.)
    Techie said I may have a problem with my current brands of CD-R disks. I bought and tried other brands---four all total. This did not work.
    I happened to attempt to copy some pictures as I was interested in having some developed. To my surprise, my computer stopped the copy citing an error with the copy process. The problem now manifested itself with another software program. Heretofore, I could successfully copy pictures using the same cdrom but not iTunes music.
    I called the techie again. I told him what I had done and new error in copying other files to the cdrom. We attempted to use other programs to copy music and picture files on the cdrom. (My thinking is, if they had worked, then the cdrom was OK, and the problem was a software problem and likely involving iTunes---software and not hardware Obviously I wanted a cdrom replacement as this would be easier for me than pursuing imbedded software program issues.) We could not get any software programs to copy files to the cdrom in question. This was a clear indication that the cdrom was defective. We likely used up ten CD-R disks in these latest attempts.
    Looking back, there was a subtle indication of a problem with the cdrom. There was a problem with one of the songs I had copied to a new disk (No. 24 of 24 songs on a disk). The song was copied with errors. This shouldn’t have happened.
    The company replaced cdrom free of charge the next morning in about 5 minutes. Wow!
    I tried the new cdrom and began burning iTunes music right away. No 4261 error message. I also copied pictures to the same cdrom without any error messages. I also successfully used other brands of CD-R disks.
    I had problems with iTunes and a photo program after cdrom installation but fixed them with updates. I also experienced problems with Windows Media Player and Roxio/Sonic. They didn’t want to recognize the new cdrom in drive (E:). Restore made things worst so I undid this. I spoke to a tech again about these issues as I wasn’t certain of the scope/nature of problem. Issue of ownership of problem came up again. Software vs hardware. We updated both programs with updates from company support pages. This fixed the problem. Point learned here was the need to keep files updated with the latest and greatest. I am skeptical of too many changes because of risk of problems. Now, it seems, I have no choice but to do this---critical changes at least. Many thanks to Techie.
    The thought in my mind now is whether performing updates and specifically on Windows Media Player would have fixed the error to begin with. Well, I did run an update on my iTunes prior to, and there are no updates for my photo program. Looking back I would try the updates/repair first (the easy stuff) before I replaced the cdrom. I spent about 9 hours on phone with techies(caution not to delete music). Without warranty, I couldn’t have afforded this. Luckily for me it was a hardware issue.
    Replacing the cdrom on my computer fixed the 4261 error on my computer. I hope something here will be of help to some of you who have the same problem.
    Kindest regards. 08/14/07

  • CD Burn Error 4450 - solved!

    I kept getting the dreaded 'unknown error 4450' when burning from iTunes to CDs. Once I changed the burn speed to '12x', it worked fine! I wich I knew that before I wasted a stach of blank CD's I hope this helps some of you!

    Hi all...
    Im not sure if this problem has been solved for any of you or not but i have been most frustrated by the issue... until I came across the answer that solved the problem for me - It turns out that my HP printer was conflicting with itunes... which sounds crazy and yet its not first time that my printer has done something stupid... i got additional info from this genius.... below is the link, i hope it solves the problem for at least one of you!
    http://blogs.zdnet.com/hardware/?p=2600

  • I had one error plz solve this

    hi when i am useing this code i am getting one error like
    like : when ur using addition of for all entries
    the objid must be it_hrp1000-objid have same length and type
    plz solve this what can i do
    TYPES :BEGIN OF ST_OUTPUT,
            COUNT TYPE STRING,
           OTYPE TYPE HRP1000-OTYPE,
            OBJID TYPE HRP1001-SOBID,
            STEXT TYPE HRP1000-STEXT,
            BDATE TYPE HRP1000-BEGDA,
            EDATE TYPE HRP1000-ENDDA,
            CANCRT TYPE T77CRT-CANCRT,
            AEDTM TYPE HRP1026-AEDTM,
            NCONT TYPE HRP1026-NCONT,
            LOCTX TYPE HRVPVA-LOCTX,
            UNAME TYPE HRP1026-UNAME,
           END OF ST_OUTPUT.
    TYPES: BEGIN OF ST_HRP1000,
            OTYPE TYPE HRP1000-OTYPE,
            BEGDA TYPE HRP1000-BEGDA,
            ENDDA TYPE HRP1000-ENDDA,
            OBJID TYPE HRP1001-SOBID,
           END OF ST_HRP1000.
    TYPES : BEGIN OF ST_HRP1001,
             OTYPE TYPE HRP1000-OTYPE,
            OBJID TYPE HRP1001-SOBID,
             SCLAS TYPE HRP1001-SCLAS,
             SOBID TYPE HRP1001-SOBID,
             BDATE TYPE HRP1000-BEGDA,
             EDATE TYPE HRP1000-ENDDA,
            END OF ST_HRP1001.
    TYPES : BEGIN OF ST_HRP1026,
             AEDTM TYPE HRP1026-AEDTM,
             UNAME TYPE HRP1026-UNAME,
             REASN TYPE HRP1026-REASN,
             DELET TYPE HRP1026-DELET,
             NCONT TYPE HRP1026-NCONT,
            END OF ST_HRP1026.
    TYPES : BEGIN OF ST_REASON,
             CANCR TYPE HRP1026-CANCR,
             CANCRT TYPE T77CRT-CANCRT,
            END OF ST_REASON.
    DATA : IT_REASON TYPE STANDARD TABLE OF ST_REASON.
    DATA : WA_RESON TYPE ST_REASON.
    DATA : IT_OUTPUT TYPE STANDARD TABLE OF ST_OUTPUT.               "OUTPUT FEILDS OF REPORT.
    DATA : WA_OUTPUT TYPE ST_OUTPUT.
    DATA : IT_HRP1000 TYPE STANDARD TABLE OF ST_HRP1000.             "DATA FROM HRP1000 TABLE
    DATA : WA_HRP1000 TYPE ST_HRP1000.
    DATA : IT_HRP1001 TYPE STANDARD TABLE OF ST_HRP1001.             "DATA FROM HRP1001 TABLE
    DATA : WA_HRP1001 TYPE ST_HRP1001.
    DATA : IT_HRP1026 TYPE STANDARD TABLE OF ST_HRP1026.              "DATA FROM HRP1026 TABLE
    DATA : WA_HRP1026 TYPE ST_HRP1026.
    DATA: WS_FCAT    TYPE SLIS_FIELDCAT_ALV .                         " FEILDCATALOG FOR ALV REPORT
    DATA: IN_FCAT    TYPE SLIS_T_FIELDCAT_ALV.
    DATA: W_LAYOUT   TYPE SLIS_LAYOUT_ALV.
    DATA : LV_COUNT TYPE I.                                           "FEILD FOR SERIAL NUMBER
      DATA :   JOBJID LIKE HRP1000-OBJID,
               JSOBID LIKE HRP1001-SOBID.
    ***************************END OF DATA DECLARATION******************************************
    ***********SELECTION SCREEN DESIGN***********************
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETERS : OTYPE LIKE HRP1000-OTYPE.
    SELECT-OPTIONS: DATE FOR SY-DATUM.
    SELECTION-SCREEN END OF BLOCK B1.
    **********END OF SELECTION SCREEN DESIGN*****************
    ****INITIALIZATION VENT TO ASIGN DEFAULT VALUES TO OTYPE
    INITIALIZATION.
    OTYPE = 'D'.
    *************END OF EVENT INITIALIZATION*****************
    START-OF-SELECTION.
    SELECT OTYPE OBJID BEGDA ENDDA
           FROM HRP1000
           INTO TABLE IT_HRP1000
           WHERE OTYPE = 'D'.
             AND BEGDA GT BEGDAT AND ENDA LT ENDDA.
    SELECT SCLAS SOBID
          FROM HRP1001
          INTO TABLE IT_HRP1001
          FOR ALL ENTRIES IN IT_HRP1000
          WHERE OBJID = IT_HRP1000-OBJID
           AND OTYPE = 'D' AND ( SCLAS = 'E' OR SCLAS = 'ET' ).
    SELECT AEDAT UNAME
          FROM HRP1026
          INTO TABLE IT_HRP1026
          FOR ALL ENTRIES IN IT_HRP1001
          WHERE OBJID = IT_HRP1001-SOBID
           AND ( OTYPE = 'E' OR OTYPE = 'ET' )
           AND DELET = 'X'.

    Hi naresh,
    1. minor mistake
    2.
    TYPES: BEGIN OF ST_HRP1000,
    OTYPE TYPE HRP1000-OTYPE,
    BEGDA TYPE HRP1000-BEGDA,
    ENDDA TYPE HRP1000-ENDDA,
    <b>OBJID TYPE HRP1001-OBJID</b>,
    END OF ST_HRP1000.
    3. OBJID and SOBID are different in length, hence the error.
    4. Just correct the BOLD LINE, and check again.
       (also check if there is any impact on other sql statements or data)
    regards,
    amit m.

  • "Exausted resultSet" error in servlet calling SQLJ

    I've got a servlet wich calls a sqlj methode; the sqlj opens an iterator, converts it as a resultset, and sends it to the servlet.
    Then, the servlet browses this ResultSet (with rs.next()) and output the data to screen.
    I don't know why, but sometimes, all data appears on the screen, and sometimes i get an error message "Exausted resultSet", and sometimes i get an other error message "Closed ResultSet".
    I use the same program, i just run it many times, and sometimes it crashes, and sometimes not. (and it don't crashe in the same moment)
    i use Tomkat 3.2.1 with apache
    where does this bug come from ? Tomkat or SQLj ??
    i've notice that the error appears when the garbage collector runs. If i run it manualy in the "while(rs.next())", it crashes immediately
    if i run the garbage collector before the "while" statement, for small resulset, it never crashes, but for bigger resultset it do ! (as if the problem appears when the garbage collector runs)
    it causes big problems to continue developping our application, so any help would be very appreciated...

    Are you using JDK 1.2.1? If yes, then try to use JDK 1.2.2 instead. We have seen JDK 1.2.1 garbage collecting things that are still in scope (very unsafe).
    If wiggling your configuration does not help, you'll need to provide more info about your environment and it would be best to get a reproducible test case.
    One other note: make sure to finally close the SQLJ iterator not the result set that is being returned. Otherwise you can start leaking cursor handles and/or statement cleanup will not be properly performed.

  • This module only supports the threaded MPM,this is error,how solve?

    I start startup software,appear error,as follow:
    This module only supports the threaded MPM
    How solve this is error,what MPM?Help me,THKS!!!!!

    --with-mpm=worker,solve this error.

  • Burn Error 4000 Solved? Worked for me!

    First of all, I apologize if this solution has been posted before. I looked for it on here and couldn't find a solution in the archives. My OS is XP.
    My problem started when I had to split a disk because of too many tracks for one. First disk burned fine but when I put in the second I realized it kept trying to burn the first playlist and then Error 4000 occured. Checked burn ability with Windows Media Player and it worked fine. I burned through about 20 disks with iTunes before deciding to try uninstall. When I went to add/remove in Control Panel, I chose the "Change" option instead of the "Remove" option. Once in Change, I chose "Repair." I then tried to burn disk and got Error 4000 again. I only mention this step because it is the one immediately prior to solving the issue.
    After this, I resolved to try one last time. This time, however, I removed the check in the box for "CD Text," (because I couldn't remember if I'd already tried that) and the disk burned fine. Even checked it in Windows Media Player to see if it worked. It did. Works in the truck fine too!
    Anyway, hope this works for everyone else. Obviously, Apple needs to get this fixed.

    When does Apple come out with the fix for the burning issue "4000", which is getting a global problem?????????????
    I have this problem now several months, tried e v e r y t h i n g, even reinstalling XP. I am a pro DJ and buy all my music through I-Tunes, while it´s the best.
    Please HELP

  • Reimport Error(how solve this)

    Hi Friends,
    Some modification done ABAPer in bapi. After completion of modification I reimport that bapi
    from R/3 System(Ymm_Sc_Bapi_Oapending_Getlist).  Then next I am dong context mapping from model object to CC and CC to View
    Uom--- This is new attribute added in bapi
    Then deployed that application I got this error
    The initial exception that caused the request to fail, was:
       com.sap.tc.webdynpro.progmodel.context.ContextConfigurationException: DataNodeInfo(CO_POPending.Ymm_Sc_Bapi_Oapending_Getlist_Input.Output.Outtab): structure field Uom not found 
    How to solve this problem.
    Can u tell me what is the process after reimport the model. what we can do..next step.
    Vijay
    Kalluri

    Hi Vijay,
    If something changes in the BAPI/RFC in the backend system, then you need to uodate the JCO Destination metadata.
    Please refer to below document if helpful on you scenario :
    Metadata Cache Invalidation for Adaptive RFC Models - http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10465350-b4f5-2910-61ba-a58282b3b6df?quicklink=index&overridelayout=true
    Web Dynpro u2013 Refresh the RFC Metadata Cache - http://www.sapgeek.net/2009/09/web-dynpro-refresh-the-rfc-metadata-cache/
    if the issue not solved, then you must need to restart your J2ee engine server.
    Hope it helps
    Regards
    Arun
    Edited by: Arun Jaiswal on Apr 8, 2010 2:55 PM

  • Disk Utility Error 254 **SOLVED**

    This persistent problem has been a bugaboo for years and has been the cause of many long nights and huge frustration for me. You follow the standard instructions for putting an .iso on a USB using Restore in Disk Utility and it doesn't do it, returns an error 254.
    Here's the workaround that worked for me, once I noticed the problem ISOs had no embedded partition information:
    1) CONVERT the problem ISO to DMG in Disk Utility
    2) DOWNLOAD "DMG Converter" (freeware) from the web.
    3) Set convert tab, file format to ISO (JOLIET)/UDF HYBRID IMAGE.
    4) Allow to run and finish. This seems to restore
    5) Now use Disk Utility to Restore the new ISO to your USB drive.
    Good luck.

    I am having the same issues as from the post ...
    http://discussions.apple.com/thread.jspa?threadID=1507263
    The DMG i am using is one i created of my MBP using Disk utility onto my external HDD. Its now that i am restoring it i am getting this error. I have tried everything to restore this and spent countless hours, its 50GB files so each attempt takes ages.
    Please anyone a solution or other possible clue as to fixing this? I really need to access the data that is in that DMG. When i try to open it in finder it says "no mountable file system."
    Message was edited by: Boojo

  • Dual boot windows 7+archlinux on separate disks; grub errors. [solved]

    Hello,
    I am very excited to try arch linux, but am having trouble with the
    installation.  My situation is as follows:  I have 3 hard drives: windows 7
    lives on sda and sdb.  I am installing arch on sdc, which is 500GB.
    I partitioned the hard drive as follows (which may look kind of ridiculous,
    but please understand I am new at this):
    sdc1    /boot    1GB    ext2
    sdc2    swap    8GB     swap
    sdc3    /       50GB    ext3
    sdc4    /home   400+GB  ext3
    After some initial issues, I managed to run the installation program
    smoothly, performed the basic configuration, and then went to install grub. I
    scrutinized the grub menu.lst file over and over, and could not find anything
    wrong.  It had the following entry for archlinux:
    title: Arch Linux
    root: (hd2,0)
    kernel: /vmlinuz26 root=/dev/sdc3 ro
    initrd: /kernel26.img
    There is no entry for windows, as I can just use the BIOS boot menu to switch
    between the two bootable hard disks, or at least that was my plan...
    When I boot to windows, everything works just fine.  When I go to the
    BIOS boot menu and choose to boot from the third disk, I get the grub
    bootloader with choices of arch and arch fallback, just as expected. 
    I select the former, and I get the following message from grub:
    Booting 'Arch Linux'
    root    hd(2,0)
    Filesystem type unknown, partition type 0x7
    kernel /vmlinuz26 root=/dev/sdc3 ro
    Error17: cannot mount selected partition
    The same thing happens for the fallback image.  I made very sure to install
    grub to the mbr, /dev/sdc.
    I have also tried to use the UUID entry for /root in the menu.lst file, and
    this gives the exact same results.  I have also run grub interactively from
    the bootable CD image, and it does not give such errors-  it knows that
    hd(2,0) has type 82, and not 7.  However, when I try the initrd command in
    interactive grub, I get a complaint about the image not fitting in memory.
    However, I have 16GB of ram...
    One other note that may be (but probably is not) relevant:  initially I could
    not get the Arch disk to recognize the hard drive (the format disk phase of
    installation would always fail), so from windows, I went to the disk manager
    and formatted it with ntfs.  This enabled me to format the disk from the arch
    install process and install the new FS.  I didn't think the temporary presence
    of ntfs would be any kind of an issue since I immediately reformatted it.
    Many thanks for your time reading this.  Much appreciated.
    Last edited by wes (2011-03-07 21:24:44)

    I guess here:
    https://wiki.archlinux.org/index.php/Be … Bootloader
    or here
    https://wiki.archlinux.org/index.php/Wi … ard_Drives
    would be sensible places, but as a complete rookie, I don't feel qualified to start editing the wiki...

  • App Error 523 SOLVED!!

    Did an software update on my curve to 4.5. when i tried to push a new theme on it, it reloaded a blank screen with a "App Error 523" code and a little reset button underneath it. i have tried the button many times now to have the curve reboot and give me the same error code...
    removed battery and sim card many times, and still no changes 
    found answer here http://forums.pinstack.com/tags.php?s=7f0e34587c98​5c723b0226afa10db727&tag=523 
    Message Edited by mmbois on 03-19-2009 07:55 AM
    Message Edited by mmbois on 03-19-2009 08:58 AM
    Message Edited by mmbois on 03-19-2009 10:26 AM

    this hyperlink didnt help me could you tell me how else to fix it?

  • Creating PDF (FOP) from report in Apex 3.0 generates Error 500 (solved!)

    Hi, I have installed apex 3.0 , no errors, followed the installationguide for standard support printerserver (FOP) and OC4J (standalone downloaded) is up and running. <br>
    <br>
    However, when I click print, I get a 1 byte PDF with the text:<br>
    <HTML><HEAD><TITLE>500 Internal Server Error</TITLE></HEAD><BODY><H1>500 Internal Server Error</H1><PRE>Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.</PRE></BODY></HTML>
    <br>
    <br><br><br>
    <br>
    And when I check global_applications log I find:<br>
    <br>
    <br>
    07/03/26 14:44:33.205 defaultWebApp: Servlet error
    oracle.xml.xpath.XPathException: Parse Error in number function.
         at oracle.xml.xslt.XSLBuilder.startElement(XSLBuilder.java:468)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1288)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:336)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:319)
         at oracle.xml.xslt.XSLProcessor.newXSLStylesheet(XSLProcessor.java:708)
         at oracle.xml.xslt.XSLStylesheet.<init>(XSLStylesheet.java:321)
         at oracle.xml.parser.v2.XSLStylesheet.<init>(XSLStylesheet.java:114)
         at apex_fop__render._jspService(_apex__fop__render.java:71)
         at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.2.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:597)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:521)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:712)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:534)
    <br><br><br><br><br><br>
    I know it's a longshot, but anyone have a clue what might be wrong? Apex is configured to access the apex_fop.jsp as well. and everything is unzipped where it should be and all that.
    <br><br><br><br><br>
    Could it have something to do with the java version or anything?
    <br><br><br><br>
    Message was edited by:
    p950jbg
    Whoops a lil bit messy text<br><br>
    Thank you in advance<br>
    <br>
    Sincerely<br>
    Johnny
    Message was edited by:
    p950jbg

    Small update again,
    I skipped using the downloadable oc4j/j2ee and tried using the one that came with 10.2.0.1 installation (patched to 10.2.0.3)
    It starts up fine saying:
    07/03/28 21:31:27 Oracle Application Server Containers for J2EE 10g (9.0.4.1.0) initialized
    It started up all well with the downloadable latest containers too, but got different errors running the apex_fop.jsp file.
    well with the version that came with the database it says in the PDF file after I tried to generate it from a report:
    Error 500:
    java.lang.UnsupportedClassVersionError: Bad version number in .class file
    Anyone got any idea?

  • 2008 R2 cannot proceed sysprep. Error 4201 SOLVED

    Hello,
    I've tried everything what i have found on the internet about the error code 4201 when proceeding to a sysprep generalise.
    I've made a clone of a virtual machine, removed the network connections. Putted the Windows server 2008 R2 in workgroup and then tried to sysprep.
    All the possible registry changes that i have seen does not work. Removing the Panther folder does not work. The Event viewer service is running and the event view is working. 
    The only message i have is : The instance name passed was not recognized as valid by a WMI data provider
    I would like to make a kms activation but i'd rather prefere to keep this machine in workgroup offline since it still has the same SID as the original machine.
    I have attached the screenshot of the setuperr log file.
    Any advice is really appreciated.
    Thanks.

    That did fix the issue for me about the event viewer. I could not read the security events.
    I did this in normal mode but a reboot is recquired to work
    This problem can be caused by a permissions issue to the: C:\Windows\System32\LogFiles\WMI\RtBackup directory. The SYSTEM group needs full control permissions for the directory.
     Here are some steps on how to fix the problem.
    Start Windows in Safe mode.
    Open the “C:\Windows\System32\LogFiles\WMI” folder.
    Right-click on the RtBackup folder and choose Properties.
    Click the Security tab, and click the Edit button.
    Click Add, type SYSTEM and click OK button.
    On the “Full control” Permission select “Allow”.
    Click OK, and then click “Yes” button when asked for confirmation
    Restart Windows (in Normal mode), and verify if the Windows Event Service has started.

  • Weird Pacman Error! [solved]

    Since last night, I've been getting this weird error when I run 'pacman -Syu' as root. What's going on?
    :: Synchronizing package databases...
    current 71.2K 143.5K/s 00:00:00 [#####################] 100%
    extra is up to date
    community 274.6K 339.7K/s 00:00:01 [#####################] 100%
    :: Starting full system upgrade...
    resolving dependencies... done.
    looking for inter-conflicts... done.
    Targets: gd-2.0.35-1 gstreamer0.10-good-0.10.6-1 gstreamer0.10-flac-0.10.6-1
    gstreamer0.10-gconf-0.10.6-1
    Total Package Size: 0.84 MB
    Proceed with installation? [Y/n]
    :: Retrieving packages from current...
    gd 175.9K 627.3K/s 00:00:00 [#####################] 100%
    checking package integrity... done.
    cleaning up... done.
    (4/4) checking for file conflicts [#####################] 100%
    error: could not prepare transaction
    error: failed to commit transaction (conflicting files)
    gstreamer0.10-good: /usr/lib/gstreamer-0.10/libgstqtdemux.so exists in filesystem
    gstreamer0.10-good: /usr/lib/gstreamer-0.10/libgstvideocrop.so exists in filesystem
    errors occurred, no packages were upgraded.
    Any ideas, anyone?
    Last edited by tony5429 (2007-06-29 22:38:16)

    @ tony5429
    I was running in a semilar problem!
    I forced the update from gstreamer0.10-good with
    pacman -Syf gstreamer0.10-good
    after then I run again
    pacman -Syu
    and all run normal.
    You can also read here in this topic about it
    http://bbs.archlinux.org/viewtopic.php?id=34669
    the arch developmer tomk wrote
    tomk wrote:If you're not in a hurry, wait for the -bad package upgrade. Otherwise, I'd suggest -Syf for the -good package, followed by -Su for everything else.
    cheers
    JaDa

Maybe you are looking for