Wish to create an automatic  script on the server.

I am using a tomcat server, Mysql database and jsp to perform some data manipulation. I would like to create a java class which could be initiated at specific intervals. My question is, even if we create a class which makes use of Java timer, ...........where to keep the file(which folder in the web server) ..........and what is the syntax to make sure that the file gets invoked without any user/administrator interaction?

Hi,
if your running a linux environment, you could look into cronjobs. They do the trick mainly. By using a cron you acan tell it to run that jsp page.
Hope that answers the question correctly

Similar Messages

  • Unable to automatically step into the server. the remote procedure cannot be debugged.

    Hi,
    I am trying to deploy report using ssis script c# code.I am using the proxy for ReportingService2010 and following code is giving the error.
    code:
    ReportingService2010 rs = new ReportingService2010();
    rs.Credentials = System.Net.CredentialCache.DefaultCredentials;
    rs.CreateFolder("MSI Report Demo", "/", null);
    Error:
    unable to automatically step into the server. the remote procedure cannot be debugged. This usually indicates that debugging has not been enabled on the server.
    Please share the idea on it. 
    Thanks in advance.
    -Gautam

    just make a trust between to domain and it works .

  • On the iPhone, when the server rejects the email address and it sits in the outbox, why doesn't it automatically resend when the server is fixed?

    On the iPhone, when the server rejects the email address and it sits in the outbox, why doesn't it automatically resend when the server is fixed?

    Hi Razmee,
    Thanks for your response.
    The mail server worked when I originally set it up and continued to work for months afterwards.
    What would make the outgoing mail server not be set up correctly after all that time?
    Thanks again.

  • Setup has failed to automatically login to the server ServerMachine

    Hello,
    This error appears when installing the sboclient in a WINXP machine.
    Setup has failed to automatically login to the server <ServerMachine>
    It asks for the userID and Password, and even if I type the correct user and password it doesn't do anything.
    I can access the machine from the windows explorer, it is in a vmware.
    Anyone with the same problem?
    thanks in advance.

    Dear All,
    I was facing the same problem and now it is resolved.
    You should try the same what I did:
    • Browse the SQL Server CD from a client machine.
    • From the Root installation DIR, (SQL2005 in my case) double click "SPLASH.HTA" file.
    • It will ask for Security Warning, click Run.
    • It will pop up a Windows 2005 Server window.
    • Under the Install heading click on "Run the SQL Native Client Installation Wizard"
    • It will again pop up a security warning message. Click "Run"
    • Follow the instructions for installation.
    • Select all the components including SDK if it asks.
    Once it installed, try installing your SAP B1 Client. It must work.
    Best wishes

  • Send PDF form to e-mail as attachment with a PHP script on the server

    Hi,
    For several days I've been searching though the internet looking for a solution, a quite simple one in my opinion, but I got a little desperate not getting any result I want.
    Okay. The Situation.
    I have a PDF form to order sandwiches and drinks.
    The PDF has serveral area's and columns where customers fill in the amount of the products they would like to order.
    At a position of a field, the kitchen can almost blindly see what products a customer ordered.
    Therefore, when someone fills in the form, I want to send the filled PDF by e-mail to the kitchen's e-mail adress. And important: the PDF in the kitchen's mailbox should be completely identical to the form the customer filled in.
    So, I have an Order button in my form. I set the action as 'Submit a form'.
    In the settings under 'Enter a URL for this link' I used just some PHP mailer script I also use on my website contact form.
    IF I check 'HTML' under 'Export Format' the PHP mailer works fine. I receive an HTML e-mail listed the ordered products.
    BUT
    I do want the original filled PDF in my mailbox instead of an HTML e-mail.
    So, for 'Export Format' I checked 'PDF The Complete Document'.
    But then my PHP mailer script doesn't work anymore.
    It gives errors like 'no valid e-mail adres' , etcetera etcetera.
    Who has a solution?
    Who has a working standard PHP script for me what just sends the kitchen an empty mail with the original PDF as attachment?!
    There is no need to use any database or other more complex functionality. Just mail the filled PDF.

    You can submit whole PDF format as long as you enable usage rights on the PDF.
    Normally Adobe Reader users can only submit the data, XFDF, FDF, XDP, XML.
    To enable usage rights on the PDF you will need to use Adobe Acrobat Std/Pro.
    As for the PHP Script; it depends on your PHP web server capabilities.
    The script will be slightly different, if the server uses PHP Mail or PHP PEAR.
    Just attach the submission to an email and send.
    If the client is submitting the form from a standalone pdf reader app, you can also respond with a success or failure FDF \status message; otherwise, you can redirect to a success / failure URL.
    For more information and online examples:
    http://www.pdfemail.net/examples/

  • How can I automatically connect to the server without having to type the password and click "connect"?

    I have a Mac OS X 10.8 and a Time Capsule configurated as server with a name "Servidor" on my home. The discs are protected by Accounts, so, each person can access the server by typing own name and password. The problem is... Every time I start the computer, I see the window below:
    So, every time I start I have to type my name and pass. And the box "Remember this password on my keychain" doesn't work because the "Password" is always blank when I see the window, like the image up.
    Please, someone help me to automatize it so I don't need to type nothing to connect to the server. I want something that do it automatically for me.
    NOTE: Please, explain clear and with details because I'm a new Mac's user.
    Thank so +!

    Try running KeyChain First Aid if you have not already done so.
    Open Keychain Access and click on the KeyChain Access menu at upper left of the screen
    Click KeyChain First Aid, then close KeyChain Access
    Open System Preferences (gear icon on the dock)
    Open Network
    Click on AirPort or WiFi on the left
    Click Advanced at the lower right
    Click to highlight an old network that you no longer need, then click the - (minus) button to delete the listing
    Do the same for other neworks that you no longer need
    Make sure there is a check mark in the box that reads  "Remember networks this computer has joined"
    No other boxes should be checked.
    Click OK, then click Apply
    That is about all that you can do.

  • Oracle Database not open automatically on restarting the server

    Hello,
    I am using Oracle8i Release 8.1.6.0.0 - Production. And OS windows 2000.
    I installed oracle 8i. On restarting the server the database is not up automatically.
    I check the following services. All are in automatice mode.
    ORACLETNSListerner
    ORacleserviceSID
    Oraclewebassistant.
    I tried the following option also.
    ORADIM -edit -sid -startmode auto.
    still not working.
    Anyone please suggest the solution for this.
    Thanks & Regards
    Krishna

    Do you have any Antivirus installed in that server, sometimes antivirus blocks oracle autostart. try with uninstalling antivirus if it is .
    Thanks

  • Server 2008. How do I create a task to turn the server on at a specific time?

    I'm running Server 2008 R2 Standard, SP1.
    The electricity is scheduled to be turned off in my building for a couple hours over night.
    I can shut the server down, but was wondering if there was a way to 'schedule' my server to turn itself on at a specific time the following morning?
    Thank you

    Hi,
    Windows cannot turn itself on. it can resume sleep, but even then relies on the underlying hardware to do the boot.
    i would recommend checking whether the BIOS (or EFi for that matter) supports scheduled boots 
    Alternatively, you can check BIOS whether you can configure the powerstate the computer needs to be in after power is restored; most computers do support that.
    MCP/MCSA/MCTS/MCITP

  • When I scan a barcode in our online database using Firefox, IE, or Chrome, it creates an automatic bookmark causing the data from the scan not to be entered.

    It also tries to automatically bookmark if I scan into a google search bar or any other place it could be entered.
    It is a datamatrix barcode.
    The barcode content reads:
    [)>06Y7310400000000XP2344374712V652029760TI114006A1000004X2P00D1P7609400121S1000004

    If it doesn't work on any browser, why is this a Firefox problem?

  • How to get stop script for the server

    Hello everyone,
    I installed weblogic server8.1 on my Linux machine and used $WL_HOME/server/bin/startWLS.sh
    to create a new domain and server. But I did not find any stop script(like stopWLS.sh)
    which can stop myserver. How can I get it?
    Thanks for your helps.
    Iris

    which can stop myserver. How can I get it?Here's an etc/rc3.d script I use for my RH9 server. You'll notice there is
    a line in there for stop(), you can run that manually if you so choose, or
    you can use it via the xinetd (I think that's what it's called?). Good luck.
    # processname: weblogic
    # pidfile: /var/run/weblogic.pid
    PIDFILE=/var/run/weblogic.pid
    # Source function library
    . /etc/init.d/functions
    #check to see if we can write to config.xml...so non-root uses stop here
    [ -w /Domain/config.xml ] || exit 0
    #setup the environment for the java commands
    . /bea/weblogic81/server/bin/setWLSEnv.sh
    cd /Domain
    start(){
    echo "Starting WebLogic for Domain"
    cd /Domain
    daemon ./startWebLogic.sh &
    echo $! > $PIDFILE
    RETVAL=$?
    echo "WebLogic Server started."
    return $RETVAL
    stop(){
    echo "Stopping WebLogic for Domain"
    rm -f $PIDFILE
    java weblogic.Admin -url localhost:80 FORCESHUTDOWN
    status(){
    echo "Getting Weblogic status for Domain"
    java weblogic.Admin -url localhost:80 GETSTATE
    restart(){
    echo -n "Restarting WebLogic for Domain"
    stop
    start
    # See how we were called.
    case "$1" in
    start)
    start
    stop)
    stop
    restart|reload)
    stop
    start
    status)
    status
    echo $"usage: $0 {start|stop|status|restart|reload}"
    exit 1
    esac
    exit $RETVAL

  • Found a bug? Adding alot of resources to a task creates a local resource on the server.

    Hi Guys,
    I'm working with a client on building a Project Server 2013 environment and I came cross something that struck me as odd. I hope some of you will be able to reproduce the issue and maybe point me into the direction of a hotfix or
    a report that say's it’s a known bug?
    Currently the client is working with a Project Server installment 15.0.4420.1017 and I have reproduced the issue in a 15.0.4481.1005 (March 2013) environment AND on a Project Online tennent.
    I have these resources, all are enterprise resources without any custom fields active (all are specific work resources):
    ABC EDIT Manufacturing Technology HBO
    ABC EDIT Manufacturing Technology JRACAD
    ABC EDIT Manufacturing Technology JRHBO
    ABC EDIT Manufacturing Technology LBO
    ABC EDIT Manufacturing Technology MBO
    ABC EDIT Manufacturing Technology PROM
    ABC EDIT Manufacturing Technology SRACAD
    ABC EDIT Manufacturing Technology STAF
    Now I build a new Project using the standard Enterprise project template that comes with the product.
    I start with a single task that takes me 2 months (or any duration actually). The task is set to fixed duration after this. Now I add all the 8 resources in one go using the dropdown box in the Resource names column in the Tasks summary
    view. I save and publish the project. After this I check the project in and open it with Project Professional.
    When looking at the Resource sheet I see that the following resource is now created as a local resource “ABC EDIT Manufacturin” and not all resource assignments are on the task anymore. The resources ending with “SRACAD” and “STAFF” don’t
    appear to have any assignment anymore.
    Help me out here, am I missing something? Can you reproduce the situation in your environments?
    Kind regards,
    Erik

    Hi Prasanna,
    I am aware of the character limit. However, that pop up doesn't show up when using the situation as described in my post. I did get the message when I added one resource at a time
    and after a while it did tell me I had too much resources on that task. The web version then came with the message:
    "The resource list is too long. A resource list that contains more than 256 characters cannot be edited or deleted on the To line of a message. Use the resource information dialog
    box to edit long resource names."
    However it did not come up in the situation as described above.
    Regarding your suggestions:
    1) Shorter resource names would help for only a short while. Because adding more resources to a single task will again generate the issue. For instance: if I add 30 resources to
    a task, with all a character length of 10 I will run in the same issue. Best practices set aside of course, I know that adding 30 resources to a task is bad mojo.
    2) Project Pro cuts the assigning of resources also, with giving the error message similar to the one above. But rather than creating a new local resource, Pro just assigns the
    task to 6 out of the 8 resources I have added to the task. Which is better, if only the client worked with Project Professional...
    I hope you come up with something during your tests…

  • Can I create a dynamic report in the server without using a report template

    Hi,
    My company just bought a Crystal Report Server XI and it didn't have a report designer.
    I can't start creating report without the designer.
    The question is can  I generate a dynamic report at runtime (on the crystal report server ) without using report template?
    My project requirement is to use a crystal report server to manage the reports.
    Some client web application will just access this report server.
    I  hope the experts can provide me some guidance.
    regards,
    Rulix
    Edited by: Rulix Batistil on Nov 3, 2008 8:08 AM

    Hi Rulix,
    The latest version of CR Server is 2008. Therefore I'm assuming you are using CR Server 2008.
    New in CR 2008 is the .NET report modification software development kit (SDK). The report application server (RAS) SDK is now available for users of Crystal Reports .NET API without the use of a RAS server. Report modification such as changing, adding, or removing database providers, or adding, removing, or creating report objects, parameters, formulas, and sections can be achieved by accessing the RAS SDK through the Crystal Reports .NET SDK.
    Java developers however receive the JRC and Java SDK documentation through the free Crystal Reports for Eclipse download. This product will be updated on a separate schedule from Crystal Reports.
    Further Information and samples are available in our [Developer Library|https://www.sdn.sap.com/irj/sdn/businessobjects?rid=/webcontent/uuid/5001d5de-f867-2b10-00bf-8d27683c85a0]
    Kind regards,
    Tim

  • How to create a custom panel in the right way (without having an empty panel in the file info) ?

    Hi Everyone
    My name is Daté.
    I'm working in the fashion industry as a designer and Design consultant to help fashion brands improving the design workflow by using Adobe softwares and especially Illustrator.
    I'm not a developper, but i'm very interested about the possibility to introduce xmp technology to provide more DAM workflows in the fashion industry.
    Fashion designers produce a lot of graphical objects in illustrator or Photoshop. Unfortunately they are faced to a big challenge which is about how to manage, search, classify and get this files faster. Of course PDM system or PLM system are used in the Fashion industry to manage data, but for many companies, implemanting this kind of database is very complex.
    When i look at what you can do with xmp, it seems to be an interesting way of managing design files, then i started to follow Adobe instruction to try to build a custom panel.
    The main idea is to (Theory) :
    create custom panels used by fashion designers to classify their design files.
    Use Adobe Bridge to search files, create smart collection to make basic reports in pdf and slideshows
    Find someone to make a script able to export metadata in xml files
    Use indesign and the xml file to generate automatically catalogues or technical sheets based on xmp values
    I have created a custom panel by using the generic panel provided by Adobe and i have modified the fields to feet with the terms used in the fashion industry and it works well.
    But unfortunately, when i try to create my own custom panel from scratch with Flashbuilder (4.6) and the Adobe CSExtensionBuilder_2 (Trial version), it doesn't work!
    Here is the process :
    I have installed flashbuilder 4.6
    I have download the XMP Fileinfo SDK 5.1 and placed the com.adobe.xmp.sdk.fileinfo_fb4_1.1.0.jar in C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.6\eclipse\plugins
    In Flashbuilder, i have created a new project and select xmp Custom panel
    The new project is created in flashbuilder with a field with A BASIC Description Field
    To generate the panel, right click the project folder and select xmp / Publish Custom Panel
    The panel is automatically generated in the following folder : C:\Users\AppData\Roaming\Adobe\XMP\custom file info panels\3.0\panels
      Go to illustrator, Open the file Info
    The panel appears empty
    The others panel are also empty
    The panel is created and automatically placed in the right folder, but when you open it in Illustrator by selecting the File Info option in the File Menu, this custom panel appears empty!!! (only the title of the tab is displayed). This panel also prevent the other panels to be displayed.
    When you delete this custom panels from the folder C:\Users\AppData\Roaming\Adobe\XMP\custom file info panels\3.0\panels and go back to the File Info, the other panels display their content properly.
    I also try to use the plugin XMP Namespace designer to create my own namespace. this plugin is also able to generate a custom panel, but this one also appears empty in AI or Photoshop.
    I try to follow the process described in Adobe xmp documentation many times, but it didn't works.
    It seems that many peaople have this issue, but i dodn't find a solution in the forum.
    I try to create a trust file (cfg), but it didn't work.
    It would be so kind if you can help me to understand why i can't create a custom panel normally and how to do it in the right way.
    Thanks a lot for your help,
    Best regards,
    Daté 

    Hi Sunil,
    After many trial, i realize the problem was not coming from the trust file, but from the way i have created the custom panel.
    There is 2 different ways, the first described below is not working whereas the second is fine :
    METHOD 1 :
    I have downloaded the XMP-Fileinfo-SDK-CS6
    In the XMP-Fileinfo-SDK-CS6 folder, i copied the com.adobe.xmp.sdk.fileinfo_fb4x_1.2.0.jar plugin from the Tools folder and i pasted it in the plugind folder of Flashbuilder 4.6
    The plugin install an XMP project
    In Flashbuilder 4.6 i have created a new project (File / New /Project /XMP/XMP Custom Panel)
    A new xmp project is created in flashbuilder.
    You can publish this project by right clicking the root folder and selecting XMP / Publish Custom Panel
    The custom file info panel is automatically published in the right location which is on Mac : /Users/UserName/Library/Application Support/Adobe/XMP/Custom File Info Panels/3.0 or /Users/UserName/Library/Application Support/Adobe/XMP/Custom File Info Panels/4.0
    Despite the publication of the custom file info panel and the creation of a trust file in the following location : "/Library/Application Support/Macromedia/FlashPlayerTrust", the panel is blank in Illustrator.
    I try this way several times, with no good results.
    METHOD 2 :
    I have installed Adobe CSExtensionBuilder 2.1 in Flash Builder
    In FlashBuilder i have created a new project (File / New /Project /Adobe Creative Suite Extension Builder/XMP Fileinfo Panel Project)
    As the system display a warning about the version of the sdk to use to create correctly a custom file info, I changed the sdk to sdk3.5A
    The warning message is : "XMP FileInfo Panel Projects must be built with Flex 3.3, 3.4 or 3.5 SDK. Building with Flex 4.6.0 SDK may result in runtime errors"
    When i publish this File info panel project (right click the root folder and select Run as / Adobe illustrator), the panel is published correctly.
    The last step is to create the trust file to display the fields in the panel and everything is working fine in Illustrator.
    The second method seems to be the right way.
    For sure something is missing in the first method, and i don't understand the difference between the XMP Custom Panel Project and the XMP Fileinfo Panel Project. Maybe you can explain it to me.
    So what is the best solution ? the right sdk to use acording to the creative suite (the system asks to use 3.3 or 3.5 sdk for custom panels, so why ?)
    I'm agree with Pedro, a step by step tutorial about this will help a lot of peaople, because it's not so easy to understand!!!
    Sunil, as you belong to the staff team, can you tell me if there is  :
    A plugin or a software capable to extract the XMP from llustrator files to generate XML workflows in Indesign to create catalogues
    A plugin to allow indesign to get custom XMP in live caption
    A plugin to allow Bridge to get custom XMP in the Outputmode to make pdf or web galeries from a smart collection
    How can you print the XMP data with the thumbnail of the file ?
    Thanks a lot for your reply.
    Best Regards
    Daté

  • Need Help in creating Unix Shell Script for database

    Would be appreciable if some one can help in creating unix shell script for the Oracle DB 10,11g.
    Here is the condition which i want to implement.
    1. Create shell script to create the database with 10GB TB SPACE and 3 groups of redo log file(Each 300MB).
    2. Increase size of redolog file.
    3. Load sample schema.
    4. dump the schema.
    5. Create empty db (Script should check if db already exists and drop it in this case).
    6. Create backup using rman.
    7. restore backup which you have backed up.

    This isn't much of a "code-sharing" site but a "knowledge-sharing" site.  Code posted me may be from a questioner who has a problem / issue / error with his code.   But we don't generally see people writing entire scripts as responses to such questions as yours.  There may be other sites where you can get coding done "for free".
    What you could do is to write some of the code and test it and, if and when it fails / errors, post it for members to make suggestions.
    But the expectation here is for you to write your own code.
    Hemant K Chitale

  • How to create a Script in AW server

    Hi all,
             Can anybody pla help me with how to create a simpal script in AW server.
    Thanks
    Ravi Sharma

    These products are all based on the GeoTel acquisition.
    GeoTel ICR (Intelligent CallRouter) was the base product, enabling many different peripherals (i.e. PBXs like Lucent, Nortel, Rockwell etc. - and IVRs like InterVoice, Periphonics etc.) to be joined together in a functional contact center, although the initial implementation of ICR was in a different context - as a network router for service providers (AT&T, MCI, Optus, BT) through an interface called a NIC.
    The NAM was a high-end conglomeration of a Network ICR (NICR) and 1 or more Customer ICR (CICR) suitable for service providers, allowing a hosted solution to be built.
    When Cisco bought GeoTel the name was changed to Intelligent Call Manager (ICM) to avoid marketplace confusion with Cisco's existing line of routers. Thus the NAM (the hosted solution) now consisted of a NICM and several CICMs.
    Since Cisco had developed their own switch/PBX for VoIP (after the Selsius acquisition) called CallManager, it could also be treated as a peripheral and slotted into an ICM. This became IPCC - IP Contact Center.
    A couple of years ago, Cisco branding brought all products under a "Unified" umbrella.
    Although the lines are a bit blurry (and I'll probably get corrected on this ), UCCE is IPCC (well, almost), ICM Hosted is the NAM, and the term ICM is mainly used when UCCE is implemented with non-Cisco switches (i.e. not CallManager).
    Yeah, it's not that clear cut, but you get used to it.
    Regards,
    Geoff

Maybe you are looking for

  • Problem with  SimpleQueueSender

    Have tried SimpleQueueSender seems that message is null. Queue is set to MyQueue so its not null but message =queueSession.createTextMessage(); always yields a null value . Please help =================== Code -====================== import javax.jms

  • WBS elements migration

    Hi to All,   I want to migrate the Standard WBS elements,Network from one syatem to another SaP system..    Can u specify,which is the best method to migrate the data...    If it is ALE,Pls give the details of process code and message type..i didnt g

  • I am getting a java error when Mozilla is first started and pop-up windows are opened. It only happens in Mozilla not IE

    see question above. Running 4.0.1 but get error Typeerror: Components.classes{cid} in undefined

  • Actionscript 2 help needed on rotating movieclip

    I need help with the "stopping" of a movieclip rotation.  I think this would be easy for you Flash gurus but impossible for me. Here is the description.  The code below shows a movieclip rotating after mouse click but i want it to stop in place after

  • $ORACLE_HOME/database 밑에 생기는 파일에 대해서

    윈도우의 경우 $ORACLE_HOME/database 밑에 유닉스의 경우 $ORACLE_HOME/dbs 밑에 core_[ORACLE_SID]_pid_1460_tid_x6B8_2006_12_26_11_4_34.log 이런 파일이 생깁니다. 왜 이런 파일이 생기는지 너무 궁금합니다. 인위적으로 다시 만들수는 없나요? core파일의 dump_dest로 cdump를 설정을 했는데 core가 들어가는 파일이 datebase 나 dbs의 밑에 생기는 경우