Stopping and starting the server for deploying

Hai,
When I run a project from the java Enterprise studio, the domain is stopped and then restarted. This takes quite some time. Is it really required for redeploying a project?
Is there any way to avoid it?
I have included below exerpts of the output when I run a project.
Thanx in advance ..
run-deploy:
Stopping server Sun Java System Application Server 8.1
C:\Program Files (x86)\Sun\IDE\AppServ8.1UR2\bin\asadmin.bat stop-domain --domaindir C:\Program Files (x86)\Sun\IDE\AppServ8.1UR2\domains\ domain1
Starting server Sun Java System Application Server 8.1
C:\Program Files (x86)\Sun\IDE\AppServ8.1UR2\bin\asadmin.bat start-domain --domaindir C:\Program Files (x86)\Sun\IDE\AppServ8.1UR2\domains\ domain1
Redeploying E:\staff\saniya\DbServlet\dist\DbServlet.war
Saniya

I guess this is the answer - http://www.netbeans.org/issues/show_bug.cgi?id=54840
In short, sometimes this is required, so the development team considers this to be a feature. This does not happen always/for everyone as well..

Similar Messages

  • Why does Image Capture stop recognizing Epson scanner after scanning several images? I have to stop and start the scanner in order for Image Capture to recognize it again.

    Why does Image Capture stop recognizing Epson scanner after scanning several images? I have to stop and start the scanner in order for Image Capture to recognize it again.

    Karen ...
    Might be corrupted preferences (.plist)
    Open the Finder. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following:
    ~/Library/Preferences/com.apple.image_Capture.plist
    Click Go then move the com.apple.image_Capture.plist file to the Trash.
    Restart your Mac and your scanner and try scanning an image.

  • SSRS Report queries begin running slowly, have to stop and start report server to restore performance

    We have had a production issue crop up twice now where reports begin running slowly seemingly at random.  
    When this happens we can see from running SQL Profiler that the report queries are taking an extremely long time to execute.  The same queries when run directly in management studio run quickly.  
    Initially I suspected parameter sniffing, and tried using OPTION (RECOMPILE) in the reports, as well as clearing out the particular query from the plan cache and running the SQL in SSMS to try and get a better plan etc but no amount of jiggery pokery by
    me could get the queries to run any faster.
    The really weird thing - is that stopping and starting the report server via the reporting services configuration manager instantly cures the problem.  
    I'd really love to know - why this might be?  Is it something to do with the report server closing and re-opening its connections to the database? That's the only sort of thing I can think of...any ideas? Anyone? Any suggestions would be much appreciated.
    LucasF

    Hi LucasF,
    In your scenario, usually we can monitor the execution log in Report Database. If you run below query, you can get the results how long the report takes to render (TimeRendering), how long to process the report(TimeProcessing) and how long to retrieve data
    from Database(TimeData). You can check the starttime and endtime to know the total time for executing a report.
    SELECT TOP1000 *FROM[ReportServer].[dbo].[ExecutionLog2]
    More details information, please reference to similar thread below:
    Steps for troubleshooting a slow SSRS 2014 server
    Troubleshooting Reports: Report Performance
    In SQL Server Reporting Services, a job will be created by SQL Server Agent if any of the following processes is underway:
    query execution on a remote or local database server
    report processing
    report rendering
    To cancel a job that is running on the report server, we can cancel the job directly or reduce the report execution time-out value in the SQL Server Management Studio and then will stop query execution. Please refer to the steps below:
    Open SQL Server Management Studio, and connect to "Reporting Services".
    Under the Report Server node, right-click on the "Jobs" folder and select "Refresh". Then, right-click on "Jobs" again and click "Cancel All Jobs".
    Right-click on the Report Server node and open the "Server Properties" dialog.
    Click the "Execution" option, and set the "Limit report execution to the following number of seconds:" to a much smaller number. After this issue is resolved, this configuration should revert to the previous state.  
    Reference:
    Managing a Running Process
    Setting Time-out Values for Report and Shared Dataset Processing
    In addition, we can also use the KILL Transact-SQL statement to terminate a normal connection by terminating the transactions that are associated with the specified session ID. For the details information, you can refer to:
    KILL (Transact-SQL)
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • defunct process when stop and start web server

    Dear all,
    I am using Sun One Web Server 6.1 SP6. When i try to stop and then start the web server. The <defunct> process is generated (his parent PID points to webservd).
    The following is the result:
    1st stop and start the web server (defunct process is generated)
    2nd stop and start the web server (defunct process disappears)
    3rd stop and start the web server(defunct process is generated)
    4th stop and start the web server (defunct process disappears)
    Here is my magnus.conf
    ServerID www
    ServerName www.abc.edu.hk
    ErrorLog /i03_01/SUNWwbsvr616/https-www/logs/errors
    PidLog /i03_01/SUNWwbsvr616/https-www/logs/pid
    User nobody
    DNS off
    Security off
    ClientLanguage en
    AdminLanguage en
    DefaultLanguage en
    RqThrottle 512
    StackSize 131072
    Init fn="load-modules" funcs="caspreq,caspinit,casptrans" shlib="/i03_01/casp/module/sunos5_optimized/netscape_6.x/nes_casp2.so"
    Init fn="caspinit" casplib="/i03_01/casp/asp-server-3078"
    Init fn="load-modules" funcs="htaccess-init,htaccess-find" shlib="/i03_01/SUNWwbsvr616/plugins/htaccess/htaccess.so"
    Init fn="htaccess-init"
    Init access="/i03_01/SUNWwbsvr616/https-www/logs/access" format.access="%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%] \"%Req->reqpb.clf-request%\" %Req->srvhdrs.clf-status% %Req->srvhdrs.content-length% \"%Req->headers.referer%\" \"%Req->headers.user-agent%\"" fn="flex-init"
    Init fn="load-modules" shlib="/i03_01/SUNWwbsvr616/bin/https/lib/libj2eeplugin.so" shlib_flags="(global|now)"
    TempDir /tmp/https-www-61c30017
    # Load modules for PHP
    Init fn="load-modules" funcs="php4_init,php4_execute,php4_auth_trans" shlib="/i03_01/SUNWwbsvr616/bin/libphp4.so"
    Init fn="php4_init" LateInit="yes" errorString="Failed to initialize PHP!" [php_ini="/i03_01/SUNWwbsvr616/https-www/config/php.ini"]
    # Enable statistics
    Init fn="stats-init" update-interval="5" virtual-servers="100" profiling="yes"
    any ideas? Thank

    - which OS & version are you running into this issue ?
    - By definition, defunct processes (or zombie processes) are processes that have exited prior to it's parent calling a wait() on it to get the return status .
    - couple of things I can think of to narrow down the cause of this issue
    1. disable ASP & php plugins and see if this still causes this issue
    2. try starting the web server with log level to finest and see fi you get any useful information from the server error logs
    hope this helps

  • Stopping and Starting a server - bootstrap pattern?

    Hi,
    I have a very simple server. It simply extends Thread, and provides a startup method to perform any initialization and to start itself. A shutdown methods performs any cleanup.
    What I am trying to figure out is the best way to start/stop this server.
    I have created a class that implements main and starts the server. What I am wondering is how to stop it again.
    I noticed that with tomcat it has a bootstrap class, which implements main. It seem's overly complex for what I need, so I'm wondering is there a common pattern for creating a 'bootstrap' style class that when passed the argument 'start'; will start my server (but the bootstrap main will exit iself). Running the class again with 'stop' should then stop the server.
    I know on unix I can write the PID to a file, then write a script to read that value and send a signal, but I'm not sure the seem implementation would work on windows, as it doesn't seem to provide signal handling.

    One thing worth mentioning if the launcher (+java Bootstrap start+) actually forks another JVM: on Unices at least, you have to consume the output streams (stdout/stderr) of the forked process, otherwise this latter may block.
    See this famous article [When Runtime.exec() won't|http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html] .
    That's one good reason for the launcher to simply run the app (what does it bring to spawn another JVM?).

  • Stop and start the system via the SAP GUI

    ........ although I don't know the answer!
    We have SAP running on an iSeries/DB2 format.
    And we of course have stopped and started our SAP systems many times before via an iSeries screen.
    One thing we have never had to do, is stop and start the system via the SAP GUI.
    Is this possible? If so, how is it done?
    Surprisingly difficult to find a solution online.
    Edited by: Juan Reyes on Aug 10, 2010 11:10 AM

    Paui,
    You can also do a soft shutdown, which waits till the active users/sessions are logged out (Draing out the sesstions) and no more new users are allowed to login during that time.
    Goto SM51, select the instace/server you want to stop then menu --> Goto --> Server Name --> Administration --> Shut Down Server (soft).
    Here you can also select a hard shutdown if the situation demands by following the same menu path.
    Even though your question is answered but I still wanted to update you the options to select.
    -Mahesh

  • How to STOP and START the BO EXPLORER/POLESTAR - LINUX

    Dear friends,
    Could you please let me know on How to STOP and START the BO EXPLORER/POLESTAR on LINUX platform?
    Thank you,
    Nikee

    Oracle Apex is an API, if that helps you understand / visualize. You do not start Apex process nor stop it.
    When an Apex session starts it starts calling the API.
    You can however start / stop the listener. It may be OHS, ApexListener and the J2EE container running it, OC4J or any other "server" that you are using.
    The built-in EPG is something like an API again, you cannot start / stop it but you can disable/enable it with DBMS_XDB.SETHTTPPORT API.
    Regards,

  • Problem stop and start the ias 6.0

    Hi all,
    i have a problem when i stop and start the ias 6.0 sp2. The problem
    apparent is that when i stop the ias the IAS web connector plugin stop,
    then i start the ias and when i try to connect to a servlet in my ias
    the page i find in my brwser tell me "The documento contained no
    data.Try later again ..". Afte this i see that the IAS web plugin begin
    to start and then the same connect to the servlet works.
    Somebody can help me.
    Thanks in advance.
    Ignacio Ramos Garcia
    Division TSO
    Area de Telecomunicaciones
    Tecsidel
    C/ Enrique Jardiel Poncela, 6
    28016 Madrid
    Tel: (+34) 91 353 08 19
    Fax: (+34) 91 353 08 81
    <mailto:[email protected]>
    www.tecsidel.es

    Hi,
    This really looks like a problem, kindly let me know the following...
    - The O/S version & the web server with the service pack
    - What method are you using to start & stop the application & web
    server ?
    - What application are you invoking to see this error ?
    Regards
    Raj
    Ignacio Ramos Garcia wrote:
    Hi all,
    i have a problem when i stop and start the ias 6.0 sp2. The problem
    apparent is that when i stop the ias the IAS web connector plugin stop,
    then i start the ias and when i try to connect to a servlet in my ias
    the page i find in my brwser tell me "The documento contained no
    data.Try later again ..". Afte this i see that the IAS web plugin begin
    to start and then the same connect to the servlet works.
    Somebody can help me.
    Thanks in advance.
    Ignacio Ramos Garcia
    Division TSO
    Area de Telecomunicaciones
    Tecsidel
    C/ Enrique Jardiel Poncela, 6
    28016 Madrid
    Tel: (+34) 91 353 08 19
    Fax: (+34) 91 353 08 81
    <mailto:[email protected]>
    www.tecsidel.es

  • HT203177 I had to get a new hard drive in my 27 in IMac. I used time machine to get everything back on my computer. I just turn on time machine and its says it's preparing over 800,000 items to back-up, it never back-up, it stop and starts the process ove

    I had to get a new hard drive in my 27 in IMac. I used time machine to get everything back on my computer. I just turn on time machine and its says it's preparing over 800,000 items to back-up, it never back-up, it stop and starts the process over again.

    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair Disk, (not Repair Permissions). Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then repair the backup/TM drive.

  • I'm getting an error (BEA-090508) when trying to apply SSL and starting the server

    I'm trying to apply SSL with my own CA on a Weblogic Server. I'm getting an error (BEA-090508) when trying to start the server.
    regards

    Hi peggy gray,
    I believe you have the Photography subscription purchased wherein the applications other than PS and LR are available as trial only.
    Please check the link below:
    Creative Cloud Photography plan | Adobe Creative Cloud
    Regards,
    Sheena

  • How to stop and start Managed Server using weblogicServer

    Hi
    We are new.
    We have 2 managed servers and an Admin Server.
    We're trying to use the command line to stop/start our Managed Server.
    Could someone share examples on how one could write the command line that's similar to the WLS console Server Start tab ?
    We have a couple of classpaths and a bunch a arguments;
    When we tried to start one of the managed server it defaults to use some other settings as opposed to the ones in Server Start tab.
    What did we do wrong ?
    Thanks

    Hi,
    Follow the below links,each n every links have various methods and example for starting and stopping of Weblogic services
    We have 2 managed servers and an Admin Server.
    We're trying to use the command line to stop/start our Managed Server.http://docs.oracle.com/cd/E15523_01/core.1111/e10105/start.htm#CIHBIGCD
    We have a couple of classpaths and a bunch a arguments;http://docs.oracle.com/cd/E13222_01/wls/docs90/admin_ref/weblogicServer.html#frequently_used_optional_arguments
    http://docs.oracle.com/cd/E13222_01/wls/docs90/admin_ref/weblogicServer.html#1008628
    Regards
    Fabian

  • Command to Stop and Start the SBO Mailer Service

    Good day,
    I have an issue on my SAP server (SAP 2007 SP01 PL10) where the SBO Mailer server is intermittently stopping.  This is causing Emailed Alerts and emails from SAP to stop working.
    I want to create a Scheduled Task in Windows to run a batch file which will stop then restart the SBO Mailer service.
    Do you know the DOS command to stop and also start the SBO Mailer service?
    Thank you
    EvS

    Good Day,
    We have had the same problem. I Added this scheduled task to Validate if service is running and to Restart if Necessary..
    We are still working on this issue. I have a feeling itu2019s the SMTP rejecting the emails
    @echo off
    rem ***********************************************************************
    rem *                                                                     *
    rem *   This script will stop & restart the SAP SBO Mailer service        *
    rem *                                                                     *
    rem *   Created by Anthony Galvano from Syntax to recycle the service     *
    rem *   on Mar 22 2011                                                    *
    rem *                                                                     *
    rem ***********************************************************************
    call wmic /locale:ms_409 service where (name="B1LicenseService") get state /value | findstr State=Running
    if %ErrorLevel% EQU 0 (
        echo Running
    ) else (
        echo **** Now restarting SBOMailer service  ***
    net start SBOMail
    timeout /T 5
    Anthony

  • Upgraded to 11.1.4.62.  Now iTunes is saying "An iPod has been detected, but could not be identified properly.  Disconnect then reconnect ..."  I removed iTunes and reinstalled.  I stopped and started the service.  I reset the iPod.  When I put it in disk

    I upgraded to 11.1.14.62 this morning.  Not iTunes is saying "An iPod had been detected but could not be identified properly".  I unlugged/replugged in.  I reset the iPod, I removed iTunes and reinstalled.  I'ver tried three different cables.
    When I put the iPod in disk mode it shows up briefly as a disk then goes away.
    Any ideas?

    Hi there  - I've spoken with Apple and here is their response (worked for me). You need to uninstall not only iTunes, but also (in this order):
    1) iTunes
    2) Apple Software Update
    3) Apple Mobile Device Support
    4) Bonjour
    5) Apple Application Support
    Then you restart your computer.
    Then you install the latest version of iTunes (which will reinstall all those things you uninstalled).
    Then you restart your computer again.
    Mine is working perfectly again now.
    I hope it works for you,
    Carmen.

  • Stop and Start Services

    Hi All,
    We are stopping and starting the services for daily backup. Is it advisable to stop and start services.
    Because client wants to stop the services before taking the backup anf start the services after backup.
    In this scenario, what services do we need to stop for backup process.
    Regards,
    Kumar

    Hi Saichand,
    Thanks for the response.
    Do u have any idea on the below:
    Our scenario is the below:
    We have a daily back of BI folders and Loading data from ERP to 10g database.
    We logged in with remote desktop user A from ABC system to BI system and We created a batch file to start and stop all the BI the services and scheduled this batch file using windows schedule tasks. These batch files will stop the BI services and after 30 minutes another batch file will load data into the database, after 2 hours start services batch file will start the BI services.
    When we open the BI Dashboards in the morning, all the dashboards and reports are working fine. But when I login to BI system, OC4J windows is not visible and dashboards are not coming and when we check the logs, LOGs says OC4J is running.
    Please suggest us the solution.
    Regards,
    Kumar
    Regards,
    Kumar
    Edited by: user597882 on Aug 26, 2010 3:35 AM

  • How to stop and start IGS(internet graphic server)

    Hi Techies
    How to stop and start IGS(internet graphic server) in Solaries
    IGS is 7.0 1patch
    Is this the command to stop and start IGS
    stopigs and startigs
    If this correct will there be any issues if i stop the IGS from the above command
    Thank You
    Haroon

    Hoi Haroon
    On base 6.40 there were stopigs/startigs scripts, yes. When we upgraded our systems to 7.0 I encountered the same problem, the igs could be stopped, but not started anymore (externally). Can you check, if the startigs/stopigs-scripts are 7.0 or 6.40.
    I then opened an oss and got as answer:
    "To start and to stop the igs there's only the offical way by stopping and starting the sap system".
    However I found a solution to start and stop:
    start:
    nohup /sapmnt/<SID>/exe/igswd_mt -mode=profile pf=/usr/sap/<SID>/SYS/profile/<Instaneprofile> &
    e.g.:
    nohup /sapmnt/P72/exe/igswd_mt -mode=profile pf=/usr/sap/P72/SYS/profile/P72_DVEBMGS01_migzmc10 &
    stop:
    --> stopigs, therefore the 6.40-stopigs script has to remain in the exe directory.
    Hope this helps.
    Regards Patrick

Maybe you are looking for