How to create a deployment plan for an existing application?
Using WebLogic 10MP1.
I have an existing EAR deployment, and I want to create a deployment plan so I can make changes to it without changing the EAR file itself. My goal is to change the value of the "precompile" flag in all the web modules.
I've read the documentation on creating deployment plans, and it doesn't seem like it's doing anything. That is, I was able to run "weblogic.PlanGenerator" from the command line, but that's about my only success.
The doc says that if you make a change to the app config and save it, that will prompt for a place to save the deployment plan. This seems odd, as I'm pretty sure I've never seen a prompt like that before. It didn't happen for me. As a test, I tried changing the "Deployment Order" field. I activated it, and then I changed it back and activated that. No deployment plan prompt.
I then read that if there is a "plan" subdirectory off the application root containing the deployment plan, WebLogic will use that at deployment. So, I created a "plan" subdir in my EAR tree, put the generated (from "weblogic.PlanGenerator") plan there, and restarted. I didn't notice any log message about the plan, and when I logged into the console to check the "Deployment Plan" tab on the deployment ("Tuning Parameters" subtab), it says "No variables present".
I must be missing some simple detail.
In case anyone else ever has this problem, I've been able to resolve this.
I used "weblogic.planGenerator" on the command line to get a deployment plan to start with. The obstacle I had was actually finding the "Update" button. For some reason I had thought this button the docs refer to was on the "Deployment Plan" tab in the configuration of the deployment. It's actually on the list of the deployments, and is active when the deployment you want to configure is checked.
Once I got there, I was able to enter the path to my deployment plan, which I edited to produce the result I wanted (turning on "precompile" on most of the modules). Once I stored all that and restarted my server, I was able to verify that the server was precompiling on deployment (although it's hard to tell if I don't have any JSP compile errors. :) ).
Similar Messages
-
Step by step on how to create organizational structure(plan) for workflow?
Hi Experts,
Can anyone send me a step by step process on how to create organizational structure(plan) for workflow?
Thanks a lot in advance.
Rgds,
TMHi,
You can use the following accessible transactions to process your organizational plan:
Transaction Name of Transaction
PPO5 Change Attributes
PPO6 Display Attributes
PPOCE Create Organization and Staffing
PPOCW Create Organization and Staffing (WF)
PPOME Change Organization and Staffing
PPOMW Change Organization and Staffing (WF)
PPOSE Display Organization and Staffing
PPOSW Display Organization and Staffing (WF)
PP01 Maintain Plan Data (Menu)
PP01_DISP Display Plan Data (Menu)
PP03 Maintain Plan Data (Actions)
PP03 Execute Action Directly
Regards,
Deepa Kulkarni -
How to create a credit memo for an existing sales order !
Can any body help for how to create a credit memo for an existing sales order !
Hi,
It is actually possible to create credit memos from sales orders though it is not followed in most of the scenarios.
We have got a scenario in commodity trading that a sales order will be created with positive value. Once the swaps are settled by the portfolio mngt team, if we have to give some money to the payer, then a credit memo will be greated (as in their case all invoices will have only +ve value as net value) with reference to the sales order. In the copy control, the main field to be taken care of at itme level is the PRICING TYPE for which a value of F has to be maintained. This will convert the sign of the values and fix them. Now a credit memo will be created for teh saels order.
In this case, the document cateogyr of sales order will be C in VBAK, but it will be K in VBFA table which is the table for document flow.
Hope this answers your question. You can reward if it helps you.
Otherwise the normal process is
SALES ORDER---INVOICECREDIT MEMO REQUEST----CREDIT MEMO -
How to create an rss feed for a database application page
Hi
I need to create a web service for an apex application page so that it can be utilized and hosted another server of apex. For that we thought of creating an rss feed for that application page.
Please help me out how to create an rss feed for an apex page.
Thanks in advance.
Regards
Sandeep ArthamHi,
This might help
http://download.oracle.com/docs/cd/E23903_01/doc/doc.41/e21674/advnc_web_services.htm#sthref2628
Also Blog posts
http://tylermuth.wordpress.com/2008/01/22/producing-rss-from-plsql/
http://richmurnane.blogspot.com/2010/03/oracle-apex-creating-simple-rss-feed.html
http://www.apex-blog.nl/node/8
Regards,
Jari -
How to create a .exe file for a java application
Hi, I want to create a .exe file for a java application I am developing so that I can schedule it to run at a particular time using Windows Scheduler on WinNT. Is there any way to accomplish this? Or is there any other way in which a Java application can be scheduled to run at a particular time on Windows everyday?
Create a .bat file and run that. Just have, in the .bat file:
java YourClassName Alternatively, you can use javaw YourClassName (without *.bat, just put it into Windows Scheduler like suggested above).
using javaw won't pop up any window... -
How to create a Z BlView for a PCUI application
Hi can someone tell me the steps to copy and create new Blview for a PCUI application. I'm working with CRM5.0 and need to create a new view for Products Pcui Application.
Regards
-ReceThere are free programs for sure that create exe from jar. Unfortunately I forgot the names. Google it. And you can just add some crap (forgot which) in manifest file that will make jar itself executable
Edited by: javiator on Jun 27, 2008 7:52 AM -
How to create backup maintenance plan for SQL 2014
Depending on your backup product, it may include a hot backup for SQL - check that too
I need to create a basic maintenance plan that backs up our DB nightly and also need some pointers on any other maintenance that should be done would be great. Obviously I'm very new to using SQL, trying to get my feet wet.
This topic first appeared in the Spiceworks Community -
How to create the deployment descriptor with the sun application server
I have packaged my .war and ejb-jar files. I go to autodeploy and it says i need a deployment descriptor?
this is actually an example .ear file that i am trying to run. When i create the client with the deploytool that comes with suns application server i get
C:\appclient>appclient -client swe645-appClient.jar
Caught an unexpected exception!
javax.naming.NameNotFoundException: EditEmpBean not found
at com.sun.enterprise.naming.TransientContext.doLookup(TransientContext.
java:185)
at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.ja
va:157)
at com.sun.enterprise.naming.SerialContextProviderImpl.lookup(SerialCont
extProviderImpl.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(Reflecti
veTie.java:123)
at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispa
tchToServant(CorbaServerRequestDispatcherImpl.java:648)
at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispa
tch(CorbaServerRequestDispatcherImpl.java:192)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest
Request(CorbaMessageMediatorImpl.java:1709)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest
(CorbaMessageMediatorImpl.java:1569)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(C
orbaMessageMediatorImpl.java:951)
at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.call
back(RequestMessage_1_2.java:181)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest
(CorbaMessageMediatorImpl.java:721)
at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatc
h(SocketOrChannelConnectionImpl.java:473)
at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(
SocketOrChannelConnectionImpl.java:1262)
at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.
run(ThreadPoolImpl.java:409) -
Create an installment plan for an existing invoice
Hi gurus,
We have invoiced a customer and now want to make the invoice payable by instalments, is there any way this can be done using the existing invoice?
It would not be appropriate to creit the invoice and recreate it as a periodic contract.
Thanks
CiaraHi,
You may use the SAP standard periodic or milestone billing functionalty as suite to your requirments or need.
with regards
Vivek. -
Deploying reports for a WPF application
hi,
we should create and deploy reports for a WPF application. The app is developed in VS 2013, following the MVVM pattern and using Oracle DB.
We are newbie with this matter, so we are searching the best approach to accomplish the job. Our goal would be detach reports from the deployment package and store them to a server folder, so that users can run them by editing something like:
http://myserver/myapp/reports/[reportname]
The issue we are experiencing is that reports seem to be launch from the user's computer, and need a Oracle Client installed on each client computer to load data, while the application works with no Oracle Client installed. We tried both Crystal Reports
and Report Viewer, and installed an Oracle Client on the report server; but we could not get them to work. we also tried to install ReportViewer Reporting Service, but we dont know how it works. notice that company policies forbid installing Oracle Client
in the client computers.
Can anybody give us some hint on what is the correct approach to solve our problem? thanksHi,
ClickOnce deployment allows you to publish Windows-based applications for simplified installation.
For how to create Report , You'd better consult following forum:
#Report Viewer
http://social.msdn.microsoft.com/Forums/en-US/home?forum=vsreportcontrols
Oracle and Crystal Reports is third party software,I recommended to consult the software provider directly, I think they can give more precise troubleshooting.
Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to create different log files for each of web applications deployed in OC4J
Hi All,
I am using OC4J(from Oracle) v1.0.2.2 and Windows2000. Now I want to know
1. how to create different log files for each of my deployed web applications ?
2. what are the advantages in running multiple instances of oc4j and in what case we should run
multiple instances of OC4J ?
3. how to run OC4J as Windows2000 Service rather than Windows2000 Application ?
Thanks and Regards,
Kumar.Hi Avi,
First of all I have given a first reading to log4j and I think there will some more easy way of logging debugging messages than log4j (If you could provide me a detailed explanation of a servlet,jsp,java bean that uses log4j and how to use log4j then it will be very helpful for me). The other easy ways (if I am not using log4j) to my problem i.e creating different log files for each of web applications deployed in oc4j are
I have created multiple instances of OC4J that are configured to run on different ports and so on each instance I have deployed a single web application . And I started the 2 oc4j instances by transferring thier error/log messages to a file. And the other way is ..
I have download from jakarta site a package called servhelper . This servhelper is a thread that is started in a startup servlet and stopped in the destroy method of that startup servlet. So this thread will automatically capture all the system.out.println's and will print those to a file. I believe that this thread program is synchronized. So in this method I need not run multiple instances of OC4J instead each deployed web application on single instance of oc4j uses the same thread program (ofcourse a copy of thread program is put in each of the deployed web applications directories) to log messages on to different log files.
Can you comment on my above 2 approached to logging debugging messages and a compartive explanation to LOG4J and how to use LOG4J using a simple servlet, simple jsp is appreciated ...
Thanks and Regards,
Ravi. -
How to create a public view for sharepoint list A and deploy this view to specific user personal view? Is that possible OOTB?
Views cannot be exported or moved. Can you elaborate your requirement?
--Cheers -
1. How to create an explain plan with rowsource statistics for a complex query that include multiple table joins ?
When multiple tables are involved , and the actual number of rows returned is more than what the explain plan tells. How can I find out what change is needed in the stat plan ?
2. Does rowsource statistics gives some kind of understanding of Extended stats ?You can get Row Source Statistics only *after* the SQL has been executed. An Explain Plan midway cannot give you row source statistics.
To get row source statistics either set STATISTICS_LEVEL='ALL' in the session that executes theSQL OR use the Hint "gather_plan_statistics" in the SQL being executed.
Then use dbms_xplan.display_cursor
Hemant K Chitale -
How to create a password file for executing psadmin command to deploy portl
how to create a password file for executing psadmin command to deploy portlet
What you have done is perfectly right. The password file doesn't have anything else apart from the password
for example in your case
$echo password > /tmp/password.txt
However I remember that in windows install, the Application server used to wait for a user's input when a deploy was to be done for the first time. So Can you read the Release notes or the Readme file which has come with windows.
The solution was,
manually use asadmin command of application server to deploy some war (any webapp will do), at this time, a question will be prompted to accept a certificate. once this is done, deploy portlet should work fine!!!
HTH -
How to create and deploy a simple jstl applicaton in weblogic 10.3.3
How to create and deploy a simple jstl applicaton in weblogic 10.3.3
1) Since JSTL libraries are provided as Web application libraries, they must be deployed before the Web application that is using JSTL functionality is deployed. The libraries can be deployed using the Administration Console or with the command-line weblogic.Deployer tool.
Here’s an example of deploying a JSTL 1.2 library using the weblogic.Deployer command-line:
java weblogic.Deployer -adminurl t3://localhost:7001
-user weblogic -password weblogic
-deploy -library
d:/beahome/wlserver_10.3/common/deployable-libraries/jstl-1.2.war
This command deploys the JSTL 1.2 library using the default library-name, specification-version and implementation-version defined by the MANIFEST.MF in the library.
After a library is deployed, the extension-name, specification-version and implementation-version of the library can be found in Administration console. This information can also be found in the MANIFEST.MF file of the library WAR file.
For more information on deploying a Web module refer below URL
http://docs.oracle.com/cd/E15051_01/wls/docs103/deployment/deployunits.html
2) To reference a JSF or JSTL library, a standard web application can define a <library-ref> descriptor in the application’s weblogic.xml file. Here is an example:
<library-ref>
<library-name>jsf</library-name>
<specification-version>1.2</specification-version>
<implementation-version>1.2.0</implementation-version>
<exact-match>false</exact-match>
</library-ref>
For more information on referencing a Web application library refer below URL
http://docs.oracle.com/cd/E15051_01/wls/docs103/programming/libraries.html
3) Create a sample JSP in your application and JSP should look as shown below
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<html>
<head>
<title>TestJSTL</title>
</head>
<body>
<c:set var="topic" value="JSTL" />
<c:out value="${topic}" />
</body>
</html>
4) Create WAR and deploy and test.
Edited by: Murali Veligeti on Jul 26, 2012 9:00 AM
Maybe you are looking for
-
Family Sharing won't work because I have two separate accounts for iCloud and iTunes
I have two Apple accounts, one that is connected to my iTunes Store purchases, and another for iCloud. I had to do this for reasons related to transitioning from the old MobileMe service to iCloud a few years ago. So now with Family Sharing, if I use
-
The 4 or 5 finger gesture does nothing on my iPad 1. Why?
I've read the manual in the over view and don't see that it is only applicable to iPad 2...
-
Hello all I have recently pulled out my 3TB Time capsule and attempted to use it to back up my all Mac network, starting with just my desktop. I gave up on it before and started using Time Machine with WD EHD's which work fine. The reason that I gave
-
Is there a way to password-protect the Mail app?
I've looked through the Settings and didn't see anything. I know I can password-protect the entire device, but that seems like overkill. Is there something I'm missing or even an app that would let me password-protect just the Mail app?
-
10.4.9 Update. Are there lots of problems out there?
Hi, I am about to use my Powerbook G4 1GHZ, 768 RAM, 60GB Hard Drive for a really important theatre gig next. I have upgraded it to 10.4.9. and am wondering if I should reinstall 10.4.8 if it is more stable than .9 I will be running an audio software