Forms Bean changes not being picked up from updated jar

I've got an existing, working Bean with a single static method which my forms use to check the last modified date on a file. I've been trying to add a second method, with no luck. In an attempt to see if my new jar was being picked up, I changed the existing method to simply return "testChange". When it continued to return the string representation of the file modification date, I assumed my jar change wasn't being read.
However, I eventually tried creating my new method in a separate class, this time not extending VBean, and include it in the same jar. I can now execute my new method just fine.
My questions are
1) Why didn't adding the new method to the existing class work?
2) Given that I can demonstrate my changed jar is being used by the form, how on earth is the old method still returning the file date, when the code doesn't do that anymore???
I've got it working, but I'd really like to understand why my previous attempts failed.
Original class:
public class myClass extends VBean
     public static String getLastModified(String filename)
          File file = new File(filename);
          return Long.toString(file.lastModified());
Forms invocation:
FUNCTION get_last_modified_date (file_name_in IN SWtype.SW_long_string)
RETURN DATE
AS
v_last_modified SWtype.sw_long_string;
BEGIN
v_last_modified :=
fbean.invoke_char ('SW_WEBUTIL_BLK.SWFILEUTILS'
,1
,'getLastModified'
,file_name_in
return TO_DATE ('01/01/1970 00:00:00', 'DD/MM/YYYY HH24:MI:SS')
+ v_last_modified/(86400 * 1000);
END;
Method changed for testing:
public class myClass extends VBean
     public static String getLastModified(String filename)
          return "testChange";
New method:
public static boolean isValidUTF8(String filename) throws FileNotFoundException,
IOException
<if not valid UTF8>
return false;
return true;
Invoking the new method when it was in the bean (just returned null):
v_result := fbean.invoke_bool('SW_WEBUTIL_BLK.SWFILEUTILS'
,1
,'isValidUTF8'
,:my_blk.file_name
Invoking the imported Java method now that it's in its own class:
v_result := myfilevalidator.isValidUTF8(:upload_blk.source_file);
In case it's relevant, I'm using JDeveloper 10.1.3 and Forms Builder 10.1.2.0.2, running the forms locally on my OC4J instance.

Why didn't adding the new method to the existing class work?
2) Given that I can demonstrate my changed jar is being used by the formBoth statements point to the direction that the "old" class is still there, but maybe in a different jar-file. java takes the first occurence of a class, so maybe for the "old" class it finds it in a different jar, but the "new" class is not found in that jar and therefore taken from the actual jar. check The archive or archive_jini-tag and remove all unused or redundant jars. You maj also try to clear the jar-cache.

Similar Messages

  • Published iCal changes not being picked up on wife's subscribed iCal

    Help... I sold my wife on getting an Mac & iPhone because I told her that we could share a published calendar for our 5 year old daughter's care. We're separated.
    Aside from having soOo much trouble getting the published calendar "JRae" to just show up on her desktop (and then iPhone)-- which we finally did. I thought we were home free.
    Now I know that with this setup, only the publishing computer's iCal owner can make changes to that published calendar (which works for us), bu the very first change I made to "JRae" (which synced just fine between my desktop Mac, my Laptop, and my own iPhone), was unfortunately-- two days later, never picked up on my wife's Mac Desktop or iPhone's iCals.
    Little Jasmine Rae sat out in front of her school waiting for someone to come get her!! ARGGHGG!!
    What gives? Isn't this the whole point of "published" calendars?
    I've got the very latest Mac OS (I think). My wife's computer is an slightly older eMac, running 10.4.11.
    Thanks in advance for any help...
    a (frustrated) Mac lover,
    Matt

    Why didn't adding the new method to the existing class work?
    2) Given that I can demonstrate my changed jar is being used by the formBoth statements point to the direction that the "old" class is still there, but maybe in a different jar-file. java takes the first occurence of a class, so maybe for the "old" class it finds it in a different jar, but the "new" class is not found in that jar and therefore taken from the actual jar. check The archive or archive_jini-tag and remove all unused or redundant jars. You maj also try to clear the jar-cache.

  • Item in sales order not being picked into picking list

    Hi Gurus,
    Could you please tell me the possible reasons as why an item in the sales order which has enough stock not being picked into the picking list?
    Many Thanks
    Choudry

    Hi
    Delivery creation that is selection date is controlled by the schedule line of the line item in the sales order
    Try by changing the schedule lines in sales order in VA02
    there you try to change the delivery date to past
    It might be possible if you had enough stocks at that time
    Regards
    Raja

  • Large files not being picked by FTP adapter

    Hello,
    In our integration scenario, files from the AS400 (legacy system) are placed at a FTP location from where the XI picks up the file for processing. We have FTP communication channel.
    The file has about 8000 records is in binary format. When the file was placed it was not being picked up after the mentioned polling period of 60 secs. After manually inserting about 300 records which makes the file size smaller, the file is picked up bu XI and processed without error. With the 8000 records the file size was 2.5 MB.
    Thank you

    Please provide a J2EE trace at logging severity "Debug" for the location
    "com.sap.aii.adapter.file". Please do the following:
    - increase logging severity to "Debug"
    - set log levels to ERROR for all components
    - ONLY set log level to DEBUG for "com.sap.aii.adapter.file"
    - reproduce the problem and gather the defaultTrace.trc immediately
      after you reproduce
    - remember to reset the logging severity after you have reproduced as
      leaving it on "Debug" can cause performance problems in your system.
    Also the ftp server logs will be needed in this case.

  • Agreements Not Being Picked For SFTP Protocol in Oracle 11G

    Hi Anuj ,
    PFB the Details of the Issue :
    Agreements are not being picked for SFTP protocol even though From TP , To TP , Document Type and Revision are picked correctly .
    We are running on MLR11 , Version : 11.1.1.4.0 . Also we have set b2b.useCPAid to false in EM Properties so that Agreement is picked based on DocType Name , Revision and Partner Id's .
    Also when we used File Protocol its working Fine . The problem exists for SFTP Protocol .
    Error Code : B2B-50547
    Error Description     Machine Info: (gwl09072appg084) Description: Agreement not found for trading partners: FromTP TestEbxml, ToTP BTGS with document type rqRequestServiceRequest-1.0-INBOUND.
    Patch Level : 14114625
    Regards,
    Rohith

    Hi Anuj ,
    Thanks for the reply .
    Yes we are setting the Filename Format explicitly in the LC . As far as we have understood , naming convention FromTP_MSGID.xml
    is used to identify the TP and also MSGID is used to avoid duplicates and identification xpath is set to identify the Action .
    When we are using %FROM_PARTY%_%TO_PARTY%_%DOCTYPE_NAME%_%DOCTYPE_REVISION%_%TIMESTAMP%.xml , All parameters are identified as expected and Agreements are also being picked when we are using File Protocol . Only when we are trying with SFTP Prtocol , even though all values are being picked correctly , only agreement is not being picked . Could you please help ?
    Regards,
    Rohith

  • In Production Order Old Raw Material Batch No. not being picked (FIFO)

    Hi,
    We have activated Batch Management for ROH type of Materials with Split Valuation and the Strategy applied is FIFO.
    We have generated many such batches and consumed too, but lately out of many ROH mateials, 2 ROH who have Old Batches are not being picked and the Batch which is recently created is being picked at the time of Production Order Release.
    We have not done any changes into the Master Data nor the config during this period.
    Can anyone help what can be the issue ?
    Thanks in advance,
    Harris Panchal

    Hi,
    Actually our requirement is that we want to sort out the Batch as per the Earliest one and consume the earliest first, i.e. FIFO strategy.
    For that the MM Consultant has configured the following Charac:
    1. Stock Determination: Priority
    2. Value Assignment Type
    3. Batch Number
    Which I am feeling should be changed and to be as per the following:
    1. Created On
    2. Batch Number
    In OMCV, Classification is active with following option:
    4     Classification in foreground for new batches only for the following movements: 101, 309, 310, 561
    3     Classification always in foreground (all batches)   for the following movements: 321, 501
    Requesting your valuable inputs,
    Thanks and regards,
    Harris

  • What's the error?  Longtime site not being picked up by Google

    This site has been up for a year and is not being picked up by Google. What is the problem?
    Any suggestions much appreciated.
    www.elspethcameron.com

    +(sorry for my english, it usually is better than that I think/hope)+
    Ok... Let's see...
    www.elspethcameron.ca is just a forwarding url with cloaking (masking, masking the real url) enabled so it's not dynamic it doesn't change when visiting different pages. It is listed in google
    http://www.google.ch/search?hl=en&q=site%3Awww.elspethcameron.ca&btnG=Search&met a=
    but there is no content under this url because it is just forwarding visitors to the real website, just like a link would do that.
    The real website is, at least partially, on google with its content as you can see here
    http://www.google.ch/search?hl=en&q=site%3Aweb.mac.com%2Felspethcameron%2F&btnG= Search&meta=
    The other parts of the website are not indexed by google. I think that is because google is not able to crawl the nav bar because it is javascript rendering. You could make a second nav bar by your own and put it on the bottom of the page. Simply add a text field and put normal links in it to the other websites. Google will then follow them next time indexing your page.
    In addition to that you should watch the thread I posted before. Note that by making your sitemap you don't use www.elspethcameron.ca but the real url.
    Regards,
    Cédric

  • Delivery document not being picked while creating shipment document

    Dear All,
    Issue is regarding creation of shipment document.
    As i am creating shipment document in VT01N, am unable to get the delivery doc . ie., delivery document is not picked in shipment creation.
    I have created a sales order, picking is completed n saved, PGI not yet been done.
    Am unable to create a shipment document due to delivery document not being picked.
    i/p's will be of great help.
    with regards,
    Vijayashree

    Dear all,
    The issue is solved.
    As the Route was not picking in Sales Order so the delivery was not picked in shipment creation.
    Route determination setting was not correct.
    Regards,
    Vijayashree

  • Changes not being published

    I'm having trouble with my changes not being saved/published.
    I can choose to edit a page, click publish... it then shows the
    page (in contribute) with my changes. But, when I go to the actual
    website, the changes are not there... and when I go back to
    contribute and move around in contribute's view of my website and
    go back again to the page I was working on.. the changes are no
    longer there.
    thoughts? Should I uninstall and re-install
    contribute?

    No, don't uninstall...
    First, emty the cache of you Internet Explorer and see if you
    can see the changes then.
    1. Main menu in IE, go to Extra>(internet)Options
    2. go to Browsing History
    3. click Remove... (delete/empty, I don't know the text of
    the btn in english version) and emty your cache.
    Second, change the settings of IE.
    1. Main menu in IE, go to Extra>(internet)Options
    2. go to Browsing History
    3. click Preferences (next to Remove.. btn mentioned above)
    4. change the setting for Temporary Internet files so that
    the pages refresh everytime you visit the pages.

  • File not being picked by adapter

    My Source file name is xml_a1_en.xml
    the test files are of name xml_a1_02_en_2010.xml , xml_a1_03_en_2010.xml
    the files are not being picked up by adapter..Is the naming convention wrong for the test files or any reason?

    Hi Mr.King,
    I am assuming your OS is Unix system right?
    If yes -> check the file permission?
    if Only Reading: permission should be 664
    Move the file after reading: 775
    Regards,
    Senthilprakash

  • Tax code not getting picked up from PO during SES

    Dear Experts,
    I am looking for configuration where the end user need not enter Tax code during SES. I tried a scenario where I did not maintain any service master and also did not enter any line item in service tab at item level, rather I processed my PO using limits.
    Now when I prepare SES using this PO, Tax code is not getting picked up from PO and some tax code(I1) appears. Since I don't want end user to input any tax code I've left it blank.
    Finally when I am doing MIRO, i am not able select the desired Tax code(say I8) as it is not available for selection. I get only one Tax code(say I1) available for selection. Even other Tax codes are not available for selection.
    Please advise, how do I resolve this, why is the Tax code not getting picked up in SES? and why am I not getting other tax codes for selection in MIRO?
    Thanks and Regards
    Mansih

    Hi,
    Tax for service maintained in the service PO in the INVOICE TAB in item details. You are not going to maintain the service tax during SES. In SES you are just recognizing / confirming the vendor performed /completed the required service given to him.
    During invoice tax code will flow from service PO to Invoice & you need to just select check box u201Ccalculate taxu201D & remove default tax code in MIRO, if any tax code set for default entry in MIRO. If you want your service tax code should appear in the MIRO screen then just activate in t.code:OBZT (relevant for all transaction),then  you can select your service tax code during invoice verification WRT service PO.
    Regards,
    Biju K

  • My photos are not being rec'd from either Adobe photoshop 10 or 11???

    My photos are not being rec'd from either Adobe Workshops 10 or 11?  Help.  I have always been able to send via emai photos from Adobe 10 never have I been able to send them thru 11??/

    Hello dbe.
    Please check to see if a borderless paper size has been selected before printing.
    If borderless printing is enabled, you may experience a cut off on the outside areas of the image.  This is the only way that an edge to edge bleed can be done. 
    To retain the entire image, the bordered option would have to be used for printing.
    Please visit the following link below to contact our support group for additional assistance.
    http://www.usa.canon.com/cusa/consumer/standard_display/contact_us_consumer
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • TS1363 My new IPod is not being picked up by my computer.  What should I do?

    My new IPOD is not being picked up by my computer.  What should I do?

    @vic_suav, thanks for the additional information. Could you please try to see if this does the trick?
    Quit iTunes on your PC, switch your iPhone on and make sure it's not locked, before connecting it to your computer. Then wait a minute or two until the "Download Photos" dialogue box pops up. When that happens, launch iTunes and wait a minute or two until iPhone shows up as a connected device.
    If the above doesn't work, follow the steps in 'How to restart the Apple Mobile Device Service (AMDS) on Windows' to restart the Apple Mobile Device Service, here: http://support.apple.com/kb/TS1567
    Otherwise, please try a different USB port on your PC. Then in your Windows 7, click Start and choose Control Panel. Click "Uninstall a program". Then verify that Apple Mobile Device Support is visible in the list of currently installed programs. If Apple Mobile Device Support is not listed, remove iTunes, QuickTime, Apple Software Update, Apple Application Support, and then reinstall iTunes. For removing and reinstalling iTunes, QuickTime, and other software components for Windows Windows 7, follow these steps: http://support.apple.com/kb/HT1923
    if all of the above fail, you can try some of the troubleshooting steps outlined in 'iOS Device not recognized in iTunes for Windows' article: http://support.apple.com/kb/TS1538
    Let me know how it goes. Good luck!

  • Changes to tables not being picked up by certain Headstart Utilities

    I modified an existing table in our repository by adding a new column to the table. This column has the same properties as another column in the table. The Headstart utility 'Maintain Default Events For Entities' had been run for all tables before the new column was added. As expected, all the columns in the table had UPDATE events created for them, except of course the new column.
    As none of the events associated with this table had been used, I ran the 'Cleanup Unused Event for Entities' utility for the table and then re-ran the 'Maintain Default Events For Entities' utility for the table, in order to create an UPDATE event on the new column. This however, was not the case as an UPDATE event was not created for the new column. It appears to have been completely ignored.
    I have checked for the obvious i.e. was the table change applied properly in the repository and had the database been properly re-generated from the server model and everything appears to be correct.
    I have noticed that certain Headstart utilities, 'Enforce CDM Ordering Standard for columns' and 'Set column display length' do pick up the new columns. 'Enforce CDM Ordering Standard For Attributes' however, is another utility that does not pick up the new column.
    Any solutions and explanations for the above would be much appreciated.
    Thank You,
    Aneesha.
    null

    Aneesha,
    In your formulation of the problem, you seem to sometimes be using the terms "table" and "column" when you actually mean "entity" and "attribute". This makes it a bit hard for me to reconstruct your steps. Did you create both a new attribute on the entity, and a new column on the table, and are the two linked together (i.e. if you go to the attribute, is the "Implemented by Columns" node filled correctly?
    Kind regards,
    Peter
    null

  • Auto submit virtual form on change (not the whole form)

    If you tick the "auto submit on change" option of a drop down, it submits the whole form, thus all the required fields have to be filled. Are there any way to submit only the perticular virtual form on change?
    Thank you very much.

    I don't see the problem... Are the files being digitally signed? If not then there's no difference at all between submitting the form data and using it to populate a local copy of the file and submitting the entire file.
    It's technically impossible to extract a page from a PDF viewed in Reader.
    Another alternative: Split the file in two parts and put a link on the last page of the first file to the second part, which will contain only the page with the form fields. You can add a link and some text to the page saying that it is a continuation of the first document.

Maybe you are looking for

  • Failed to open a rowset....offset and/or length of column {table_name} exceeds maxium record length of 0

    Post Author: anand.kolipakkam CA Forum: Data Connectivity and SQL hi all, I moved  Transoft USQL Database from one server to another, even though i am able to validate the server with usql client but my crystal reports is giving errors while trying t

  • Photo album 2.2 with FW

    Had problem with DW 8.0.2 and apparently lost FW extension used to create photo album 2.2 command. How do I get it back, DW exchange or ??? Any suggestions? Thanks.

  • Pinch to Zoom doesn't work properly!

    Whether in Chrome or in Album, the pinch to zoom function doesn't perform as expected.  It zooms irregularly and is also jerky by the way. In chrome, it's even worse. I am on .534 and also repaired using PCC, is this a software issue or should I be g

  • How Long Do I Need to Keep A Package If I Upgrade?

    My alma mater's college basketball team is playing a game tomorrow that is only being shown in my area (ironically in Philly, the area where the school is based) on the YES network.  To get the YES network would require ugrading 2 levels for FiOS TV

  • Opening Inspiration Browser

    How do I open the Inspiration Browser?  I have version 3.0.9 installed on my PC running Windows 7, using Elements 9.  When I try to open the Browser from the Inspiration Browser icon, I get a message stating that I should open it from within Elements