Make some functionality at the time of deploying application(jsp/servlet)
Hi Experts,
I want to know that, Suppose when ever I am deploying my application or initlizing jsp/servlet page. That time I want to do some operation take example : "At the time of deploying application I want to delete .temp files".
So what ane where I want to write some functionality.
If I have to write in xml then in wich tag..?
And if in servlet/jsp page then where..?
Thanks in Advance
You don't program such things. You could use a tool like ANT to do the deployment for you and at the same time you can configure a cleanup task.
Similar Messages
-
Is normal in the mac book pro with the retina make fan noise al the time ?
Is normal that the new macbook pro with retina make fan noise all the time?
Hi everyone.
I just bought an mac book pro retina , 15 inches , 2 GHz, Core i7, 8GB 1600 MHz DDR3. I'm a programmer , so, I really don't give to the mac book an exhaustive use, so the performance of the machine is good for me. But recently , I discovery some kind of issue : a noise fan when I reproduce a video from Internet, in full screen mode.
I download the iStatus Menus program for mac, to has a complete dashboard of the situation , and I got this :
1) When recently start the mac book, the statistics are
All in order, the revolutions of the fan are OK, no fan noise at all.
But , just opened a video in full screen , a few seconds after opened start it, the machine increase the temperature from (normal) 40° to 98° (so high), and the statistics change dramatically , as follow :
As you can see, the fan revolution increase 3x , from 2000 to 6000 . The use of Google Helper increase over 200% . And obviously the noise fan make me crazy,
I've only seen this "issue" on that scenario, ( internet video full screen reproduction ). That's not happen , even when many applications are open.
Should I worry about this ?, or, this is a normal behaviour on the machine ?.
I'll appreciate any advice or answer.
Kindly regards. -
Where to keep user defined config files at the time of deployment
I am using oc4j server to deploy my application. As application requires some xml config files(say, my-config.xml) , do i need to mention at the time of deployment? if so, how to access those files from server side code?
Can any one help me out??Similar posts around the same error.
http://social.msdn.microsoft.com/Forums/windows/en-US/2cdb0394-b757-4b4c-96e6-927100d8eebd/cannot-start-your-applicationthe-workgroup-information-file-is-missing-or-opened-exclusively-by
http://weblogs.asp.net/jeevanmurkoth/archive/2010/04/27/exception-cannot-start-your-application-the-workgroup-information-file-is-missing-or-opened-exclusively-by-another-user.aspx
Bala -
As title,
I have a domain with 2 DCs (both virtual machines) in 2 different Hyper-V Hosts, and one of the perform as a PDC Emulator.
Dose this case make any influence on the time sync?
i.e. Both of the VMs sync with Hyper-V host, instead the other host should sync with the PDC Emulator?
I run w32tm command and get the following result:
C:\Users\Administrator.DOMAIN8>w32tm /query /computer:dc8.domain8.local /source
VM IC Time Synchronization Provider
C:\Users\Administrator.DOMAIN8>w32tm /query /computer:hpvzh05.domain8.local /source
VM IC Time Synchronization Provider
HPVZH05.domain8.local works as PDC server.
How can I make DC8 sync with HPVZH05?Awesome!
It looks like your PDC is successfully pulling time from an external source. DC8 is not longer pulling from Hyper-V so that is good.
When you set a client to pull from a source ( and in this case DC8 is pulling from NT5DS, which tells it to pull from the PDC), and it CAN'T pull from that source, it will default to Local CMOS Clock. This is likely an easy fix.
First, check connectivity:
- Method one- Download Portqry and run this command: portqry -n HPVZH05 -p both -e 123 and see if the results say listening, or
- Method two- Run this command from DC8: w32tm /stripchart /computer:HPVZH05
If you get any kind of error using method two, it's a connectivity issue. (Maybe you have a firewall that's blocking access?)
The other cause of this, and probably more likely in your case, is that your PDC isn't properly advertising as a reliable time source, so DC8 isn't 'allowed' to pull from it.
Try running this command on your PDC: w32tm /config /reliable:yes
Then go restart time on your PDC, THEN DC8 again. (net stop w32time & net start w32time)
Here's an article you can reference: http://technet.microsoft.com/en-us/library/cc794937(v=WS.10).aspx
- As always, if you find my posts to be helpful, please mark it appropriately. Thank you :)
Chris Ream -
How to hide some functions in the menu bar of flash paper
Do anyone know how to hide some functions in the menu bar of
flash paper? As I want to show a swf file(converted from pdf) on
the website without printing function. How can I do it?
Also, if possible, can anyone know how to hide all functions
on the menu bar except the logo of flash paper?
Thank you very much, it is very urgent.Here is an article about how to integrate flashPaper into
Director. It has most of the functions that can be executed on
flashPaper. Maybe it will help?
http://www.adobe.com/devnet/director/articles/flashpaper_in_director.html
and here is all his code
http://www.mediamacros.com/item/item-1006687373/
Note: it is for 1.01, but works with 2.0 -
Sender make some changes to the data
Hi,
Could anybody please answer to this question. In file to idoc scenario, the data has been sent from sender(file) to receiver(R/3) . If the customer wants to make some modifications in the data is it possible to update the receiver system.How can it be achieved.
regards
Pavanhi,
depends on what you post (on the kind of document):
if the customer sends you sales orders via file - IDOC
then you can just open the sales order in R3 and update it...
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
[solved]Emesene suddenly makes X restart all the time
All of a sudden, emesene makes X restarts all the time. I can start the application with no problem. Logging in isn't a problem either but when I click on a contact or click on a menu like File, X restarts and I have to log back in. It happens with emesene from community, with abs and the latest svn version. When I run it from the console, all I see is a warning about the usage of a deprecated md5 module. Any idea how to resolve this issue?
edit: Additionaly I found this in /var/log/daemon.log
gdm-binary[1071]: WARNING: gdm_slave_xioerror_handler: Fatal X-error - :0 restarted
Last edited by Nepherte (2009-03-10 10:08:40)After trying out everything there is to try, I decided to simply remove ~/.config/emesene which solved the problem. Odd, but you won't see me complaining
-
Use 2nd gen apple tv and remote control app on iphones and ipad. We can control some functions on the apple tv but unable to purchase, access such controls as reset, restart, turn off home sharing, etc. Home sharing stuck on old apple ID. Please help.
That is why I said to restore via iTunes, did you check the link?
This will put it back to factory settings and you can set it up with the new ID once you reconnect with your HDTV. This is not done via ethernet, as per the link you need to connect to the computer via micro usb. You cannot bypass home sharing.
FYI: An Apple ID cannot be deleted so the old one would still exist (even if you no longer use the email account it is associated with). -
I shared my project and saved it as .mov but when i reopen the fcp the project is one big clip, and now i cant re-edit the video, cant see all the clips, text's, effects, etc..... just one big clip,,,pls help, i need to make some changes to the project..thanx
Hi Stephen, thanx...
Yes, we are talking about FCP X...this is the thing:
I worked on a project a few days ago and went to share - export movie.
Today, i opened the FCP again, to make some changes, and when i enter to the project, it shows me as one big clip.....i dont see it says compound clip....and i tried anyways pressing break appart clips...but nothing....could it be that i made it compound before exporting it..? if so how can i recover the un-compound version >?
I tried to import the saved .mov file, but it opens the same....as one long clip...
Pls help...thanx. -
Not sure that this is a Firefox problem, but I noticed this after I updated to the 36 Version. I also have IE on my computer, only use it to access websites if I am having problems with connecting (to verify if the problem is Firefox or my Charter connection)... I now am unable to access IE. I have Windows XP.
This issue can be caused by an extension or plugin that isn't working properly or is misconfigured.
Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem.
* Don't make any changes on the Safe mode start window.
See:
* [[Troubleshooting extensions and themes]]
There are other things that need attention:
Your above posted system details show outdated plugin(s) with known security and stability risks that you should update.
# Shockwave Flash 10.1 r82
# Next Generation Java Plug-in 1.6.0_21 for Mozilla browsers
Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
*http://www.adobe.com/software/flash/about/
Update the [[Java]] plugin to the latest version.
*http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE) -
Using AirPort Utility 5.3.1 or later to make a copy of the Time Capsule disk
Can I use AirPort Utility 5.3.1 or later to make a copies of specific folders within the Time Capsule disk?
http://support.apple.com/kb/HT1281
I see this link that explains how you can make an archive of TC files directly to an external USB (greatly increasing the speed), but I would like to:
1) Chose only specific folders and
2) If possible, have it do this daily.
I am trying to avoid dragging files directly through my Mac. I want specific files (instead of entire drive) to go from the TC > External USBThe archive ability which is available in all versions of the airport utility except the early v6, where it was dropped for a time, is designed to do a full backup of the TC. It cannot do what you want.
It cannot incrementally backup. Each time you press archive it will do the whole disk.
you cannot select folders to be included or excluded. The airport utility is an extremely limited functionality tool.
I am trying to avoid dragging files directly through my Mac. I want specific files (instead of entire drive) to go from the TC > External USB
A TC is a dumb as a board hard disk in a router. It has no controls like a real NAS would have, like backup with a auto controls and ability to deselect items or do incrementals.
So you have no choice whatsoever on a TC except for the files to be processed via the Mac.
Carbon Copy Cloner is one backup utility that can do the job. But it will be extremely slow if the material it is backing up has to be copied to the USB on the TC. Still if your changes are not great, it can be set to automatically do incremental backups on a daily basis.
It is much faster btw to have the USB plugged into the computer, so files do not have to be transferred back to the USB.. and this is x10 if you are using wireless. -
ACCUM function ignores the time consolidation option
Hi,
We need to create YTD KPIs based on the Monthly KPIs.
We are trying to use te ACCUM function to create the KPIs:
calc KPI_ACC = ACCUM(KPI,yearly)
but when the time consolidation method of the KPI is not SUM (e.g. LAST), the ACCUM function doesn't take this into account.
Any ideas?
RegardsAgain I'm doing this from memory. Control variables can be used in all these places.
I tend to use the ASK command to present a menu and set the dates. A single selection from ASK can set many variables.
Then I have a shell proc with command like
set period Jan - &myvar
calc var2 = average(var1) for &myvar
in some cases this proc can be run as it stands. In other cases the control var won't resolve. In this case I then have a command that does something like
copy pro myshellproc myexecuteproc resolve
compile myexecuteproc
exe myexecueproc
You'll need to play with the technique but once you understand it you can do all sorts of magic. -
Error at the time of Deploying EJB jar on JBoss
Hi:
I am going to create web service using EJB3.0.
But at the time deploying file on JBOss i am getting following error:
12:22:51,856 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/home/crayom/projects/tools/jboss-5.0.0.CR2/server/default/deploy/TempConvert.jar state=PreReal mode=Manual requiredState=Real
org.jboss.deployers.spi.DeploymentException: Error during deploy: vfszip:/home/crayom/projects/tools/jboss-5.0.0.CR2/server/default/deploy/TempConvert.jar
at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:175)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1285)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1003)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:944)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:627)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:265)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:143)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:409)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:544)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1938)
at org.jboss.wsf.common.JavaUtils.getPackageName(JavaUtils.java:533)
at org.jboss.ws.metadata.wsdl.WSDLUtils.getTypeNamespace(WSDLUtils.java:700)
at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.processWebService(JAXWSWebServiceMetaDataBuilder.java:313)
at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.buildWebServiceMetaData(JAXWSWebServiceMetaDataBuilder.java:107)
at org.jboss.ws.metadata.builder.jaxws.JAXWSServerMetaDataBuilder.setupProviderOrWebService(JAXWSServerMetaDataBuilder.java:50)
at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilderEJB3.buildMetaData(JAXWSMetaDataBuilderEJB3.java:76)
at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.start(UnifiedMetaDataDeploymentAspect.java:70)
at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.start(DeploymentAspectManagerImpl.java:144)
at org.jboss.wsf.container.jboss50.BareWSFRuntime.start(BareWSFRuntime.java:66)
at org.jboss.wsf.container.jboss50.deployer.AbstractDeployerHookEJB.deploy(AbstractDeployerHookEJB.java:48)
at org.jboss.wsf.container.jboss50.deployer.AbstractWebServiceDeployer.internalDeploy(AbstractWebServiceDeployer.java:60)
at org.jboss.wsf.container.jboss50.deployer.WebServiceDeployerEJB.internalDeploy(WebServiceDeployerEJB.java:115)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
... 18 more
12:22:51,897 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
*** CONTEXTS IN ERROR: Name -> Error
vfszip:/home/crayom/projects/tools/jboss-5.0.0.CR2/server/default/deploy/TempConvert.jar -> java.lang.StringIndexOutOfBoundsException: String index out of range: -1So, can any body tell me the solution of this problem?
Thank You.AnupDesai wrote:
Hi:
After adding require packages also i am getting the same error.
Well, if it's not a version problem with either the JDK (installing java 6 on top of a java 5 distribution) or the Jars (like JAXB) , then , as pointed out, you might have written your Web service using a packageless class:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1938)
at org.jboss.wsf.common.JavaUtils.getPackageName(JavaUtils.java:533)Restart a new project in your IDE with a packaged ws from the start, and see if it works. -
Checking credit limit for some customers at the time of Delivery also
Hi Experts,
I have 1 controlling area. Now our new requirment is that for some selected customers we want to implement the credit checking at the time of making the delivery note. How can i configure that in SD.
Appreciate some support
SAPXPTMadhu,
I have just pasted the result of CHECK_CM below.
Please tell me one more thing.I am releasing my SD document by VKM1. Wheni check VKM2, it shows that the delivery document has also been released simultaneously.
Settings for Credit Check
Delivery Type: LIKP-LFART = LF Outbound Delivery
SD Document Category: LIKP-VBTYP = J Delivery
Requirement for Subseq.Functs: TVFO-GRPNO = 000 (No Standard)
Key Fields for Automatic Credit Check (Table T691F, Transaction OVA8)
Credit Control Area: LIKP-KKBER = 1000
Risk Category: LIKP-CTLPC = 005
Credit Group - Delivery: TVLK-KKBER = 02
Credit Group - Goods Issue: TVLK-KKBER =
Credit Status from Table VBUK
Overall Credit Status CMGST = D Released
Static CMPSA = No Check/No Status
Dynamic CMPSB = No Check/No Status
Maximum Document Value CMPSC = No Check/No Status
Critical Fields CMPSD = No Check/No Status
Next Inspection Date CMPSE = No Check/No Status
Open Items CMPSF = No Check/No Status
Oldest Open Item CMPSG = No Check/No Status
Maximum Dunning Level CMPSH = No Check/No Status
Financial Document CMPSI = No Check/No Status
Export Credit Insurance CMPSJ = No Check/No Status
Payment Card Authorization CMPSK = No Check/No Status
USEREXIT_1 CMPS0 = No Check/No Status
USEREXIT_2 CMPS1 = No Check/No Status
USEREXIT_3 CMPS2 = No Check/No Status -
Will the Time Capsule backup applications or make a full image of MBP?
Recently had hard drive completely crash and was issued a brand new "BLANK" hard drive. I do use Carbonite, so all 750,000+ files were saved to a cloud in the sky. The only problem with that is that this cloud is so far away, it has taken me a week now and I am still restoring my files. Not only that, I have officially lost all those great apps and I have to individually go through each website to download and install. I wanted to know if Time Capsule will eliminate both problems???????
thanks in advanceYup.
But a bit of clarification first:
Time Machine is the backup software built-in to OSX. It can back up to external HDs, Time Capsules, or other locations.
A Time Capsule is a piece of Apple hardware combining a wireless router and hard drive. While it was designed specifically for Time Machine to do wireless backups of Macs, it can also be used for other things.
So . . . there are various possiblilites. Time Capsules are more expensive than plain external HDs of course, but more convenient for laptop users. If you have a desktop Mac, you could probably back up to a shared drive on it via your network.
You might want to review the Time Machine Tutorial, and perhaps browse Time Machine - Frequently Asked Questions.
#14 in the FAQ shows how to do a full system restore from Time Machine backups. There's a lot of "works" and options there, but basically you can restore your entire system from any backup in one operation -- OSX, apps, settings, preferences, user accounts, data, etc. In a very few cases where apps are tied to a particular HD, you may have to re-enter a serial number or re-authorize the app.
#27 there has some alternatives, too.
Maybe you are looking for
-
How do I delete an alternative Apple ID?
There is no option on appleid.apple.com to edit or delete an alternative appleid somehow my wife's appleid is listed as my alternative and I can't delete it help?
-
I have a 42" Samsung Digital Plasma HDTV. From time to time while watching Verizon FIOS TV my TV will switch from a picture to a message on the screen that states "NOT SUPPORT MODE" or I will turn the TV on and it gives me the same message. I have c
-
Clicking an e-mail link in Safari doesn't open default mail client
Eudora has been my default mailer for many years. Yet after the last Safari update a few days ago, the browser suddenly ignores Eudora's default status although it is clearly checked in Eudora's preferences. Instead, Safari thinks Mail is my default
-
Hi, When I try to save the IBot I just created I get the following message: Oracle BI Scheduler Error: [nQSError: 68019] Authentication Failed Error Codes: GYFPI8RN Any idea?
-
What is the main Purpose of ADF tool...
What is the main Purpose of ADF tool...