Changing the document root in WLS 6.0 SP1
Hello,
I want to change the deployment folder of
config/<domainName>/applications
to another folder in our source tree. Is this possible? The reason we
want to do this is because our root tree contains the java source code
and web-related content in our configuration management system. It
would seem very odd to map our web-related stuff to
/WLS6.0sp1/config/<mydomain>/applications and everything else to the
standard structure.
In 5.1, setting the weblogic.httpd.documentRoot property does this.
However, I understand that WLS 6.0 uses a classloader for the
/applications directory. Can I use a system to property to notify WLS
6.0 to look at a different directory instead?
There seems to be error in docs related to this.
http://e-docs.bea.com/wls/docs60///////config_xml/properties.html
Says DocumentRoot entry can be set in config.xml.
But the entry is not found in DTD (config.dtd)
http://e-docs.bea.com/wls/docs60///////config_xml/config.html
Thanks.
--Bahar
Bahar,
The docs you pointed out is absolutely right. There is no error in the
document.
If you want to change the document root make the following
modifications in your config.xml as per the example here:
<Application Deployed="true" Name="DefaultWebApp_myserver"
Path="d:\docmain">
<WebAppComponent Name="DefaultWebApp_myserver"
Targets="myserver" URI="www"/>
</Application>
Where Your document root is : d:\docmain\www
Make sure that you have web.xml under
d:\docmain\www\WEB-INF
Kumar.
Bahar Limaye wrote:
> Hello,
>
> I want to change the deployment folder of
> config/<domainName>/applications
> to another folder in our source tree. Is this possible? The reason we
> want to do this is because our root tree contains the java source code
> and web-related content in our configuration management system. It
> would seem very odd to map our web-related stuff to
> /WLS6.0sp1/config/<mydomain>/applications and everything else to the
> standard structure.
>
> In 5.1, setting the weblogic.httpd.documentRoot property does this.
> However, I understand that WLS 6.0 uses a classloader for the
> /applications directory. Can I use a system to property to notify WLS
> 6.0 to look at a different directory instead?
>
> There seems to be error in docs related to this.
> http://e-docs.bea.com/wls/docs60///////config_xml/properties.html
> Says DocumentRoot entry can be set in config.xml.
> But the entry is not found in DTD (config.dtd)
> http://e-docs.bea.com/wls/docs60///////config_xml/config.html
>
> Thanks.
>
> --Bahar
Similar Messages
-
How do I change the document root and servlets root in WL 6.0
Please reply fast.
Suresh WilsonIn 5.1, you specify the "name" via the property:
weblogic.httpd.webApp.NAME=<path_to_war>
... where NAME is the path in the URL where you want your webapp to be
access from
Say:
weblogic.httpd.webApp.sampleapp=/home/weblogic/product/wls/5.1/sample.war
... the application's root is http://hostname/sampleapp
In 6.0, it seems to be the name of the war file itself. I deployed the
war twice, one using sampleapp.war and the other using sampleapp2.war,
and the webapps' root are http://hostname/sampleapp and
http://hostname/sampleapp2, respectively.
Is this rigth? Well, that is at least what I observed. The admin docs
regarding deploying was not clear on what is defined as "name" or where
it gets it from ... until I tried the above.
For a while, I thought that the application's root are defined by the
servlet spec.
John
Gene Chuang wrote:
>
Servlets in 6.0 must be deployed in .war; "document root" setting is irrelevant in 6.0.
Gene
"suresh wilson" <[email protected]> wrote in message news:[email protected]..
Please reply fast.
Suresh Wilson
Homepage: http://homepages.tig.com.au/~jmsalvo/ -
How do I change the context-root of a web app with a deployment plan?
I've been trying to figure this out for several hours.
I'm deploying a .ear file which sets the context root for the single web application it deploys in its application.xml deployment descriptor:
<application>
<display-name>MyApp</display-name>
<module>
<web>
<web-uri>MyAppViewControler.war</web-uri>
<context-root>MyApp</context-root>
</web>
</module>
</application>
I want to change the context-root from /MyApp to something else when deploying the ear file. It seemed to me that using a deployment plan was the way to do this. But when I use this plan:
<deployment-plan>
<application-name>MyApp<application-name>
<variable-definition>
<variable>
<name>NEWCONTEXTROOT</name>
<value>foobar</value>
</variable>
</variable-definition>
<module-override>
<module-name>MyApp</module-name>
<module-type>ear</module-type>
<module-descriptor external="false">
<root-element>application</root-element>
<uri>META-INF/application.xml</uri>
<variable-assignment>
<name>NEWCONTEXTROOT</name>
<xpath>/application/module/web/context-root</xpath>
</variable-assignment>
</module-descriptor>
</module-override>
</deployment-plan>
I get an error:
weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
/bea/user_projects/domains/devod1/nullplan.xml:0: problem: cvc-complex-type.2.4a: Expected element 'web-uri@http://java.sun.com/xml/ns/javaee' instead of 'context-root@http://java.sun.com/xml/ns/javaee' here in element web@http://java.sun.com/xml/ns/javaee:<nullplan.xml>
I looked at http://e-docs.bea.com/wls/docs103/pdf/deployment.pdf which says:
"You cannot use a deployment plan to change the context-root in an application.xml
file. However, if an application is deployed as a library, you can either change the
context-root through an weblogic-application.xml file or use the deployment plan
to change the context-root in an weblogic-application.xml file."
I don't understand what this means. I'm not deploying my application as a library.
Does anyone know how to change the context-root for an application?
Any help would be greatly appreciated!Hi James,
I am quite new to Welogic if i am wrong please correct me.I have re-deployed my application (.war) with this Plan.xml
<?xml version='1.0' encoding='UTF-8'?>
<deployment-plan xmlns="http://www.bea.com/ns/weblogic/deployment-plan" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/deployment-plan http://www.bea.com/ns/weblogic/deployment-plan/1.0/deployment-plan.xsd" global-variables="false">
<application-name>BrowserR08.003</application-name>
*<variable-definition>*
* <variable>*
* <name>CONTEXTROOT</name>*
* <value>BrowserWeb/servlet/BrowserServlet</value>*
* </variable>*
* </variable-definition>*
<module-override>
<module-name>BrowserWeb.war</module-name>
<module-type>war</module-type>
<module-descriptor external="true">
<root-element>weblogic-web-app</root-element>
<uri>WEB-INF/weblogic.xml</uri>
<hash-code>1231953167814</hash-code>
*<variable-assignment>*
* <name>CONTEXTROOT</name>*
* <xpath>/weblogic-web-app/context-root</xpath>*
* <operation>add</operation>*
* </variable-assignment>*
</module-descriptor>
<module-descriptor external="false">
<root-element>web-app</root-element>
<uri>WEB-INF/web.xml</uri>
</module-descriptor>
<module-descriptor external="true">
<root-element>wldf-resource</root-element>
<uri>META-INF/weblogic-diagnostics.xml</uri>
</module-descriptor>
</module-override>
<config-root>/export/home1/tecapp/BrowserR08.003/plan</config-root>
</deployment-plan>
I do not know wether i will require the other module descriptor definition in this Plzn.xml. Now when I go to following link.
Deployments --> MyApp --> Testing
It gives me following url as a test page:
http://localhost:7001/BrowserWeb/servlet/BrowserServlet
as soon as i click on to the above link it redirects me to following.
http://localhost:7001/BrowserWeb/servlet/BrowserServlet/servlet/BrowserServlet
Same if i remove these context-root part my normal Testing menu shows me following link as my webapp access path
http://localhost:7001/BrowserWeb <-- My war file name is BrowserWeb.war so it is default name of my deployed application if i am not wrong
and as soon as i click on above link it redirects me to the following one.
http://localhost:7001/BrowserWeb/servlet/BrowserServlet
It means application server know that my full web access page is with '*servlet/BrowserServlet*' because its adding it in both the cases.
What I want is a constant URL whcih does not change?
Hope this helps :) -
How to change the document type while creating a PO by ME59N
Hi,
I have 2 groups of PR's, for group one the document type is picked as NB and PO is created and for the group 2 it should pick as XYZ and PO should be created using ME59N tcode.
How to change the document type for group 2 in ME59N? Which user exists to use to change the document type while creating PO in ME59N?
Can any one suggest me.Hi,
There a config area, where you can define default PO doc types for a particular Pr doc type. If you maintain the settings properly there, then your requirement can be fulfilled.
SPRO->IMG->MM->Purchasing->Purchase requisation->Define doc types.
This will serve your purpose.
Thanks,
Srinu -
Hi, I'm working on a document in PAges 09. Any idea on how to change the document color? I want it black instead of white.
Nichelle,
You must add your own background object, and then make it Black.
Insert > Shape > Rectangle
In the Wrap Inspector, set to Floating.
In the Graphic Inspector, set Stroke to None and set Fill to Black.
Grab the corners of the document and stretch the document to cover the entire page.
Back in the Wrap Inspector select "In Background".
Format > Advanced > Move Object to Section Master.
Regards,
Jerry -
How to Change the Document Condition Values in PO print
HI,
I have a requirement to change the document condition values in PO printout. We are using the copied form of MEDRUCK.
Please tell me how can i change the Document Condition Values at run time.
Thanks....hi
hence you have copied standard script you cant able to change the driver program for this you have to use itcsy structure.
go to the page window and select the window which you have the amount field. open the text editor of the windoiw here write
/: PERFORM CONTACT IN PROGRAM ZAMOUNT_ZF110_IN_AVIS1_C
/: USING ®UH-ZALDT&
/: CHANGING &DT&
/: ENDPERFORM
now create a report program with name ZAMOUNT_ZF110_IN_AVIS1_C.
and follow as the example program is .
*& Form CONTACT
text
-->IN_TAB text
-->OUT_TAB text
FORM contact TABLES in_tab STRUCTURE itcsy
out_tab STRUCTURE itcsy.
DATA : v_telf1 TYPE telf1.
DATA : v_telfx TYPE telfx.
DATA : v_adrnr TYPE ad_addrnum.
DATA : v_flagcomm6 TYPE ad_flgcm06.
DATA : v_datum(10) TYPE c.
DATA : v_sydatum TYPE sy-datum.
DATA : v_lifnr TYPE lifnr . " Santosh Rawat , 19th Feb
DATA : v_email TYPE ad_smtpadr . " Santosh Rawat , 19th Feb
LOOP AT in_tab.
IF in_tab-name = 'REGUH-LIFNR'.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' " Santosh Rawat , 19th Feb
EXPORTING
input = in_tab-value
IMPORTING
output = v_lifnr.
SELECT SINGLE telf1 telfx adrnr FROM lfa1
INTO (v_telf1, v_telfx, v_adrnr)
WHERE lifnr = v_lifnr.
SELECT SINGLE smtp_addr FROM adr6 " Santosh Rawat ,19th Feb
INTO v_email WHERE ADDRNUMBER = v_adrnr. " Santosh Rawat ,19th Feb
SELECT SINGLE flagcomm6 FROM adrc INTO v_flagcomm6
WHERE addrnumber = v_adrnr.
ELSEIF
in_tab-name = 'REGUH-ZALDT' OR in_tab-name = 'REGUP-BLDAT' .
MOVE in_tab-value TO v_datum.
REPLACE ALL OCCURRENCES OF '.' IN v_datum WITH ' '.
CONDENSE v_datum.
MOVE v_datum TO v_sydatum.
*CALL FUNCTION 'CONVERSION_EXIT_INVDT_INPUT'
EXPORTING
input = V_DATUM
IMPORTING
OUTPUT = V_DATUM
CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
EXPORTING
date_internal = v_sydatum
IMPORTING
date_external = v_datum
EXCEPTIONS
date_internal_is_invalid = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF.
ENDLOOP.
LOOP AT out_tab.
IF out_tab-name = 'TEL'.
MOVE v_telf1 TO out_tab-value.
ELSEIF out_tab-name = 'FAX'.
MOVE v_telfx TO out_tab-value.
ELSEIF out_tab-name = 'EMAIL'.
MOVE v_email TO out_tab-value. " Santosh Rawat , 19th Feb
ELSEIF out_tab-name = 'DT'.
MOVE v_datum TO out_tab-value.
ENDIF.
MODIFY out_tab FROM out_tab.
*MODIFY TABLE OUT_TAB .
ENDLOOP.
ENDFORM. }
reply for any query.
regards,
venkat. -
Can't seem to change the Document Properties > Advanced > Reading Options in a Form that was created in Adobe LiveCycle. This option has been "greyed" out - anyone know how to update this to English so I can pass Accessibility Testing?
LiveCycle forms use a very different approach to create a PDF form than Acrobat and that approach makes many features for processing PDFs non-functional.
You might want to ask this question in one of the LiveCycle product forums. -
Changing the Document Mode to IE9
I exported my Captivate project for HTML5, and the project works on my MAC and PC, but when testing it on another co-workers computer using IE9, she was unable to play the project, index.html. When she opened index.html, this is the response she received in her browser,
"The content you are trying to view is not supported in the current Document Mode of Internet Explorer. Change the Document Mode to Internet Explorer 9 Standards and try to view the content again.
To change the Document Mode, press F12, click Document Mode: , and then select Internet Explorer 9 Standards."
Is this something I can change in the CSS document within the project folder?
Any advise would be helpful.IE9 is not all that HTML5 ready. I would recommend you output for both HTML5 and HTM/SWF when you publish. If you do, you should see a file called Multiscreen.html. Ask your coworker to try that file instead.
-
Changing The Document: Not Allowed
Hi,
Kindly refer to this link - https://forums.adobe.com/thread/1565222 regarding with our issue on PDF files created using Acrobat Pro 7. When we open the files using higher versions the Changing the Documents and Document Assembly always marked as Not Allowed.
ThanksAttention: Acrobat Product EXPERT (Adobe Support HelpDesk)
PLEASE Reply -
How do I change the document name on my iPad after editing it?
I have forms to fill multiple time for different projects! On the iPad, I can not tell if they are different because I can't see the changes when saved to iBook or emailed. Do I have to wait until I'm at me PC, if yes the iPad and your app are useless!
You can change the document name before editing it, using the Duplicate feature. You can do this in the File Manager by going into ‘Edit’ mode, selecting the file, and choosing Duplicate option.
Adobe Reader currently does not support saving a copy of a file after changes are made to it (and not yet saved in the original). This is a feature we would consider for a future update.
Thanks for your feedback.
-Gaurav -
In Adobe 7, I need to add some pdf pages to the end of a document, but the insert pages (as well as all other items under Document> are greyed out.
On the document properties\ Security> the document restrictions summary says "Changing the Document: Not Allowed", but the Security Method in the drop down above is set to "No Security"
Thanks!If there are form fields, then whoever added them probably used the forms menu, not the Acrobat form fields. Thus the PDF was converted to Designer and you are out of luck. The FORMS button found in various places in Acrobat 7 and latter takes you to Designer, not the Acrobat form tools. The latter are located in the tools menu.
-
Changing the document size Attribute
Is it possible to change the document size Attribute to read in Kilobytes or MegaBytes, not just in bytes?
Thanks,Could you provide an example procedure to display the document size? We also want to display the item size in MBytes within a content area.
Thanks -
EXIT after changing the document status to Parked and complete
Hi,
I have an urgent requirement to findout a exit which will trigger after changing the document status to PARKED and COMPLETE. I need this for invoice and FI document.
I will really appreciate your help.
KuntalYes the Workflow Background process completed successfully with no errors. I see the error when I query up the Sales Order go to menu --> Workflow Status -->
Activity History.
The Activity History shows error in the Wait Function and the error message is 3001: Invalid command argument.?
This error message does not explain much. I followed all the steps in document# 397364.1
Don't know why it should end in error and how it can be fixed?
Any more ideas?
Thanks -
Dynamically change the document when the user opens it through a PDF Portfolio
Hello
I'm generating a PDF Portfolio using LiveCycle PDF Generator. I need to dynamically change the document that is presented when the user opens a PDF portfolio.
Can anyone give ideas on how to accomplish this using the portfolio and navigator API?
Thank youThat was it. What an operating system. It is very helpful to view files you are looking for. But if you have preview on you cannot save files.
-
Change the document flow, table CRMD_BRELVONAI
Hi experts,
We are using CRM and ISU. For few cases the ISUCONTRACT displayed in the CIC0 is wrong.
I would like to know if it's possible to change the document flow ? (the datas in table CRMD_BRELVONAI).
By transaction ?
by FM ?
Thanks in advance if you could help me.
Regards,
Nicolas.Nicolas,
Though I myself have not tried deleting any existing Doc Flow, but you can try using the Function Module: CRM_DOC_FLOW_UPDATE_DU.
If you get a better option please share.
Regards,
Shyamak
Maybe you are looking for
-
Filtering-find tasks that include a particular resource in subtasks? MicrosoftProject 2010
Hello everyone, I'm actualy working on a project on MicrosoftProject 2010. I met a problem when I would use the filter. I will try to explain: My project is built as below: Task A sub task A/resource Bert sub task A/resource ERNIE sub task A/resource
-
Swf flash files are not displaying neatly within table cells.
The latest version of Firefox (3.6.12) The website I have design now shows thick lines underneath the flash files. URL Below. The table of pictures should be neat, instead the cells in which the flash files are contained are increasing in height and
-
How to find an existing search help?
Hi Friends, How to find an existing search help for some certain fields? for example search help "H_TVKO" is for "Help view for Sales Organizations"[for the field VKORG], and search help "MAT1" is for "Find Material Number"[for the field MATNR]......
-
Every time I a go to a new page, whether it is the same site or not, I get a dialog box that appears that reads "Confirm Dialog Preference," and the options include yes or no. How do I get this to stop? It is really, really annoying.
-
How to repaint only a portion of the Screen
We are developing Graphics based application where we need to call repaint method again and again. Now repaint method repaints the whole screen but we want it to repaint only a portion of the Screen. Is it possible ? if yes then how ? Thanking You in