Weblogic.Deployer using -deploy for existing application
I'm running on weblogic 8.1 SP3
when I use -deploy for an existing application the documentation says it will do a redeploy.
documentation for the targets option says that it will use existing targets for an application that is currently deployed.
BUT it doesn't work. Is this a known issue ?
I use the following options:
-name fortune
-source /data/bea81/applications/stg/fortune.ear
-verbose -debug -deploy -stage
Check to see if the problem is with the Deployer tool or myApp.war:
1) Does myApp.war deploy using the console?
2) Check myApp.war has all the classes it needs?
If your app does deploy from the console then we can focus in on the Deploy tool. If not it may help give us a clue as to what is going on e.g. your war file missing classes.
Hoos
Similar Messages
-
WLS 8.1: weblogic.Deployer + concurrent deployment tasks
Hello,
We have a domain with 4 managed servers which supports a team of 4 developers
(one per managed). They have the possibility to launch Deploy taks using weblogic.Deployer
on one of the managed servers.
We have found that deployment tasks are executed one by one in the Administrative
instance. So when a developer creates a deploy task he has to wait until all pending
deployment tasks end.
¿Is it possible to have three deployment tasks running at the same time instead
of one by one? If it is ¿What should I do to activate it?
Thanks in advance,
OscarOscar:
Take thread dumps when your deploying. You can post the thread dumps here.
Lets see what is taking so long to deploy. You'll want to take multiple
dumps, say 20 seconds apart, say 5 in a row. Remember they go to
std-out/err so you need to capture that data. Also it would be nice if you
cut out all the uninteresting idle threads. Are you not precompiling and
running ejbc (appc) before hand?
Cheers
mbg
"Oscar" <[email protected]> wrote in message
news:[email protected]...
>
This domain is more an integration environment rather than a developmentenvironment.
>
>
The idea is that each developer has its own weblogic domain in their localmachine
in which he develops the application (code, debug, deploy, ...).
He has also a user in a UNIX box, in which there is a domain (applicationintegration
domain) with a managed instance per department. With this user he has someAnt
tasks from where they can deploy (using weblogic.Deployer) a stablerelease of
their application to test the dependant functionality.
The problemm is that some applications (using 100 EJBs and 1 War --> 40MBin exploded
ear and 9MB in compressed ear) take more than 5 minutes to deploy in amanaged
instance and so they produce a stuck in the task queue. During this timethe Administrative
is waiting all the time and the managed instance is deploying theapplication
module by module ¿is there any way to decrease this time? ¿is there anyway to
do it asynchronously without blocking the task queue? That time looks abig high
and taking into account that we are going to have bigger applicationshaving only
one deployment task activated each time looks dangerous. ¿What is aboutincreasing
the admin threads? The task has done all the job in administrative side,so ¿why
wait to the managed server?
We have also note that sometimes waiting tasks produce an unavailabilitystate
in the deployment queue. We have found 4 deployment tasks waiting in the queue,
and after an hour the first deployment task was not finished (maybe in adeadlock)
and so the other 3 deployment tasks were waiting. Is this situation theunique
possibility to solve the problemm is restarting the Administrative (usinga kill
command, shutdown command never ends) ¿What could we do?
Thanks in advance for your help,
Oscar
"Mark Griffith" <[email protected]> wrote:
Deployer may initiate tasks on individual MS's it always goes THROUGH
the AS
and it process's requests serially. This ensures the stability of the
system, allowing multiple changes to cascade through the system at the
same
time.
Is there a reason why you don't have every dev using their own WLS box?
cheers
mbg
"Oscar" <[email protected]> wrote in message
news:[email protected]...
Hello,
We have a domain with 4 managed servers which supports a team of4
developers
(one per managed). They have the possibility to launch Deploy taksusing
weblogic.Deployer
on one of the managed servers.
We have found that deployment tasks are executed one by one in theAdministrative
instance. So when a developer creates a deploy task he has to waituntil
all pending
deployment tasks end.
¿Is it possible to have three deployment tasks running at the sametime
instead
of one by one? If it is ¿What should I do to activate it?
Thanks in advance,
Oscar -
I have an old (first generation) iMac that I still use sometimes for the applications that are on it. I was using it yesterday and unfortunately had a power cut. I went to turn it on today, and nothing at all happens. It's as though no power is getting to it. I've checked the obvious things, changed the fuse, tried different cables, poked paperclips in reset holes, but nothing doing. I wonder if there is anyone who knows what might be wrong. I was hoping to get some of its content transferred soon, but I'm guessing that can't be done if it can't be started up. Many thanks, if you can help
Hello,
>It's as though no power is getting to it.
Would it be correct to assume that no sounds at all can be heard? Also, no lights, not even green or amber at the power button?
>unfortunately had a power cut.
Was it possibly a power cut in connection with a thunderstorm? Any other evidence of higher than normal voltages (light bulbs, et cetera)? Has the line voltage been checked (measured with an appropriate voltmeter/multimeter)?
If necessary, it would be possible to remove the hard drive, and then connect it to an external IDE/ATA to USB adapter (example below). That way you could gain access to files on the hard disk from another computer.
http://www.newertech.com/products/usb3_universaldriveadap.php
Jan -
My stops because of the wrong answer to the secret question, and I want to use it for evil application from Apple Store?
Hello mr sami,
Thank you for the details of the issue you are experiencing with your security questions. I found an article with some useful information if you cannot remember the answers to your security questions:
What should I do if I don't remember the answers to my Apple ID security questions?
Try answering them at least once to see if you can get them right, even if you are not sure you remember the answers to your security questions.
If you are confident you can't remember them, try one of the following:
If you have three security questions and a rescue email address
sign in to My Apple ID and select the Password and Security tab to send an email to your rescue email address to reset your security questions and answers.
If you have one security question and you know your Apple ID passwordsign in to My Apple ID and select the Password and Security tab to reset your security question.
If you have one security question, but don't remember your Apple ID password
contact Apple Support for assistance. Learn more about creating a temporary support PIN to help Apple confirm your identity when you contact Apple Support.
Note: If you have forgotten your password and answer your security questions incorrectly too many times in a row, you will be unable to try to answer your security questions for a period of time. During that time you will not be able to reset your password and will not have access to your account.
You can find the full article here:
Apple ID: All about Apple ID security questions
http://support.apple.com/kb/HT5665
If you continue to have issues, please contact our Account Security Team as outlined in this article:
Apple ID: Contacting Apple for help with Apple ID account security
http://support.apple.com/kb/HT5699
Thank you for using Apple Support Communities.
Best,
Sheila M. -
I have created an apple id on my 4S iPhone. But i can not able to use it for downloading applications from iTunes store on my phone
can your computer?
can your browser ?
what error does it give you? -
Using weblogic.deployer to deploy multiple files?
Is there way, when using the weblogic.deployer, to specify multiple files to be deployed in one command? I see the filelist for redeploy, but is there a way to deploy/undeploy multiple files in one command?
Thanks.Having the users folder on a separate partitions is a bad idea because the Windows Setup was not really designed for it, it's more of a afterfix. In addition to that the deployment solutions in general have problem dealing with multiple partions.
Put it this way - The big warning text in the WAIK documentation about redirecting the users folder to another drive is there for a reason. It will break future offline servicing.
It doesn't mean it can't be done, it just means it will take you three times (at least) longer to setup/troubleshoot your deployment solution, and you will be in a world of pain the next time you want to re-image the machine.
This quote from a good friend of mine (Andreas Hammarskjold) describes it very well:
Generally I would always recommend to only have ONE partition these days. Going down the route of making multiple partitions is like having multiple wives/girlfriends/lovers… it’s all fun and games for a while but ends with disaster
- Andreas H.
/ Johan
Regards / Johan Arwidmark Twitter: @jarwidmark Blog: http://www.deploymentresearch.com FB: www.facebook.com/deploymentresearch -
Weblogic.deployer and deployment order
Good day all,
Is there a way to force an application to deploy last (because of dependencies)?
I know how to modify the deployment order in the console or wlst, but if all applications are in the same application directory, how can you make sure that appxyz.war deploys last?
Thanks
AshAshanty,
you may want to refer this link for deployment order of applications..
http://docs.oracle.com/cd/E12839_01/apirefs.1111/e13952/taskhelp/deployment/ChangeTheServerDeploymentOrder.html
I don't think weblogic.deployer will allow you to do deployment order and it can be done through Administration console only.
Thanks
Lawrence Manickam
http://toyork.blogspot.ca -
Updating War File for existing Application Issue
I have a web application that is currently deployed and running on a linux SunOne WebServer 7.0 U2.
I use the web admin interface to update the (running) web application with a new WAR file and using the "PreCompile JSP" option.
Once the web application has been updated and deployed, I get a 500 server error on the web application. Here is a snippet from the log.
[28/May/2008:07:19:59] info ( 2427): CORE3276: Installing a new configuration
[28/May/2008:07:19:59] info ( 2427): WEB0100: Loading web module in virtual server [interakt] at [/ssl/onlineenroll]
[28/May/2008:07:20:00] info ( 2427): PWC1412: WebModule[/ssl/onlineenroll] ServletContext.log():Initializing Spring root WebApplicationContext
[28/May/2008:07:20:02] info ( 2427): CORE3280: A new configuration was successfully installed
[28/May/2008:07:20:02] info ( 2427): PWC1412: WebModule[/ssl/onlineenroll] ServletContext.log():Destroying Spring FrameworkServlet 'onlineenroll'
[28/May/2008:07:20:02] info ( 2427): PWC1412: WebModule[/ssl/onlineenroll] ServletContext.log():Closing Spring root WebApplicationContext
[28/May/2008:07:20:46] info ( 2427): for host 127.0.0.1 trying to GET /ssl/onlineenroll/action/enroll;jsessionid=AC1B582906B8ECBD422B72634CFDE128, service-j2ee reports: PWC1412: WebModule[/ssl/onlineenroll] ServletContext.log():Initializing Spring FrameworkServlet 'onlineenroll'
[28/May/2008:07:20:46] failure ( 2427): for host 127.0.0.1 trying to GET /ssl/onlineenroll/action/enroll;jsessionid=AC1B582906B8ECBD422B72634CFDE128, service-j2ee reports: WebModule[/ssl/onlineenroll]StandardWrapper.Throwable
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tilesConfigurer' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is org.apache.struts.tiles.DefinitionsFactoryException: IO Error while parsing file '/WEB-INF/tile-defs/definitions.xml'. */apps/SunWebsvr7/https-interakt/generated/interakt/ssl/onlineenroll/loader/org/apache/struts/resources/tiles-config_1_1.dtd (No such file or directory)*
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1302)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:463)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:404)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:375)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:263)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:170)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:260)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:184)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:163)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:430)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:354)
at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:292)
at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:262)
at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:126)
at javax.servlet.GenericServlet.init(GenericServlet.java:241)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1165)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:819)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:184)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:255)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
at com.sun.webserver.connector.nsapi.NSAPIProcessor.service(NSAPIProcessor.java:160)
Caused by: org.apache.struts.tiles.DefinitionsFactoryException: IO Error while parsing file '/WEB-INF/tile-defs/definitions.xml'. /apps/SunWebsvr7/https-interakt/generated/interakt/ssl/onlineenroll/loader/org/apache/struts/resources/tiles-config_1_1.dtd (No such file or directory)
at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseXmlFile(I18nFactorySet.java:523)
at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseFrom what I can tell, the following folder is deleted when a new deployment is made "/apps/SunWebsvr7/https-interakt/generated/interakt/ssl/onlineenroll/loader/org/apache/struts/"
If I stop the server instance and start it back then the directory "/apps/SunWebsvr7/https-interakt/generated/interakt/ssl/onlineenroll/loader/org/apache/struts/" is created when the web application starts up and the web application runs as expected.
Does anyone know what I can do to be able to hot deploy a web application and not get this error?
Any help would be appreciated.
Marty Jonesafter more research I have determined that the update process is deleting the loader folder when it completes the update process. The problem is that the web application needs this folder because the third party tag library definitions are stored underneath the loader folder. Here is where the loader folder is located.
/<SunOneInstallDir>/<ServerName>/generated/<web-app-name>/<context>/loader
When I stop the server instance and start it back up then the loader folder is created and sets the tab library definitions appropriately.
So the problem seems to be with the update process. -
Switching underlying database for existing application
I am exploring the possibility of switching database(from Oracle to Mysql) for an existing application, assuming both database have identical data structures.
Obviously we might need to remap some datatypes, and create links manually. Is there an efficient way of doing this without much breakage?
Thanks.User, you have to do mou re then just alter some data types. You have to change the Mets data too as you otherwise run into trouble when you run the application. Some interaction is calculated at runtime depending on the db type and data types chosen when you started the project.
Then you have to leverage the different functionality of the dbs. If you have used db specific functions in your java code, you have to reactor this code too.
Timo -
Using Password_verify_function for EBS Application Schemas
HI,
As you all know, EBS Application Schemas (ex: AP, AR, GL, HR, etc) are associated with the DEFAULT profile and DEFAULT profile PASSWORD_VERIFY_FUNCTION is set to NULL. If I alter DEFAULT profile and set PASSWORD_VERIFY_FUNCTION to make use of a complex password function as below or create a custom profile with a custom password function, I am not able to change the Schemas password using FNDCPASS.. it throws the below error:
APP-FND-02704: Unable to alter user PRP to change password.
APP-FND-01564: ORACLE error 1403 in changepassword
Cause: changepassword failed due to ORA-01403: no data found.
The SQL statement being executed at the time of the error was: and was executed from the file &ERRFILE.
According to metalink note # 1306938.1, it is mentioned that the error can be resolved by setting PASSWORD_VERIFY_FUNCTION back to NULL, which I dont want to do as we wont be able to enforce complex password function for the application schemas.
Please suggest
Thanks & Regards
AdarshaAccording to metalink note # 1306938.1, it is mentioned that the error can be resolved by setting PASSWORD_VERIFY_FUNCTION back to NULL, which I dont want to do as we wont be able to enforce complex password function for the application schemas.If the solution in this doc does not help then please log a SR.
Thanks,
Hussein -
Using AIR for all application.
Hi to all!
In this days i'm trying to use Adobe AIR with FLEX to build
RIA on Desktop and other application (like company managment and
other:) In past i used VB .NET, C++, C#, and JAVA. I know that this
are the language for "antonomasia" to build company managment
software, but for you, what is the negative aspect to use AIR in
Desktop application? For example:
- Performane? (Database handling is not optimal, or other
issue....)
- Using AIR interpreters means up RAM and CPU usage, or
others?
- Other..
Thanks boys!Its possible but you would need to tell each movieclip and audioclip to play/pause. You can create a for loop inside your mouse event function to find each movieclip and pause/play its timeline and a separate for loop for audio clips. Also instead of setting fame rate to 0 for pause just use a stop() command.
-
What are the advantages of using cirrus for multiuser applications ?
Hi!
Can anybody help me understanding the advantages of using cirrus for multiuser apps ?
One advantage i think, may be it's free . Isn't it ? Anything else ( say, it's faster .? )The main advantage is that it is a P2P system. It is not the same as a Flash Media Server or other Flash servers. When using Cirrus, your content is sent directly to and from clients, they do not need to send it to the server, get it interpreted and then send it to the other user.
So essentially Cirrus is fantastic if you have an application envrionment that needs multiuser interaction, but only for client to client operations: you'd want peer-to-peer. -
Deployment for JSP Application on OAS 4.0.8.2
Hi,
I would appreciate, if someone could share its experience of deploying the JSP application which utilizes certain JavaClasses for database access and businesslogic.
My question is that do we need to add JSP files or .java files created under the myprojects directory. Also where do we place the java classes.
Also, do I need to get my classpath settings in the environment variables for JSP's to run. Because my WinNT crashed twice on changing the env settings.
Any help shall be appreciated
ThanksHi ,
As u had said in the previous mail... I also have lot of basic doubts. Let us share them..
What do u mean by a JSP cartridge... Should i download it or something...
Regards,
Ganesh R -
Spotlight seems to be of no use except for finding applications
Whenever I search for music, pictures, videos, or even simple word documents on Spotlight, it returns no results unless I first click "Show All" so the Spotlight window comes up and then only by selecting "Home" under "Where". Whenever I search directly from the Spotlight icon, however, it's basically useless, except for finding applications. What's wrong with it? How can I fix it so that it searches for everything that it was made to find?
Eyeonic -
As you seem to be finding, Spotlight's kind of problematic. In my experience it manages both to find too little and too much.
-- "Too little" because, rather than search your hard drive, Spotlight searches its own index, which by design doesn't include everything on your computer; plus from time to time the indexing process simply doesn't complete itself, or the index becomes silently corrupt. I don't trust Spotlight searches.
-- "Too much" because the unrestricted Spotlight search from the menubar returns every document that contains even a whiff of your search term, the result being that you may have to slog through 400 hits to find the one document with the filename you specified. (You can perform the search using cmd-F and that will help a bit but it's a few more keystrokes.)
For simple filename searches I've found it is best to simply bypass Spotlight altogether and use the non-index-based utility EasyFind (http://www.versiontracker.com/dyn/moreinfo/macosx/11706). It's not as fast as the pre-Tiger cmd-F find but it produces more reliable and more predictable results than anything Spotlight can currently offer.
I'm hoping (without any particular basis for it however) that Apple makes Spotlight a little more useable in Leopard. -
I just bought a acer chrome book being told I can utilize PhotoShop on it and keep an easy platform to use. is it worth the trouble using PS for green screen on a chrome book?
We don't really do Green Screen with Photoshop, but it certainly does an excellent job of making transparent backgrounds for still images. It wouldn't be able to do this with video though.
Maybe you are looking for
-
Have tried to connect and sync my iphone 4 to my computer in itunes but this message keeps coming up The itunes Library .itl file is locked on a locked disk. or you do not have write permission for this file.
-
Can't reinstall Windows 7 with Operating System Recovery Disk x120e
Hi, I dabbled with Ubuntu on my Thinkpad x120e, but found that the dual-boot was unneccessary. I (likely foolishly) followed directions online to use EasyBCD (http://www.makeuseof.com/tag/nongeeks-guide-safely-uninstall-ubuntu-dualbooting-machine/)
-
Apple TV (2) refuses to stream, getting 2 hour downloads before it will even start help D
-
All songs selected will not transfer from iTunes to iPod
Previously my iTunes transferred accurately to my iPod. My most recent additions to my library are a couple of audio books. Now, one of my music CDs will not transfer to my iPod and only the first 6 chapters of one of my books will transfer. The rest
-
APs showing 'not associated' and 'not registered' in PI 2.1
I have got a weird issue in PI 2.1.0.0.87. WiSM2, running on version 7.4.121.21, shows reachable and managed/synchronized in PI. However, the APs managed by it show 'controller IP->not associated' and 'not registered'. It is been confirmed that the S