Preventing byte code patching.

I am building a service for distribution and would like to give a limited version for free. How do I make it difficult from patching the code to overcome the limits?
An example of a limit would be no more than 2 concurrent users. Or poping up a message after a timeout.
Any ideas or pointers would be appreciated.

WyattBiker wrote:
No its not online. One would have to dowload it to use it.You can make it more difficult using obfuscation, but you can't ever make it impossible if you let the user download and run the code.

Similar Messages

  • Managed system Configuration : The JMX metrics of this Host / Byte Code Adapter are missing

    Hi Friends
    While Configuring EP system with SOLMAN 7.1 SP12 it is giving below message in self Diagnosis Phase.
    1. Solman system is already having ISAGENT version 8 and 9 installed (but Managed system is having 8)
    2. I have followed the automatic Process as below
    ==========================================
    Automated Installation of the Introscope Agent via SMD
    The Solution Manager provides an application that performs the setup of the Introscope
    byte code agent for Java automatically. This section explains the steps to run the setup.
    Before you can run the Introscope agent setup, the setup wizard for the managed system
    must have been executed.
    1.
    2.
    3.
    4. Launch the Introscope Setup application: SAP Solution Manager Configuration 
    Managed Systems Configuration  Step 7 Configure Automatically  Automatic
    Activity “Byte Code Adapter Installation”  “Open Java URL” (only available in edit
    mode). Your screen will look similar to the image below:
    5. Check the Enterprise Manager Settings at the top of the screen. These are the
    connection parameters that will be used by the agent to connect to the Enterprise
    Manager.
    6. In the pane Introscope Agent Setttings, select the system that you want to instrument
    with the agent. Check “select all” and click “Retrieve Current Settings”. This will display
    the current status of the agent setup.
    7. To initially setup or update the agents, click Setup Introscope Agent …. This will open
    the setup dialog as shown below. Select the desired agent version (by default only one
    available) and choose the profile. Next, check the desired instrumentation areas, and,
    in the case of AIX, review the AIX settings to match your environment (J9 or classic
    mode).
    8. Finally, hit Apply to perform the necessary changes in the agent configuration. Agent
    config files will be adapted and the Java VM parameters will be set as required for the
    managed system.
    ================================================================
    3. Restarted SAP but error still present.
    Please help to resolve the issue.
    Thanks

    Found the solution :
    1819577 - Workload Analysis data missing for Java systems when using ISAGENT 8.2.4.0
    Cause
    l This issue has been identified as product defect and documented in note 1273028
    Resolution
    l As mentioned in note 1273028, update to ISAGENT 8.2.4 Patch 1 timestamp: 2012-06-26, please proceed as described below)
    1. Enable the Maintenance Mode in the Agent Administration UI (http://solmanserver:port/smd/AgentAdmin)
    2. Deploy the file to the Solution Manager JAVA stack using the Software Deployment Manager (SDM)
    3. Disable the Maintenance Mode in the Agent Administration
    4. Execute again the activity 'Byte Code Adapter Installation' of the step 'Configure Automatically' in the 'Managed System Configuration' for the
    affected systems. This activity will deploy the new version of the
    Introscope JAVA agent in the managed system servers and reconfigure the JVM parameters to use the new version of Introscope JAVA
    Agent;
    5. Check from Introscope Agent Admin if "IS Agent State" contains value "Running but needs restart"
    6. Restart the affected managed system(s)
    Finally Solution is update your SOLMAN system patch ISAGENT 8.2.4.0 from patch 0 to 1 via SDM.
    Thanks
    Mukesh

  • Connecting to EMS fails with No mapping for the Unicode character exists in the target multi-byte code page

    I am getting the following error when trying to connect to both my exchange servers.
    New-PSSession : [ex2013-002.nafa.ca] Connecting to remote server ex2013-002.nafa.ca failed with the following error
    message : No mapping for the Unicode character exists in the target multi-byte code page. For more information, see
    the about_Remote_Troubleshooting Help topic.
    At line:1 char:12
    + $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri ht ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
       gTransportException
        + FullyQualifiedErrorId : 1113,PSSessionOpenFailed
    EMS used to connect ok. I am not sure if there is any connection but Outlook was installed recently on the exchange server to enable mailbox level backups.
    Any help would be appreciated.
    Steve Hurst

    Hello Steve,
    Firstly, you cannot install Outlook with Exchange because they share certain dll files.
    About the EMS question, I suggest we try rebuilding the powershell virtual directory. If it still does not work, check the application log for more referernce.
    Thanks,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Simon Wu
    TechNet Community Support

  • How to prevent the code viewing of jsp files

    hello friends
    How to prevent the code viewing on directly opening .jsp files at the server side
    Thanks in advance

    hello friends
    How to prevent the code viewing on directly opening
    .jsp files at the server side
    Thanks in advanceWhat exactly do you mean by code viewing? If by that you mean you don't want all the folders to show in the directory create a index.jsp file that has all the links to the pages you want to show
    If you mean something else please clarify

  • How to prevent BGP code 6 (Cease) subcode 6 (Other Configuration Change)

    Can anyone tell How to prevent BGP code 6 (Cease) subcode 6 (Other Configuration Change) ?
    We are facing frequent problem with this error. Please suggest how to stop this.... 
    Note :- We are using BGP VPN between this peers.
    Logs :
    Date/Time     : 2015-04-30 00:49:40+05:30
     State         : Up
     Date/Time     : 2015-04-30 00:39:05+05:30
     State         : Down
     Error Code    : 6(CEASE)
     Error Subcode : 6(Other Configuration Change)
     Notification  : Send Notification
     Date/Time     : 2015-04-29 18:22:11+05:30
     State         : Up
     Date/Time     : 2015-04-29 18:21:39+05:30
     State         : Down
     Error Code    : 6(CEASE)
     Error Subcode : 6(Other Configuration Change)
     Notification  : Send Notification

    on the same dates you mean the same request are posted in IT2001? ie both full days?
    Please clarify
    usually the Time collision checks are followed only via posting using report rptarqpost and not while applying through portal in ESS
    This is very strange you indicate
    SO you need to check the basic tables first
    You may need to check the collision.
    Collisions Tables V_T554Y and V_554Y_B reaction indicators.
    and V_T508A
    able T582A set to time constraint of "Z
    In backend Pa30 collision works like this
    1) the logical collision, checks if there is an overlap in the validity
    interval of the IT´s (begda, endda).
    2) the physical collision, checks if there is an overlap in the time
    interval of the IT's.
    In the logical collision it is checked if there is an overlap in the
    validity interval if at least one of the records is a full-day
    ( that is the case when you enter a Daily Work Schedule (DWS) )
    So when one of the records has a DWS it is considered to be a full day
    record and the logical collision is taken into consideration.
    If instead you enter the only the time interval manually the records
    are considered to be partial-day and the physical collision is
    performed. In that case only the time interval is important.
    So if the clock times are not entered the physical collision can not
    take place.
    The collision functionality is always based on clock times and dates,
    never on the total nr of hours.
    Edited by: Siddharth Rajora on Sep 21, 2011 4:57 PM

  • No mapping for the Unicode character exists in the target multi-byte code page

    hi,
    i have an issue with sharepoint 2013 and IE 10.
    im using the sharepoint  rest web service and make an ajax data call to retrive data from sharepoint lists, the call fail and return a server error: "No mapping for the Unicode character exists in the target multi-byte code page". 
    i have to say that everything works fine with chrome and firefox. 
    what can i do for fixing it?
    Thanks a lot
    alon

    Hi,
    From your description, I know you get an issue with IE 10 in SharePoint 2013 when you use SharePoint REST API to retrieve data from SharePoint list.
    I am not quite sure what cause your issue. Could you provide your code, so I could test it in my environment and troubleshoot for you.
    In addition, you could test your issue in another computer or another version of IE.
    Best Regards
    Vincent Han
    TechNet Community Support

  • Practices for maintaining source code patches for branch of OSS project?

    There is this open source project I use and modify for my personal, private use...
    I would like some best-practice/practical experience suggestions on methodology/tools to maintain a growing number of source code patches I have created for said software. (FYI It is generally not mandatory that I upgrade to new version of the software when it comes out. Sometimes I will use the version I have for several versions before getting the new one, and re-implementing my changes. And sometimes I don't even implement the changes; I just run it vanilla.)
    Currently, I download the latest code from SVN, make my changes to the original code files, and keep track of my changes in a text file, which I then dutifully reference to re-create them when I feel like re-synching with the official version. What I would like to have instead is a separate base of code that contains just my modifications, and somehow include/import it as painlessly as possible whenever I get a new version of the official code from SVN.
    What's the best way to go about it? That's why I'm here.
    I realize these situations rarely, if ever, work out perfectly, and I can deal with that. I just want to improve on how things are, now, in anticipation of where I can see them going!
    I have some ideas about how to implement this, but they are of the "naive" variety and I think any tips I could get on method or tools to use would go far. I mean ... is it as simple as declaring new versions of affected methods in my patch code and marking them "overrides"? Also, probably a dumb question but will SVN that will help me do this?
    Thanks for reading, and any response.
    PS - Sorry if this is the wrong forum, but I am just looking for general, tip-of-the-iceberg type tips/links, so I figured folks could drop a quick answer here. TY!

    The patch program on *nix or Cygwin does exactly what you want, and you can create the patchfile using either Subversion or CVS (and any other source control system that provides a diff).
    Here's the article that I always turn to to create a CVS Patch (I have to relearn patching every time I do it): https://developer.mozilla.org/en/Creating_a_patch
    And here's the equivalent from the Subversion FAQ: http://subversion.tigris.org/faq.html#patch
    When I've worked for companies that did local patches, we kept a separate source-control repository/module that held our patches for the various OS libraries that we used. When we'd upgrade, we'd apply the patches and verify they made sense (if you have a lot of patchfiles, this can be a royal pain). And most important, once we had a patched upgrade, we generated a new patchfile from it (because, again, patchfiles become obsolete, and trying to apply a patch from several versions back can sometimes be impossible).
    And of course we submitted any bugfixes back to the projects...

  • Question about Byte Code

    Hello...can anyone tell me how I write a java program, compile it and get my byte code written into another file??
    Thanks in advance!

    I am looking to write my bytecode into a .bc file and
    open it and actually be able to read the bytecode
    instruction...(stuff like iload_2, i2d etc.,)I see... that was not clear from your first question. What you want is a disassembler. The SDK comes with one called 'javap': http://java.sun.com/j2se/1.4.1/docs/tooldocs/windows/javap.html

  • Question about compiled byte code

    Howdy folks,
    I have a client who wants to run an application in both
    on-line and off-line modes. The user could run the application
    locally on their laptop making changes and such which would get
    stored to local database files (probably FoxPro free tables just to
    make it easier on me). Then when the user got back to their
    internet connection they could run the application and it would
    sync with the online tables (probably MySql tables at that point).
    So the question is, if I compile Cold Fusion code into Java
    byte code, will it be able to execute independantly of the Cold
    Fusion Server? I realize that I could load ColdFusion on the user's
    laptop, but I don't think I want to do that. I'm assuming that the
    answer to my question will be "No. You can't do that. Cold Fusion
    isn't meant to work like that." To which my next question would be,
    "Well, what language would be best for the type of application I
    have described above? Action Script, maybe?"
    Any thoughts are welcome, especially if you've written an
    application like the one I've described.
    Thanks very much,
    Chris

    Well, rats.
    I wrote a nice reply to your message BKBK, but lost it
    because, apparently, my session timed out.
    The basic jist, was that I've been working on AJAX, and have
    been implementing some AJAX-like techniques at some other clients
    (using hidden iframes combined with innerHTML -- I know not a
    standard, but darn handy otherwise), but I couldn't see how that
    would solve my on-line/off-line problem (unless I stuck with the
    cookies idea).
    I also did some reading on cookies last night (obviously, I
    don't use cookies very often if at all in my daily coding), and I'm
    a bit put off by the different browser limitations. I'd hate my
    client to be chugging along, entering appointments into the
    "database" (read: data being stored as cookies to be sync'd later
    when the user goes online), and then suddenly run into the cookie
    limitation. On top of that, if I'm reading right, IE (my client's
    most likely choise of browser), will not let you know that you've
    reached this limit, but will just begin dropping the older cookies
    in favor of the newer ones. If I could programmatically sense this
    limitation and then write the cookies to some file before
    continuing that'd be geat, but since JavaScript can't write files
    (that I know of) this isn't feasable. Also, if I could write a file
    like that, I wouldn't bother with the cookies.
    I think I'm going to end up writing it in FoxPro since my
    company has a bunch of copies of it (and it's licenced per
    developer and not per copy), and there are lots of folks in my
    company who can help me get up to speed. That also means that I'll
    probably need to write a web version of the code for when my
    client's client's (does that make sense? :-) ) connect to the app
    via the internet.
    Anyway, I'm really enjoying everyones comments on the
    subject. Can anybody think of a technique for a way around the
    cookie limitations? Or perhaps another language that this whole
    thing could be written in?
    I really wish that I could compile my ColdFusion code for use
    independant of the CF server. I know, that's not the way it works
    and typically not what scripting languages like this are used for.
    I suppose I could always install the developer's version of CF on
    the user's local machine, write the code in CF and then just detect
    whether or not the user is online and behave accordingly.

  • Inheritance and byte-code...

    My coworker and I were having a discussion today that I imagine someone here will be able to resolve for us: we were talking about how wonderful inheritance is (when used properly, of course), and the issue of the compiled byte-code came up.
    Basically, it was my conclusion that a subclass contains only the byte code that differentiates it from the superclass; in other words, if a superclass is modified and recompiled, there is no need to recompile the subclass for the changes to take effect. My coworker disagreed, however, arguing that there would be linking problems between the two classes if the subclass was not recompiled (sign of an old assembly programmer, if you ask me).
    Anyone know the answer to this?

    I created a trivial Parent class and extended it with an
    even more trivial Child class. I compiled both classes
    and then made a change to the Parent class. After
    compiling the Parent class only, the change took effect
    in the Child class. This indicates that you are right and
    your co-worker is wrong. Here are the classes if you
    would like to show him.
    import java.awt.*;
    public class Parent
         Dimension d;
         Parent() {
              d = new Dimension(333, 777);
         public Dimension getDimension() { return d; }
    import java.awt.*;
    public class Child extends Parent
         Dimension d;
         public Child() {
              d = getDimension();
              System.out.println(d.height + " " + d.width);
         public static void main(String[] args) {
              new Child();
    }Mark

  • Is there a way to convert JVM 1.1x byte code to JVM 1.3+ byte code

    I dont have the source code from a program that is used in my company. The original writers went out of business... so we cant ask them.
    I was thinking of decompiling the code and then recompiling it... but I was wondering if there wasnt just a byte code updater?
    Or if anyone could come up with a better method.
    -S. Bob.

    er.. well I dont think you understand. I have been assigned to get it functional... I mean, its my task to come up with a solution. :[
    Unless of course you have a credible documented source that states 'NS 6.1 is a hot steaming pile of crap' and that no one should use it. I could leverage off of that to help my claim that any support for this browser is pointless.
    Do you have a link that talks about the applets and why they dont function in NS 6.1 vs 4.7x ?
    That or does anyone know why or how to get NS 7.0 working on Windows 95. (yes I do understand what I ask here... I wish it werent true.)
    -S. Bob
    'life in the corporate wheel, grinding one day at a time'

  • Strange Error - 5005: Unknown error optimizing byte code.

    Hello flashcoders,
    I am facing strange problem since long time. This error code
    even doesn't exist in the list of error codes.
    This is the exact error I am getting while I compile the FLA
    from flash CS3.
    Location : , Line 1
    Description : 5005: Unknown error optimizing byte code.
    Source :
    I don't know exact reason about its generation, But here are
    the some possible reasons / hints:
    Case 1) Overloading:
    1.1) Size of .fla is 10.5 MB and its document class contains
    more than 60 classes to import and has more than 100 variables.
    1.2) Even if I put In document class - only variable
    initialization and class importing are there. Nothing in its
    constructor + no other functions are defined. Still error is there.
    1.3) If we import all classes and has all variables then it
    gives this compile error. But if we remove some particular numbers
    of variable, it's start working. In this we can remove any type of
    variables.
    1.4) After reducing variables, application starts working
    till that it won't.
    Case 2)
    2.1) Size of .fla is 1.75 MB and its document class is same
    as above one.
    2.2) All assumptions are same as above.
    2.3) Now this class contains all functions and have
    initialization of all variables + classes.
    2.4) In this If we remove 3-5 variables, it will start
    functioning else it won't.
    Its a huge application so I am even confused that what is the
    cause of error and this error stopped our working for a week now.
    Bit more information about the project that may help the team to
    identify the reason.
    1. Project development started with flash public alpha 3.
    When we started using Flash CS3, we had some design problem if we
    do open the FLA in CS3, so we completely redesigned the Movieclips
    etc., in Flash
    CS3 IDE.
    2. Project contains approx 250 classes.
    3. In main application, it imports 67 classes. (it works if I
    keep 63 classes in document class).
    4. In the case 3 above, if that works with 63 classes and If
    I do add 3 frames in existing movieclip, it stops working.
    5. In the case 3 above, if that works with 63 classes and If
    I do add / declare few more variables, it stops working.
    It would be humble appreciation if someone can come up with
    some light in the dark tunnel.
    Best Regards,
    Ashvin Savani - "arckid"
    Founder & CTO - Avinashi.com
    Adobe Community Expert
    We Never Give Up!

    I've posted an article on this problem -
    http://www.negush.net/blog/5005-unknown-error-optimizing-byte-code/
    - and here are a few ideas on how to handle it (check out the
    comments):
    - try turning off the optimizer
    - delete ASO files
    - also it seems that changing the java vm heap memory size
    could help (find he environment variables in the Windows computer
    properties and search the JAVA_TOOL_OPTIONS variable)

  • Byte Code Instrumentation with -javaagent in JCAPS 5.1

    Hello All,
    Has anyone successfully used Byte Code Instrumentation using the -javaagent switch in JCAPS 5.1?
    I have 3 instances of JCAPS and two are reporting metrics fine the third is Not!
    I am trying to instrument but my agent code is not being started and I am not seeing metrics...

    Tags in JCAPS Repository are primarily used with deployment profiles. They are not the traditional CVS or SVN Tags. As far as I know, you cannot export projects based on Tags. The only place they are useful is when you are creating deployment profiles and want to use an older Tagged version of the connectivity maps etc and the components used within them such as JCDs, eWays, BPs etc. The caveat here is that if you used any external JARs within your JCDs, earlier versions of those would not be references corresponding to the repository Tag.
    Hope that helps.
    Z.

  • Is Java Byte Code is 100% platform independent

    Hi all
    A my room fellow is disturbing me about the platform independency of JAVA.
    Now i only wan to know that generated Byte Code will be same if it is generated on different platforms (Window,Linux,Unix etc)using their respected JVM
    Thanks in advance

    The "Platform Independency" of Java is a bit of a joke
    to me. You need a JVM that is platform dependent to
    run it. Now granted, you can write one application
    and itll run on any platform, but that's only assuming
    they have the JVM installed on them. Not to say that
    Java isn't cool and all, but the "platform
    independency" solution still has a reliance on
    something that is platform dependent... It's like
    driving an automatic and saying you can drive....Sure,
    you are making the car go, but something is doing the
    shifting for you....(C: I guess I'm just arguing for
    the sake of arguing...Well if you want to argue that point then no language is platform independant. C code for instance needs a compiler for the platform you want to compile it to run on and that compiled code won't work on any other platform. Ultimately every program has something that ties it to a particular platform, that's just the nature of things in computers.
    The idea of platform independance was the removal of the need to re-compile a program with a native compiler just to get it to run on that platform.
    Instead Sun opted to have a compact JVM to interpert the byte code and have the byte code standard across all implementations of the JVM.

  • BCM 2007 error: "To help prevent malicious code from running, one or more objects"

    Recently we changed our e-mail accounts around to a new domain name. After this switch, BCM no longer allows adding, editing or any other manipulation of contact records. I get an error message saying "To help prevent malicious code from running, one
    or more objects in this form were not loaded."
    I have tried clearing the forms cache, uninstalling and reinstalling BCM and even adding the old e-mail address back into the Outlook profile and nothing works.
    Is there something I have missed somewhere or am I looking at a complete reinstall of Outlook and BCM?
    Jon

    Hi Jon
    Thank you for the update.  It could be another Active X Component - BCM 2007 calls several of them
    On thing you could do is run a Process Monitor Log to see if perhaps another component is Blocked. To do that try the following:
    1. Close Outlook and as many other programs as possible
    2. Download and Extract Process Monitor from here -
    http://technet.microsoft.com/en-us/sysinternals/bb896645
    3. Start Process Monitor
    4. Start Outlook
    5. Reproduce the error in BCM
    6. Stop Process Monitor by going to the File menu and unchecking "Capture Events"
    At this point you can try filtering by clicking the Filter Icon (the Funnel) on the menu bar.  Click on the Left Drop down at the top of the Dialog and Select "Path"
    For the second dropdown select "Contacts" and then filter on "ActiveX Compatibility" (without the quotes)
    in my lab, every GUID under HKLM\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility came up with a result of "Name Not Found"
    On your system, are there any are present (the Result Column will show "Success")?
    If so, then I would check the Compatibility Flag for that one (Hint - if you right-click on an Entry you can select "Jump To" to open Regedit to that location)
    - or -
    If you would like for me to take a look at it, in Process Monitor Go to the File > Save Menu and save it as a .PML file. Then send it to me at cts-larrymei at live.com
    Note - Please ZIP the file prior to sending it
    Thanks!
    Larry - MSFT
    Larry Meinstein

Maybe you are looking for

  • Wake From Sleep Reboots New Mac Pro 2.8 GHz 8-core 10.5.2

    Add me to list of users with this problem. I bought NEW computer yesterday. Mac Pro 2.8 GHz 8-core 10.5.2 ATI Radeon HD 2600 XT Yesterday, I ZeroWrote the OEM Apple hard drive and Installed 10.5.1 from OEM Install disks -- ran all updaters, repaired

  • COMMIT WORK - performance problem

    Dear Fellow SDNers, I seek your help on the following problem: Scenario : Inbound idoc which updates an Outbound delivery with Picked quantity, posts the goods issue and then creates billing document Approach : I am using the function module SD_DELIV

  • Importing Statistics - Oracle 11g upgrade

    Hi, We are in the middle for planning for migration of oracle 9.2.0.8 database hosted in HP-UX to oracle 11gR2 to Linix. The database size is 1 TB ( 400GB of table data & 600GB of index data). Please let us know whether we can use the option of impor

  • Using Queries in Crystal Reports

    Hi all, I know that creating a report in Crystal Reports is essentially creating a query, but I wanted to know if anyone knew of any ways to develop queries using the Query Generator in B1 and then use that query for a report in Crystal, possibly ref

  • User exit for CO-PA

    hi friends, i have a requirement . i need to derive a manufacturing plant from material batch the function module exit is EXIT_SAPLKEDRCOPA_001 input values should be billing document  number and company code but we are not sure of the transaction wh