Changes in class not reflecting on successive program runs

Hi
My server is linux one...
my jsp program which is calling a class function is working fine for the first time.but if i made any changes to the class and after copied to the server, it is not working onthe successive runs.
I cheked the size of the class file and it reflects the changes.So problem witht he jsp,to receive the class changes.can anybody help to find where is the problem
when I copied this class to a new package and tried again, it will work on the first time. Again the changes to that class will not be reflected in jsp on successive runs.
Regards

My jsp code
<%@page language="java"
     import="java.sql.*,java.io.*,mySAP.*,java.net.URL;"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<%!StringBuffer stringbuffer = new StringBuffer();
     int testemp;%>
<%
     String dofrom;
     String doto;
     String s;
     String s1;
     dofrom = request.getParameter("DOFrom");
     doto = request.getParameter("DOTo");
     ResultSet resultset;
     String flag = request.getParameter("dall");
     mySAP.JcoTest2 obj = new mySAP.JcoTest2();
     //StringBuffer sb = obj.fetchData("one", "two");
     String sb = obj.checking();
     out.println(sb);
     try {
          StringBuffer stringbuffer = new StringBuffer();
          String separator = System.getProperty("file.separator");
          String path = System.getProperty("user.dir") + separator;
     } catch (Exception e) {
          out.println("error%%%%%%%%%" + e);
%>
</body>
</html>here i am calling JcoTest2 from mySAP pack...
first time it is showing correct output of JcoTest2 .if i change JcoTest2 and copy and run .jsp is outputing the old program value.
.I used to complie my program in local machine and copy the class file and jsp file into the server(linux).
Regards

Similar Messages

  • Getting Class not registered error when I run wmi queries

    Getting Class not registered error when I run win32 wmi queries. Eg:

    Specs: 
    Lenovo 3000 N100
    Windows Vista Home Premium
    Genuine Intel (R) CPU T2080 @ 1.73 GHz (2 CPUs)
    1014 MB RAM
    DirectX 10
    Intel(R) GMA 950 

  • Changes in .RDF not reflected in template

    Hi,
    I am wondering if anyone else has had this issue. I made a change for a function in my .RDF file and moved it to our reports directory. The change is not reflected in the BI Publisher output. Is there something else I need to do to get the template to pick up the change as well. The problem seems to be that the XML output does not change and seems to only be running the old file. Is there somewhere else I need to move the file to or does anything have to be bounced to make changes effective? Any help is greatly appreciated.

    Hi Jason,
    Check if there is a Load balancer in use...
    If the address you give to users to access EBS (http://erp.company.com:8001/) looks different from the server you upload the files onto (e.g. server1.company.com), you have good reason to suspect may be a Load balancer in use. Load balancing in EBS context means e.g. that the work load is automatically balanced between two or more application servers. In this case you would need to upload the updated file to every server used (server1.company.com, server2.company.com, etc).
    The load balancer gives assignments to the application servers according to some internal logic. You can query fnd_concurrent_requests to see which AS was assigned to carry out each request. If you have an obsolete version of the report on one AS, and new one on the other AS, whichever could be picked. Actually you may have the old one picked dozen times in a row. This could explain why the updates are not reflected when you run the concurrent program.
    Best Regards, Matilda Smeds

  • Changes in RFC not reflecting in WebService

    Hi everyone,
    I´ve made a simple WebService using SAP-PI, that is sync. It received a request, uses a RFC to check data in SAP and then gives the response. It's working just fine.
    Now, the RFC has change - some business rule - and for some reason, it's not reflecting on my WebService. (I can see that because the response should have 3 itens but I have 4).
    I mean: if I run the RFC in the SAP R3, it returns one thing (3 itens), if I run my WebService, that calls this RFC, it's returning 'the same old data' (4 itens).
    I think I should not change anything in my SAP-PI since the input and output are the SAME. Only the RFC ABAP rule changed.
    What should I do?
    I did all sort of 'cache cleanig' already.
    I did re-import the RFC already.
    I did re-generate the WSDL already.
    Nothing... still not able to see the change in the RFC business rule.
    What should I do?
    Regards!

    Hi,
      For this need to clear matadata loaded ...
    RFC Changes not working in XI
    Check the above thread for doing the same..i.e activate the RFC channel by modifying something
    HTH
    Rajesh

  • Changes in MM02 not reflecting in COPA lin item report

    Hi,
    In my project during data conversion material was grouped wrongly. We realised it later once we started designing COPA reports. The material is used by seven company codes. The basic material group defined in basic data is used by all company codes while Material group 1,2,3 4 and 5 are used by company specific defined in sales orgs 2 View in MM master(MM01).
    I am designing report for three companies by using material group 1,2,3,4 and 5.
    We tried changing the material group 1,2,3,4 and 5 for wrongly grouped materials in MM02. But in COPA report these changes are not reflecting. The grouping in report is still as per the data conversion grouping.
    Please suggest on how should we rectify our material grouping to reflect in COPA report.
    Regds

    Hi,
    in COPA reports characteristics are read from the COPA tables, they are not dynamically derived at the time of executing the report. In the COPA tables oyu will find the characteristic as derived at the moment of posting the line item.
    If the characeristic that you want to rectify is in the definition of your your COPA segments - which you can check through TC KEQ3 - then there is possibility to carry changed master data over to past COPA data.
    TC KEND allows you change the existing COPA segments according to current master data. However, it will not make changes to table CE1XXXX, where COPA line items are stored, but changes happen on the segment level (CE4XXXX).
    This means that you always see the changes in COPA reports that read from segments, but not in line item based reports.
    To change your output from line item based reports I see no other possibilty but to make correcting entries in CE1XXXX using KE21N or KEFC.
    If you should consider using KEND please read the documentation for "realignment". It can create problems, for example if you have a SAP BW that is delta-updated from CE11XXX. Also your summarization levels for COPA have to be rebuilt after KEND.

  • Buyer changed Promised should not reflect in supplier portal.

    Hi,
    I am creating a PO with NBD to D30 and promised date (NBD - Transit time) to D25 and approve it.
    Now this PO goes to supplier through iSupplier.
    Supplier changes the date to D40 as new promised date.
    This goes back to Buyer and Buyer changes the Promised date and reapprove it.
    Now since FOB on buyer's side, he can decide the transit only before 1 week time of shipment. So the transit time may change 5 to 10 days or 20 days or remains 5 days only.
    Based on that, Buyer will change the promised date 1 week shipment and reapprove the PO.
    Now this change should not reflect in iSupplier. Because the pomised date may some time more than (D45) what supplier promised (D40).And this may affect their performance report (Supplier point of view)
    Please suggest, Is there workaround?
    Thanks,
    Jey

    Hi,
    As Infocube is additive and ODS is over write, if you want single value and that is addition of both first and second then compress the data in the cube. it is not possible to have latest value from the cube. in ODS it is possible to have latest value.
    Best regards,
    Malli.

  • Changes to Query not reflected in views

    We want to use various views off of a 'master' query to publish in our portal.  I was working on the assumption that an advantage of the views was that if a change needed to be made it could be made in the query and then all the views off of that query would reflect the change.  However I have discovered that some changes made in the query do not get reflected in the views.  For example if I change the scaling on a key figure, this change does not get reflected in the views.  In one case, as a test, I modified a formula in the query and also changed the scaling.  The view reflected the modified calculation but did not reflect the new scale.
    Does anyone know how to force these type of changes or is there documentation that at least list those changes made to the query that will not get reflected in the views?
    Any help would be appreciated.
    Stan Pickford

    Hi Stan,
    in general: Everything which belongs to the query view object won't be overwritten by query changes.
    What belongs to the query view object? Basically everything you can change during execution of a query (Dynamic filters, Drill-Down-State, Properties of characteristics, structure elements (keyfigures) and Query-View).
    What does not belong the query-view object: Definition of structure elements, Navigation space (characteristics available during runtime), Static filters.
    Heike

  • Changes to component not reflected after transport

    We recently modified the  BT115QIT_SLSQ assignment block to rearrange some of the fields and column headers and also add in some newer standard fields. When transported up to quality, we noticed that only some of the changes came in, but others did not. Looking at the setup in the component workbench, it looks identical to the setup in DEV and we didn't receive any errors on the transport. I do  notice the View Navigation tab is now gone in quality and we were getting a "Error in runtime repository' error when we opened up the component in quality which has disappeared all of a sudden. The changes that do come in work fine.
    I tried to do a comparison between the repository.xml files between the 2 environments but they are identical. This was verified using WinMerge, a file comparison utility.
    What else could be causing the changes to the component to not reflect correctly or for that View Navigation tab to be missing?

    Hi James,
    When u transport the Enhanced component to Quality/Prod system the SICF node for that component in SICF transaction will be deactive in the target system, Activate the SICF node for all the enhanced components by right clicking in the SICF transaction manually in the Quality system, this will remove the 'Error in runtime repository' error.
    If you have added the custom fields through UI configuration tool, go to the personalize option for the view/component, select 'Reset to default' option.
    Regards,
    S Reddy

  • CRT results are not appearing after successful payroll run

    CRT results are not appearing after successful run of US payroll, however, RT results are appearing.
    Please suggest ideas to find the results of CRT.

    Hi Rémi Corriveau,
    Thank you for spending your time to answer my question.
    Here are the answers to your questions . . . .
    QUESTION: Did you run a Payroll Simulation or a live Payroll Calculation ?
    ANSWER: We did a LIVE payroll run for a period of 3 months.
    QUESTION: Did you use t-code pc_payresults ?
    ANSWER: Yes, we used the t-code pc_payresults but still it doesn't show the CRT results.
    QUESTION: Did you check Processing Class 30 and 70 for your WTs ?
    ANSWER: As per the process, we copied the SAP standard (model) Wage Type M010 to
    our customized Wage Type, hence, hope that it wouldn't disturb any of the standard SAP settings.
    However, we did check the Processing Class 30, but did not check the processing class 70.
    Shall update you once PC 70 is also checked.
    Please educate, if there are any particular specifications that need to be entered while checking
    for our WTs in PC 30 & PC 70.

  • Automatic Modifiers should not repriced when reprice program runs.

    Hi,
    My requirement is as follows,
    I need to define a modifier which should applied automatically while entering ther Sales Order.
    And once applied it should not be repriced (value should not ve changed) i.e even if the modifier value is changed it should not changed in the sales order line when i run reprice program.
    I have tried to use different Event Phase but unable to achieve my goal.
    I have raised SR, but not got any solution till now.
    Request someone to help me.
    Thanks,
    Tushar

    Hi Team,
    Can somebody give any solution to my question.
    Thanks,
    Tushar

  • Changes in SPRO not reflected

    Hi guys,
    I'm trying to remove a service from the ESS Service Map e.g. Removing the links of "Working Time" from the ESS through SPRO and followed the steps (change position=0) I've saved the changes but they do not seem to be reflected in the Portal. Anyone have any idea what could possibily be the problem?
    Thanks,
    Zhenmin

    Hi Bala,
    please check if the SAP note 409700 is helpful for this issue.
    Regards, Franz

  • Changes to Jpeg not Showing in other programs

    I made changes to a JPEG using bridge and the raw filter and notice it does not show those changes in other programs. I usually use DNG's and notice that other programs show the image correctly modified, I think there is a new thumbanil embedded. Do changes I make in Bridge using the Camera Raw Function only show in Bridge? Is there a workaround, or a way to show the changed version? I have a ton of JPEGs lately that I noticed show no changes.

    Well, that isn't what I do. I guess we all have to develop a workflow that works for us. I treat the downloaded JPEG files as "master" files. I do the adjustments in ACR because, as you say, it's always possible to go back to the original image. So my workflow involves saving copies of the images (not overwriting the original images) in a separate subfolder. Yes, that involves more disk space, but that is how I prefer to work.
    If you are not familiar with Dr. Brown, then you have a real treat in store for you. He is kind of crazy, in a good sort of way. And he has a lot of excellent tutorials and some free Photoshop add-ons. Here is the link to his website:
    Russell Brown Show
    Just click on "Photo Tips and Techniques".

  • Changes of Infoset not reflected in query

    Hi,
    We have made some changes in the infoset, which is assigned to multiple user group.
    this infoset is used by 1 query which is also assigned to above user group.
    If we execute the query in user group 'X' it is working.....however if we execute the query in user group 'Y' it is not working....
    I found that the program for the query in usergroup 'Y' does not contain the changes we made to the infoset...
    Any idea why?
    We have generated the query and infoset....

    Hi,
    conn.setAutoCommit();Its used when you want to work in a transaction. If a connection is in a auto commit mode then all sql stmts will be executed and commited as individual tranasction. Else sql stmts are grouped into a transaction which needs to be commited by a method or rollback.
    So, after your transaction completes, do return the auto commit state to true.
    or
    try {
    // Connect to Oracle using JDBC driver
    System.out.print("*** -> Connecting to -> " + connectionURL + "\n");
    conn = DriverManager.getConnection(connectionURL,"SYSTEM","PASSWORD");
    System.out.print("*** -> Connected as URL -> " + connectionURL + "\n");
    // TURN OFF AutoCommit
    //System.out.print("*** -> Turning Off AutoCommit...\n");
    conn.setAutoCommit(false);
    stmt = conn.createStatement (ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_UPDATABLE);
    System.out.print("*** -> Opening ResultsSet...\n");
    results = stmt.executeQuery (sql);
    conn.commit();
    } catch(SQLException sqel) {
    conn.rollback();
    }Twinkle

  • Excel file changes on PC not reflected on BT Cloud...

    This is a strange one....if I make a change to an Excel file on my laptop...it is backed up to BT Cloud ok....but if I access the file from my mobile phone...it still shows the original file without the change....BT Helpdesk stated that BT Cloud does not support Excel file changes...is this correct?...I find that astounding!

    I need to add that Word document and notepad files do not suffer from the same problem....changes are reflected ok when access from mobile device or my laptop on the cloud.

  • How to change all class name on my java program?

    I want to change class name like this. This class name changes into a, b, c, d, e,.....
    MyClass m = new MyClass(); ------> a m = new a();
    MyClass2 m2 = new MyClass2(); ------> b m2 = new b();
    before I saw this code.
    I think it is can be using tool or program.
    anybody know?
    thanks in advance.

    Google for Java obfuscator

Maybe you are looking for

  • After update, cannot send email via any accounts! Please help!

    First of all, thank you for reading my thread. After updating few days ago, I cannot send any email via any acounts. I have .mac email and yahoo email. But I still can receive emails. I have checked message borad, it said "Some members experienced di

  • Swapping between client database and web database

    Hi i have completed tutorials etc so can now create the sqlite database for my application which is downloaded by the user and will run on thier desktop so i am calling it the "client database" which contains data they are working with but there is a

  • Establishing connection to Oracle

    Hi all. I've just started with JDBC and Oracle 10g. In book "Java programming with Oracle Jdbc" they told me to start with adding to CLASSPATH classesXXX.zip. 1) I found Oracle_Home\jdbc\lib\classes12.zip as I understand it is for java 1.2 version, b

  • HELP with cover flow

    This is a simple question, in brief i have tons of covers of the SAME album, because there are different artists in a album and i DON'T want this, i want just the cover of the album, not all the artists sub-categories. I'll post a photo as example. h

  • Setup for Macbook Pro & XP desktop with one monitor (Cintiq21UX from WACOM)

    Is there a way to use the Cintiq 21UX as a monitor for both my my new Macbook Pro laptop & a Windows XP desktop? I would rather not have to change cables and have heard about a KVM switch from IOGEAR that might give this functionality. Ideally, I wou