Newbie trying to

I am trying to teach myself how to use Illustrator and I feel like I am making some progress.  But, there is one thing that I can't seem to fgure how to do in a efficient manner.  I draw a lot of cars (mostly on paper, but now via Illustrator)  I am trying to create the wheels of the car, but can't seem to find a good way to do it.  Basically what I would like to be able to do is create a "spoke" of the wheel and then duplicate that "spoke" in a radial pattern around a center point.  Here is what I have done so far:
Create a triangle
Copy/paste the triangle 4 times, rotating each one 72 degrees (360 degrees divided by 5 spokes)
Snap 5 triangles together joining all of the end points
Group 5 triangles together
Draw circle over the five triangles
Align the center of the circle with the center of the grouped triangles
I then trim the edges of the triangles leaving me with 5 spokes with rounded edges
The problem with this method is that for some reason, the center of the spokes do not align correctly with the center point of the circle (despite using the align tool)  It is always just a little bit off.  It's not really noticeable unless zoomed in, but I know it's not right.  Also, as I get better I want to be able to create different styles of wheels with more spokes, which will make the problem more noticable.
Anyone have any ideas or advice.  I have searched online, but can't find any answers.

There are some things, that may assist you.
- smart guides: show the centres of geometric objects and make them magnetic
- pressing the Alt-Key when working with the rotate tool. You press alt and click the center of rotation, after that a dialog will aks you for th angle. That way you can rotate an objct around any point you like.
- live paint: assists in the creation of complex shapes out of primitive ones. After using the live-paint-bucket, expand the object
Like this:
http://www.vektorgarten.de/img/tut/cragar-wheel.mov

