Interaction with main server application

Hey
I am developing a serverside with rpc (soap), which means .jws files running on Tomcat with Axis support.
My quistion is: how do the jws files (methods) communicate with a main server application. I need a server application to run at all time to get data from an external device. The call to the .jws files makes a call to the server application to retrieve for example the average measured data from the external device.
Thx
/Denker

Hi,
I am interested in this information too. What I found is this:
http://groups.google.com/groups?q=%2Btomcat+%2Bjax-rpc&hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=23e544cf.0209112145.21f4d4a%40posting.google.com&rnum=6
Here's most of it:
For servlet based web services, JAX-RPC defines the following
interface:
package javax.xml.rpc.server;
public interface ServletEndpointContext {
public java.security.Principal getUserPrinicipal();
public javax.xml.rpc.handler.MessageContext getMessageContext();
public javax.servlet.http.HttpSession getHttpSession();
public javax.servlet.ServletContext getServletContext();
If a servlet based endpoint wants to get access to
ServletEndpointContext object, it should implement
javax.sml.rpc.server.ServiceLifecycle interface. The servlet contianer
will then invoke "void init(Object context)" method, passing the
context object to the user code.
I still don't know how you hook the JaxRPC implementation (which implement Remote interface) with this. If you found out, please list the whole things step by step (versus just mention above). Thanks.
I'll do the same when I found out about it.

Similar Messages

  • Interact with third-party applications

