Manually edit config.xml
Hi,
I'm working with WL 8.1SP3, and I need to add the atribute 'StatementTimeout' to
'JDBCConnectionPool' entry in config.xml.
The weblogic console can not do the job, but manually edit config.xml work fine.
Subsequently when I use WL console to make other changes, the system overwrite any manual previous changes.
How can I make persistent manual changes in config.xml file?
On the new machine I am trying to create a new set of servers to be added to the cluster. However I am running into errors, of which various post suggest changing some of the security stuff in the config. But I have not found a way to persist my modifications. Each time I restart it gets overwritten again.
I am running in production mode, could this be the problem?
I have tried stopping everything, delete all .lok files on both machines, and restarting everything. On startup the .lok files reappear and my changes are reverted.
Similar Messages
-
Cannot start server after manually editing config files
I tried to add a service to default .props, but any change causes the server to not start. If I edit an xml file, it complains about a missing tag; if its plain text, then it can't seem to set properties right. I don't even enter a carriage return.
I use vi to edit the files. Is there anything else I can use??Sun Server 8.0 PE on Linux.
I added the httpjms value to the imq.service.activelist property in imq default.properties:
imq.service.activelist=jms,admin,httpjms
And that causes the server to not start with this error in server.log
MQ startup failed :[C4003]: Error occurred on connection creation [127.0.0.1:7676]. - cause: java.net.ConnectException: Connection refused -
Manually editing NetworkConfig.xml for multi-site VPN
I'm designing a network comprised of on-premise, Azure East US VNet and Azure North Central US VNet. East will be my production VNet and North Central will be backup/dev. I want them routed together as well and accessible via on premise-VPN with RRAS and
using point-to-site. I have successfully made all these connections individually in test scenarios but never simultaneously as the portal only has one field for a site-to-site VPN and this scenario requires two.
I understand it's possible to create this design by editing the NetworkConfig.xml file. However, it's confusing to me why even when making small or no edits to the NetworkConfig.xml file the portal tells me my existing networks will be deleted and re-created.
Does that take out my gateway IPs, etc as well? If so, I'll have to re-enter all the new IPs in RRAS and basically start from scratch. I have a few test VMs in each VNet as well to test connectivity between sites. I'm guessing those would have to go too or
the VNets wouldn't be able to be deleted in the first place.
Also, an unrelated static network that I make no changes to in the xml file says it will be updated when I upload even an unchanged NetworkConfig.xml. This is concerning as it's hard to know what downtime and issues I'm going to cause if I save the new file.
Any tips would be appreciated. My sense is you have to have your whole design in your head first, get it into the NetworkConfig.xml and then move forward with creating the gateways and entering your IPs into RRAS or whatever your VPN tool my be. Being able
to edit existing VNets, specifically adding additional site-to-site VPNs after they are in use would really be helpful. Perhaps this is possible and I'm missing something.Hi,
Firstly, you need to delete the gateway and all resources in the virtual network before you delete it.
In addition, based on my experience, you just need to add the local network sites parts into the network configuration file for a multi-site VPN connection. If you are afraid that the virtual
network configuration would be wrong after importing, I recommend you to keep the previous network configuration file as a backup. In addition, I am glad to help you with the network configuration file, you can also share me the whole network configuration
file and tell me some more detailed information about your requirement. (Please hide the Public IP addresses for your VPN gateways and VPN device.)
Meanwhile, you can also refer to the link below for reference:
https://msdn.microsoft.com/en-us/library/azure/dn690124.aspx
Best regards,
Susie
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
WLS6.0 config.xml documentation?
I've found the "documentation" for the config.xml, and the accompanying DTD.
However, these documents don't actually explain what the tags represent and,
more
importantly, how they interact with each other.
Where can I find this information?
Thanks
Jim Garrison
[email protected]Why have bea designed WebLogic 6.0 in such a way that makes editing the
config.xml file so awkward? It is farcical that I have to boot up a server,
deploy the console.war and then open up a browser just to change a few
values. Do bea discourage developing Java in the same way too? Ie. only
use an IDE and not a text editor?
It is very hard to develop a standard config.xml to store in source code
control when WebLogic insists on modifying it automatically and being very
picky about accepting manually edited changes. WebLogic 5.1 was a breeze in
comparison.
If bea really wanted to stop config.xml being modified manually then they
should have serialized data to it in binary format. They really haven't
thought about the impact of the config.xml and their MBean architecture very
well at all.
Just my opinion!
Myles
Viresh Garg wrote:
You should prefer using console instead of editing config.xml wherever
possible.
However, if you have some specific questions for some specific tags,post them.
>>
Viresh Garg
Principal Develeoper Relations Engineer
BEA Systems
Jim Garrison wrote:
I've found the "documentation" for the config.xml, and the
accompanying DTD.
However, these documents don't actually explain what the tagsrepresent and,
more
importantly, how they interact with each other.
Where can I find this information?
Thanks
Jim Garrison
[email protected] -
Read faces-config.xml in the runtime
I coding a new phaselistener in my app...
I need to list all managed-beans inside faces-config.xml and the classes...
Exists way to get this information without parse manually faces-config.xml ?
The API has way ?No.
Good practice is to extend or implement all backing beans one superbean, for example BaseBean, and then in the phaselistener do something like:if (someFoundObject instanceof BaseBean) {
// it's a managed bean instance.
} -
Order of nodes in config.xml
Hi,
as the console does not offer all possible configuration options, I have
to edit config.xml quite often. I think that it's quite inconvenient
that the nodes in config.xml seem to be sorted in some kind of random
order. Are there any ways to force WebLogic to keep an existing order or
at least write the nodes in alphabetical order, grouped by node names
(e.g. all datasources together)? Is something like that planned for the
future?
DanielHi,
Yes, unfortunately, the SUN 1.6 JVM will reorder the entries of any HashMap - therfore any Java implementation that uses Maps may have a different iteration order than what was observed in the past 1.4 and 1.5 releases of the JVM. Going forward all implementationation code should be HashMap order agnostic or implement their own sort order or use an extended implementation like LinkedHashMap which maintains insertion order.
thank you
/michael
www.eclipselink.org -
Any config.xml fields not viewable/editable in admin console?
While reading through the WL 10.3 docs, I discovered something very unexpected. There are some attributes that you can define in the config.xml that are not viewable or editable in the admin console. I found this in the "Programming WebLogic JTA" manual. The attributes in question are "MaxResourceUnavailableMillis", "MaxResourceRequestOnServer", and "MaxXACallMillis" in the JTA section.
Is this unique? Are there other elements or attributes that can only be viewed or set in the config.xml, and not in the admin console?Hi Arulazi,
Adding to Michael Wooten's post, the change you make (via the Tools ->
Preferences -> Path -> Port) only changes the port number to which Workshop
connects to. This will be used when you want the same IDE to connect to
different workshop enabled WebLogic Servers.
This change will not be reflected in the config.xml file.
The information will be updated in the .workshop file found in the
C:\Documents and Settings\username directory.
If you want to change the listen port for the server you will have to edit
it via the server console at http://localhost:7001/console
Hope this helps.
Thanks
Raj Alagumalai
WebLogic Workshop Support
,"Michael Wooten" <[email protected]> wrote in message
news:[email protected]..
>
Hi Arulazi,
I think this is just you assuming that changing the information in thatdialog
box, effects the config.xml of the WebLogic Server instance Workshop itsusing
I don't think it does anything to the config.xml. It only tells Workshopwhich
WebLogic Server instance you want it to use.
Again, unless you've actually seen some documentation that states thatperforming
the operation you mentioned changes the config.xml, I think the behavioryou are
currently getting is the way it is supposed to be :-)
Regards,
Mike Wooten
"Arulazi D" <[email protected]> wrote:
Hi,
When I try to update the server port number in the Weblogic Workshop
console (via
Tools -> Preferences -> Path -> Port), I was unsuccessful in achieving
that. I
changed port number from 7001 to 7010. This doesn't modify the
config.xml.
When
I start the samples server, it tries to start the server in the same
port (i.e.,
7001) causing bind exception. Is this something to do with configuration
file
not being updated. Am I getting wrong somewhere?
Any thoughts on this?
Thanks,
Arul -
Revision: 17548
Revision: 17548
Author: [email protected]
Date: 2010-09-01 14:09:14 -0700 (Wed, 01 Sep 2010)
Log Message:
Remove left-over event handler, which could trigger an unnecessary event if a player loaded plugins through the config XML file and manually (e.g. for static plugins).
Modified Paths:
osmf/trunk/libs/samples/ChromeLibrary/org/osmf/chrome/configuration/PluginsParser.asRemember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them. This may or may not be unique to Arch Arm, so you might try asking on their forums as well.
-
I am installing OIM/OAM in a cluster configuration using release 11.1.1.7.
I looked at the EDG here:
http://docs.oracle.com/cd/E28280_01/core.1111/e12035/toc.htm
And its pointing me to the 11.1.1.5 version
http://docs.oracle.com/cd/E21764_01/core.1111/e12035/toc.htm
So that is the guide I am following.
I am at this step:
18.1.5.2 Integrating Oracle Access Manager with Oracle Identity Manager by Using idmConfigTool
http://docs.oracle.com/cd/E21764_01/core.1111/e12035/wiring.htm#sthref356
When I run the config tool I get SEVERE messages like this one:
SEVERE: java.io.FileNotFoundException: ./config/jps-config.xml (No such file or directory)
Any suggestions on how to fix this ?
Please note that I can see jps-config.xml under the domain configuration in the fmwconfig directory.
Here is the complete output
Enter sso access gate password :
Enter sso keystore jks password :
Enter sso global passphrase :
Enter mds db schema password :
Enter idstore admin password :
Enter admin server user password :
********* Seeding OAM Passwds in OIM *********
Completed loading user inputs for - CSF Config
Completed loading user inputs for - Dogwood Admin WLS
Connecting to t3://admin.mycompany.com:7001
Connection to domain runtime mbean server established
Seeding credential :SSOAccessKey
Seeding credential :SSOGlobalPP
Seeding credential :SSOKeystoreKey
********* Activating OAM Notifications *********
Completed loading user inputs for - MDS DB Config
Jun 6, 2013 1:46:05 PM oracle.mds
NOTIFICATION: PManager instance is created without multitenancy support as JVM flag "oracle.multitenant.enabled" is not set to enable multitenancy support.
Jun 6, 2013 1:46:06 PM oracle.security.jps.internal.config.xml.XmlConfigurationFactory initDefaultConfiguration
SEVERE: java.io.FileNotFoundException: ./config/jps-config.xml (No such file or directory)
Jun 6, 2013 1:46:06 PM oracle.mds
NOTIFICATION: Auditing is disabled for component MDS.
Initialized MDS resources
Jun 6, 2013 1:46:06 PM oracle.mds
NOTIFICATION: PManager instance is created without multitenancy support as JVM flag "oracle.multitenant.enabled" is not set to enable multitenancy support.
Jun 6, 2013 1:46:06 PM oracle.security.jps.internal.config.xml.XmlConfigurationFactory initDefaultConfiguration
SEVERE: java.io.FileNotFoundException: ./config/jps-config.xml (No such file or directory)
Jun 6, 2013 1:46:06 PM oracle.mds
NOTIFICATION: Auditing is disabled for component MDS.
Jun 6, 2013 1:46:07 PM oracle.mds
NOTIFICATION: transfer operation started.
Jun 6, 2013 1:46:08 PM oracle.mds
NOTIFICATION: transfer is completed. Total number of documents successfully processed : 1, total number of documents failed : 0.
Upload to DB completed
Releasing all resources
Notifications activated.
********* Seeding OAM Config in OIM *********
Completed loading user inputs for - OAM Access Config
Validated input values
Initialized MDS resources
Jun 6, 2013 1:46:08 PM oracle.mds
NOTIFICATION: PManager instance is created without multitenancy support as JVM flag "oracle.multitenant.enabled" is not set to enable multitenancy support.
Jun 6, 2013 1:46:08 PM oracle.security.jps.internal.config.xml.XmlConfigurationFactory initDefaultConfiguration
SEVERE: java.io.FileNotFoundException: ./config/jps-config.xml (No such file or directory)
Jun 6, 2013 1:46:08 PM oracle.mds
NOTIFICATION: Auditing is disabled for component MDS.
Jun 6, 2013 1:46:08 PM oracle.mds
NOTIFICATION: transfer operation started.
Jun 6, 2013 1:46:08 PM oracle.mds
NOTIFICATION: transfer is completed. Total number of documents successfully processed : 1, total number of documents failed : 0.
Download from DB completed
Releasing all resources
Updated /oracle/product/fmw/Oracle_IAM/server/oamMetadata/db/oim-config.xml
Initialized MDS resources
Jun 6, 2013 1:46:08 PM oracle.mds
NOTIFICATION: PManager instance is created without multitenancy support as JVM flag "oracle.multitenant.enabled" is not set to enable multitenancy support.
Jun 6, 2013 1:46:08 PM oracle.security.jps.internal.config.xml.XmlConfigurationFactory initDefaultConfiguration
SEVERE: java.io.FileNotFoundException: ./config/jps-config.xml (No such file or directory)
Jun 6, 2013 1:46:08 PM oracle.mds
NOTIFICATION: Auditing is disabled for component MDS.
Jun 6, 2013 1:46:08 PM oracle.mds
NOTIFICATION: transfer operation started.
Jun 6, 2013 1:46:09 PM oracle.mds
NOTIFICATION: transfer is completed. Total number of documents successfully processed : 1, total number of documents failed : 0.
Upload to DB completed
Releasing all resources
OAM configuration seeded. Please restart oim server.
********* Configuring Authenticators in OIM WLS *********
Completed loading user inputs for - LDAP connection info
Connecting to t3://admin.mycompany.com:7001
Connection to domain runtime mbean server established
Starting edit session
Edit session started
Connected to security realm.
Validating provider configuration
Validated desired authentication providers
OAM Asserter already exists in the security realm
OAMIDAsserter is already configured to support 11g webgate
OIM Signature Authenticator already exists in the security realm
A type of LDAP Authenticator already exists in the security realm. Please create authenticator manually if different LDAP provider is required.
Control flags for authenticators set sucessfully
Reordering of authenticators done sucessfully
Saving the transaction
Transaction saved
Activating the changes
Changes Activated. Edit session ended.
Connection closed sucessfully
The tool has completed its operation. Details have been logged to automation.logi found this task :
JDev 11.1.1.1.0 + ADF+ BC4J application on Tomcat6 -
Updating defaultTimeout in adf-config.xml through WLST
Hello,
I hope i have this in the right area. I'm cross posting because I think I put it in the wrong place originally. If I get an answer, I'll cross link the two.
I'm trying to change the default, min and maximum timeouts for portlets that come from our WSRP portlet producing application. The documentation I found on the time outs says to edit adf-config.xml 1 and when editing the adf-config.xml do that via WLST ^2^.
1) portlet time out: [http://docs.oracle.com/cd/E17904_01/core.1111/e10108/webcenter.htm#BABIGHDC|http://docs.oracle.com/cd/E17904_01/core.1111/e10108/webcenter.htm#BABIGHDC]
<adf-portlet-config>
<defaultTimeout>5</defaultTimeout>
<minimumTimeout>2</minimumTimeout>
<maximumTimeout>100</maximumTimeout>
<adf-portlet-config>
2) editing adf-config.xml: [http://docs.oracle.com/cd/E17904_01/webcenter.1111/e12405/wcadm_app_config_files.htm#WCADM5019|http://docs.oracle.com/cd/E17904_01/webcenter.1111/e12405/wcadm_app_config_files.htm#WCADM5019]
I can not find the MBean in the bean browser that seems to hold this setting.
There is a bit of a conflicting message in the docs though. "If you must modify these properties, post deployment, you must edit adf-config.xml manually." But the doc that describes editing adf-config.xml says that using WLST are
So... Questions:
1) Are these three elements (defaultTimeout, minimumTimeout, and maximumTimeout) some exception to being set from WLST?
2) If not, what is the MBean I should find this setting in?
Thank you very much,
Marc
Edited by: MarcDavenport on Jun 26, 2012 12:37 PMMarc,
This is just a guess(have'nt done this), but I think the settings are not an exception, and you should be able to find the MBean here:
http://docs.oracle.com/cd/E17904_01/webcenter.1111/e12405/wcadm_intro.htm#BHCCJJED
This section of the doc seems to walk through an example setting properties in adf-config.xml
I would interpret those instructions in the official doc to mean :
1. If you don't mind changing this at deploy time and re-deploying(like we do when we're in deep development), you can change this and redeploy.
2. If you have a deployed application, you can make changes through WLST. But keep in mind that the changes you make through WLST will not be overwritten later when you change the adf-config in Jdev and redeploy.
(This lets you fine tune the timeouts for specific environments. ex: bigger timeouts for dev envs hosted with smaller resources/unstable un-optimized code, rather than guess a timeout that works for all environments )
Now comes the conflicting parts :
"If you must modify these properties, post deployment, you must edit adf-config.xml manually."
I think,they mean "manually using WLST". This can probabaly be done with both WLST commands and the MBeans.
Now once you make these changes to a deployed application, the changes you made are stored in MDS. This means that this "tuning" will survive a re-deployment.
So if we :
set the timeout to 1 minute initially at design time,
then change that to 5 minutes through WLST,
and then edit adf-config again in Jdev to a 10 minute value and redeploy,
the MDS still has the 5 minute value, and it will overwrite the 10 minute value we set later at design time and redeployed.
MDS documents are always applied on top of the deployed stuff.
The doc you refered to : http://docs.oracle.com/cd/E17904_01/webcenter.1111/e12405/wcadm_app_config_files.htm#CHDGEDGJ
does make a good explanation of how the changes persisted in MDS affects the final configuration.
Hop that helps ! -
Revision: 2934
Author: [email protected]
Date: 2008-08-20 14:47:00 -0700 (Wed, 20 Aug 2008)
Log Message:
Update resources/config/messaging-config.xml to reflect the recent changes to throttling code.
Modified Paths:
blazeds/trunk/resources/config/messaging-config.xmlO.k. Thanks for the clarification. I poked around in my TimeCapsule router's settings (TimeCapsule is an Apple Airport Extreme router with attached hard drive for wireless backup/storage). Unfortunately, it doesn't look like I can disable multicasting with the TimeCapsule. I can change the multicasting 'rate'. Settings are Low, Medium, High. It's currently set to Low.
I did a few web searches, and found an Apple.com article: <http://support.apple.com/kb/HT3789?viewlocale=en_US> which explained how to disable Bonjour Service Advertisements. I believe this is the same thing as 'Multicasting'. The process is a modification of "/System/Library/LaunchDaemons/com.apple.mDNSResponder.plist", and a restart of the Mac is required afterwards.
I'm a bit concerned that disabling multicasting will interfere with my AppleTVs and iTunes music sharing, but I may try it next time I'm up for a computer workout. This task will require editing of system preference files, could require multiple restarts, might interfere with my AppleTVs, could interfere with my iTunes file sharing, doesn't have a documented relationship to my problem.
This is way to difficult for something that should just work. Did you say you had read something about a relationship between this bonjour multicasting and smb connectivity? If it was online could you post the link?
I'm currently able to connect to the drive using NFS, but I have to manually configure that connection each time I reboot (can't get the 'Disk Utility' configured to do it automatically). While it's working with NFS, it's not my preferred connect method (for various reasons). -
Struts-config.xml not being parsed properly
Hi,
I'm new to struts and am having a weird problem. I've researched a lot and talked to a lot of developers and I still have a problem. The problem is as follows.
I am getting the following error when deploying my ear file on weblogic8.1:
<BEA-101216> <Servlet: "action" failed to preload on startup in Web application: "bpa".
javax.servlet.UnavailableException: Parsing error processing resource path
at org.apache.struts.action.ActionServlet.handleConfigException(ActionServlet.java:1035)
at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:1014)
at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:955)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:993)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:869)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:848)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:787)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3252)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3197)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3174)
at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5647)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:869)
at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2022)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2063)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2592)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2515)
at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2317)
at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2399)
at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2311)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2479)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170).
Now, when looking at the struts-config file, everything seems fine. However, when i remove the <form-bean> declarations, i don't get this error. Of course, without the form-bean declarations, the application comes to a halt when it needs them. I've tried almost everything under the sun and nothing has worked so far, i'm sure it's probably something simple and i'll feel like a complete idiot when it's figured out, but until then, can anyone help???
The config file looks as follows:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>
<!-- ========== Form Bean Definitions =================================== -->
<form-beans>
<!-- Register User form bean -->
<form-bean name="registerCustomerForm" type="au.com.bpa.web.RegisterCustomerForm" />
<!-- List Applications - customer - form bean -->
<form-bean name="listApplicationsForm" type="au.com.bpa.web.ListApplicationsForm" />
<!-- List Applications - cts - form bean -->
<form-bean name="listApplicationsCTSForm" type="au.com.bpa.web.ListApplicationsCTSForm" />
<!-- List Applications - call centre - form bean -->
<form-bean name="listApplicationsCallCentreForm" type="au.com.bpa.web.ListApplicationsCallCentreForm" />
<!-- Single Residence Application form bean -->
<form-bean name="singleResidenceApplicationForm" type="au.com.bpa.web.SingleResidenceApplicationForm" />
<!-- Single Residence Application Processing form bean -->
<form-bean name="singleResidenceApplicationProcessingForm" type="au.com.bpa.web.SingleResidenceApplicationProcessingForm" />
<!-- Upload Floor Plan Attachment form bean -->
<form-bean name="uploadArchitecturalFloorPlanAttachmentForm" type="au.com.bpa.web.UploadAttachmentForm" />
<!-- Upload Site Plan Attachment form bean -->
<form-bean name="uploadSitePlanAttachmentForm" type="au.com.bpa.web.UploadAttachmentForm" />
<!-- Upload Other Attachment form bean -->
<form-bean name="uploadAttachmentForm" type="au.com.bpa.web.UploadAttachmentForm" />
<!-- Remove Attachment(s) form bean -->
<form-bean name="removeAttachmentsForm" type="au.com.bpa.web.RemoveAttachmentsForm" />
<!-- Reject Application form bean -->
<form-bean name="rejectApplicationForm" type="org.apache.struts.action.DynaActionForm">
<form-property name="applicationPK" type="java.lang.Integer" />
<form-property name="comments" type="java.lang.String" />
</form-bean>
<!-- Edit restricted names form bean -->
<form-bean name="editRestrictedNamesForm" type="org.apache.struts.validator.DynaValidatorForm">
<form-property name="category" type="java.lang.String" />
<form-property name="name" type="java.lang.String" />
</form-bean>
<!-- Find by Id form bean -->
<form-bean name="findApplicationByIdForm" type="org.apache.struts.action.DynaActionForm">
<form-property name="idType" type="java.lang.String" initial="applicationId" />
<form-property name="idValue" type="java.lang.String" />
</form-bean>
<!-- Business Reports form bean -->
<form-bean name="businessReportsForm" type="org.apache.struts.action.DynaActionForm">
<form-property name="reportType" type="java.lang.String" />
<form-property name="from" type="java.lang.String" />
<form-property name="to" type="java.lang.String" />
</form-bean>
</form-beans>
<!-- ========== Global Exception Definitions ============================== -->
<global-exceptions>
<exception type="java.lang.Exception" key="errors.java.lang.Exception" path="/errors/applicationException.jsp" />
</global-exceptions>
<!-- ========== Global Forward Definitions ============================== -->
<global-forwards>
<forward name="invalidSession" path="/errors/invalidSession.jsp" />
<forward name="applicationException" path="/errors/applicationException.jsp" />
<forward name="notFound" path="/errors/notFound.jsp" />
<forward name="logoff" path="/common/logoff" />
<forward name="goSingleResidenceApplication" path="/common/goSingleResidenceApplication.do" />
<forward name="viewApplication" path="/common/viewApplication.do" />
<!-- customer -->
<forward name="customer/viewApplicationList" path="/customer/viewApplicationList.do" />
<!-- cts -->
<forward name="cts/viewApplicationList" path="/cts/viewApplicationList.do" />
<forward name="cts/unlockAndExit" path="/cts/unlockAndExit.do" />
<!-- call centre -->
<forward name="call-centre/viewApplicationList" path="/call-centre/viewApplicationList.do" />
</global-forwards>
<!-- ========== Action Mapping Definitions ============================== -->
<action-mappings>
<!-- Common Actions - All Roles -->
<!-- saves a request token -->
<action path="/goRegisterCustomer" type="au.com.bpa.web.SaveTokenAction">
<forward name="success" path="/registerCustomer.jsp" />
</action>
<!-- Register a User -->
<action path="/registerCustomer" type="au.com.bpa.web.RegisterCustomerAction" name="registerCustomerForm" input="/registerCustomer.jsp" scope="request" validate="true">
<forward name="success" path="/registerCustomer-success.jsp" />
<forward name="invalidToken" path="/errors/invalidToken.jsp" />
</action>
<!-- Process a logon -->
<action path="/common/logon" type="au.com.bpa.web.LogonAction" scope="request" validate="true">
<forward name="guest" path="/common/disclaimer.jsp" />
<forward name="customer" path="/common/disclaimer.jsp" />
<forward name="cts" path="/cts/index.jsp" />
<forward name="admin" path="/admin/index.jsp" />
<forward name="browserError" path="/errors/browserError.jsp" />
</action>
<!-- Single Residence Application Form -->
<action path="/common/singleResidenceApplication" type="au.com.bpa.web.SingleResidenceApplicationAction" name="singleResidenceApplicationForm" scope="request" input="/common/singleResidenceApplication.jsp" validate="true">
<forward name="submitted" path="/common/singleResidenceApplication-submitted.jsp" />
<forward name="manual" path="/common/singleResidenceApplication-manualValidationRequired.jsp" />
<forward name="invalidToken" path="/errors/invalidToken.jsp" />
</action>
<!-- submit a single residence app - saves a request token -->
<action path="/common/goSingleResidenceApplication" type="au.com.bpa.web.SaveTokenAction">
<forward name="success" path="/common/singleResidenceApplication.jsp" />
</action>
<!-- Upload Architectural Floor Plan Attachment Form -->
<action path="/common/uploadArchitecturalFloorPlanAttachment" type="au.com.bpa.web.UploadAttachmentAction" name="uploadArchitecturalFloorPlanAttachmentForm" scope="request">
<exception type="java.lang.Exception" key="errors.singleResidenceApplication.file" path="/common/addAttachment-error.jsp" />
<forward name="success" path="/common/addAttachment-success.jsp" />
<forward name="fileTypeError" path="/common/addAttachment-fileTypeError.jsp" />
<forward name="applicationException" path="/common/addAttachment-error.jsp" />
</action>
<!-- Upload Site Plan Attachment Form -->
<action path="/common/uploadSitePlanAttachment" type="au.com.bpa.web.UploadAttachmentAction" name="uploadSitePlanAttachmentForm" scope="request">
<exception type="java.lang.Exception" key="errors.singleResidenceApplication.file" path="/common/addAttachment-error.jsp" />
<forward name="success" path="/common/addAttachment-success.jsp" />
<forward name="fileTypeError" path="/common/addAttachment-fileTypeError.jsp" />
<forward name="applicationException" path="/common/addAttachment-error.jsp" />
</action>
<!-- Upload Attachment Form -->
<action path="/common/uploadAttachment" type="au.com.bpa.web.UploadAttachmentAction" name="uploadAttachmentForm" scope="request">
<exception type="java.lang.Exception" key="errors.singleResidenceApplication.file" path="/common/addAttachment-error.jsp" />
<forward name="success" path="/common/addAttachment-success.jsp" />
<forward name="fileTypeError" path="/common/addAttachment-fileTypeError.jsp" />
<forward name="applicationException" path="/common/addAttachment-error.jsp" />
</action>
<!-- Remove Attachment Form -->
<action path="/common/removeAttachments" type="au.com.bpa.web.RemoveAttachmentsAction" name="removeAttachmentsForm" scope="request" validate="true">
<forward name="success" path="/common/removeAttachments-success.jsp" />
</action>
<!-- view / edit an application -->
<action path="/common/viewApplication" type="au.com.bpa.web.ViewApplicationAction">
<forward name="editSingleResidenceApplication" path="/common/singleResidenceApplication.jsp" />
<forward name="viewSingleResidenceApplication" path="/common/singleResidenceApplicationView.jsp" />
</action>
<!-- Customer Actions - Customer Role -->
<!-- view list of submitted applications - customer -->
<action path="/customer/viewApplicationList" type="au.com.bpa.web.ListApplicationsAction" name="listApplicationsForm" scope="request" validate="false">
<forward name="success" path="/customer/listApplications.jsp" />
</action>
<action path="/customer/findApplicationById" type="au.com.bpa.web.ListApplicationsAction" name="findApplicationByIdForm" scope="request" validate="false">
<forward name="success" path="/customer/listApplications.jsp" />
</action>
<!-- CTS Staff Actions - CTS Role -->
<!-- view list of applications - cts -->
<action path="/cts/viewApplicationList" type="au.com.bpa.web.ListApplicationsCTSAction" name="listApplicationsCTSForm" scope="request" validate="false">
<forward name="success" path="/cts/listApplications.jsp" />
</action>
<action path="/cts/findApplicationById" type="au.com.bpa.web.ListApplicationsCTSAction" name="findApplicationByIdForm" scope="request" validate="false">
<forward name="success" path="/cts/listApplications.jsp" />
</action>
<!-- save user preferences -->
<action path="/cts/saveUserPreferences" type="au.com.bpa.web.SaveUserPreferencesAction">
<forward name="success" path="/cts/listApplications.jsp" />
</action>
<!-- process an application -->
<action path="/cts/processApplication" type="au.com.bpa.web.ProcessApplicationAction">
<forward name="success" path="/cts/processApplication.jsp" />
<forward name="noApplicationsAvailable" path="/cts/processApplication-noApplicationsAvailable.jsp" />
<forward name="sewerInGroupApplication" path="/cts/sewerInGroupApplication.jsp" />
<forward name="insufficientFunds" path="/cts/insufficientFunds" />
</action>
<!-- process an application -->
<!-- Single Residence Application Processing Form -->
<action path="/cts/singleResidenceProcessingApplication" type="au.com.bpa.web.SingleResidenceApplicationProcessingAction" name="singleResidenceApplicationProcessingForm" scope="request" input="/cts/processApplication.jsp" validate="true">
<forward name="invalidToken" path="/errors/invalidToken.jsp" />
<forward name="success" path="/cts/processApplication-success.jsp" />
<forward name="notValidated" path="/cts/processApplication.do" />
</action>
<!-- update a validation run -->
<action path="/cts/updateValidationRun" type="au.com.bpa.web.UpdateValidationRunAction">
<forward name="success" path="/cts/processApplication-success.jsp" />
<forward name="notValidated" path="/cts/processApplication.do" />
</action>
<!-- unlock application and return to list -->
<action path="/cts/unlockAndExit" type="au.com.bpa.web.UnlockApplicationAction" scope="request">
<!-- forwards to global forward cts/viewApplicationList -->
</action>
<!-- export application and return to list -->
<action path="/cts/exportApplication" type="au.com.bpa.web.ExportApplicationAction" scope="request">
<!-- forwards to global forward cts/viewApplicationList -->
</action>
<!-- approve application and return to list -->
<action path="/cts/forceApplicationApproval" type="au.com.bpa.web.ForceApplicationApprovalAction" scope="request">
<!-- forwards to global forward cts/viewApplicationList -->
</action>
<!-- reject application and return to list -->
<action path="/cts/rejectApplication" type="au.com.bpa.web.RejectApplicationAction" name="rejectApplicationForm" scope="request">
<!-- forwards to global forward cts/viewApplicationList -->
</action>
<!-- resolve insufficient funds -->
<action path="/cts/resolveInsufficientFunds" type="au.com.bpa.web.ResolveInsufficientFundsAction">
<forward name="success" path="/cts/insufficientFundsResolved.jsp" />
<forward name="failure" path="/cts/insufficientFundsNotResolved.jsp" />
</action>
<!-- Call Centre Staff Actions - Call Centre Role -->
<!-- view list of applications - cts -->
<action path="/call-centre/viewApplicationList" type="au.com.bpa.web.ListApplicationsCallCentreAction" name="listApplicationsCallCentreForm" scope="request" validate="false">
<forward name="success" path="/call-centre/listApplications.jsp" />
</action>
<action path="/call-centre/findApplicationById" type="au.com.bpa.web.ListApplicationsCallCentreAction" name="findApplicationByIdForm" scope="request" validate="false">
<forward name="success" path="/call-centre/listApplications.jsp" />
</action>
<!-- save user preferences -->
<action path="/call-centre/saveUserPreferences" type="au.com.bpa.web.SaveUserPreferencesAction">
<forward name="success" path="/call-centre/listApplications.jsp" />
</action>
<!-- view / edit an application -->
<action path="/call-centre/viewApplication" type="au.com.bpa.web.ViewApplicationCallCentreAction">
<forward name="viewSingleResidenceApplication" path="/call-centre/viewApplication.jsp" />
</action>
<!-- Admin Actions - Admin Role -->
<!-- show edit restricted names -->
<action path="/admin/editRestrictedNames" type="au.com.bpa.web.EditRestrictedNamesAction" name="editRestrictedNamesForm" scope="request" input="/admin/restrictedNames.jsp" validate="false">
<forward name="success" path="/admin/restrictedNames.jsp" />
</action>
<!-- add edit restricted and return to list -->
<action path="/admin/addRestrictedName" type="au.com.bpa.web.AddRestrictedNameAction" name="editRestrictedNamesForm" scope="request" input="/admin/restrictedNames.jsp" validate="true">
<forward name="success" path="/admin/editRestrictedNames.do" />
<forward name="invalidToken" path="/errors/invalidToken.jsp" />
</action>
<!-- delete edit restricted and return to list -->
<action path="/admin/deleteRestrictedName" type="au.com.bpa.web.DeleteRestrictedNameAction" name="editRestrictedNamesForm" scope="request" input="/admin/restrictedNames.jsp" validate="false">
<forward name="success" path="/admin/editRestrictedNames.do" />
</action>
<!-- show a business report -->
<action path="/admin/showBusinessReport" type="au.com.bpa.web.BusinessReportsAction" name="businessReportsForm" scope="request" validate="false">
<forward name="detailedProcessingStatistics" path="/admin/reportProcessingStatistics.jsp" />
<forward name="detailedPerformanceStatistics" path="/admin/reportPerformanceStatistics.jsp" />
<forward name="reasonsForRejection" path="/admin/reportReasonsForRejection.jsp" />
<forward name="reasonsForManualProcessing" path="/admin/reportReasonsForManualProcessing.jsp" />
<forward name="keyPerformanceIndicators" path="/admin/reportKeyPerformanceIndicators.jsp" />
<forward name="applsWithoutWaterService" path="/admin/reportApplsWithoutWaterService.jsp" />
</action>
</action-mappings>
<!-- ========== Controller Configuration ================================ -->
<controller>
<set-property property="maxFileSize" value="2M" />
<set-property property="debug" value="4" />
</controller>
<!-- ========== Message Resources Definitions =========================== -->
<message-resources parameter="au.com.bpa.web.ApplicationResources"/>
<!-- ========== Plug Ins Configuration ================================== -->
<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property property="pathnames" value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml" />
</plug-in>
</struts-config>
This application was originally designed using JBuilder, but now i'm migrating it to Eclipse.
Also, i tried to change the path to one of the form-beans to something that didn't exist, just to see what error i got, and it didn't do anything.
Any help would be much appreciated.
Osireion.hi
i am facing the same problem....while iam trying to execute the following error has occured...
i checked the struts-config.xml file ..if i remove the form beans tag then every thing will be correct ...can some body help me please..........
javax.servlet.UnavailableException: Parsing error processing resource path
at org.apache.struts.action.ActionServlet.handleConfigException(ActionServlet.java:1035)
at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:1014)
at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:955)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:668)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
at java.lang.Thread.run(Thread.java:536) -
Struggling to understand Service Profiles and jabber-config.xml
Hi,
I am doing my first Jabber 9.1 deployment and am striggling to understand the use of Service Profiles.
Lots of documentation I have seen states that the jabber-config.xml file should be manually edited then uploaded to the CUCM TFTP servers.
However much of the information contained in this file seems to be the same as that specified in Service Profiles.
When should I use Service Profiles? - do they generate the default jabber-config.xml file or do they have some other purpose?
The documentation seems confused and contradictory!
ThanksNeither wins. The client will use one or the other depending on the platform and version.
I am struggling to like Jabber - it seems there is a lack of quality documentation and lots of gotchas for the unwary.
I can sympothize with that opinion. There is documentation but it sort of assumes you already know how the puzzle should look and only need guidence on completing individual tasks. The gotchas are a byproduct of the speed they are running development at. IMO this will settle down a bit around the 10.0 release of the *clients* (which will be after the system release of the server software). Every solution has gotchas, we're just a bit battle-weary of them on this one.
For the moment, Jabber mastery is sort of a rare skillset similar to CCX: many can script, few can do it well. Few can make Jabber "sing" at the moment.
Please remember to rate helpful responses and identify helpful or correct answers. -
Creating jsf faces-config.xml file
Hello.
I'm a newbee on Sun Java Studio Enterprice and have just converted from Borland Jbuilder.
In borland, if I create a new "webmodule" and include the jfs library, Borland automaticaly creates the faces-config.xml file for me. The IDE then helps me keep this file up to date.
After creating a new project in Sun Java Studio Enterprice I have gone into propereties and included the jsf-1_1_01.zip file (I googled jsf library and found this file. If I include this file I get access to the <h: -taglib etc so it seems to be working). But the IDE doesn't create the faces-config.xml file.
Do I need to create this manually or what do I do wrong?As an alternative to Creator (which mostly implies WYSIWYG editing of JSP pages) you can consider NetBeans 5.0 or NetBeans 5.5 Beta. They also support JSF.
-
Configure JDBC component schema - manually edit the property
Hello,
I need help you manually editing one of the "configure JDBC component schema" under "Fusion Middleware configuration wizard" .
I have done some mistake and due to which I am not able to start my server and since I am working from a remote machine, I am not able to get the UI appearance of wizard properly. I am looking for file where I can edit those values manally.
Could someone please advice me how I can go and manually edit the properly file where these values are stores.Hi,
The files are in $DOMAIN_HOME/config/jdbc
Each file is a data source, the name pattern is [data-source-name]-[number]-jdbc.xml
Cheers,
Vlad
Maybe you are looking for
-
Hi This thread is related to Intercompany sales.Say I have two company codes 1000 and 2000. One customer orders material X from Sales Org 1000 which belongs to company code 1000.And in Sales org 1000 a special scheme is running say if you buy 100 nos
-
How to upgrade imac os from 10.4.11 to 10.5 or later?
my iMAC OS is 10.4.11 - I want to sync my iphone with my iMAC, but when I try to download the latest iTunes, it says I need 10.5. How to do I get the OS upgrade and how will the upgrade effect my applications and data?
-
Is there a plugin for CS6 that I need to download to get my HP Officejet 7612 Wide Format Printer to be compatible with my MacBook Pro that is running my CS6 program?
-
Anybody else having this issue,seems to have started after the update to iOS 6.0 thought iOS 6.0.1 had a fix for it but nada
-
Acrobat 9 Pro: Dragging multiple pages by their thumbnails
Re: Acrobat 9 Pro: Dragging multiple pages by their thumbnails. In Acrobat 9 Pro for Mac, it used to be that I could click on a single thumbnail page in the Pages Navigation Panel (the thumbnail image of that single page would turn blue), then shif