Similar Messages

  • Newbie trying to use tomcat to run jsp

    I'm just trying to setup Tomcat on my machine, and i've run into a couple of issues.
    (1) if i type in http://localhost:9000/test in IE, it gives me an error saying TCP_ERROR and how the web server is possibly down. however if i try it in Netscape, the page shows up fine. I read in the running.txt file that it had something to do with the LAN settings, but i have no idea what has to be done in there to get it to work??
    (2) the second issue is, if i give someone the url http://<IP>:9000/test that is using another machine, what has to be done for them to see it? i had someone on another machine try it and they got page could not be found.
    TIA

    >
    (1) if i type in http://localhost:9000/test in IE, it
    gives me an error saying TCP_ERROR and how the web
    server is possibly down. Do you mean HTTP 500 error?
    however if i try it in
    Netscape, the page shows up fine. I read in the
    running.txt file that it had something to do with the
    LAN settings, but i have no idea what has to be done
    in there to get it to work??
    No LAN settings are needed. You're doing something else wrong. Is there a TOMCAT_HOME/webapps/test directory set up? Unless you created it, there's no such URL in Tomcat's setup.
    (2) the second issue is, if i give someone the url
    http://<IP>:9000/test that is using another machine,
    what has to be done for them to see it? i had someone
    on another machine try it and they got page could not
    be found.
    TIA If they can see the machine on the network, you don't have to do anything else special. If they can ping it, they can talk to Tomcat.
    If you're a newbie, as your topic says, why are you changing things like the Tomcat port? Leave it as the default until you have Tomcat under your belt. - MOD

  • Newbie: Trying to get data  from Code Behind file to HTML file.

    Greetings,
    I am trying to use the opener link adaptive tag to open a specific page. I have the Object ID, and classID as variables in my class in my class file, but I do not know how to get that data into the opener link which is on the html page.
    Should I be using session variables? If so how, I am a newbie.
    Does anyone know how?
    Thanks.

    Kinda depends on your flavor/need/preference. I've done it...
    * Using session variables and just writing to the page in script blocks. Not preferred in .NET-land, but definitely more of the fast/traditional ASP style. Use sparingly and with caution. Be really careful about VS.NET totally destroying your tags. It seems to love doing that (as an aside - HUGE thank-yous to the BEA engineers who altered the tags to consistenly use lower case. Really. I can't thank you enough. :) )
    * Using label controls and then just populating the label with the formatted adaptive tag (this can work well)
    * One of our guys did a really simple/elegant server control that takes arguments for the objectid, classid, etc. Nice for creating things repeatedly server-side and gets you by the HTML, quotes, etc. all over the place. Nice as it also consolidates the tag in a single place you can alter once.
    For session variables, you'd just do something like...
    <%
    '//in your code-behind
    Session("myClassID") = 18
    Session("myObjectID") = 12345
    %>
    <!-- in your aspx file -->
    <pt:standard.openerlink xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/' pt:objectid='<%=Session("myObjectID")%>' pt:classid='<%=Session("myClassID")%>' pt:mode='2' target='myWindow' onclick=window.top.open('','myWindow','height=800,width=700,status=no,toolbar=no,menubar=no, location=no');>Adaptive Tags Made This Easy - Click to Open My Awesome Document</pt:standard.openerlink>
    That help?
    Personal style, I would try to avoid using session, etc. directly on your ASPX file. I'd go with writing out the HTML through labels, data lists, etc. in your code-behind.
    Thanks,
    Eric

  • Help needed- newbie trying to setup xerces XML pasrer

    Hello all,
    I am new to Java and XML.
    I am trying to write a simple java program that will use the xerces parser and will read the XML file.
    I have installed xerces 2.8.0 and put in on a specific location on my hard drive.
    I also added the xercesImpl.jar file to the CLASSPATH variable.
    I am trying to compile this code:
    import org.xml.sax.XMLReader;
    public class SAXParserDemo {
    public void performDemo(String uri) {
    System.out.println("Parsing XML File: " + uri + "\n\n");
    // Instantiate a parser
    XMLReader parser = new SAXParser();
    public static void main(String[] args)
    if (args.length != 1)
    System.out.println("Usage: java SAXParserDemo [XML URI]");
    System.exit(0);
    }//IF
    String uri = args[0];
    SAXParserDemo parserDemo = new SAXParserDemo();
    parserDemo.performDemo(uri);
    }//MAIN
    The error I get is on this line : XMLReader parser = new SAXParser(); stating that it cannot find SAXParser.
    What am I doing wrong? is there something else I need to import?
    Help will be much appreciated.
    Sorry for the newbie question.
    Cheers,
    Mike

    The error I get is on this line : XMLReader parser =
    new SAXParser(); stating that it cannot find
    SAXParser.
    What am I doing wrong? is there something else I need
    to import?Well, yeah. Your code shows you already know how to use the "import" statement. The compiler says it can't find SAXParser, and you correctly suspect that you need to import something. So the logical step: you need to import SAXParser.
    But you don't know what package it's in, right? Well let me just look it up in the API documentation for you... here it is... javax.xml.parsers.SAXParser. Take note of the existence of documentation for the next time you have this sort of question.
    http://java.sun.com/j2se/1.5.0/docs/api/

  • Mac newbie trying to figure out best internal HD configuration

    Greetings,
    I've been trying to educate myself about internal hard drives by reading some of the posts here and doing a search about RAID but unfortunately I'm still a little confused. I'll try to post my questions about what I'd like to accomplish and if these have been answered before I'll gladly go read a post if someone can direct me to the right place.
    First, I have only one internal hard drive on my MacPro and I'm tired of living dangerously! I need to install another hard drive to use as a backup of my work, digital images, music, etc.
    1. Can someone explain (or link me to an explantion) the differences of RAID and which one i would want for the above scenario?
    2. Given my original aim with the backup disc, can someone recommend a make/model that works well as a backup? (for example i read about differences between an SE and an RE drive from one manufacturer, and how one works better in this or that situation, but it all went right over my head)
    3. Is there a software application I should consider that will help me automate my backup process on a daily (nightly) basis? (I'm more than a little forgetful)
    Thanks very much for dealing with the newbie on these issues!
    Enjoy the day,
    Pedro
    MacPro 2x2.66 GHz   Mac OS X (10.4.9)  

    I don't use raid myself so I'll leave that explanation to others. I configure my Mac Pro with 4 drives. My main drive is my boot drive and has about 300+ gigs free. I have a backup drive for that which I use SuperDuper for backup, creating a fully bootable backup drive in the event my main drive has a problem. I only back up to that drive when my machine is "good and solid". That allows me to throw on the most recent update without much concern. If there is a problem then I just boot from my backup drive and I'm back up and running just fine. I also use the backup of my main drive for my Final Cut Pro scratch drive. I copy the files for my movies to external drives for archive when needed. For my data drives I use another set of 500 gig drives. One for data (mostly photos) and one to backup using superduper whenever I feel like it. You could automate it all with Retrospect for the data drives if you wanted to. I don't think Retrospect will make a bootable backup of a main drive. I use Western Digital WD5000KS ddrives, 500 megs each. They make another model for those wanting RAID. Set up RAID, by all means, if squeeking every ounce of speed is your goal to be sure. My setup is conservative, redundant and very safe. A simple search here or on google for RAID0 or such will turn up much info on raid configuations.

  • Newbie Trying to restore Oracle database. please help

    Hi All,
    I am a newbie who is trying to restore Oracle database, I currently use RMAN to backup the database, but the database needs to be restored onto a test server, I'm not quite sure of what I need to do or where I need to start here.
    I currently backup the following
    SPfile
    ControlFile
    Datafile
    Archive Log
    If someone can point me in the right direction or maybe a link to a website, I would be very grateful.
    Thanks.

    Hi,
    login to your box using ssh or telnet
    1. rman> connect target /
    3. rman >startup force nomount;
    4. rman >restore spfile from '/u01/restore/restore/2009_02_07/o1_mf_s_678160942_4rstxj3k_.bkp';
    5. rman > shutdown immediate;
    6. rman > startup nomount;
    7. rman > restore controlfile from '/u01/restore/restore/2009_02_07/o1_mf_s_678160942_4rstxj3k_.bkp';
    8. rman > mount database;
    9. rman > restore database;
    10.rman > recover database;
    11. rman > sql 'alter database open resetlogs';
    below is the sample i've done on my test environment
    RMAN> startup mount;
    connected to target database (not started)
    Oracle instance started
    database mounted
    Total System Global Area 167772160 bytes
    Fixed Size 1218316 bytes
    Variable Size 67111156 bytes
    Database Buffers 96468992 bytes
    Redo Buffers 2973696 bytes
    RMAN> backup database;
    Starting backup at 11-FEB-09
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=158 devtype=DISK
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00001 name=/u01/app/oracle/oradata/ORCL1/datafile/o1_mf_system_4qzm5q6g_.dbf
    input datafile fno=00003 name=/u01/app/oracle/oradata/ORCL1/datafile/o1_mf_sysaux_4qzm5qc1_.dbf
    input datafile fno=00005 name=/u01/app/oracle/oradata/ORCL1/datafile/o1_mf_example_4qzmky86_.dbf
    input datafile fno=00002 name=/u01/app/oracle/oradata/ORCL1/datafile/o1_mf_undotbs1_4qzm5sgk_.dbf
    input datafile fno=00004 name=/u01/app/oracle/oradata/ORCL1/datafile/o1_mf_users_4qzm5vqj_.dbf
    channel ORA_DISK_1: starting piece 1 at 11-FEB-09
    channel ORA_DISK_1: finished piece 1 at 11-FEB-09
    piece handle=/backup/ORCL1_1_1_678528722 tag=TAG20090211T081201 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:02:35
    Finished backup at 11-FEB-09
    Starting Control File and SPFILE Autobackup at 11-FEB-09
    piece handle=/backup/c-1061732667-20090211-00 comment=NONE
    Finished Control File and SPFILE Autobackup at 11-FEB-09
    RMAN>
    --- deleted all my file including spfile..
    RMAN> shutdown immediate;
    database dismounted
    Oracle instance shut down
    RMAN> exit
    Recovery Manager complete.
    [oracle]:/home/oracle>
    [LinuxForOracle.bai.com]: orcl1 >rman target /
    Recovery Manager: Release 10.2.0.1.0 - Production on Wed Feb 11 08:17:27 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database (not started)
    RMAN> startup nomount;
    startup failed: ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/u01/app/oracle/product/10.2.0.3/dbs/initorcl1.ora'
    starting Oracle instance without parameter file for retrival of spfile
    Oracle instance started
    Total System Global Area 159383552 bytes
    Fixed Size 1218268 bytes
    Variable Size 54528292 bytes
    Database Buffers 100663296 bytes
    Redo Buffers 2973696 bytes
    RMAN> restore spfile from '/backup/c-1061732667-20090211-00';
    Starting restore at 11-FEB-09
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=36 devtype=DISK
    channel ORA_DISK_1: autobackup found: /backup/c-1061732667-20090211-00
    channel ORA_DISK_1: SPFILE restore from autobackup complete
    Finished restore at 11-FEB-09
    RMAN> shutdown immediate;
    Oracle instance shut down
    RMAN> startup nomount;
    connected to target database (not started)
    Oracle instance started
    Total System Global Area 167772160 bytes
    Fixed Size 1218316 bytes
    Variable Size 67111156 bytes
    Database Buffers 96468992 bytes
    Redo Buffers 2973696 bytes
    RMAN> restore controlfile from '/backup/c-1061732667-20090211-00';
    Starting restore at 11-FEB-09
    using channel ORA_DISK_1
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:16
    output filename=/u01/app/oracle/oradata/ORCL1/controlfile/o1_mf_4s5n6jvq_.ctl
    output filename=/u01/app/oracle/flash_recovery_area/ORCL1/controlfile/o1_mf_4s5n6n4f_.ctl
    Finished restore at 11-FEB-09
    RMAN> mount database;
    database mounted
    released channel: ORA_DISK_1
    RMAN> restore database;
    Starting restore at 11-FEB-09
    Starting implicit crosscheck backup at 11-FEB-09
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    Crosschecked 1 objects
    Finished implicit crosscheck backup at 11-FEB-09
    Starting implicit crosscheck copy at 11-FEB-09
    using channel ORA_DISK_1
    Finished implicit crosscheck copy at 11-FEB-09
    searching for all files in the recovery area
    cataloging files...
    no files cataloged
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to /u01/app/oracle/oradata/ORCL1/datafile/o1_mf_system_4qzm5q6g_.dbf
    restoring datafile 00002 to /u01/app/oracle/oradata/ORCL1/datafile/o1_mf_undotbs1_4qzm5sgk_.dbf
    restoring datafile 00003 to /u01/app/oracle/oradata/ORCL1/datafile/o1_mf_sysaux_4qzm5qc1_.dbf
    restoring datafile 00004 to /u01/app/oracle/oradata/ORCL1/datafile/o1_mf_users_4qzm5vqj_.dbf
    restoring datafile 00005 to /u01/app/oracle/oradata/ORCL1/datafile/o1_mf_example_4qzmky86_.dbf
    channel ORA_DISK_1: reading from backup piece /backup/ORCL1_1_1_678528722
    channel ORA_DISK_1: restored backup piece 1
    piece handle=/backup/ORCL1_1_1_678528722 tag=TAG20090211T081201
    channel ORA_DISK_1: restore complete, elapsed time: 00:02:57
    Finished restore at 11-FEB-09
    RMAN> recover database;
    Starting recover at 11-FEB-09
    using channel ORA_DISK_1
    starting media recovery
    archive log thread 1 sequence 6 is already on disk as file /u01/app/oracle/flash_recovery_area/ORCL1/onlinelog/o1_mf_2_4qzmccv0_.log
    archive log filename=/u01/app/oracle/flash_recovery_area/ORCL1/onlinelog/o1_mf_2_4qzmccv0_.log thread=1 sequence=6
    media recovery complete, elapsed time: 00:00:01
    Finished recover at 11-FEB-09
    RMAN> sql 'alter database open resetlogs';
    sql statement: alter database open resetlogs
    RMAN> exit
    [oracle]:/home/oracle>
    [LinuxForOracle.bai.com]: orcl1 >sqlplus '/ as sysdba'
    SQL> select name from v$database;
    NAME
    ORCL1
    SQL>
    i hope this will help you... enjoy!
    Regards,
    baidba

  • Newb Trying to extract a substring...

    I am trying to automate the copy/paste of various fields from Safari to a mailing application. Step one is collecting the data from the browser page. I discovered how to capture the source using a shell call to curl, and I've been merrily extracting fields based on delimeters that happen to appear. Until now.
    I've got this string, "Label: EXL120-3D</td>
    <td"
    I'm fairly certain there is a CR/LF at the end of the </td>
    I need to extract the "EXL120-3D" portion.
    I thought I could extract what I want with something like:
    copy characters 8 through (TmpStockNumLength - 14) of TmpStockNum as string
    But that gives me: "E X L 1" which is not what I need. It's a series of characters and blanks, not my sub-string.
    I don't get it.
    Can someone help?
    Thanks!
    Steve

    Woo Hoo!
    Thank you! Although the initial try gave me <<event misccopy>> in place of the "copy" command, it did get me on the right trail, and I solved it with:
    copy characters 8 through (TmpStockNumLength - 9) of TmpStockNum as string to StockNum
    THANK YOU!
    Steve

  • Newbie trying to create an Animated GIF

    I'm a newbie working with FW-CS3 on a Vista environment.
    I have two images (equal size) from which I want to create an
    animated gif,
    whereby they rotate intermittently in an endless loop (i.e.
    image A displays
    and then fades into image B, which after a while fades back
    to image A)
    What is the easiest way to create this in FW-CS3? Is there
    any kind of a
    wizard (or tutorial) to accomplish this?

    ClueLess wrote:
    > What is the easiest way to create this in FW-CS3? Is
    there any kind of a
    > wizard (or tutorial) to accomplish this?
    It's better to do this kind of animation in Flash because the
    resulting
    file size will be much smaller. If you have to do it in
    Fireworks,
    then use the animation wizard to fade image one out in ten
    frames. Place
    copies of the second image on frames 5 through 10 so that it
    is fully
    revealed by the time image 1 finishes fading out. On frame
    11, begin
    fading image two out, and on frame 5 of the second image
    fade, place a
    copy of the first image and repeat. It sounds complicated,
    but if you
    try it a couple of times, you'll get it.
    Linda Rathgeber [PVII] *Adobe Community Expert-Fireworks*
    http://www.projectseven.com
    Fireworks Newsgroup:
    news://forums.projectseven.com/fireworks/
    CSS Newsgroup: news://forums.projectseven.com/css/
    http://www.adobe.com/communities/experts/

  • Newbie trying to query an XML field in Clob

    I've been unsuccessfully trying to query XML data in a CLOB field today without much success.
    The clob field stores approvals (Edited, Reviewed, Published) for each version.
    I'm trying to get the latest version (in this case 13) and what state (name) it is at (in this case 'Reviewed')
    Below is an example of the table and field with a single XML column...
    desc WIKI.OS_PROPERTYENTRY
    Name                                              Null?       Type
    ENTITY_NAME                                         NOT NULL VARCHAR2(125)
    ENTITY_ID                                         NOT NULL NUMBER(19)
    ENTITY_KEY                                         NOT NULL VARCHAR2(200)
    KEY_TYPE                                               NUMBER(10)
    BOOLEAN_VAL                                               NUMBER(1)
    DOUBLE_VAL                                               FLOAT(126)
    STRING_VAL                                               VARCHAR2(255)
    TEXT_VAL                                               CLOB
    LONG_VAL                                               NUMBER(19)
    INT_VAL                                               NUMBER(10)
    DATE_VAL                                               DATE
    SQL> select xmltype(text_val) from wiki.os_propertyentry where entity_id = 7274716 and entity_key = 'com.comalatech.workflow.approvals';
    XMLTYPE(TEXT_VAL)
    <ApprovalChecks>
      <ApprovalCheck>
        <name>Edited</name>
        <version>7</version>
        <approvers>
          <Approver>
         <approved>true</approved>
         <user>bgra030</user>
         <date>2008-10-31 13:47:25.638 NZDT</date>
         <comment>Initial import from Word document without change</comment>
          </Approver>
        </approvers>
        <weight>10</weight>
        <id>1</id>
        <stateId>0</stateId>
        <attachments/>
      </ApprovalCheck>
      <ApprovalCheck>
        <name>Reviewed</name>
        <version>7</version>
        <approvers>
          <Approver>
         <approved>true</approved>
         <user>bgra030</user>
         <date>2008-10-31 13:47:30.532 NZDT</date>
         <comment/>
          </Approver>
        </approvers>
        <weight>20</weight>
        <id>2</id>
        <stateId>0</stateId>
        <attachments/>
      </ApprovalCheck>
      <ApprovalCheck>
        <name>Signoff</name>
        <version>7</version>
        <approvers>
          <Approver>
         <approved>true</approved>
         <user>bgra030</user>
         <date>2008-10-31 13:47:32.532 NZDT</date>
         <comment/>
          </Approver>
        </approvers>
        <weight>30</weight>
        <id>3</id>
        <stateId>0</stateId>
        <attachments/>
      </ApprovalCheck>
      <ApprovalCheck>
        <name>Edited</name>
        <version>8</version>
        <approvers>
          <Approver>
         <approved>true</approved>
         <user>bgra030</user>
         <date>2008-11-02 10:54:07.903 NZDT</date>
         <comment>Updated references re Wiki, removed unwanted sections</comment>
          </Approver>
        </approvers>
        <weight>10</weight>
        <id>4</id>
        <stateId>0</stateId>
        <attachments/>
      </ApprovalCheck>
      <ApprovalCheck>
        <name>Reviewed</name>
        <version>8</version>
        <approvers>
          <Approver>
         <approved>true</approved>
         <user>bgra030</user>
         <date>2008-11-02 10:54:10.552 NZDT</date>
         <comment/>
          </Approver>
        </approvers>
        <weight>20</weight>
        <id>5</id>
        <stateId>0</stateId>
        <attachments/>
      </ApprovalCheck>
      <ApprovalCheck>
        <name>Signoff</name>
        <version>8</version>
        <approvers>
          <Approver>
         <approved>true</approved>
         <user>bgra030</user>
         <date>2008-11-02 10:54:13.161 NZDT</date>
         <comment/>
          </Approver>
        </approvers>
        <weight>30</weight>
        <id>6</id>
        <stateId>0</stateId>
        <attachments/>
      </ApprovalCheck>
      <ApprovalCheck>
        <name>Edited</name>
        <version>9</version>
        <approvers>
          <Approver>
         <approved>true</approved>
         <user>bgra030</user>
         <date>2009-11-13 08:53:00.649 NZDT</date>
         <comment>Testing approval information</comment>
          </Approver>
        </approvers>
        <weight>10</weight>
        <id>7</id>
        <stateId>0</stateId>
        <attachments/>
      </ApprovalCheck>
      <ApprovalCheck>
        <name>Edited</name>
        <version>9</version>
        <approvers>
          <Approver>
         <approved>false</approved>
         <user>bgra030</user>
         <date>2009-11-13 08:53:13.830 NZDT</date>
         <comment/>
          </Approver>
        </approvers>
        <weight>10</weight>
        <id>8</id>
        <stateId>0</stateId>
        <attachments/>
      </ApprovalCheck>
      <ApprovalCheck>
        <name>Edited</name>
        <version>12</version>
        <approvers>
          <Approver>
         <approved>true</approved>
         <user>bgra030</user>
         <date>2009-11-23 11:08:14.666 NZDT</date>
         <comment>Changes due to self auditing, using Study Audit Checklist and DM Study Checklist</comment>
          </Approver>
        </approvers>
        <weight>10</weight>
        <id>9</id>
        <stateId>0</stateId>
        <attachments/>
      </ApprovalCheck>
      <ApprovalCheck>
        <name>Reviewed</name>
        <version>12</version>
        <approvers>
          <Approver>
         <approved>true</approved>
         <user>bgra030</user>
         <date>2009-11-23 11:08:20.345 NZDT</date>
         <comment/>
          </Approver>
        </approvers>
        <weight>20</weight>
        <id>10</id>
        <stateId>0</stateId>
        <attachments/>
      </ApprovalCheck>
      <ApprovalCheck>
        <name>Signoff</name>
        <version>12</version>
        <approvers>
          <Approver>
         <approved>true</approved>
         <user>bgra030</user>
         <date>2009-11-23 11:08:23.997 NZDT</date>
         <comment/>
          </Approver>
        </approvers>
        <weight>30</weight>
        <id>11</id>
        <stateId>0</stateId>
        <attachments/>
      </ApprovalCheck>
      <ApprovalCheck>
        <name>Edited</name>
        <version>13</version>
        <approvers>
          <Approver>
         <approved>true</approved>
         <user>bgra030</user>
         <date>2011-10-31 10:42:37.703 NZDT</date>
         <comment>No change, just change of name of a linked page</comment>
          </Approver>
        </approvers>
        <weight>10</weight>
        <id>12</id>
        <stateId>0</stateId>
        <attachments/>
      </ApprovalCheck>
      <ApprovalCheck>
        <name>Reviewed</name>
        <version>13</version>
        <approvers>
          <Approver>
         <approved>true</approved>
         <user>bgra030</user>
         <date>2011-10-31 10:42:40.596 NZDT</date>
         <comm
    1 row selected.My query is way off,... I can't even get it to run, let alone getting the record I want without some hard coding...
    Can anyone help?
    Thanks in advance.
    select y.y_name, y.y_version, z.z_approved, z.z_user, z.z_date, z.z_comment
    from WIKI.os_propertyentry t,
         XMLTABLE('$p/ApprovalChecks/ApprovalCheck'
                  PASSING t.text_val as "p"
                  COLUMNS y_name       VARCHAR2(30) PATH 'ApprovalCheck/name',
                          y_version    NUMBER       PATH 'ApprovalCheck/version',
                          Approver     XMLTYPE      PATH 'ApprovalCheck/approvers/Approver/*') y,
         XMLTABLE('$a/Approver'
                  PASSING y.Approver as "a"
                  COLUMNS z_approved  VARCHAR2(8)   PATH 'Approver/approved',
                          z_user      VARCHAR2(30)  PATH 'Approver/user',
                          z_date      DATE          PATH 'Approver/date',
                          z_comment   VARCHAR2(100) PATH 'Approver/comment') z
    where entity_id = 7274716 and entity_key = 'com.comalatech.workflow.approvals'
    and   t.name = 'Reviewed'
    and   t.version = 13;
               PASSING t.text_val as "p"
    ERROR at line 4:
    ORA-00932: inconsistent datatypes: expected - got CLOB

    Further to the above, the query returns a single record okay,...
    SQL > l  
      1  with all_versions as (
      2    select c.title, y.y_name, y.y_version, z.z_approved, z.z_user, z.z_date z_date, z.z_comment,
      3           row_number() over( order by to_timestamp_tz(z_date, 'YYYY-MM-DD HH24:MI:SS.FF3 TZD') desc ) as rn
      4    from wiki.os_propertyentry t, wiki.content c,
      5         XMLTABLE('$p/ApprovalChecks/ApprovalCheck'
      6               PASSING xmltype(t.text_val) as "p"
      7               COLUMNS y_name       VARCHAR2(30) PATH 'name',
      8                    y_version       NUMBER       PATH 'version',
      9                    Approver       XMLTYPE      PATH 'approvers/Approver/*') y,
    10         XMLTABLE('$a'
    11               PASSING y.Approver as "a"
    12               COLUMNS z_approved  VARCHAR2(8)   PATH '/approved',
    13                    z_user      VARCHAR2(30)  PATH '/user',
    14                    z_date      VARCHAR2(30)  PATH '/date',
    15                    z_comment      VARCHAR2(100) PATH '/comment') z
    16    where c.contentid = t.entity_id
    17    and   c.spaceid = (select spaceid from wiki.spaces where spacename = 'Quality')
    18    and   entity_id = 7274716
    19    and entity_key = 'com.comalatech.workflow.approvals'
    20    )
    21  select title, y_name, y_version
    22  from all_versions
    23* where rn = 1
    SQL> /
    TITLE                           Y_NAME                          Y_VERSION
    Quality Audits (NIHI-5001)     Signoff                     17
    1 row selected.... but I want to now query on all records, not just one.
    When I comment out the clause (and entity_id = xxxxx) I now get an error. I should have got ~300 records,.... what do I need to do to make this work?
    SQL > 18
    18*   and   entity_id = 7274716
    SQL> > c /and/-- and
    18*   -- and     entity_id = 7274716
    SQL > l
      1  with all_versions as (
      2    select t.entity_id, c.title, y.y_name, y.y_version, z.z_approved, z.z_user, z.z_date z_date, z.z_comment,
      3           row_number() over( order by to_timestamp_tz(z_date, 'YYYY-MM-DD HH24:MI:SS.FF3 TZD') desc ) as rn
      4    from wiki.os_propertyentry t, wiki.content c,
      5         XMLTABLE('$p/ApprovalChecks/ApprovalCheck'
      6               PASSING xmltype(t.text_val) as "p"
      7               COLUMNS y_name       VARCHAR2(30) PATH 'name',
      8                    y_version       NUMBER       PATH 'version',
      9                    Approver       XMLTYPE      PATH 'approvers/Approver/*') y,
    10         XMLTABLE('$a'
    11               PASSING y.Approver as "a"
    12               COLUMNS z_approved  VARCHAR2(8)   PATH '/approved',
    13                    z_user      VARCHAR2(30)  PATH '/user',
    14                    z_date      VARCHAR2(30)  PATH '/date',
    15                    z_comment      VARCHAR2(100) PATH '/comment') z
    16    where c.contentid = t.entity_id
    17    and   c.spaceid = (select spaceid from wiki.spaces where spacename = 'Quality')
    18    -- and     entity_id = 7274716
    19    and entity_key = 'com.comalatech.workflow.approvals'
    20    )
    21  select entity_id, title, y_name, y_version
    22  from all_versions
    23* where rn = 1
    wikiprod: OPS$IT_DBA > /
              PASSING xmltype(t.text_val) as "p"
    ERROR at line 6:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00241: entity reference is not well formed
    Error at line 8
    ORA-06512: at "SYS.XMLTYPE", line 272
    ORA-06512: at line 1

  • Newbie: trying to use XML in a Line Series.

    So, I have a similar question to my last one, how to connect some XML from an RPC to a line series. The XML comes across fine. Problem is, why does it not work below?
    The XML is simple, and I use dataProvider="{tsRPC.lastResult.TIMESERIES}"....then yField="DataPoint.Value"...but it does not work
    I have seen some examples that use the "data.something"...where data must be some internal object. I tried various combinations of everything.
    <TIMESERIES>
      <DataPoint Date="38000" Value="34.51"/>
      <DataPoint Date="38001" Value="35.06"/>
    </TIMESERIES>
        <mx:HTTPService id="tsRPC"
            url="http://localhost:6574/Test2/TimeSeriesServer"
            resultFormat="e4x">
        </mx:HTTPService>
    <mx:Panel title="LineChart and AreaChart Controls Example3"
            height="491" width="729" layout="horizontal" x="350" y="84">
            <mx:LineChart id="linechart" height="100%" width="100%"
                paddingLeft="5" paddingRight="5"
                showDataTips="true" dataProvider="{tsRPC.lastResult.TIMESERIES}">      
            <mx:horizontalAxis>
                <mx:CategoryAxis id="ca" categoryField="DataPoint.Date" title="Date" />
            </mx:horizontalAxis>
                <mx:series>
                    <mx:LineSeries yField="DataPoint.Value" form="curve" displayName="Profit" lineStroke="{s1}"/>
                </mx:series>
            </mx:LineChart>
            <mx:Legend dataProvider="{linechart}"/>
        </mx:Panel>

    thanks paul.
    I am learning now about e4x. For those who don't know...
    http://www.actionscript.org/resources/articles/222/1/Intro-to-E4X/Page1.html
    For those that don't know E4X stands for ECMAScript for XML and this specification introduces some new functionality that makes working with XML a lot simpler. New to AS3 are the XML, XMLList,QSpace and Namespace E4X classes. E4X not only makes life simpler but provides greater code consistency and familiarity (we can use dot syntax more similiar to ActionScript).

  • Newbie trying to get a flash ad swf to loop

    Hello,
    I am a designer trying my hand at flash animated ads for the first time and can't do what is probably the simplest function imaginable. There is a tile ad on ingoodfaithwyoming.com toward the bottom of every page. It's a simple ad but I cannot export the swf so it loops. I tried creating a new layer and putting in a go to and play (1) on the last frame but it hasn't helped. I asked a buddy who is used to cs3 and he said it is in the publish settings, I am on cs4 and can find no such setting except in the html side, which does me no good as I have to use swf for the site's system. Please help.

    Hahahaha, so I tried the go to and play 1, uploaded it and so no change which is when I came here... However I never cleared teh cache for the site. Once I cleared that out it was working correctly. Thank you so much for your help, I really appreciate it.
    Kyle

  • Newbie trying to sort 2D string array

    Dear all,
    After read some book chapters, web sites including this, I still don't get the point.
    If I have a file like,
    1 aaa 213 0.9
    3 cbb 514 0.1
    2 abc 219 1.3
    9 bbc 417 10.4
    8 dee 887 2.1
    9 bba 111 7.1
    and I load into memory as a String[][]
    here comes the problem, I sort by column 1 (aaa,...,bba) using an adaptation of the Quicksort algorithm for 2D arrays
    * Sort for a 2D String array
    * @param a an String 2D array
    * @param column column to be sort
    public static void sort(String[][] a, int column) throws Exception {
    QuickSort(a, 0, a.length - 1, column);
    /** Sort elements using QuickSort algorithm
    static void QuickSort(String[][] a, int lo0, int hi0, int column) throws Exception {
    int lo = lo0;
    int hi = hi0;
    int mid;
    String mitad;
    if ( hi0 > lo0) {
    /* Arbitrarily establishing partition element as the midpoint of
    * the array.
    mid = ( lo0 + hi0 ) / 2 ;
    mitad = a[mid][column];
    // loop through the array until indices cross
    while( lo <= hi ) {
    /* find the first element that is greater than or equal to
    * the partition element starting from the left Index.
    while( ( lo < hi0 ) && ( a[lo][column].compareTo(mitad)<0))
    ++lo;
    /* find an element that is smaller than or equal to
    * the partition element starting from the right Index.
    while( ( hi > lo0 ) && ( a[hi][column].compareTo(mitad)>0))
    --hi;
    // if the indexes have not crossed, swap
    if( lo <= hi )
    swap(a, lo, hi);
    ++lo;
    --hi;
    /* If the right index has not reached the left side of array
    * must now sort the left partition.
    if( lo0 < hi )
    QuickSort( a, lo0, hi, column );
    /* If the left index has not reached the right side of array
    * must now sort the right partition.
    if( lo < hi0 )
    QuickSort( a, lo, hi0, column );
    * swap 2D String column
    private static void swap(String[][] array, int k1, int k2){
    String[] temp = array[k1];
    array[k1] = array[k2];
    array[k2] = temp;
    ----- end of the code --------
    if I call this from the main module like this
    import MyUtil.*;
    public class kaka
    public static void main(String[] args) throws Exception
    String[][]a = MyUtil.fileToArray("array.txt");
    MyMatrix.printf(a);
    System.out.println("");
    MyMatrix.sort(a,1);
    MyMatrix.printf(a);
    System.out.println("");
    MyMatrix.sort(a,3);
    MyMatrix.printf(a);
    for the first sorting I get
    1 aaa 213 0.9
    2 abc 219 1.3
    9 bba 111 7.1
    9 bbc 417 10.4
    3 cbb 514 0.1
    8 dee 887 2.1
    (lexicographic)
    but for the second one (column 3) I get
    3 cbb 514 0.1
    1 aaa 213 0.9
    2 abc 219 1.3
    9 bbc 417 10.4
    8 dee 887 2.1
    9 bba 111 7.1
    this is not the order I want to apply to this sorting, I would like to create my own one. but or I can't or I don't know how to use a comparator on this case.
    I don't know if I am rediscovering the wheel with my (Sort String[][], but I think that has be an easy way to sort arrays of arrays better than this one.
    I've been trying to understand the Question of the week 106 (http://developer.java.sun.com/developer/qow/archive/106/) that sounds similar, and perfect for my case. But I don't know how to pass my arrays values to the class Fred().
    Any help will be deeply appreciated
    Thanks for your help and your attention
    Pedro

    public class StringArrayComparator implements Comparator {
      int sortColumn = 0;
      public int setSortColumn(c) { sortColumn = c; }
      public int compareTo(Object o1, Object o2) {
        if (o1 == null && o2 == null)
          return 0;
        if (o1 == null)
          return -1;
        if (o2 == null)
          return 1;
        String[] s1 = (String[])o1;
        String[] s2 = (String[])o2;
        // I assume the elements at position sortColumn is
        // not null nor out of bounds.
        return s1[sortColumn].compareTo(s2[sortColumn]);
    // Then you can use this to sort the 2D array:
    Comparator comparator = new StringArrayComparator();
    comparator.setSortColumn(0); // sort by first column
    String[][] array = ...
    Arrays.sort(array, comparator);I haven't tested the code, so there might be some compiler errors, or an error in the logic.

  • Super Newbie trying to stream external video to FMS

    Okay, I'm totally new and in the absolute dark here.  I have installed FMS on a server in the TV station in which I work.  I am trying to figure out how to stream video from Adobe Flash Media Live Encoder on an outside computer, back into the FMS at our station.  I have no idea what the FMS URL is that I need to plug in to the Flash Media Live Encoder in order to reach the FMS back at our station.
    Do I need to have something housed on an ftp site?  We have a website and I can put whatever I need to there if that is indeed what I need to do.  Not sure what the heck I'm doing here, but I'd LOVE to figure it out.  I know it's not a lot to go on, buty any help would be greatly appreciated.
    Thanks

    See this article : http://www.adobe.com/devnet/flashmediaserver/articles/beginner_live_fms3.html - might be of your help

  • Newbie trying to write toplink hello world program

    I am trying to write my first toplink app using POJOs, and I'm having a hard time finding a sample toplink application. In this case, I'd like to run outside of a J2EE container with a stand-alone java application to do some basic CRUD operations. I've already run the mapping workbench on my Java classes and generated the deployment file and sessions.xml file. Where (Oracle docs) can I find source code for a simple stand-alone java main() app that uses the toplink API?
    Thanks in advance.

    TopLink ships with many examples - complete with runtime and workbench componants - in 9.0.4.X Find them here: <TopLink_install_dir>\examples\
    For non app server simple CRUD examples, I suggest you look here first:
    <TopLink_install_dir>\examples\foundation\threetier

  • Newbe trying to connect using Pro*C/C++

    I'm just trying to get Pro*C/C++ to work using VC++ on an NT platform (This is my first shot at Pro*C/C++).
    I can get the code to pre-compile , compile, and link but when I attempt to connect to the database I get an Access Violation in SQLLIB80.dll .
    Results with the lines below - Does the first sqlcxt parameter make any sense!?
    EXPANDED CODE:
    username.len = (unsigned short)strlen(strcpy((char *) username.arr, "testuser"));
    password.len = (unsigned short)strlen(strcpy((char *)password.arr, "testpwd"));
    dsname.len = (unsigned short)strlen(strcpy((char *)dsname.arr, "mercury"));
    // Register sql_error() as the error handler
    /* EXEC SQL WHENEVER SQLERROR DO sql_error("ORACLE error:"); */
    /* EXEC SQL CONNECT :username IDENTIFIED BY :password USING :dsname; */
    struct sqlexd sqlstm;
    sqlstm.sqlvsn = 10;
    sqlstm.arrsiz = 4;
    sqlstm.sqladtp = &sqladt;
    sqlstm.sqltdsp = &sqltds;
    sqlstm.iters = (unsigned int )10;
    sqlstm.offset = (unsigned int )5;
    sqlstm.cud = sqlcud0;
    sqlstm.sqlest = (unsigned char *)&sqlca;
    sqlstm.sqlety = (unsigned short)256;
    sqlstm.occurs = (unsigned int )0;
    sqlstm.sqhstv[0] = ( void *)&username;
    sqlstm.sqhstl[0] = (unsigned int )22;
    sqlstm.sqhsts[0] = ( int )22;
    sqlstm.sqindv[0] = ( void *)0;
    sqlstm.sqinds[0] = ( int )0;
    sqlstm.sqharm[0] = (unsigned int )0;
    sqlstm.sqadto[0] = (unsigned short )0;
    sqlstm.sqtdso[0] = (unsigned short )0;
    sqlstm.sqhstv[1] = ( void *)&password;
    sqlstm.sqhstl[1] = (unsigned int )42;
    sqlstm.sqhsts[1] = ( int )42;
    sqlstm.sqindv[1] = ( void *)0;
    sqlstm.sqinds[1] = ( int )0;
    sqlstm.sqharm[1] = (unsigned int )0;
    sqlstm.sqadto[1] = (unsigned short )0;
    sqlstm.sqtdso[1] = (unsigned short )0;
    sqlstm.sqhstv[2] = ( void *)&dsname;
    sqlstm.sqhstl[2] = (unsigned int )42;
    sqlstm.sqhsts[2] = ( int )42;
    sqlstm.sqindv[2] = ( void *)0;
    sqlstm.sqinds[2] = ( int )0;
    sqlstm.sqharm[2] = (unsigned int )0;
    sqlstm.sqadto[2] = (unsigned short )0;
    sqlstm.sqtdso[2] = (unsigned short )0;
    sqlstm.sqphsv = sqlstm.sqhstv;
    sqlstm.sqphsl = sqlstm.sqhstl;
    sqlstm.sqphss = sqlstm.sqhsts;
    sqlstm.sqpind = sqlstm.sqindv;
    sqlstm.sqpins = sqlstm.sqinds;
    sqlstm.sqparm = sqlstm.sqharm;
    sqlstm.sqparc = sqlstm.sqharc;
    sqlstm.sqpadto = sqlstm.sqadto;
    sqlstm.sqptdso = sqlstm.sqtdso;
    sqlcxt((void **)0, &sqlctx, &sqlstm, &sqlfpn);

    Can't help you there, I'm afraid, and I don't do development since many years back so I'm pretty useless in that area ;-)
    However, since the Net layers are beneath OCI in the stack, I would think that if these certificates work at all with Oracle (via some other client, like SQL*Plus), it should work with all types of apps.
    But, I believe the Pro* stuff is not all that up to date, so if connectivity requires 10g features, there's a small risk of incompatibility issues.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14225/ch7progrunicode.htm#i1005974
    http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/architecture.htm#i1040997

  • Newbie: Trying to 'call' JSP from CFML (example doesn't work)

    Hi,
    I am (really) just getting started with CFML, so I got ColdFusion 8 Developer deployed onto a GlassFish 3.1.1 server.
    I put a copy of a small hello.cfm into the <GF_DOMAIN>/applications/cfusion/ directory, and when I point a browser to http://<host>:8080/cfusion/hello.cfm, I get the "Hello world".
    So next, I'm trying to 'call' a JSP from a CFML page, and I found this example:
    http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Java_6.html
    I put a copy of the CFML at cfusion/hellojsp.cfm:
    <cfapplication name="myApp" sessionmanagement="yes">
    <cfscript>
    Request.myVariable = "This";
    Session.myVariable = "is a";
    Application.myVariable = "test.";
    GetPageContext().include("hello.jsp?name=Bobby");
    </cfscript>
    and also created a cfusion/hello.jsp per the above link:
    <%@page import="java.util.*" %>
    <h2>Hello <%= request.getParameter("name")%>!</h2>
    <br>Request.myVariable: <%= request.getAttribute("myVariable")%>
    <br>session.myVariable: <%= ((Map)(session.getAttribute("myApp"))).get("myVariable")%>
    <br>Application.myVariable: <%= ((Map)(application.getAttribute("myApp"))).get("myVariable")%>
    In other words, in the <GF_DOMAIN>/applications/cfusion directory, I have:
    hellojsp.cfm
    hello.jsp
    However, if I point the browser to either http://<host>:8080/cfusion/hellojsp.cfm or http://<host>:8080/cfusion/hello.jsp, I get a 500 error.
    In the GlassFish server.log, I get the following:
    INFO: 03/13 21:17:24 Error [http-thread-pool-8080(5)] - coldfusion.jsp.JspWriterIncludeResponse.getStatus()I The specific sequence of files included or processed is: C:\glassfish3\glassfish\domains\domain1\applications\cfusion\hellojsp.cfm, line: 6
    Mar 13, 2012 9:17:24 PM org.apache.catalina.core.StandardWrapperValve log
    WARNING: StandardWrapperValve[CfmServlet]: PWC1406: Servlet.service() for servlet CfmServlet threw exception
    javax.servlet.ServletException: ROOT CAUSE:
    java.lang.AbstractMethodError: coldfusion.jsp.JspWriterIncludeResponse.getStatus()I
              at javax.servlet.http.HttpServletResponseWrapper.getStatus(HttpServletResponseWrapper.java:2 53)
              at com.sun.web.server.J2EEInstanceListener.handleAfterEvent(J2EEInstanceListener.java:356)
              at com.sun.web.server.J2EEInstanceListener.instanceEvent(J2EEInstanceListener.java:112)
              at org.apache.catalina.util.InstanceSupport.fireInstanceEvent(InstanceSupport.java:465)
              at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1562)
              at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:787)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:649)
              at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604)
              at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:534)
              at coldfusion.runtime.NeoPageContext.include(NeoPageContext.java:2086)
              at coldfusion.runtime.NeoPageContext.include(NeoPageContext.java:2060)
              at sun.reflect.GeneratedMethodAccessor469.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at coldfusion.runtime.StructBean.invoke(StructBean.java:511)
              at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2300)
              at cfhellojsp2ecfm1997599341.runPage(C:\glassfish3\glassfish\domains\domain1\applications\cf usion\hellojsp.cfm:6)
              at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196)
              at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370)
              at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
              at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:279)
              at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
              at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
              at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
              at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)
              at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
              at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
              at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
              at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
              at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
              at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
              at coldfusion.CfmServlet.service(CfmServlet.java:175)
              at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
              at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:343)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
              at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42 )
              at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:256)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
              at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
              at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
              at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
              at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPi peline.java:91)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
              at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:330)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
              at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:174)
              at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
              at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
              at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
              at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
              at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
              at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
              at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
              at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
              at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
              at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
              at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
              at java.lang.Thread.run(Thread.java:662)
              at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:70 )
              at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:256)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
              at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
              at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
              at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
              at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPi peline.java:91)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
              at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:330)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
              at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:174)
              at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
              at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
              at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
              at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
              at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
              at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
              at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
              at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
              at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
              at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
              at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
              at java.lang.Thread.run(Thread.java:662)
    Can anyone tell me what might be causing this problem?
    Thanks,
    Jim

    Hi,
    Sigh ... I thought I had this solved, and, in fact, I do get a correct output webpage now.
    However, if I use that small .cfm, with the .forward(), whenever I access it, I get an error/stacktrace:
    Mar 14, 2012 12:44:27 AM org.apache.catalina.core.StandardWrapperValve log
    WARNING: StandardWrapperValve[CfmServlet]: PWC1406: Servlet.service() for servlet CfmServlet threw exception
    javax.servlet.ServletException: ROOT CAUSE:
    java.lang.AbstractMethodError: coldfusion.jsp.JspWriterIncludeResponse.getStatus()I
              at javax.servlet.http.HttpServletResponseWrapper.getStatus(HttpServletResponseWrapper.java:2 53)
              at com.sun.web.server.J2EEInstanceListener.handleAfterEvent(J2EEInstanceListener.java:356)
              at com.sun.web.server.J2EEInstanceListener.instanceEvent(J2EEInstanceListener.java:112)
              at org.apache.catalina.util.InstanceSupport.fireInstanceEvent(InstanceSupport.java:465)
              at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1580)
              at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:787)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:649)
              at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604)
              at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:534)
              at coldfusion.runtime.NeoPageContext.include(NeoPageContext.java:2086)
              at coldfusion.runtime.NeoPageContext.include(NeoPageContext.java:2060)
              at sun.reflect.GeneratedMethodAccessor473.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at coldfusion.runtime.StructBean.invoke(StructBean.java:511)
              at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2300)
              at cfhellojsp2ecfm1997599341.runPage(C:\glassfish3\glassfish\domains\domain1\applications\cf usion\hellojsp.cfm:6)
              at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196)
              at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370)
              at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
              at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:279)
              at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
              at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
              at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
              at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)
              at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
              at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
              at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
              at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
              at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
              at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
              at coldfusion.CfmServlet.service(CfmServlet.java:175)
              at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
              at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:343)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
              at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42 )
              at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:256)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
              at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
              at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
              at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
              at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPi peline.java:91)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
              at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:330)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
              at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:174)
              at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
              at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
              at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
              at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
              at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
              at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
              at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
              at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
              at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
              at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
              at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
              at java.lang.Thread.run(Thread.java:662)
              at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:70 )
              at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:256)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
              at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
              at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
              at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
              at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPi peline.java:91)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
              at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:330)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
              at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:174)
              at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
              at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
              at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
              at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
              at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
              at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
              at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
              at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
              at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
              at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
              at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
              at java.lang.Thread.run(Thread.java:662)
    Can anyone tell me what is causing that error?
    Thanks,
    Jim
    P.S.  If I change the .forward() to a .include(), I don't get an error...

Maybe you are looking for