Add/Update user-type (Custom types) .jar while the server is still running

Hi!
I'm connecting from a .NET App to the cache server so I have to create the java version of my user-types, I compile this classes into a jar file and I send that in to the class path when the server starts:
%JAVA_EXEC% -server -showversion %JAVA_OPTS% %SYS_OPTS% -cp "config;_*lib\custom-types.jar*_;%COHERENCE_HOME%\lib\coherence.jar" com.tangosol.net.DefaultCacheServer %1
What happen if I want to add a new custom type while the serer is still running ? Do I just have to replace the jar file ? is this going to be reflected on the server since it is already running.
If I have to stop the server then what should I take in to account to avoid data losing ?
Thanks for your help in advance.

Hi,
Yes, using all the default out of the box Coherence POF support, you would need to restart the cluster to pick up any changes.
Do you really need the Java classes on the server side? Depending on what server side functionality you are using you might not actually need Java representations of the .Net classes. For example, if these are you entities that are being cached and you are never calling code that deserialises them, then there is no need for Java classes.
You could potentially write your own implementation of a POF Serializer (PofContext) that is used on the server side that can dynamically add and change classes.
JK

Similar Messages

  • Audio playback stops while the video is still running!!!

    Hi friends...
    I use my final cut for online streaming... and usually make a timeline for 11-12 hrs and run it in loop... everything worked fine all these years... but offlate we have been having problems with the audio playback... THE PROBLEM IS... while the timeline is still running and we can see the video on the screen the audio stops... but it stops after a few hours not at the time we start the timeline... as of now all we do is tap the spacebar twice to stop and start play again and it works again... but i would want a more permanent solution if anyone could help me out...
    thanks
    Anshu

    Hi,
    Yes, using all the default out of the box Coherence POF support, you would need to restart the cluster to pick up any changes.
    Do you really need the Java classes on the server side? Depending on what server side functionality you are using you might not actually need Java representations of the .Net classes. For example, if these are you entities that are being cached and you are never calling code that deserialises them, then there is no need for Java classes.
    You could potentially write your own implementation of a POF Serializer (PofContext) that is used on the server side that can dynamically add and change classes.
    JK

  • Access data from a SubVi to the MainVi while the SubVi is still Running

    I want to pass some Boolean/String from a subvi to the main vi while the subvi is still running. 
    I understand that it could be done using queue/ notifier. I do not want to use global variables. I looked at different examples but failed to figure out how to do it.
    I was trying to make an example by looking at an example from Labview about notifier. 
    Can anyone please help me with this code and guide me to the correct way.
    Thanks.
    Attachments:
    mainVi.vi ‏9 KB
    SubVi.vi ‏11 KB

    Hi babu726,
    I have included a revised MainVi.vi and SubVi.vi for you. I had to modify the SubVi to get it to be called by the MainVi. I also included a disabled diagram structure with the code just copied and pasted in, since your code does not seem modular. Hopefully this helps!
    Regards,
    Michelle G
    Applications Engineering
    National Instruments
    Attachments:
    SubVi.vi ‏11 KB
    mainVi.vi ‏16 KB

  • How do I get values into a vi from a subvi while the subvi is still running within the vi?

    Hello
    This is my problem. I have a subvi that runs an experiment. At different point in the experiment different instruments are on or off and I have a boolean array display this info. It is updated at various points of the experiment via a local variable. That works fine. Here is the problem though. I run that subvi from a main vi program (that runs it several times for several experiment cycles). I would like to pass the status of that array onto the mainvi to display there too. The problem is that the array in the main vi is not updated until the subvi is done running and thus displays only the array status at end of experiment (instead of changing
    as the status changes within the subvi). I tried using a global variable to write to it in the subvi every time there is an update, and read from it in the mainvi, but that doesn't work, it still displays just the status at the end of the subvi execution. Does anyone know how to make this work, or if there is a workaround this? Thanks.

    If you have LabVIEW 6i, you can update indicators of a calling VI from
    a SubVI, while the subVI is running.
    In your case you need
    1) an indicator on the main VI panel to display the boolean array
    2) to pass a reference to that indicator to the subvi when you call it
    3) to use this reference in the subVI, connect a property node to it and
    write the values to be displayed to the 'value' property of this node
    If you don't have version 6, you can write the values to be displayed to
    a global and display this global in the main VI from within a while loop
    which must run in the main VI in parallel to the running subVI.
    It's more complicated, since you need a mechanism to gracefully shut
    down the while loop after subVI finishes. You could do this with
    another global control boolean which is not displayed but just connected
    to the repeat terminal of the while loop. Don't forget to put a 'Wait' of,
    say, 50...100 msec in that while loop.
    -Franz
    zkajan schrieb:
    > Hello
    > This is my problem. I have a subvi that runs an experiment. At
    > different point in the experiment different instruments are on or off
    > and I have a boolean array display this info. It is updated at
    > various points of the experiment via a local variable. That works
    > fine. Here is the problem though. I run that subvi from a main vi
    > program (that runs it several times for several experiment cycles). I
    > would like to pass the status of that array onto the mainvi to display
    > there too. The problem is that the array in the main vi is not
    > updated until the subvi is done running and thus displays only the
    > array status at end of experiment (instead of changing as the status
    > changes within the subvi). I tried using a global variable to write
    > to it in the subvi every time there is an update, and read from it in
    > the mainvi, but that doesn't work, it still displays just the status
    > at the end of the subvi execution. Does anyone know how to make this
    > work, or if there is a workaround this? Thanks.
    Franz Josef Ahlers
    Section Semiconductor Devices
    Physikalisch-Technische Bundesanstalt
    Bundesallee 100
    D-38116 Braunschweig
    phone: (+49) 531 592 2410
    fax: (+49) 531 592 2405

  • Add multiple users to a certain database in the SQL server in one go

    I wonder if there is any method to add multiple users to a certain database in the SQL server in one go and without using transact code.
    I can add a single user to a certain database “Q” for example by right click on the user “U1” for example then properties then in user mapping tab select
    the database “Q”, so there should be a method to add multiple users ( U1,U2,U3…) to this database?
    Best Regards,
    Ahmad

    Many thanks Visakh16,
    I can do this using the below script, but what I am searching for is do to this without any scripting.
    USE TestDatabase; --Make sure you have the right database
    DECLARE @sql VARCHAR(MAX) = '';
    SELECT @sql = @sql + 'CREATE USER ' + name + ' FOR LOGIN ' + name + ';
    ' +
    'GRANT CREATE TABLE, CREATE PROCEDURE, CREATE VIEW, VIEW DEFINITION TO ' + name + ';
    FROM sys.server_principals p
    WHERE p.type in ('S','U') -- SQL Logins and Windows Login. Do not change!
    and p.name in ('U1','U2','U3'); -- List of names to add. alter to suit
    PRINT @sql; -- Show the statements being executed in the messages pane
    EXEC(@sql); -- Run the statements that have been built
    Thanks,
    Ahmad

  • How can I add a new message(custom text message) to the holiday approval em

    How can I add a new message(custom text message) to the holiday approval email-notification sent to the manager?
    TIA

    The answer is 'not very easily', unless the information you want to display is the employee's leave balances. In 12.1.3 Oracle have delivered functionality that allows you to include the leave balances in the approval notifications out-the-box, ie, without customization.
    For any other information you're probably going to have to customize the standard delivered HRSSA workflow. Within this workflow, the Leave of Absence functionality uses the Notify Approver (Embedded) (HR_APPROVER_NTF) notification. The body of this notification is set to the Notify Approver (Embedded) (HR_NTF_EMBEDDED_REGION) attribute. This in turn defaults to:
    JSP:/OA_HTML/OA.jsp?OAFunc=-&HR_EMBEDDED_REGION-&NtfId=-&#NID-
    So essentially you can change the HR_APPROVER_NTF notification. The problem with changing this notification is that it's generic - it's used for all SSHR functions and not just Leave of Absence. That means you have to make other, more substantial, customizations to the workflow to ensure the changes you make only applies to LOA.
    The other option is to personalize the review page (ie, the region referenced in &HR_EMBEDDED_REGION) to include whatever messages you want. But that means they'll appear on the Review page and all LOA approval notifications and that might not be what you want.
    It's usually better to live with what Oracle deliver and find an alternative solution! What's the content of the message you want to include?

  • While trying to access my local network I get the message..."The page could not be opened because server cannot be found."  This, after updating to Yosemite and paying (again) for the server app.

    while trying to access my local network I get the message..."The page could not be opened because server cannot be found."  This, after updating to Yosemite and paying (again) for the server app.

    It's absolutley scandalous that a company with Apple's resources can let this happen.  They should have staggered the release by region rather than opening the flood gates.  The upgrade itself took me about 10 attempts to download it, and then I thought I was home free.  That was until it rebooted and won't activate.  It's over 2 hours now.
    Scandalous!

  • I suddenly cannot add/edit users or groups!!! (Lion Server)

    I suddenly cannot add/edit users or groups!!! (Lion Server)
    On the latest Mac Mini Server Lion 10.7.2
    Everything was working fine at first, I'm pretty sure either since i've upgraded to 10.7.2 or since we try to connect Windows8 to the server, Lion Server is not working to good anymore, from that time I cannot add/edit users or groups & assign any users to any goups, the + sign looks desable, and everything seems pretty glichy. The other thing I have notice is that a huge amount of Users & Groups has been added without my consent.
    Do I have to ReInstall Lion Server??
    Why do I have all these random Users & Groups listed? (see screenshot)

    I had the same issue.  I opened the Workgroup Manager application and noticed the message "not authenticated as diradmin to directory: /LDAPv3/127.0.0.1" was under the icon bar at the top of the popup screen.  When I clicked on that bar I entered the diradmin username and my password.  After I exited the authentication dialogue box the message now read "Authenticated as diradmin to directory: /LDAPv3/127.0.0.1."
    At that point I had full privalages in both the Workgroup Manager and Server App to create users and groups.
    Not sure if this why the problem occurred in the first place but at least I resolved it without any major problems.

  • A failure occurred while the server was processing report file

    Hi All,
    I keep getting this error while opening the report in Infoview,  "A failure occurred while the server was processing report file".
    I checked Event viewer there i have lot of errors with the same message and the source is "BusinessObject_crproc". 
    Please advise me what i have to do to resolve the issue.
    Environment: BOXI3.1, CR2008, Windows Server 2003
    Thanks
    Sudharsan.

    We got this error message on a report that had 5 subreports, 3 of which were based on stored procedures. The report was running fine in our Dev environment and in the CR developer, but not when we published it to another environment. The problem was caused because the stored procedures had been changed in Dev (so that they ran correctly) but these changes had not been released to the other environment. Once the scripts were run to update the stored procedures the report ran successfully. So it apepars that the problem was because the stored procedure/s the subreports were using were failing, but we only got the RCIRAS0546 error message.

  • Hi there, I have installed iTune on my new Toshiba laptop which runs on Win 8.  I can update itune on Toshiba laptop, sync but the iphone Apps still showing app to be updated.  Restarted both Itune

    Hi there, I have installed iTune on my new Toshiba laptop which runs on Win 8.  I can update itune on Toshiba laptop, sync but the iphone Apps still showing app to be updated.  Restarted both Itune and iphone....reset phone backup....to no avail.....HELP!

    I have removed now all bloatware from laptop, CCleaner run and some more stuff: installed Libre Office, Free Avast, Mozilla Firefox - Spotify was preinstalled. And now this is even better - really simple and fast.
    I also removed Ethernet completely, as I don't want to be locked at one place. It's not cool to use laptop on divan sofa. So tired after hour of sitting in uncool position. Wifi speed loss is almost 50%. 95 Mbps I get from 100 Mbps at Ethernet and on Wifi in laptop I get at max 50 Mbps. It's only for end this year this way, then I will slow down my connection anyway as for one person and laptop/smartphone it's way too much of speed for 40 €. With 27€ I can get the same 10M/10M and it will be more than enough. Now I have 100M/10M.
    I'm also considering about 50M/10M option for 32.90 €, but I will see what I do. I download now test file 10GB and it loads 30-40 Mbps and sometimes even as fast as 50 Mbps. It depends on server also, but ebven on Google, which works on Ethernet at 95 Mbps, it is on Wifi nothing more than 51 Mbps.
    It's also 10GB of 1,100 Offlined tracks, I tested it now. So on trips 32GB card should be enough for my phone. I'm going to one soon :)

  • HT4972 im trying to update my iphone and now its saying the server is unavailable, or try through itunes and then it says that no sim is fitted? any ideas please

    im trying to update my iphone and now its saying the server is unavailable so try connecting to itunes, once this is done it then says no sim is fitted?any ideas?

    Lots of ideas... starting with, try a search of the forums for the issues that are occurring.

  • Should i let Main() exit while worker threads are still running?

    what is the Java Best Programming Practices for the issue of having the
    public static void main(String[] args) { ... }exit before the worker Threads that is starts exit?
    letting main() exit first, or making it wait, has no practical difference.
    yet, when others look at my code, what should it look like?
    should i thread.join() on all worker threads, before main() exits?
    imo: it appears to be bad style to let the main() exit while my session with the jvm is, essentially, still running.
    yet, it is extra code that is not necessary.

    Strike that. Reverse it.
    i.e.
    >
    1) Have main join the threads, and comment that you're doing so simply to preserve the notion of main as the umbrella for the program.
    2) Make the threads daemons, and comment at the end of main that the daemon threads, and hence the program, may still run after main has completed.
    >
    should instead say:
    1) Make the threads daemons, and have main join the threads, and comment that you're doing so simply to preserve the notion of main as the umbrella for the program.
    2) Make the threads non-daemons (the default), and comment at the end of main that the non-daemon threads, and hence the program, may still run after main has completed.
    Edited by: jverd on Oct 21, 2008 9:27 AM

  • Warning EJB EJB Deployment: Fnv cannot be redeployed while the server is running. de.dr_staedtler.extern.audi.fnv.data.ejb.FnvBean is located in the server's classpath.

    Hi,
    i have developed some EJB, that are dependent from each others.
    So I set the classpath to a lib-directory with my EJB.
    When i try to deploy, i become a warning
    <Warning> <EJB> <EJB Deployment: Fnv cannot be redeployed while the server is
    running. de.dr_staedtler.extern.audi.fnv.data.ejb.FnvBean is located in the server's
    classpath.>
    But the EJB's are deployed and the client can connect it.
    Why is the warning? It is important or I can ignore it?
    Thanks for your time.
    dragan-sassler

    It means that bean classes are in the system classpath and therefore
    cannot be reloaded. If you do not plan on hot-redeploying your beans
    you can ignore this message.
    Dragan-Sassler <[email protected]> wrote:
    Hi,
    i have developed some EJB, that are dependent from each others.
    So I set the classpath to a lib-directory with my EJB.
    When i try to deploy, i become a warning
    <Warning> <EJB> <EJB Deployment: Fnv cannot be redeployed while the server is
    running. de.dr_staedtler.extern.audi.fnv.data.ejb.FnvBean is located in the server's
    classpath.>
    But the EJB's are deployed and the client can connect it.
    Why is the warning? It is important or I can ignore it?
    Thanks for your time.
    dragan-sassler--
    Dimitri

  • [svn] 1985: use the asc.jar in the lib folder when running the asc tests

    Revision: 1985
    Author: [email protected]
    Date: 2008-06-06 12:20:06 -0700 (Fri, 06 Jun 2008)
    Log Message:
    use the asc.jar in the lib folder when running the asc tests
    Modified Paths:
    flex/sdk/trunk/build.xml

    You may want to use the filtering classloader. See the doc at http://e-docs.bea.com/wls/docs92/programming/classloading.html#wp1097187

  • Recently while using my iMac the display will just cut off but the machine is still running and I have to press the power button to get the display to cut back on. What is causing this?

    Recently while using my iMac the display will just cut off but the machine is still running and I have to press the power button to get the display to cut back on. What is causing this?

    Look in System Preferences/Energy Saver.

Maybe you are looking for

  • Problem with multiple instances of same module

    I want to call the same module in several different viewstates. Based on a variable for each viewstate the module returns different results. Here is a shortened version of my code: private var lm:linkModule; private function moduleHandler(promotion:S

  • Satellite L50-B-1XF - Win 7 64bit drivers and software

    Hello, as I can't find anything about my model - Satellite L50-B-1XF (PSKTUE-04C00WGR) I will try it here... I bought two of these (one for me, one for my wife) with Win8.1 installed. Well... no need to say that this is one of the worst OS I ever see

  • Basic Excise duty condition value is not captured in in Excise tab at GR

    Dear Experts i am facing the problem that, Basic excise duty amount is not appearing / captured in Excise tab, Goods Receipt Screen. Please guide me on whether the problem is with Excise master data or excise configuration.

  • Standby database SRL & Online logs

    Hi, I have just tried my hand at building a Physical standby database in Oracle 10gR2 using RMAN. I will detail out the steps that i have performed before asking my question. I configured every pre-requisite and i did not create any SRL's on primary

  • Flash Debugger vs Player

    I am getting a strange error that happens only in the debugger. The regular flash player itself has no problem running .swf but the debugger throws a type coercion error. Before this I had issues with security, and external files couldn't be loaded c