How to use central output server in JSP application

Dear All,
We have developed a jsp application which is running on JBoss.We want to create receipts in PDF format.For this we are using central output server.Our approach is as follows:
When request comes from the user, we are generating .dat file by fetching data from the Oracle database depending upon credentials and then pushing this file into data folder of Central output server.From there we are waiting for PDF file in predefined path.Here we found this is asynchronous way of producing receipts.
Is there any other way that is synchronous or the way we are approaching is the only way of doing it.A sample would be of immense help.
Note:The concurrent hits would be around 5000 in a peak hour.Any help would be highly appreciated.

I don't think you can get things to operate in a synchronous manner. You have one application - perhaps running on a totally separate server - feeding data files to a different application. The only way to make it even semi-sychronous would be to throttle the JSP application in some way to prevent it from placing a new file into Central's data folder while there was already one there.
I assume your problem is knowing which PDF belongs to which user. If that is the case you could send some type of unique identfier (IP#?) as a "job" parameter that would then be used as the specific PDF file name instead of letting Central create a random file name.

Similar Messages

  • How to use debug my jdevloper devloped jsp applications using tomcat 4.0?

    hello,
    how to use debug my jdevloper devloped jsp applications using tomcat 4.0?
    how to run with using tomcat path with browser?
    can any one help?
    thanks
    pullareddy

    Hi Pullareddy,
    Charles' answer will work for Servlets in Tomcat, but debugging JSPs is a bit more complicated than debugging Servlets.
    Here's what you need to do:
    (I don't have Tomcat, so I don't know the details of Tomcat configuration files and I can't guarentee that Tomcat provides the flexibility so that you can configure it for debugging JSPs. Each application server is configured a bit differently. Hopefully you can adjust the following instructions to Tomcat.)
    1. You need to replace Tomcat's JSP engine with OJSP and you need to setup debugging parameters for OJSP.
    This is not specifically in the JDev documentation, but you may be able to apply the information found in the topic "Remote Debugging in OC4J".
    Here are some tips:
    A. You'll probably need to specify the following jars in some Tomcat config file: ojsp.jar, ojsputil.jar, xmlparserv2.jar, ojc.jar, and jdev-rt.jar.
    B. The OJSP class name is oracle.jsp.runtimev2.JspServlet.
    C. The debug parameters are:
    debug_mode = true
    developer_mode = true
    encode_to_java = true
    emit_debuginfo = true
    jspjavacompiler = oracle.jdevimpl.jsp.JspOjcCompiler
    2. You need to make Tomcat start the Java command with debugging options. (This is what Charles was talking about. One of the debug options is -XXdebug). This is in the JDev documentation in the topic "Starting a Java Process in Debug Mode". Please read that documentation help topic.
    3. You need to delete any old .java or .class files which were created in the past for your JSP. If you leave old .java or .class files around, then the debugger may not be able to stop at breakpoints in your JSPs. So, be sure to clean up old files.
    4. Set your project settings for remote debugging. This is on the Debugger - Remote panel in the Project Settings dialog box. You probably want either Attach to OJVM or Attach to JPDA. Which radio button you choose depends on what command line options you specified in step 2.
    -Liz

  • Install Adobe central output server 5.5 in windows XP

    hi,
    Anybody know how can I install Adobe central output server 5.5 in my XP profesional. and where to store all related files( JFserver,JFMerge ....)

    did you get anywhere with this ?? I have built a new Windows 2012 R2 server and am having issues emailing out to external addresses. I can email to internal ones on our Exchange 2013 cluster. I have exactly the same settings in the JfEMsend.ini file as well as the same DNS..  I get invalid recipient.  Not quite the same problem but could be related
    thanks

  • How to use Apache Web Server?

    Hi all,
    How to use Apache Web Server?
    Thanks
    contact me: [email protected]

    i do not know for certain about the jsps you're talking about, but i would guess they should run just fine under jrun, and you wouldn't have to make jrun and jserv coexist.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by One:
    Hi ilya:
    Thank you for your quick reply.
    I will try that way but I wonder if the thing like "how about the *.jsp developed by the JDeveloper and BC4J run under JRun; could and is it necessary to make the Apache+JServ and Apache+JRun co-exist ... "<HR></BLOCKQUOTE>
    null

  • How to use the Output clause for the updated statment

    How to use the output clause for the below update stament,
    DECLARE @MyTableVar table(
        sname int NOT NULL)
    update A set stat ='USED' 
    from (select top 1 * from #A 
    where stat='AVAILABLE' order by sno)A
    Output inserted.sname
    INTO @MyTableVar;
    SELECT sname
    FROM @MyTableVar;
    Here am getting one error incorrect syntax near Output
    i want to return the updated value from output clause

    see
    http://blogs.msdn.com/b/sqltips/archive/2005/06/13/output-clause.aspx
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How to use JavaMail 1.4 with Oracle Application Server 10g (9.0.4.0.0)

    Hi all,
    I'd like to know if it's possible and how to use JavaMail 1.4 with Oracle Application Server 10g (9.0.4.0.0), Windows version.
    With the following code, I can see that the mail.jar used by the server is the one included in the jdk installation :
    // I'm testing InternetAddress.class because I want to use commons-email-1.2.jar that requires mail.jar 1.4 (or higher) and activation.jar 1.1 (or higher)
    // and I know that inside the commons-email-1.2.jar file, I need to call the InternetAddress.validate() method that throws a java.lang.NoSuchMethodError: javax.mail.internet.InternetAddress.validate()V if it is used with mail.jar 1.2.
    Class cls = javax.mail.internet.InternetAddress.class;
    java.security.ProtectionDomain pDomain = cls.getProtectionDomain();
    java.security.CodeSource cSource = pDomain.getCodeSource();
    java.net.URL location = cSource.getLocation();
    System.out.println(location.toString());
    This code returns : file:/C:/oracle/app/jdk/jre/lib/ext/mail.jar and this mail.jar file has an implementation version number: 1.2
    - I've tried to include my own mail.jar (1.4.2) and activation.jar (1.1.1) files in the war file that I deploy, but it doesn't work (the server still uses the same mail.jar 1.2)
    - I've tried to put the mail.jar (1.4.2) and activation.jar (1.1.1) files in the applib directory of my OC4J instance, but it doesn't work (the server still uses the same mail.jar 1.2)
    - I know that a patch exists : I've read the following document: How to Make Libraries such as mail.jar and activation.jar Swappable ? [ID 552432.1]
    This article talks about the Patch 6514136, but this patch only applies to : Oracle Containers for J2EE - Version: 10.1.3.3.0
    Can you please help me ?
    Thanks in advance for your answers,
    Laurent

    I strongly suggest to upgrade to AS 10.1.3 to get this.
    Think of future support of AS 9.0.4. You will get not critical patch updates anymore.
    --olaf                                                                                                                                                                                                                                                                                                               

  • Who has figured out how to use a print server with LR 2.1?

    Who has figured out how to use a print server with LR 2.1?
    Mac OS 10.4.11, G5 2.3 dual, 8 GB RAM. PS CS 3 Dual monitors
    Print server is Mac G4 dual 533 (audio)
    Epson Pro 9600 and Epson R2400 Both are connect by USB. Could be connected with FW 400.
    I can use a print server with PS However color management does not come through when using a print server and LR. Image prints, but color horrendous.
    All custom .icc profiles are on both the G5 and the print server, G4 dual 533 (audio)

    Hi,
    Based on my research, if we want to filter events based on user name, we need to edit the XML query.
    Please refer to this blog below:
    Advanced XML filtering in the Windows Event Viewer
    http://blogs.technet.com/b/askds/archive/2011/09/26/advanced-xml-filtering-in-the-windows-event-viewer.aspx
    Best Regards,
    Amy

  • Synchronous processing of dat file using Adobe Output Server

    Hello everyone
    I have a doubt regarding Adobe Output Server. Currently my output server is running as a window service named "Adobe Central Output Server" in my machine referring to executable path E:\Jetform\Central\Control\jfservic.exe. It keeps on running irrespective of whether .dat file is present for further processing or not. In case .dat is there in data folder[location where my code writes into .dat file] it picks it up and does all the processing to give the result in form of Print/Fax. But when there is no .dat file present , still the service keeps on running consuming memory & cpu resource.
    Curently my code drops a .dat file in data folder and dont bother about what happens to that .dat file afterwards. Its Adobe Output Server service that is running that keeps on monitoring data folder for any new dat file to process them further.
    I want to stop that window service permanently and i wish to change some logic in my code so that as and when my program drops a .dat file in Data folder then i invoke Adobe Output Server or some of its component so that it picks up that dat file and does all the processing to generate Print/Fax and once its done with processing , the execution of Adobe central server ends. And it remains dead till its invoked by the program to process a new dat file.
    So basically i was wondering whether there is possibiliy of invocation of Adobe Output Server is available or not for synchronous processing of dat file from the code.
    Any suggestions , any ideas , any doubts on it are most welcome.
    jaY

    i faced the same thing
    1- you have to do something in SAP ( i am looking for someone to tell me what )
    2- create a job & name it by (ANYNAME_EMAIL)
    3- Inside the Job create the following Tasks
    a- SAPMERGER A
    b- SAPMERGER
    c- SAPEMSEND
    that's it / AS Simple AS That
    Please tell me if you still facing the same problem

  • Error causing 'Adobe Central Output Server'  service stopped

    A error message was logged in the Central Log as follows:
    -Unable to remove file 'D:\Jetformdata\Server\Data\JF3A51.dar'. Permission denies.
    -Shutting down client agents.
    -Warning: skipping disabled task JfShutDn.
    -Exit
    And then the service 'Adobe Central Output Server' is shutted down.
    And when the service is re-started manually, everything is alright.
    What event will trigger this kind of error?
    Here are the Jetform server configuration:
    Window Server 2003 SP1
    1 GB RAM
    Thanks a lot.

    When Cental does it's house cleaning it will delete files in the collector directory based on the "Delete Exension" setting in the Central Process configuration. Yours is probably set to da* and a file with the extension dar is getting in there with permissions set such that Central can't delete it so Central dies. Change the setting to dat and you will probably be allright. It looks like the dar file goes away anyway because on restart everything works fine.

  • How to use Mac Mini Server as NAT with only one port??

    How to use Mac Mini Server as NAT with only one ethernet port??

    But why did apple sell me this server that does NAT with one port? I don't get it.

  • Licencia de una Fuente nueva en Central Output Server

    Hola Todos,
    Tengo un problema y quisiera saber si alguien me puede colaborar.
    Estoy utilizando Output Designer para hacer un Template, a este template le tengo que colocar la fuente o letra FormataCondensed Ligth, una vez creado y compilado el template cuando lo ejecuto a traves del central output server para que me cree el archivo PDF me aperece el Error "[393]Error downloading font '(FormataCondensed Lig )', font not licensed."
    Lo que he realizado es que al archivo jfmerge.ini se le adicionó el nombre de la fuente y el tipo(Type 1) en la parte de [FontLicense]. En la documentación dice que se haga esto, pero la verdad hasta ahora no me ha funcionado.
    Agradezco si alguien me puede ayudar a resolver este problema.
    Gracias.
    Mario

    Hola Mario:
    La tipografía (fundición o «fuente») llamada «Formata» no es original de Adobe, sino de Berthold Types Limited.
    http://www.bertholdtypes.com/adobe_lib/080218000.html
    Hay tipografías cuyos diseñadores o autores no conceden en sus licensias el derecho de incrustarlas en un documento PDF. Es posible que tu «fuente» contenga algún tipo de protección para tal fin.
    Lo mejor sería ponerse en contacto ya sea con la casa Berthold o con la persona que haya adquirido la licencia para usarla y averiguar si existe tal restricción. De ser así, será imposible crear el documento PDF.
    Si ese no es el caso, espero que se reporte por aquí alguien que conozca Output Designer a fondo. Como se trata de un programa exclusivamente para Windows, los usuarios de Mac no estamos enterados.

  • Error in generating HTML output using Central Output Pro Server 5.5

    I am getting the following error while generating HTML output using the Output Pro Server. A new printer was created with the Physical Device as "HTML Template Generation - [html]" and added to the Job.<br /><br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [400](1801) The printer name is invalid.<br /><br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [3015]Error, unable to open printer.<br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [3008]Error, unable to get info about device 'PAYMENTADVICEHTM.html' attached to port '<nil>'.<br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [400](183) Cannot create a file when that file already exists.<br /><br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [2]Error opening output device/file 'PAYMENTADVICEHTM.html'.<br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [400](6) The handle is invalid.<br /><br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [3018]Error ending page on printer.<br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [210]Nothing was printed.<br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfserver.exe: [314]Agent exit message: [3018]Error ending page on printer.

    If I were to guess, I'd guess that your filename is invalid. How about removing all special characters (spaces, brackets, etc.) from the device name. Also, make sure your form was compiled for HTML.
    I haven't actually used the HTML driver, but these are general things you should do if you have trouble with any Central driver.
    Regards,
    Rob McDougall
    Indigo Pacific

  • How to use JNDI lookup from a JSP

    Hello,
    I know I should not be doing this (writing the lookup code in a JSP) but have to do it for some reasons.
    I am using this code in my JSP:
    try
         Context ctx = new InitialContext();
         dataSource = (DataSource)ctx.lookup("jdbc/mybillingora");
         conn = dataSource.getConnection();
         statement = conn.createStatement();
    catch(Exception excep)
    Is this code enough for a JNDI look up?? When I use this code, I get an exception:
    "javax.naming.NameNotFound exception:jdbc/mybillingora"
    Do I need to do something else??
    Why do we use :
    Properties env = new Properties();
    env.put(Context.INITIAL_CONTEXT_FACTORY,
    "<some_context_factory>");
    env.put(Context.PROVIDER_URL, PROVIDER_URL);
    env.put(Context.SECURITY_PRINCIPAL, JNDI_USER);
    env.put(Context.SECURITY_CREDENTIALS, JNDI_PWD);
    InitialContext = new InitialDirContext(env);
    where JNDI_USER is the userid If ACL is configured at the JNDI server
    where JNDI_PWD is the password If ACL is configured at the JNDI server
    Context.INITIAL_CONTEXT_FACTORY is the initial Context factory and depends on ur JNDI service provider.
    PROVIDER_URL is the url of the JNDI server containing protocol/ip/port
    do i need to use this??
    would appreciate your help on this....
    Thanks

    If Tomcat is your servlet/JSP engine, they have a nice bit about how to do it:
    http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html
    MOD

  • Central Output Server View Manager on Windows 7, need patch for jfPreview.exe

    Where can I obtain the latest version of JfPreView.exe?
    According to the following webpage:
    http://helpx.adobe.com/legacy/kb/central-central-pro-output-server-1.html
    Adobe Central and Central Pro Output Server 5.7, Windows support extended to Windows 7 (32/64 bit) and Windows Server 2008 R2 (64 bit)
    Issue 2 on this page is the problem that I am having:
    Issue 2
    View manager is a client application for Central Pro. When it is installed on Windows 7 (32/64 bit) and Windows Server 2008 (64 bit), it doesn't work properly.
    For Windows 7 and Windows Server 2008R2, IPv6 is installed and enabled by default. On a machine running the Central Preview Agent with IPv4 protocol, the Preview Agent fails to transfer the files. The Preview Agent also reports the following error in the jfserver.log.
    “Fails. Exception:  [1005] Connect to <host> failed: 10060”
    Solution
    A patch for JfPreView.exe.exe is available from Adobe enterprise support to address this issue.
    I need this patch.
    Thank you

    I have loaded KB2937636 to the server2012 wsus/sup but that still did not fix the communication issue.  I have since removed the KB2937636 from the 2012 server, because when the KB2937636 is installed on the sup server once the 7.6.7600.256 computers
    communicate with the server the WUA 7.6.7600.320 gets installed on the clients and then they stop communicating.  Very Frustrating!
    Please any help would be greatly appreciated.  
    Thanks
    ~ZbWinMan
    I have attached my WindowsUpdate.log file.  When I used CMTrace.exe you can clearly see that the computer talks fine at the beginning, then I installed WUA 7.6.7600.320 and All Communication breaks, then I uninstall to get back to 7.6.7600.256 and communication
    works again.
    If I uninstall 7.6.7600.320 then the computer communicates back to the SUP server.
    so you're using SSL? (port 8531)
    weird things might happen when in SSL if hastily configured, causing this weird error, like this for example:
    http://social.technet.microsoft.com/Forums/en-US/5d6ae350-9714-471f-aa67-375e657caa11/windows-update-cant-connect-to-wsus-server-which-happens-to-be-itself-after-switch-to-ssl?forum=winserverwsus
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • How to use ugm:getGroupNamesForUser tag in jsp

    when I use the tag in jsp ,run in server,the console write"weblogic.servlet cannot be resolved or is not a field <p><ugm:getGroupNamesForUser username="weblogic" id="weblogic"/>"
    I don't how to use it,please tell me,thank you!

    I'm not sure why you are getting the console message, but here is how you might use the tag. This will simply print out the list of immediate groups (not parent groups) to which user "weblogic" is a member.
    &lt;%@ taglib uri="http://www.bea.com/servers/p13n/tags/userGroupManagement" prefix="ugm" %&gt;
    &lt;%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %&gt;
    &lt;ugm:getGroupNamesForUser username="weblogic" id="groupNames"/&gt;
    &lt;c:forEach items="${groupNames}" var="groupName"&gt;
    bq. &lt;c:out value="${groupName}"/&gt;
    &lt;/c:forEach&gt;

Maybe you are looking for