    Do anybody have a try to Interact with third-party applications when using CQ5?
    I have some questions when I do that, when I use ajax to get data from my custom application,it always return error message,below is my ajax code:
    function getMinisiteList(){
              var sendUrl="http://localhost:8088/innosite/minisite/home.json";
              $.ajax({
                        url : sendUrl,
                        type : "post",
                        dataType : "json",
                        success : function(data) {
              alert(data);
                        error : function(XMLHttpRequest,
                                            textStatus, errorThrown) {
                                       alert(XMLHttpRequest.status);
            alert(XMLHttpRequest.readyState);
            alert(textStatus);
    I think my ajax request is Intercepted by CQ,is it right? How can I do that? Can anybody answer me?
    thank you very much!

    Is this a cross-site request? In other words, is JavaScript above being executed on localhost:8080? If not, you are likely running into a cross-domain browser security restriction.

  • "Dreamweaver is currently interacting with the server.  Since putting a file on save requires interaction with a server as well  Dreamweaver can not currently perform this task.  Please try again when the server task is complete."

    get rid of this [abusive content removed by moderator]

    Wow this is a long running thread!
    I've discovered, since having to start using check in/check out on a site with multiple editors ('put on save' being a minor version of this), that Dreamweaver is like a nosy neighbour, more concerned with what is going on outside than with your petty demands. So Dreamweaver is constantly checking to see whether any files are in use by anybody else. When it is good and ready it will allow you to interact with the server. If your connection is anything other than rocket powered you will spend ages waiting and looking at messages such as the above. It doesn't have the sense to stop and just check the file/s you want to put or get and then let you get on with it. And of course the bigger the site, the more checking it has to do. If your connection is really slow you will have the added pleasure of constant freezes, aberrant behaviour and crashes. I have this with CS4. I don't know if CS5 is any better. And don't expect any improvement on CS4. You are stuck with it.

  • CUCIMOC interaction with CAPF server

    I have cucimoc 8.0.2 registered with cucm 8.0.3 using tcp and udp. Now I want to try TLS. For this, I guess I need to make the cucimoc client interact with CAPF server to get the LSC (local significant certificate). Normally the cisco phones connect to CAPF server after the registration when the appropriate CAPF settings are configured for the phone. But the cucimoc is not initiating any attempt to contact CAPF server when I make similar configuration changes.
    Did anyone encounter similar issue and has any solution to overcome it?
    Thanks.

    CUCIMOC (a.k.a. CSF) uses certificates in its local store (which is the JRE certificate store).
    Importing certificates into JRE certificate store is not very intuitive.  You may take a look at CUCIMOC docs or open a TAC case.
    Michael
    http://htluo.blogspot.com

  • HOW to Interact with Oracle HRMS applications from BPEL..

    Hi friends...
    Well...i just wanted to know HOW easy is it to interact with an Oracle HRMS application from within a BPEL process...
    [Say, my BPEL process has some approvals from Finance Dept.., but i need to contact some application like Oracle Payroll, for some data...]
    I think we would have to use some Application Adapter Service for this..but not sure..!
    Would be great if anyone could refer me to some links or guide me in this regard...
    Thanks...

    Hi,
         You can read the data using "Middlware Tools" like XI,Business Connector,Mercator,Webmethods
          and using DB-Link.
          If you want Read the data using ABAB coding, you need to use "Native SQL" Stament.
         For XI and other Middlware , you need configure so many steps,(RFC defination,PORT,Partner)
         Required. 
         Through ABAP Program :
         Befor creating program , You need to find out "Oracle Server Name and Other details.
          Please use below code as your reference.
    Open a native SQL connection.
    EXEC SQL.
    connect to 'ONECD'
    ENDEXEC.
    Retrieve information from the BVER tables.
    EXEC SQL PERFORMING read_dental.
    select emp_ssn_num, emp_fname, emp_lname,
    to_char(start_date, 'YYYYMMDD') as start_date,
    rec_type,
    to_char(eff_date, 'YYYYMMDD') as eff_date,
    vendor_plan_id
    into :dental
    from opr$8oc.BVER_CURR_DENTAL_MASTER
    ENDEXEC.
    EXEC SQL PERFORMING read_medical.
    select emp_ssn_num, emp_fname, emp_lname, rec_type,
    to_char(start_date, 'YYYYMMDD') as start_date,
    to_char(eff_date, 'YYYYMMDD') as eff_date,
    network_code, pcp_number, patient_flag,
    vendor_plan_id,
    to_char(network_eff_date, 'YYYYMMDD') as
    network_eff_date,
    to_char(pha_eff_date, 'YYYYMMDD') as
    pha_eff_date
    into :medical
    from opr$8oc.BVER_CURR_MEDICAL_MASTER
    ENDEXEC.
    Disconnect from the native SQL connection.
    EXEC SQL.
    DISCONNECT 'ONECD'
    ENDEXEC.
    The system log has messages like 'Work process is in reconnect status' and 'Work process has left reconnect status' after the ORA-02396 message. And I specifically do a disconnect at the end and a connect at the beginning, but it looks like it is trying to do a reconnect?
    Thanks,
    Pugazhenthi.P
    Satyam computer Services Ltd.

  • Interacting with InDesign Server without SOAP

    Hi,
    The documentation in IDS SDK tells that one can interact using Javascript with IDS without using SOAP.
    How can one interact using Javascript and without SOAP?
    I know that with Extendscript one can write scripts and execute it directly.
    But with a simple jsx file only how do I interact with server?

    Hi,
    On Windows you can start the InDesignServer via the console. Then start the Extendscript Toolkit and choose "InDesignServer".

  • Sharepoint 2013 SSRS Interaction with Sql Server 2012 Reporting Services connecting to Sql Server 2008 R2 database

    Hi
    I'm working on upgrading sharepoint 2010 to sharepoint 2013 with sql server 2008 r2. I've ran into some problems but have been able to get a test farm upgraded. However to run SSRS 2013 it seems Sql Server 2012 Reporting Services are required. Upgrading
    to a full sql server 2012 database isn't an option. I know that sql server 2012 reporting services can use sql server 2008 r2 as a catalog and content database so I was wondering could this be a workaround? Importantly would I need a separate machine/virtual
    machine to host sql server 2012 reporting services? or could it live on the sql server 2008 r2 machine? Any pointers appreciated. Thanks Dan

    Remember that SSRS must be deployed on the SharePoint server. Having said that, yes you can install SSRS 2012 SP1 on a server running SQL 2008 R2. And yes, you can use 2008 R2 as your Database Engine server while SSRS 2012 SP1 runs on the SharePoint server.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Software to interact with SQL Server

    Hi,
    I am searching a software that can make relation between tables in Oracle DB (9i2) and SQL Server.
    When I made a change in a Oracle table, this change must be automatically transfer to a SQL Server table. Same action for SQL Server to Oracle.
    Do you know softwares or open sources able to do that ?
    Thanks
    Geo

    Data Access:
    SQL Server tables can be accessed from Oracle using Oracle Gateway for Microsoft SQL Server.
    Oracle tables can be accessed from SQL Server using Link Servers.
    Data Replication:
    Oracle Streams can be used to replicate data from Oracle to SQL Server along with the Gateway mentioned above
    SQL Server 2005 also provides a way of publishing Oracle tables to SQL Server subscriptions
    SQL Server also allows replicating data to Oracle using Link Servers

  • Can't get remote cluster machine to encode video - getting 'Media Server application unexpectedly quit'

    Hi
    Using Compressor 4 / Apple QuarterMaster admin etc, I have set up a Cluster and it works well to Share > Export Using Compressor Settings.  That took some doing, and I'm happy that it works.
    If I do all my processing in the foreground, or alternatively in the background on my FCPX computer, ie without running or using any cluster in the background, it all goes well.  Quick, error free. 
    If I activate the cluster and only put my local machine's compressor services into it, and then send my compressor batch to the cluster, it works perfectly well.  But that defeats the point of having a cluster.  I want the remote machine to do all the work so my local machine doesn't slow down.
    Unfortunately, if I add the remote machine's services into the cluster, the encoding always fails with 'Media Server application unexpectedly quit' in the error log.  I know that the cluster is distributing segments of the file to the remote machine - this can be seen in the Share Monitor, but they never get processed and sit there waiting until I get the error message.
    The remote machine is a modern 4G core 2 duo MacBook. It's never been used for this before.  It has Compressor 4 and the Pro Apps Update installed and both appear to work.  Both machines are running 10.6.8.  The remote machine has Compressor services initialised in Apple QMaster sharing.  The QMasterAdmin sees these services.  They are accessible over Bonjour and appear in the Cluster.  Compressor services from both the local and the remote machine are configured exactly the same way.  The same QT codecs exist on both machines.  I've restarted, shift-restarted, etc etc.
    So I am at a loss here.  The remote machine just won't compress anything it is sent. 
    Any ideas?  Must both have FCPX installed?
    Anyone actually got a remote machine in a cluster to work with Compressor 4?  I can't figure it out.
    Chris.

    OK... finally sorted it out.
    It's a bug, as far as I can tell. 
    Any job entered directly into Compressor 4 in the normal Compressor manner will be successfully rendered by any working cluster from any machine that can access the cluster.  That's good.  It means that the underlying distributed processing model works well.
    HOWEVER - any job forwarded to a Compressor 4 cluster that includes non-local compressor services (ie compressor services not resident on the same machine), using Share > Export Using Compressor Settings direct from FCPX will fail.
    To confirm this bug, I made a cluster on a remote machine.  It was a dual core machine, so I enabled 2 compressor services on that machine, and that's all the cluster was.  Simple.
    I then manually entered a video file (ProRess 422 720p) into Compressor on the remote machine.  I did this by physically setting up new job using the compressor user interface.  A bog standard ProRes422 720p file rendered fine this way on the remote machine.  As did anything else I gave it.  Good.
    Then on my main machine, I opened Compressor and made a job based on the same file and settings, and sent it to the remote machine's cluster.  No problem at all!  Great!
    So now I know that both Compressor versions, and the clustering model, are working fine.  In fact I can send all sorts of files to the cluster, from any other version of compressor, and have them processed on the remote machine, and get the result back on my desktop later on.  Excellent.
    But, if I try put this same file into a FMPX timeline, and go Share > Export Using Compressor Settings.... and select a cluster with remote (non-local) compressor services, it does not work.  Rendering the video segments on the remote machine times out and fails, every time.  It doesn't matter what file format I use, it just fails. 
    So it's a bug. 
    From what I can tell, Final Cut Pro X somehow messes up the Share > Export Using Compressor settings where the cluster includes non-local compressor services, causing all jobs to fail.  The same Share > Export Using Compressor Settings will work quite happily if all the services on the cluster are on the same machine as FCPX, or if the job is sent to This Computer in the background.  But any attempt to send files to a cluster using any remote services will fail.
    I hope this saves some people from wasting as much time as I have!
    One workaround is to export to ProRes then put this file manually into Compressor, sending the job to the remote cluster.  This is a two step process with a large intermediary ProRes file.  If one goes Export as QuickTime movie, generating the intermediary file prevents further FCPX work being done. 
    To get the intermediary in the background one could use  Share > Export Using Compressor Settings via either This Computer, or to a cluster using only local services.  Then once complete, manually add it to a compressor job.
    So this is a FCPX bug as far as I can tell.
    Chris.

  • Glassfish appication server + application client onj ipad.

    Hello All!
    I'm not sure my topic is proper here.
    I have written an enterprise application on glassfish v2 application server with java application client. This application client is running on PCs with windows/linux OS. On server side I'm using EJBs. The task is to adopt additionally the client on ipads without/with minimal backend changes. And there are some options for that purpose. Which of there options is best choice? Or are there any other options?
    - to integrate Sun Glassfish Mobility Platform with Glassfish Enterprise v2 server on server side and to use Java ME on client side.
    - just to create an web module.
    - to develop client application using Objective-O/Cocoa and to provide its interaction with glassfish server. In this case it's impossible to use EJBs. I found out this integration is able with SOAP, but how it's works I don't know.
    Any opinion will be very helpful!
    Thanks!
    Astghik

    Astghik wrote:
    Yes, ipads are able to support Java ME.Can you show a reliable source that proves this? Because I certainly can't find one. As far as I can tell you have to use an Apple approved SDK and you are only allowed to use Apple approved API calls even - nothing related to Java.

  • Interaction with Content behind Transparent Flex App

    Hi,
    I have a Flex application with wmode=transparent and a transparent section that allows whatever is underneath it on the HTML page to show through.  In this case, what's showing through is another Flash application.  This works fine, but I can't interact with the Flash application showing through.
    I tried setting the z-index of the Flash app to something greater than my Flex app, and that worked, but unfortunately that solution doesn't work for my case because the Flex application has components that occasionally overlay in that area, and setting the z-index of the Flash app to be higher means those components are always stuck behind it.  Also unfortunately I don't control the loading of that Flash app, so I can't load/embed it into my app to get around this problem.
    Are there any other ways to do this?
    Cheers,
    Karthik

    UPDATE:
    So, I spent an entire work-day on trying to get this to
    work.... I finally ended up hacking the flex html filter library to
    display the formatted text as best as I could. It basically created
    a bunch of "<textformat>" tags. There were still a few
    layout/indentation issues. So, I tested it, and deployed to our
    test website, and got approval from one of the managers. Then, I
    come in this morning, and the all my work is gone. "Did I deploy
    the files to right server? I know I tested it last night....", I
    asked myself. The dates on the files were from last night. Odd. So
    I ask my supervisor if I was looking at the correct website for the
    server where I deployed the files.... "Oh yeah", he said, "I had to
    roll that back, because [the manager who gave me the content]
    didn't like how it looked." Nevermind that the files included other
    changes as well (it was a nightly build, the source control for the
    source files are done through a different source control program on
    a different server), so now the whole thing looks screwed up.
    Oh well.... I really need a blog to complain about this....
    Thanks everyone for your help.

  • Communication protocol applet and server application

    Hello,
    I want to read and write on server port such that applet is communicating with a server application.
    Can any body suggest me any application level communication protocol or algo so that read and write are syncronised.
    There is no blocking b/w I/o streams while clients are reading or writing to server.
    shahzad

    Look at this 3 pages
    http://java.sun.com/docs/books/tutorial/networking/sockets/index.html
    http://java.sun.com/products/javacomm/javadocs/API_users_guide.html
    http://java.sun.com/docs/books/tutorial/networking/sockets/clientServer.html
    Noah

  • Do I interact with the browser or Plug-in

    I am interested in how Flash gets displayed in a web browser
    and how much of the interaction and display is dependant on the web
    browser.
    If you interact with a flash application on a web browser are
    you really interacting with the browser first which passes on the
    message to the Flash plug-in. Or after an initial set up is all
    interaction with the Flash application directly dealt by the
    Plug-in where the browser has essentially no idea what is
    happening?
    For example when I click on a "Skip" button on a flash
    animation shown on a web page, am I clicking on the browser or the
    Flash plug-in that is installed on the browser?
    I hope explained that clearly enough,
    Thanks

    I'm assuming fireflox with an L in the name is a typo?
    If not, can you provide more detail about the plugin? Who is the publisher, where is it installed, what is it for, etc.?
    By the way, if you see plugin-container.exe in the Task Manager, that is used to isolate Flash from firefox.exe so that crashes in Flash do not kill your entire browsing session. That's normal.
    Regarding extensions, which ones did you disable that become re-enabled on their own? If you don't want an extension, you should be able to remove it. If it was installed by third party software, then usually you can remove it through the Windows Control Panel and/or options in the related software.

  • Interacting with database from web

    Here's the situation. I have some dumb terminal (client) that interacts with a server, which holds a database. I want users to be able to query that database from the web and have it create a page with the results.
    Since I did not know cgi, or servlets, etc., I devised a primitive method. I was planning on having the database create html files and send it to the webserver so the users can interact with the premade html files. This is not a good idea :) since there would be thousands of files made.
    What is the best way to interact with the database? Servlets? Can you use servlets freely or do you need a commercial license? Please exuse my newbiness :)

    You don't need any commercial software to use Servlets and JSPs.
    Have a look at the Tomcat servlet engine from Jakarta:
    http://jakarta.apache.org
    I expect that if you search these forums (particularly the JDBC and JavaServer Pages forums) you'll find various examples of JSPs and Servlets that connect to a database to allow primitive querying capabilities.
    Hope this helps.

  • Web interaction with client application

    Hi all,
    I have self taught myself Java over the last 4 years on and off.
    I am in the mid stages of developing an MRPII application with various modules. These modules are effectively JTabbedPanes within JInternalFrames. The JInternalPanes are within a JDesktopPane which also has JTabbedPanes.
    This enables me to have departmental tabs at the top of my app and module functions at the left hand side, dependant of which departmental tab is selected.
    I have created a class that connects to MySql and can do various functions which I then can derive specific MRPII classes.
    I have a desktop PC which I have MySql configured as a server and a laptop which is configured as a client. Both machines run WindowsXP and my router is a linksys.
    With this setup both machines can check inventory, take orders, produce purchase orders, create customers & vendors etc....
    My next step is to try and incorporate a web component into this.
    My ideal goal is to have a database that is set up and hosted on the web and works in the same way as my home network. This would enable me to deploy this application and configure the ODBC data source to point to an IP address. Is this possible and if so how would I go about it.
    The other option is to create web pages with forms that interact with my local server. If this is the better option, I am unsure whether I should learn about servlets or possibly XML, as all I have learned so far is about applications.
    Your guidance would be greatly appreciated.
    thanks
    Jim.

    I wouldn't let client applications connect to a database directly. What if you make a change to the database in order to fix a bug for example, that would mean rebuilding the clients and redistributing them and in the mean time any old client is most likely broken.
    I would let the server communicatie with the database locally and expose either an XML-RPC or a SOAP connection to clients. This makes your framework extendible and abstract, all you do is implement SOAP methods on the server that your clients will invoke. As long as the response of such a call never changes you do not need to change your clients. And who knows, you may even use additional data sources (other databases for example) on your server, your clients will never have to know about it.
    If you want to learn about SOAP, check out Apache axis.
    http://ws.apache.org/axis/index.html

Maybe you are looking for