Config.xml Realm tag not in DTD?
The config.xml generated and maintained by the console app
contains a <Realm> tag, but this tag does not appear in the
DTD at http://edocs.bea.com/wls/docs60/config_xml/config.html
This tag appears to be critical to the functioning
of my CustomRealm, but the console app generates it
incorrectly. It generated:
<Realm FileRealm="wl_default_file_realm" Name="wl_default_realm"/>
but my app will authenticate correctly only if this tag reads:
<Realm CachingRealm="CofinitiCachingRealm"
FileRealm="wl_default_file_realm" Name="wl_default_realm"/>
There doesn't seem to be any place to set this attribute
in the console app.
Can someone please correct the DTD and documentation to explain
how this tag interoperates with all the other realm tags
(NTRealm, CachingRealm, CustomRealm, etc).
Thanks.
By the first <Realm> node below it appears that your config was set to not
use a
caching realm. If you go into the console, and then click on the
"Security" node
itself in the left hand frame (not one of the realms below it, but the
actual Security
line/icon), the dialog on the right comes up with a select list to choose
which caching
realm you want. It's "(none)" by default, which would map to your first
<Realm...>
example below. If you select "CofinitiCachingRealm" in that select list
(assuming
it's already created) and then hit "Apply", then it should set the config
properties
as your second <Realm> tag shows below.
"Jim Garrison" <[email protected]> wrote in message
news:3ab78ed7$[email protected]..
>
The config.xml generated and maintained by the console app
contains a <Realm> tag, but this tag does not appear in the
DTD at http://edocs.bea.com/wls/docs60/config_xml/config.html
This tag appears to be critical to the functioning
of my CustomRealm, but the console app generates it
incorrectly. It generated:
<Realm FileRealm="wl_default_file_realm" Name="wl_default_realm"/>
but my app will authenticate correctly only if this tag reads:
<Realm CachingRealm="CofinitiCachingRealm"
FileRealm="wl_default_file_realm" Name="wl_default_realm"/>
There doesn't seem to be any place to set this attribute
in the console app.
Can someone please correct the DTD and documentation to explain
how this tag interoperates with all the other realm tags
(NTRealm, CachingRealm, CustomRealm, etc).
Thanks.
Similar Messages
-
ASC 2.0 ant - does not load compiler constants from config.xml files
Constants added to the mxmlc task with a config xml file do not work.
Below, the CONFIG::debug and CONFIG::release constants will compile, but the one defined in the config-common.xml file (CONFIG::pi) does not.
Portion of an ant macro:
<mxmlc
file="@{source.dir}/@{source.file}"
output="@{output.dir}/@{project.name}.@{output.extension}"
debug="@{debug}"
target-player="@{target-player}"
accessible="@{accessible}"
use-network="@{use-network}"
swf-version="@{swf.version}"
inline="@{inline}"
default-frame-rate="@{frameRate}"
>
<default-size width="@{width}" height="@{height}" />
<source-path path-element="@{source.dir}" />
<define name="CONFIG::debug" value="@{debug}"/>
<define name="CONFIG::release" value="!CONFIG::debug"/>
<load-config filename="config-common.xml" />
<load-config filename="config-as-beta.xml" />
<load-config filename="@{load-config}" />
<arguments />
</mxmlc>
contents of config-common.xml:
<flex-config>
<compiler>
<define append="true">
<name>CONFIG::pi</name>
<value>3.1415926535897932384626433832795</value>
</define>
</compiler>
</flex-config>
Compiling a ".as" file with something something like "trace(CONFIG::pi);" will result in "Error: Can not resolve config constant: 'pi'" with the ant macro.
Using the Flash Builder 4.7 compiler with "Addition compiler arguments" set to "-define+=CONFIG::debug,true -define+=CONFIG::release,false -load-config+=config-common.xml -inline" does not produce the error.I'm not sure I added the bug to the right place anymore. It's been added to bugbase.adobe.com under AIR 3.4, but I'm not sure if that covers the actionscript compiler 2 or not because I found another bug tracker at bugs.adobe.com. The actual bug is here: https://bugbase.adobe.com/index.cfm?event=bug&id=3339017
Does anyone know where to post bugs for the actionscript compiler 2.0? -
PageFlow in adfc-config.xml or in task-flow defination not working.
I want to share the data across multiple pages for a given taskflow. Hence kept the bean in taskFlow scope in adfc-config.xml. But bean is not getting instantiated when i try to print its value in one of page in taskflow.
<af:outputText value="#{pageFlowScope.PricingProfileSelector}"/>
I tried to put the bean defination in task flow defination and removed from adfc-config.xml. but still not able to instantiate it.
If the change the scope to session or request, the bean gets instantiated.
Any suggestion.!!I am using any variable at all for now. This is my scenario.
<managed-bean id="__34">
<managed-bean-name id="__31">profileSelector</managed-bean-name>
<managed-bean-class id="__33">oracle.communications.brm.pdc.ui.view.selector.PricingProfileSelector</managed-bean-class>
<managed-bean-scope id="__32">pageFlow</managed-bean-scope>
</managed-bean>
<managed-bean id="__73">
<managed-bean-name id="__74">profileSelector1</managed-bean-name>
<managed-bean-class id="__72">oracle.communications.brm.pdc.ui.view.selector.PricingProfileSelector</managed-bean-class>
<managed-bean-scope id="__75">session</managed-bean-scope>
</managed-bean>
I am trying to print the beanclass.
<af:outputText value="#{pageFlowScope.PricingProfileSelector}"/> ----------// no output.
<af:outputText value="#{PricingProfileSelector}"/> --------value comes for this. oracle.communications.brm.pdc.ui.view.selector.PricingProfileSelector@1b6915d
I an wondering why PricingProfileSelector class does not get instantiated for pageflowscope when i try to print the class. -
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 -
ADF faces-config.xml file
Hi ADF gurus,
I am new to this technology and i have found in oracle developer's guide that "Registering managed beans within the faces-config.xml file is not recommended in a Fusion web application".
URL : http://docs.oracle.com/cd/E28271_01/web.1111/e28164/web_getstarted.htm#CACCFIII
Section: Using a Managed Bean in a Fusion Web Application
My question is why this?
Thanks & Regards,
SharmisthaIf you plan to use the ADF stack there are some enhancements added to the normal faces lifecycle like bounded task flows, pageFlowScope and some additional phases the normal faces lifecaycle doesn't have. This additions are handled in the adcf-config.xml. If you register your beans in the facces-config file they are not managed by the adf stack and therefore can't use the additions.
So Oracle encourage you to use the adfc-config.xml instead of the faces-config.xml. There are a few special entries which still needed to be made in the faces-config file (e.g. skinning), butin general you use the adfc-config file is you use adf rich faces.
Timo -
DTD for config.xml is this accurate.
Where is the current DTD for the config.xml. The one I copied from the bea web site
seems inconsistent with the config.xml generated when I did the installation. I
tried using it with XEmacs and psgml. It didn't like the attributes in the Domain
tag. Perhaps I am doing something wrong, it's been known to happen. Before I start
trying to debug this on my side, I'd like to know if I have the correct DTD. Can
some one clarify this for me?
STHDeepak Vohra <[email protected]> wrote:
Steven,
The config.xml DTD :
http://edocs.bea.com/wls/docs70/config_xml/configdtd.html#111643
Deepak
Thanks Deepak,
That generates errors when I open it in Tibco's Schema Editor. For one it didn't
like the '(Deprecated)' strings. There were a few values assigned as default, which
were not in the list of constraints, and, perhaps a couple of other reported errors.
Also, once I fixed up the few error I encountered in the DTD, I found errors in
the config.xml generated by WL 7.0. For example there are attributes in the xml
file which are not in the DTD. One of these is "Deployed" in the "Application" Element.
Methinks something is amiss here.
STH -
Clear text value not allowed for credentials in config.xml
I am in the process of migrating our J2EE application from Weblogic 8.1 to Weblogic 10 MP1 and have converted config.xml to the new schema. When starting up in production mode, I see the following error which causes the server to shutdown:
<Server failed. Reason: [Management:141266]Parsing Failure in config.xml: java.lang.IllegalArgumentException: In production mode, it's not allowed to set a clear text value to the property: CredentialEncrypted of SecurityConfigurationMBean>
In 8.1 it seems that it would fill in the credentials based on the username and password in boot.properties so it was possible for our installation program to leave these entries blank. However, when starting in 10.0 it doesn't do this. Below is an excerpt from config.xml.
<security-configuration>
<name>xyz</name>
<realm>
<sec:authentication-provider xsi:type="wls:default-authenticatorType"></sec:authentication-provider>
<sec:authentication-provider xsi:type="wls:default-identity-asserterType">
<sec:active-type>AuthenticatedUser</sec:active-type>
</sec:authentication-provider>
<sec:role-mapper xsi:type="wls:default-role-mapperType"></sec:role-mapper>
<sec:authorizer xsi:type="wls:default-authorizerType"></sec:authorizer>
<sec:adjudicator xsi:type="wls:default-adjudicatorType"></sec:adjudicator>
<sec:credential-mapper xsi:type="wls:default-credential-mapperType"></sec:credential-mapper>
<sec:cert-path-provider xsi:type="wls:web-logic-cert-path-providerType"></sec:cert-path-provider>
<sec:cert-path-builder>WebLogicCertPathProvider</sec:cert-path-builder>
<sec:user-lockout-manager></sec:user-lockout-manager>
<sec:security-dd-model>Advanced</sec:security-dd-model>
<sec:combined-role-mapping-enabled>false</sec:combined-role-mapping-enabled>
<sec:name>myrealm</sec:name>
</realm>
<default-realm>myrealm</default-realm>
<credential-encrypted></credential-encrypted>
<web-app-files-case-insensitive>os</web-app-files-case-insensitive>
<compatibility-connection-filters-enabled>true</compatibility-connection-filters-enabled>
<enforce-strict-url-pattern>false</enforce-strict-url-pattern>
</security-configuration>
Is anyone else trying to do this?
HenryHi henry,
While running a particular instance in the production mode(wls 10.x),prior to upgrading the domain you need to upgrade the security provider(all the mbeans ) you use in the previous versions and later on if you follow the domain upgrade you may find a solution for this issue... -
Product-sku-output-config.xml - Is there a schema definition (XSD or DTD)?
For the product-sku-output-config.xml file (used to define the set of product and sku attributes that are sent to Endeca from ATG as part of the Baseline Index process, as defined in chapter 4 of the ATGEndecaIntegrationGuide.pdf, 10.1.2 version), is there a schema definition (XSD or DTD) available?
The format used by product-sku-output-config.xml seems similar to, but not the same as, the format described by http://www.atg.com/dtds/search/indexing-dependency-schema.dtd. For example, p35 of the ATGEndecaIntegrationGuide.pdf gives an example of a product-sku-output-config.xml with a "properties" child element of the top-level "item" element; per that indexing-dependency-schema.dtd, that isn't allowed. (Per that DTD, it should be either "meta-properties" or "text-properties", not "properties".)
More generally, I'm wondering if there's place that fully defines what can go into the product-sku-output-config.xml file.
I'm also interested this same question for the category-dim-output-config.xml file.
Thanks,
-JonFor the product-sku-output-config.xml file (used to define the set of product and sku attributes that are sent to Endeca from ATG as part of the Baseline Index process, as defined in chapter 4 of the ATGEndecaIntegrationGuide.pdf, 10.1.2 version), is there a schema definition (XSD or DTD) available?
The format used by product-sku-output-config.xml seems similar to, but not the same as, the format described by http://www.atg.com/dtds/search/indexing-dependency-schema.dtd. For example, p35 of the ATGEndecaIntegrationGuide.pdf gives an example of a product-sku-output-config.xml with a "properties" child element of the top-level "item" element; per that indexing-dependency-schema.dtd, that isn't allowed. (Per that DTD, it should be either "meta-properties" or "text-properties", not "properties".)
More generally, I'm wondering if there's place that fully defines what can go into the product-sku-output-config.xml file.
I'm also interested this same question for the category-dim-output-config.xml file.
Thanks,
-Jon -
How to use data-sources tag in struts-config.xml
hi all,
I am doing programs in sturts. My program purpose is to retrieve data from the database.My database is MySql. I know that we can write connection code in Action Class, it is ok for some less prog's if i want to use the sane connection code in more Action Classes it is vasting time and so.
So i want to use <data-sources> tag that is available in struts-config.xml. I know that thre is tag with this name, but the problem is i don't know how to use this tag. If any budy know how to use this please tell me the syntax or any example.
plese... reply soon..hi all,
I am doing programs in sturts. My program
My program purpose is to retrieve data from the
database.My database is MySql. I know that we can
write connection code in Action Class, it is ok for
some less prog's if i want to use the sane connection
code in more Action Classes it is vasting time and
so.I don't think it's a good idea to put database code in Action classes. (That's one of the biggest drawbacks of Struts - it's completely tied to Actions, HTTP, and the Web.) Better to move that code into plain old Java objects and let the Actions call them.
You'll be able to test them without the container or Struts, and you'll be able to reuse those objects in other, non-Web contexts.
So i want to use <data-sources> tag that is available
in struts-config.xml. I know that thre is tag withThis is the wrong place to configure a connection pool, too. Struts should have nothing to do with it. What if you change Web frameworks to WebWork or Spring? The connection pool should be configured in the container that hosts your app, not Struts.
this name, but the problem is i don't know how to use
this tag. If any budy know how to use this please
tell me the syntax or any example.
plese... reply soon..Don't do it. Think about doing it in your container, not Struts.
% -
Console link to source not working/ struts-config.xml visual
- Running jboss/tomcat under the NitroX server debugging, a stack trace
is spit out. I click on the line in the stack trace that references my
code, and it gives me: 'Source not found for x.y.z '. This used to work
when I ran under the jbossIDE server config.
- When I open my struts-config.xml file, the visual display appears
broken. It only displays 2 action classes, and nothing else. There's a
whole lot more than that in there. Is there something in my
struts-config file it doesn't like?
Here's the file:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!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>
<!-- ========== Data Sources Definitions
================================== -->
<!--
Define your Struts data sources in a file called
struts-data-sources.xml and place
it in your merge directory.
-->
<!-- ========== Form Bean Definitions
=================================== -->
<form-beans>
<form-bean
name="Scheduling_NewCallBean"
type="com.pubco.icu.struts.scheduling.newcall.NewCallBean"
/>
<form-bean
name="Reports_AttendeeReportBean"
type="com.pubco.icu.struts.report.attendees.attendeeReportBean"
/>
<form-bean
name="Reports_AltListingsReportBean"
type="com.pubco.icu.struts.report.alternate.altListingsReportBean"
/>
<form-bean
name="Maintenance_AdBean"
type="com.pubco.icu.struts.maintenance.ad.AdBean"
/>
<form-bean
name="Maintenance_MarketBean"
type="com.pubco.icu.struts.maintenance.market.MarketBean"
/>
<form-bean
name="Maintenance_AssignWarehouseBean"
type="com.pubco.icu.struts.maintenance.assignWarehouse.AssignWarehouseBean"
/>
<form-bean
name="Reports_ContractorReportBean"
type="com.pubco.icu.struts.report.contractor.contractorReportBean"
/>
<form-bean
name="Maintenance_MeetingFormBean"
type="com.pubco.icu.struts.FormBeanBase"
/>
<form-bean
name="Maintenance_MeetingFormBean"
type="com.pubco.icu.struts.maintenance.meeting.MeetingFormBean"
/>
<form-bean
name="Scheduling_ContractorBean"
type="com.pubco.icu.struts.scheduling.contractor.ContractorBean"
/>
<form-bean
name="Reports_SingleContractorBean"
type="com.pubco.icu.struts.report.singleContractor.singleContractorBean"
/>
<form-bean
name="Maint_AltReasonFormBean"
type="com.pubco.icu.struts.maintenance.altReason.AltReasonFormBean"
/>
<form-bean
name="Reports_AdResponseReportBean"
type="com.pubco.icu.struts.report.adResponses.adResponseReportBean"
/>
<form-bean
name="Maintenance_ManagerFormBean"
type="com.pubco.icu.struts.maintenance.manager.ManagerFormBean"
/>
<form-bean
name="Maintenance_WarehouseBean"
type="org.apache.struts.action.DynaActionForm">
<form-property name="comments" type="java.lang.String" />
<form-property name="directions" type="java.lang.String" />
<form-property name="phoneExt" type="java.lang.String" />
<form-property name="warehouseId" type="java.lang.String" />
<form-property name="apartmentNbr" type="java.lang.String" />
<form-property name="city" type="java.lang.String" />
<form-property name="faxNbr" type="java.lang.String" />
<form-property name="houseNbr" type="java.lang.String" />
<form-property name="phoneNbr" type="java.lang.String" />
<form-property name="state" type="java.lang.String" />
<form-property name="streetName" type="java.lang.String" />
<form-property name="streetPost" type="java.lang.String" />
<form-property name="streetPrefix" type="java.lang.String" />
<form-property name="streetSuffix" type="java.lang.String" />
<form-property name="warehouseName" type="java.lang.String" />
<form-property name="zipCode" type="java.lang.String" />
<form-property name="title" type="java.lang.String" />
<form-property name="archive" type="java.lang.Boolean" />
</form-bean>
</form-beans>
<!-- ========== Global Exceptions Definitions
=================================== -->
<!--
Define your exceptions in a file called global-exceptions.xml and place
it in your merge directory.
-->
<!-- ========== Global Forward Definitions
=================================== -->
<global-forwards>
<forward name="failed" path="/systemError.jsp"/>
<forward name="start" path="/start.do"/>
</global-forwards>
<!-- ========== Action Mapping Definitions
=================================== -->
<action-mappings>
<action
path="/scheduling/newcall/LocationListPrep"
type="com.pubco.icu.struts.scheduling.newcall.LocationListPrep"
name="Scheduling_NewCallBean"
scope="session"
unknown="false"
validate="true"
>
forward
name="success"
path="/scheduling/newcall/locationList.jsp"
redirect="false"
/>
</action>
<action
path="/maintenance/market/ImportData"
type="com.pubco.icu.struts.maintenance.market.ImportData"
name="Maintenance_MarketBean"
scope="session"
unknown="false"
validate="true"
>
/action
<action
path="/scheduling/newcall/MeetingListPrep"
type="com.pubco.icu.struts.scheduling.newcall.MeetingListPrep"
name="Scheduling_NewCallBean"
scope="session"
unknown="false"
validate="true"
>
forward
name="success"
path="/scheduling/newcall/MeetingListLookup.do"
redirect="false"
/>
</action>
<action
path="/report/attendees/meetingDirectoryPrep"
type="com.pubco.icu.struts.report.attendees.meetingAttendeesDirectoryPrep"
name="Reports_AttendeeReportBean"
scope="session"
unknown="false"
validate="true"
>
forward
name="success"
path="/report/attendees/attendeeReportRequestPage.jsp"
redirect="false"
/>
</action>
<action
path="/report/attendees/meetingAttendeesSubmit"
type="com.pubco.icu.struts.report.attendees.meetingAttendeesSubmit"
name="Reports_AttendeeReportBean"
scope="session"
unknown="false"
validate="true"
>
forward
name="success"
path="/report/attendees/attendeeReportRequestPage.jsp"
redirect="false"
/>
<forward
name="runReport"
path="/report/attendees/attendeeReportDisplayPage.jsp"
redirect="false"
/>
<forward
name="failed"
path="/report/attendees/attendeeReportRequestPage.jsp"
redirect="false"
/>
</action>
<action
path="/maintenance/market/LocationListLookup"
type="com.pubco.icu.struts.maintenance.market.LocationListLookup"
name="Maintenance_MarketBean"
scope="session"
unknown="false"
validate="true"
>
forward
name="successAdd"
path="/maintenance/market/locationEdit.jsp"
redirect="false"
/>
<forward
name="successEdit"
path="/maintenance/market/locationEdit.jsp"
redirect="false"
/>
</action>
<action
path="/maintenance/ad/AdDetailPrep"
type="com.pubco.icu.struts.maintenance.ad.AdDetailPrep"
name="Maintenance_AdBean"
scope="session"
unknown="false"
validate="true"
>
forward
name="success"
path="/maintenance/ad/adDetail.jsp"
redirect="false"
/>
</action>
<action
path="/report/contractor/contractorReportPrinterPrep"
type="com.pubco.icu.struts.report.contractor.contractorReportPrinterPrep"
name="Reports_ContractorReportBean"
scope="session"
unknown="false"
validate="true"
>
forward
name="success"
path="/report/contractor/contractorReportPrinter.jsp"
redirect="false"
/>
</action>
<action
path="/maintenance/meeting/AttendeeDetailPrep"
type="com.pubco.icu.struts.maintenance.meeting.AttendeeDetailPrep"
name="Maintenance_MeetingFormBean"
scope="session"
unknown="false"
validate="true"
>
forward
name="success"
path="/maintenance/meeting/attendeeDetail.jsp"
redirect="false"
/>
</action>
<action
path="/maintenance/ad/AdMktSubmit"
type="com.pubco.icu.struts.maintenance.ad.AdMktSubmit"
name="Maintenance_AdBean"
scope="session"
unknown="false"
validate="true"
>
forward
name="success"
path="/maintenance/ad/AdEditPrep.do"
redirect="false"
/>
<forward
name="cancel"
path="/maintenance/ad/AdEditPrep.do"
redirect="false"
/>
</action>
<action
path="/maintenance/assignWarehouse/AssignWarehouseListPrep"
type="com.pubco.icu.struts.maintenance.assignWarehouse.AssignWarehouseListPrep"
name="Maintenance_AssignWarehouseBean"
scope="session"
unknown="false"
validate="true"
>
forward
name="success"
path="/maintenance/assignWarehouse/assignWarehouseList.jsp"
redirect="false"
/>
</action>
<action
path="/report/adResponses/adResponsePrep"
type="com.pubco.icu.struts.report.adResponses.adResponsePrep"
name="Reports_AdResponseReportBean"
scope="session"
unknown="false"
validate="true"
>
forward
name="success"
path="/report/adResponses/adResponseReportRequest.jsp"
redirect="false"
/>
</action>
<action
path="/maintenance/assignWarehouse/AssignWarehouseListLookup"
type="com.pubco.icu.struts.maintenance.assignWarehouse.AssignWarehouseListLookup"
name="Maintenance_AssignWarehouseBean"
scope="session"
unknown="false"
validate="true"
>
forward
name="success"
path="/maintenance/assignWarehouse/assignWarehouseList.jsp"
redirect="false"
/>
<forward
name="cancel"
path="/start.do"
redirect="false"
/>
<forward
name="failed"
path="/maintenance/assignWarehouse/assignWarehouseList.jsp"
redirect="false"
/>
</action>
<action
path="/report/contractor/sendEmails"
type="com.pubco.icu.struts.report.contractor.SendEmails"
name="Reports_ContractorReportBean"
scope="session"
unknown="false"
validate="true"
>
forward
name="letterEntry"
path="/report/contractor/sendEmails.jsp"
redirect="false"
/>
<forward
name="sendItDone"
path="/report/contractor/sendEmailsDone.jsp"
redirect="false"
/>
<forward
name="failed"
path="/report/contractor/sendEmails.jsp"
redirect="false"
/>
</action>
<action
path="/maintenance/ad/AdEditSubmit"
type="com.pubco.icu.struts.maintenance.ad.AdEditSubmit"
name="Maintenance_AdBean"
scope="session"
parameter="AdEditSubmit_action"
unknown="false"
validate="true"
>
forward
name="cancel"
path="/maintenance/ad/AdListLookup.do"
redirect="false"
/>
<forward
name="failed"
path="/maintenance/ad/AdEditPrep.do"
redirect="false"
/>
<forward
name="addDirectory"
path="/maintenance/ad/AdMktPrep.do"
redirect="false"
/>
<forward
name="successUpdate"
path="/maintenance/ad/AdListLookup.do"
redirect="false"
/>
<forward
name="successIncrease"
path="/maintenance/ad/AdEditPrep.do"
redirect="false"
/>
<forward
name="successDecrease"
path="/maintenance/ad/AdEditPrep.do"
redirect="false"
/>
<forward
name="successDelete"
path="/maintenance/ad/AdEditPrep.do"
redirect="false"
/>
</action>
<action
path="/scheduling/newcall/AdListPrep"
type="com.pubco.icu.struts.scheduling.newcall.AdListPrep"
name="Scheduling_NewCallBean"
scope="session"
unknown="false"
validate="true"
>
forward
name="success"
path="/scheduling/newcall/adList.jsp"
redirect="false"
/>
<forward
name="notallowed"
path="/scheduling/newcall/LocationListLookup.do"
redirect="false"
/>
</action>
<action
path="/report/adResponses/adResponsesSubmit"
type="com.pubco.icu.struts.report.adResponses.adResponsesSubmit"
name="Reports_AdResponseReportBean"
scope="session"
unknown="false"
validate="true"
>
forward
name="success"
path="/report/adResponses/adResponseReportDisplay.jsp"
redirect="false"
/>
<forward
name="failed"
path="/report/adResponses/adResponsePrep.do"
redirect="false"
/>
</action>
<action
path="/report/alternate/alternateListsSubmit"
type="com.pubco.icu.struts.report.alternate.alternateListsSubmit"
name="Reports_AltListingsReportBean"
scope="session"
unknown="false"
validate="true"
>
forward
name="success"
path="/report/alternate/altListsReportDisplayPage.jsp"
redirect="false"
/>
</action>
<action
path="/scheduling/contractor/ContractorListPrep"
type="com.pubco.icu.struts.scheduling.contractor.ContractorListPrep"
name="Scheduling_ContractorBean"
scope="session"
unknown="false"
validate="true"
>
forward
name="success"
path="/scheduling/contractor/ContractorListLookup.do"
redirect="false"
/>
</action>
<action
path="/report/singleContractor/singleContractorPrep"
type="com.pubco.icu.struts.report.singleContractor.singleContractorPrep"
name="Reports_SingleContractorBean"
scope="session"
unknown="false"
validate="true"
>
forward
name="success"
path="/report/contractor/singleContractorDisplay.jsp"
redirect="false"
/>
</action>
<action
path="/maintenance/market/DirectoryListPrep"
type="com.pubco.icu.struts.maintenance.market.DirectoryListPrep"
name="Maintenance_MarketBean"
scope="session"
unknown="false"
validate="true"
>
forward
name="success"
path="/maintenance/market/DirectoryListLookup.do"
redirect="false"
/>
</action>
<action
path="/maintenance/altReason/AltReasonDetailPrep"
type="com.pubco.icu.struts.maintenance.altReason.AltReasonDetailPrep"
name="Maint_AltReasonFormBean"
scope="session"
unknown="false"
validate="true"
>
forward
name="success"
path="/maintenance/altReason/AltReasonDetail.jsp"
redirect="false"
/>
</action>
<action
path="/scheduling/newcall/LocationListLookup"
type="com.pubco.icu.struts.scheduling.newcall.LocationListLookup"
name="Scheduling_NewCallBean"
scope="session"
unknown="false"
validate="true"
>
forward
name="success"
path="/scheduling/newcall/locationList.jsp"
redirect="false"
/>
<forward
name="failed"
path="/scheduling/newcall/locationList.jsp"
redirect="false"
/>
<forward
name="tryAgain"
path="/scheduling/newcall/LocationListLookup.do"
redirect="false"
/>
</action>
<action
path="/scheduling/contractor/ContractorListLookup"
type="com.pubco.icu.struts.scheduling.contractor.ContractorListLookup"
name="Scheduling_ContractorBean"
scope="session"
parameter="ContractorListLookup_action"
unknown="false"
validate="true"
>
forward
name="success"
path="/scheduling/contractor/contractorList.jsp"
redirect="false"
/>
<forward
name="failed"
path="/scheduling/contractor/contractorList.jsp"
redirect="false"
/>
<forward
name="addContractor"
path="/scheduling/contractor/ContractorListSubmit.do?action=add"
redirect="false"
/>
<forward
name="findMeetings"
path="/scheduling/contractor/ContractorListSubmit.do?action=findMeetings"
redirect="false"
/>
<forward
name="editContractor"
path="/scheduling/contractor/ContractorListSubmit.do?action=edit"
redirect="false"
/>
</action>
<action
path="/maintenance/altReason/AltReasonListLookup"
type="com.pubco.icu.struts.maintenance.altReason.AltReasonListLookup"
name="Maint_AltReasonFormBean"
scope="session"
parameter="AltReasonListLookup_action"
unknown="false"
validate="true"
>
forward
name="success"
path="/maintenance/altReason/AltReasonList.jsp"
redirect="false"
/>
<forward
name="failed"
path="/maintenance/altReason/AltReasonList.jsp"
redirect="false"
/>
<forward
name="add"
path="/maintenance/altReason/AltReasonDetailPrep.do"
redirect="false"
/>
</action>
<action
path="/start"
type="com.pubco.icu.struts.Start"
unknown="false"
validate="true"
>
forward
name="success"
path="/title.jsp"
redirect="false"
/>
</action>
<action
path="/maintenance/meeting/AttendeeListLookup"
type="com.pubco.icu.struts.maintenance.meeting.AttendeeListLookup"
name="Maintenance_MeetingFormBean"
scope="session"
parameter="AttendeeListLookup_action"
unknown="false"
validate="true"
>
forward
name="success"
path="/maintenance/meeting/attendeeList.jsp"
redirect="false"
/>
<forward
name="successOK"
path="/maintenance/meeting/MeetingDetailPrep.do"
redirect="false"
/>
<forward
name="cancel"
path="/maintenance/meeting/MeetingDetailPrep.do"
redirect="false"
/>
</action>
<action
path="/maintenance/warehouse/WarehouseDetailPrep"
type="com.pubco.icu.struts.maintenance.warehouse.WarehouseDetailPrep"
name="Maintenance_WarehouseBean"
scope="session"
parameter="WarehouseDetailPrep_action"
unknown="false"
validate="true"
>
forward
name="success"
path="/maintenance/warehouse/warehouseDetail.jsp"
redirect="false"
/>
</action>
<action
path="/scheduling/newcall/MeetingListLookup"
type="com.pubco.icu.struts.scheduling.newcall.MeetingListLookup"
name="Scheduling_NewCallBean"
scope="session"
unknown="false"
validate="true"
>
forward
name="success"
path="/scheduling/newcall/meetingList.jsp"
redirect="false"
/>
</action>
<action
path="/maintenance/meeting/AttendeeListSubmit"
type="com.pubco.icu.struts.maintenance.meeting.AttendeeListSubmit"
name="Maintenance_MeetingFormBean"
scope="session"
unknown="false"
validate="true"
>
forward
name="success"
path="/maintenance/meeting/MeetingDetailPrep.do"
redirect="false"
/>
</action>
<action
path="/scheduling/contractor/ContractorListSubmit"
type="com.pubco.icu.struts.scheduling.contractor.ContractorListSubmit"
name="Scheduling_ContractorBean"
scope="session"
unknown="false"
validate="true"
>
forward
name="successNewCall"
path="/scheduling/newcall/FinishContractor.do"
redirect="false"
/>
<forward
name="successAdd"
path="/scheduling/contractor/contractorDetail.jsp"
redirect="false"
/>
<forward
name="successEdit"
path="/scheduling/contractor/contractorDetail.jsp"
redirect="false"
/>
<forward
name="successFindMeetings"
path="/scheduling/contractor/meetings.jsp"
redirect="false"
/>
<forward
name="successRecruit"
path="/scheduling/contractor/ContractorListLookup.do"
redirect="false"
/>
<forward
name="successAlternateEdit"
path="/scheduling/contractor/alternateEdit.jsp"
redirect="false"
/>
</action>
<action
path="/scheduling/newcall/AdListSubmit"
type="com.pubco.icu.struts.scheduling.newcall.AdListSubmit"
name="Scheduling_NewCallBean"
scope="session"
unknown="false"
validate="true"
>
forward
name="success"
path="/scheduling/newcall/MeetingListPrep.do"
redirect="false"
/>
</action>
<action
path="/report/attendees/attendeeReportDisplayPrinter"
type="com.pubco.icu.struts.report.attendees.attendeeReportDisplayPrinter"
name="Reports_AttendeeReportBean"
scope="session"
unknown="false"
validate="true"
>
forward
name="success"
path="/report/attendees/attendeeReportDisplayPrinter.jsp"
redirect="false"
/>
</action>
<action
path="/report/adResponses/adResponseReportPrinterPrep"
type="com.pubco.icu.struts.report.adResponses.adResponseReportPrinterPrep"
name="Reports_AdResponseReportBean"
scope="session"
unknown="false"
validate="true"
>
forward
name="success"
path="/report/adResponses/adResponseReportPrinter.jsp"
redirect="false"
/>
</action>
<action
path="/maintenance/meeting/ManagerAdd"
type="com.pubco.icu.struts.maintenance.meeting.ManagerAdd"
name="Maintenance_MeetingFormBean"
scope="session"
unknown="false"
validate="true"
>
forward
name="success"
path="/maintenance/meeting/MeetingListLookup.do"
redirect="false"
/>
</action>
<action
path="/maintenance/manager/ManagerListPrep"
type="com.pubco.icu.struts.maintenance.manager.ManagerListPrep"
name="Maintenance_ManagerFormBean"
scope="session"
unknown="false"
validate="true"
>
forward
name="success"
path="/maintenance/manager/ManagerListLookup.do"
redirect="false"
/>
</action>
<action
path="/maintenance/ad/AdDetailSubmit"
type="com.pubco.icu.struts.maintenance.ad.AdDetailSubmit"
name="Maintenance_AdDetailBean"
scope="session"
unknown="false"
validate="true"
>
forward
name="success"
path="/maintenance/ad/AdListPrep.do"
redirect="false"
/>
<forward
name="cancel"
path="/maintenance/ad/AdListPrep.do"
redirect="false"
/>
<forward
name="failed"
path="/maintenance/ad/adDetail.jsp"
redirect="false"
/>
<forward
name="successInsert"
path="/maintenance/ad/AdListPrep.do"
redirect="false"
/>
</action>
<action
path="/maintenance/warehouse/WarehouseListLookup"
type="com.pubco.icu.struts.maintenance.warehouse.WarehouseListLookup"
name="Maintenance_WarehouseBean"
scope="session"
parameter="WarehouseListLookup_action"
unknown="false"
validate="true"
>
forward
name="success"
path="/maintenance/warehouse/warehouseList.jsp"
redirect="false"
/>
<forward
name="add"
path="/maintenance/warehouse/WarehouseDetailPrep.do"
redirect="false"
/>
</action>
<action
path="/report/alternate/altListingsReportPrinterPrep"
type="com.pubco.icu.struts.report.alternate.altListingsReportPrinterPrep"
name="Reports_AltListingsReportBean"
scope="session"
unknown="false"
validate="true"
>
forward
name="success"
path="/report/alternate/altListsReportPrinterDisplay.jsp"
redirect="false"
/>
</action>
<action
path="/maintenance/manager/ManagerListLookup"
type="com.pubco.icu.struts.maintenance.manager.ManagerListLookup"
name="Maintenance_ManagerFormBean"
scope="session"
parameter="ManagerListLookup_action"
unknown="false"
validate="true"
>
forward
name="success"
path="/maintenance/manager/managerList.jsp"
redirect="false"
/>
<forward
name="failed"
path="/maintenance/manager/managerList.jsp"
redirect="false"
/>
<forward
name="successAddForMeeting"
path="/maintenance/meeting/ManagerAdd.do"
redirect="false"
/>
<forward
name="cancelAddForMeeting"
path="/maintenance/meeting/MeetingListLookup.do"
redirect="false"
/>
</action>
<action
path="/scheduling/contractor/SendEmail"
type="com.pubco.icu.struts.scheduling.contractor.SendEmail"
unknown="false"
validate="true"
>
forward
name="success"
path="/scheduling/newcall/emailConfirmation.jsp"
redirect="false"
/>
<forward
name="failed"
path="/scheduling/contractor/meetings.jsp"
redirect="false"
/>
</action>
<action
path="/maintenance/market/DirectoryListLookup"
type="com.pubco.icu.struts.maintenance.market.DirectoryListLookup"
name="Maintenance_MarketBean"
scope="session"
parameter="DirectoryListLookup_action"
unknown="false"
validate="true"
>
forward
name="add"
path="/maintenance/market/directoryAdd.jsp"
redirect="false"
/>
<forward
name="success"
path="/maintenance/market/directoryList.jsp"
redirect="false"
/>
<forward
name="importData"
path="/maintenance/market/ImportData.do"
redirect="false"
/>
<forward
name="editSuccess"
path="/maintenance/market/directoryEdit.jsp"
redirect="false"
/>
</action>
<action
path="/maintenance/meeting/AttendeeListPrep"
type="com.pubco.icu.struts.maintenance.meeting.AttendeeListPrep"
name="Maintenance_MeetingFormBean"
scope="session"
unknown="false"
validate="true"
>
forward
name="success"
path="/maintenance/meeting/AttendeeListLookup.do"
redirect="false"
/>
</action>
<action
path="/report/contractor/contractorSubmit"
type="com.pubco.icu.struts.report.contractor.contractorSubmit"
name="Reports_ContractorReportBean"
scope="session"
unknown="false"
validate="true"
>
forward
name="success"
path="/report/contractor/contractorReportDisplay.jsp"
redirect="false"
/>
</action>
<action
path="/maintenance/meeting/MeetingDetailSubmit"
type="com.pubco.icu.struts.maintenance.meeting.MeetingDetailSubmit"
name="Maintenance_MeetingFormBean"
scope="session"
parameter="MeetingDetailSubmit_action"
unknown="false"
validate="true"
>
forward
name="success"
path="/maintenance/meeting/MeetingListLookup.do"
redirect="false"
/>
<forward
name="cancel"
path="/maintenance/meeting/MeetingListLookup.do"
redirect="false"
/>
<forward
name="failed"
path="/maintenance/meeting/Thanks for reply..
We r invoking javascript/css using relative path only.
i'm redirecting to the same page only if error happens with including error page
<script language="javascript" type="text/javascript" src="js-modEmp/addEmpval.js">
</script>
<script language="javascript" type="text/javascript" src="js-modEmp/datetimepicker.js">
</script>
<link rel="stylesheet" type="text/css" href="css-modEmp/styles.css"> -
DemoTrust certificate being loaded but not defined in config.xml
I have a strange problem in that the DemoTrust.jks is being loaded when I start any of the managed servers.
I have set-up custom Identity and trust keystores and there is no reference to the DemoTrust keystore anywhere in the config.xml
The problem manifests itself when starting a managed server (WLS9.2) which tries to connect to the Admin server with the secure Administration port enabled for the domain.
This requires 2waySSL and the handshake fails as it appears to be using the DemoTrust.jks keystore.
config.xml extract showing managed server keystore entries
<custom-trust-key-store-file-name>/home/wlserver92/domain/keystores/trust.jks</custom-trust-key-store-file-name>
<custom-trust-key-store-type>JKS</custom-trust-key-store-type>
<custom-trust-key-store-pass-phrase-encrypted>{3DES}QWdToZU27VsIWV4LU3bZnQ==</custom-trust-key-store-pass-phrase-encrypted>
Extract from startup log file
<Jun 16, 2008 12:45:16 PM CEST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Server VM Version 1.5.0_11-b03 from Sun Microsystems Inc.>
<Jun 16, 2008 12:45:18 PM CEST> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file /fs01/app/bea/wlserver9.2/weblogic92/server/lib/DemoTrust.jks.>
<Jun 16, 2008 12:45:18 PM CEST> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file /fs01/app/bea/wlserver9.2/jdk1.5.0_11/jre/lib/security/cacerts.>
<Jun 16, 2008 12:45:18 PM CEST> <Info> <Management> <BEA-141107> <Version: WebLogic Server Temporary Patch for CR344429 Thu Nov 15 02:22:13 EST 2007
WebLogic Server 9.2 MP2 Mon Jun 25 01:32:01 EDT 2007 952826 >
<Jun 16, 2008 12:45:21 PM CEST> <Warning> <Security> <BEA-090477> <Certificate chain received from wls-admin.test.co.uk - xx.xx.xx.xx was not trusted causing SSL handshake failure.>
<Jun 16, 2008 12:45:21 PM CEST> <Emergency> <Management> <BEA-141151> <The admin server could not be reached at https://wls-admin.test.co.uk:9002.>
<Jun 16, 2008 12:45:21 PM CEST> <Info> <Configuration Management> <BEA-150018> <This server is being started in managed server independence mode in the absence of the admin server.>
<Jun 16, 2008 12:45:21 PM CEST> <Info> <WebLogicServer> <BEA-000215> <Loaded License : /fs01/app/bea/wlserver9.2/license.bea>
<Jun 16, 2008 12:45:21 PM CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Jun 16, 2008 12:45:21 PM CEST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Jun 16, 2008 12:45:21 PM CEST> <Notice> <Log Management> <BEA-170019> <The server log file /fs01/log/dv31/wlserver92/server01/server01_server.log is opened. All server side log events will be written to this file.>
<Jun 16, 2008 12:45:22 PM CEST> <Notice> <Security> <BEA-090171> <Loading the identity certificate and private key stored under the alias wls05_test_co_uk from the JKS keystore file /home/wlserver92/domain/keystores/wls05.test.co.uk.jks.>
<Jun 16, 2008 12:45:23 PM CEST> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the JKS keystore file /home/wlserver92/domain/keystores/trust.jks.>
<Jun 16, 2008 12:45:23 PM CEST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Jun 16, 2008 12:45:23 PM CEST> <Critical> <Security> <BEA-090402> <Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.>
<Jun 16, 2008 12:45:23 PM CEST> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.
weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:941)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1029)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:854)
at weblogic.security.SecurityService.start(SecurityService.java:141)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
Truncated. see log file for complete stacktrace
>
<Jun 16, 2008 12:45:23 PM CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
<Jun 16, 2008 12:45:23 PM CEST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
<Jun 16, 2008 12:45:23 PM CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
Anybody seen this type of behaviour before ???Hi Sunita,
To define AIA_INSTANCE you have to export these environment variables at least.
export AIA_HOME=/app/soa/aiafp
export MW_HOME=/app/soa/Oracle/Middleware
export SOA_HOME=/app/soa/Oracle/Middleware/Oracle_SOA1
export JAVA_HOME=/usr/jrockit-jdk1.6.0_29-R28.2.2-4.1.0/jre
export AIA_INSTANCE=${AIA_HOME}/aia_instances/AIAPRD
The path will vary and should be replaces as per your installation.
Thanks,
Shantanu -
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) -
XML Parsing error - iTunes will not run config.xml missing
I have a new error code that I cannot find an answer to on any forum. Here is the error message:
XML Parsing error
XML Parsing error inside file 'C:\Documents and Settings\lmorrison\Application Data\iTunesControl\config.xml
Error: First Tag not found
At line 0, column 0.
First Tag should be 'itc'.
This error message pops up when attempting to run iTunes. The only way I've been able to get it to run is to take the library.xml file, rename it as config.xml and paste it into the iTunesControl folder. That's good for one run only. Then I have to copy and paste it again every time I want to run iTunes.
My issue is... I have no config.xml file. It's gone missing. No idea why. I have uninstalled iTunes and reinstalled. Same error. I wiped every single spec of iTunes off my computer down to removing all instances in the computer registry. Same error. I have installed and uninstalled versions of iTunes back to iTunes 6. Same error. I have wiped and installed from iTunes installation disc. Same error. Help! The only thing I can think of is to locate someone with a working iTunes and copy their config.xml file to my computer. Apple was no help at all and merely suggested installing the latest version of iTunes... yeah... thanx.
Any ideas are appreciated.I don't even have this iTunesControl folder!
C:\Documents and Settings\ username \Application Data\ iTunesControl
Did you ever install this itunesControl program? Maybe that's why you have that folder and I don't. I just googled on iTunesControl.
http://itunescontrol.com/
edit - the only thing Apple installs is here:
C:\Documents and Settings\ username \Application Data\Apple Computer
Message was edited by: Katrina S. -
HostnameVerificationIgnored tag in config.xml
I have configured SSL for WLS 8.1 sp1. I have 2 questions regarding the HostNameVerification
setting..
Initially, I set the HostnameVerificationIgnored="FALSE" in the <SSL> tag of config.xml.
But the cmd window displayed the following message:
<Dec 16, 2003 7:16:41 PM PST> <Info> <Management> <BEA-141034> <Java system property:
weblogic.security.SSL.ignoreHostnameVerify = false.>
This is expected. Now, changed HostnameVerificationIgnored="TRUE" in config.xml.
Even now, it shows the exact same message!!
<Dec 16, 2003 7:29:22 PM PST> <Info> <Management> <BEA-141034> <Java system property:
weblogic.security.SSL.ignoreHostnameVerify = false.>
Other than the timestamp, nothing has changed. This tells me that it is not reading
the config.xml setting properly.
There is NO entry for -Dweblogic.security.SSL.ignoreHostnameVerification in startweblogic.cmd
either. I am not sure where is it picking this property from. But the cmd window
always shows that it is false, regardless of my setting in config.xml.
1) How can we verify that this is actually working the expected way...?
2) Is there a bug in 8.1 - that it is failing to read the setting in config.xml
correctly?
Thanks,
AnantAnant,
How about you try to get the SSL MBean and check the attribute?
Try using weblogic.Admin,
java weblogic.Admin -username xx -password xxxxxxxx -url
t3://localhost:7001 get -type SSL -property HostnameVerificationIgnored
and see if the variable is properly set and the server is running with
that attribute value.
Thanks,
-satya
Anant Kadiyala wrote:
I have configured SSL for WLS 8.1 sp1. I have 2 questions regarding the HostNameVerification
setting..
Initially, I set the HostnameVerificationIgnored="FALSE" in the <SSL> tag of config.xml.
But the cmd window displayed the following message:
<Dec 16, 2003 7:16:41 PM PST> <Info> <Management> <BEA-141034> <Java system property:
weblogic.security.SSL.ignoreHostnameVerify = false.>
This is expected. Now, changed HostnameVerificationIgnored="TRUE" in config.xml.
Even now, it shows the exact same message!!
<Dec 16, 2003 7:29:22 PM PST> <Info> <Management> <BEA-141034> <Java system property:
weblogic.security.SSL.ignoreHostnameVerify = false.>
Other than the timestamp, nothing has changed. This tells me that it is not reading
the config.xml setting properly.
There is NO entry for -Dweblogic.security.SSL.ignoreHostnameVerification in startweblogic.cmd
either. I am not sure where is it picking this property from. But the cmd window
always shows that it is false, regardless of my setting in config.xml.
1) How can we verify that this is actually working the expected way...?
2) Is there a bug in 8.1 - that it is failing to read the setting in config.xml
correctly?
Thanks,
Anant -
EJBComponents not added to config.xml
We are in the process of upgrading our version of Weblogic Server from 6.1 to 8.1.
In 6.1 weblogic used to add all an EJBComponent tag into config.xml for each
ejb module in application.xml, but it no longer seems to do this in 8.1. From
the weblogic console I can all the ejbs are listed as modules, however they have
no target set. Do we have to manually add the EJBComponents to config.xml now?
Below is the contents of the config.xml:
<Domain ConfigurationVersion="8.1" Name="E7.2_jeantine_weblogic8.1">
<FileRealm Name="wl_default_file_realm"/>
<Security CompatibilityMode="true" Name="E7.2_jeantine_weblogic8.1"
PasswordPolicy="wl_default_password_policy"
Realm="wl_default_realm" RealmSetup="true"/>
<PasswordPolicy Name="wl_default_password_policy"/>
<Realm FileRealm="wl_default_file_realm" Name="wl_default_realm"/>
<JTA Name="E7.2_jeantine_weblogic8.1" TimeoutSeconds="1800"/>
<JDBCConnectionPool CapacityIncrement="1"
DriverName="oracle.jdbc.driver.OracleDriver" InitialCapacity="1"
LoginDelaySeconds="0" MaxCapacity="20" Name="energyPool"
Password="{3DES}ulcBYGqUa6R1aydmAaegvQ=="
Properties="user=energydb" RefreshMinutes="999999"
ShrinkPeriodMinutes="720" ShrinkingEnabled="true"
Targets="myserver" TestConnectionsOnRelease="false"
TestConnectionsOnReserve="true" TestTableName="dual" URL="jdbc:oracle:thin:@n028.peace.co.nz:10002:lob"/>
<JDBCDataSource JNDIName="energyDataSource" Name="energyDataSource"
PoolName="energyPool" Targets="myserver"/>
<SNMPAgent Name="E7.2_jeantine_weblogic8.1"/>
<Log FileName="logs/wl-domain.log" Name="E7.2_jeantine_weblogic8.1"/>
<ApplicationManager Name="E7.2_jeantine_weblogic8.1"/>
<Application Deployed="false" Name="energy"
Path="./applications/energy" TwoPhase="false">
<WebAppComponent Name="energy" Targets="myserver" URI="energy"/>
</Application>
<JMSServer Name="EnergyJMSServer" Store="interfacesJMSJDBCStore" Targets="myserver">
<JMSQueue JNDIName="InputBatch" Name="InputBatch"
RedeliveryDelayOverride="5" RedeliveryLimit="2" StoreEnabled="true"/>
<JMSQueue JNDIName="InterfacesAsyncCompletionQueue"
Name="InterfacesAsyncCompletionQueue"
RedeliveryDelayOverride="10" RedeliveryLimit="2" StoreEnabled="true"/>
</JMSServer>
<JMSConnectionFactory DefaultRedeliveryDelay="5"
JNDIName="InterfacesJMSConnectionFactory" MessagesMaximum="100"
Name="InterfacesJMSConnectionFactory" Targets="myserver"/>
<JMSJDBCStore ConnectionPool="energyPool" Name="interfacesJMSJDBCStore"/>
<Server ListenPort="10116" Name="myserver" NativeIOEnabled="true"
ServerVersion="8.1.0.0" TransactionLogFilePrefix="logs/">
<ServerDebug DebugEJB="true" DebugEJBCalls="true"
DebugEJBDeployment="true" Name="myserver"/>
<Log FileName="logs/weblogic.log" Name="myserver"/>
<ServerStart Name="myserver"/>
<ExecuteQueue Name="default" ThreadCount="15"/>
<WebServer DefaultWebApp="energy"
LogFileName="./logs/access.log" LoggingEnabled="true" Name="myserver"/>
<KernelDebug Name="myserver"/>
<SSL IdentityAndTrustLocations="FilesOrKeyStoreProviders" Name="myserver"/>
</Server>
<EmbeddedLDAP
Credential="{3DES}XyvpZX5+kEplLubZ3VpJc5CJBhNoACGAnIMLDiNRnQE=" Name="E7.2_jeantine_weblogic8.1"/>
<SecurityConfiguration
Credential="{3DES}GnmhhG5n4eq1d2mgIQyu+x3HjLZOEg71LkqMj+RkzwBesyY/DArh2ES4hQaRRFoyyJA5VB3DStp6nM66Ag2Ek1p/o/ImDfHV"
Name="E7.2_jeantine_weblogic8.1" RealmBootStrapVersion="1"/>
</Domain>I tried removing the application tag from config.xml, but it didn't manage to automatically
pick up my application.
I am able to deploy my application successfully from the console and the all the
appropriate components get added to the config.xml during that process, but for
some reason it doesn't do this when I first deploy??
The contents of my applications/energy directory are:
n028 jeantine <applications/energy> ls
AdvancedSearchSessionBean.jar MeterMgmtBean.jar
APIAdministrationBean.jar NonTransCORBABean.jar
App4SupSessionBean.jar ParameterStorageBean.jar
AppServSessionBean.jar PasswordServerBean.jar
ARCCCommonControllerBean.jar PaymentArrangementMaintenanceBean.jar
ARCCSessionBean.jar PaymentPlanBOControllerBean.jar
ARSessionBean.jar PaymentPlanCSRControllerBean.jar
AsyncInterfaceControllerBean.jar PaymentPlanCSRLogicBean.jar
AsyncMessageDrivenBean.jar PeriodicBillingLightingSessionBean.jar
BillingMarketModelSessionBean.jar PeriodicBillingSessionBean.jar
BillingSessionBean.jar PostalAddressMaintenanceBean.jar
CCSessionBean.jar PremiseAddressMaintenanceBean.jar
ComponentSessionBean.jar PremiseSearchBean.jar
ContactSessionBean.jar PremiseSessionBean.jar
ContractSessionBean.jar PriceSessionBean.jar
CredControlSessionBean.jar ProcessTrackingMaintenanceBean.jar
CreditControlMaintenanceBean.jar ProfileSessionBean.jar
CustomerMaintenanceBean.jar ProspectInfoSessionBean.jar
CustomerSearchBean.jar ProspectSearchSessionBean.jar
CustomerSessionBean.jar ProspectTransSessionBean.jar
CustomerSignUpBean.jar PRWSessionBean.jar
DirectDebitMaintenanceBean.jar PtjSessionBean.jar
energy QuotationSessionBean.jar
energyapicommon.jar ReadingAdjustmentSessionBean.jar
EnergyCommonControllerBean.jar ReadingSessionBean.jar
energycorba.rar RegisterSessionBean.jar
energyejbcommon.jar ReprocessSessionBean.jar
EnergyLocaleBean.jar SalesMarketing
EnergyPaginatorBean.jar SearchSessionBean.jar
EnrollmentSessionBean.jar ServiceConfigSessionBean.jar
ExternalBillingSessionBean.jar ServiceSessionBean.jar
FIRSessionBean.jar SessionManagerBean.jar
GenericAdminBean.jar SMInBoundProxySessionBean.jar
interfaces_clients.jar SMOutBoundProxySessionBean.jar
interfaces.jar StatementGenerationBean.jar
InternalAsyncRequestBean.jar SupplySessionBean.jar
InvoiceValidationSessionBean.jar SyncInterfaceControllerBean.jar
JDBCOnly1Bean.jar TariffSessionBean.jar
JDBCOnly2Bean.jar TaxExemptionSessionBean.jar
logging.jar TaxJurisdictionSessionBean.jar
MarketExtRefBean.jar TaxSessionBean.jar
MenuServerBean.jar TransactionalRemoteInvokerBean.jar
META-INF UMCSessionBean.jar
Rob Woollen <[email protected]> wrote:
No, you shouldn't have to manually add the EJBComponents.
The Deployed attribute of your application appears to be false. That
doesn't seem too good.
<Application Deployed="false" Name="energy"
Path="./applications/energy" TwoPhase="false">
<WebAppComponent Name="energy" Targets="myserver" URI="energy"/>
</Application>My recommendation would be to remove this application's entry from the
config.xml and restart the server. Since it's in the applications
directory, it should be picked up automatically.
If you're still having problems, can you show me the contents of the
applications/energy directory?
-- Rob
Jeantine wrote:
We are in the process of upgrading our version of Weblogic Server from6.1 to 8.1.
In 6.1 weblogic used to add all an EJBComponent tag into config.xmlfor each
ejb module in application.xml, but it no longer seems to do this in8.1. From
the weblogic console I can all the ejbs are listed as modules, howeverthey have
no target set. Do we have to manually add the EJBComponents to config.xmlnow?
Below is the contents of the config.xml:
<Domain ConfigurationVersion="8.1" Name="E7.2_jeantine_weblogic8.1">
<FileRealm Name="wl_default_file_realm"/>
<Security CompatibilityMode="true" Name="E7.2_jeantine_weblogic8.1"
PasswordPolicy="wl_default_password_policy"
Realm="wl_default_realm" RealmSetup="true"/>
<PasswordPolicy Name="wl_default_password_policy"/>
<Realm FileRealm="wl_default_file_realm" Name="wl_default_realm"/>
<JTA Name="E7.2_jeantine_weblogic8.1" TimeoutSeconds="1800"/>
<JDBCConnectionPool CapacityIncrement="1"
DriverName="oracle.jdbc.driver.OracleDriver" InitialCapacity="1"
LoginDelaySeconds="0" MaxCapacity="20" Name="energyPool"
Password="{3DES}ulcBYGqUa6R1aydmAaegvQ=="
Properties="user=energydb" RefreshMinutes="999999"
ShrinkPeriodMinutes="720" ShrinkingEnabled="true"
Targets="myserver" TestConnectionsOnRelease="false"
TestConnectionsOnReserve="true" TestTableName="dual" URL="jdbc:oracle:thin:@n028.peace.co.nz:10002:lob"/>
<JDBCDataSource JNDIName="energyDataSource" Name="energyDataSource"
PoolName="energyPool" Targets="myserver"/>
<SNMPAgent Name="E7.2_jeantine_weblogic8.1"/>
<Log FileName="logs/wl-domain.log" Name="E7.2_jeantine_weblogic8.1"/>
<ApplicationManager Name="E7.2_jeantine_weblogic8.1"/>
<Application Deployed="false" Name="energy"
Path="./applications/energy" TwoPhase="false">
<WebAppComponent Name="energy" Targets="myserver" URI="energy"/>
</Application>
<JMSServer Name="EnergyJMSServer" Store="interfacesJMSJDBCStore"Targets="myserver">
<JMSQueue JNDIName="InputBatch" Name="InputBatch"
RedeliveryDelayOverride="5" RedeliveryLimit="2" StoreEnabled="true"/>
<JMSQueue JNDIName="InterfacesAsyncCompletionQueue"
Name="InterfacesAsyncCompletionQueue"
RedeliveryDelayOverride="10" RedeliveryLimit="2" StoreEnabled="true"/>
</JMSServer>
<JMSConnectionFactory DefaultRedeliveryDelay="5"
JNDIName="InterfacesJMSConnectionFactory" MessagesMaximum="100"
Name="InterfacesJMSConnectionFactory" Targets="myserver"/>
<JMSJDBCStore ConnectionPool="energyPool" Name="interfacesJMSJDBCStore"/>
<Server ListenPort="10116" Name="myserver" NativeIOEnabled="true"
ServerVersion="8.1.0.0" TransactionLogFilePrefix="logs/">
<ServerDebug DebugEJB="true" DebugEJBCalls="true"
DebugEJBDeployment="true" Name="myserver"/>
<Log FileName="logs/weblogic.log" Name="myserver"/>
<ServerStart Name="myserver"/>
<ExecuteQueue Name="default" ThreadCount="15"/>
<WebServer DefaultWebApp="energy"
LogFileName="./logs/access.log" LoggingEnabled="true" Name="myserver"/>
<KernelDebug Name="myserver"/>
<SSL IdentityAndTrustLocations="FilesOrKeyStoreProviders" Name="myserver"/>
</Server>
<EmbeddedLDAP
Credential="{3DES}XyvpZX5+kEplLubZ3VpJc5CJBhNoACGAnIMLDiNRnQE="Name="E7.2_jeantine_weblogic8.1"/>
<SecurityConfiguration
Credential="{3DES}GnmhhG5n4eq1d2mgIQyu+x3HjLZOEg71LkqMj+RkzwBesyY/DArh2ES4hQaRRFoyyJA5VB3DStp6nM66Ag2Ek1p/o/ImDfHV"
Name="E7.2_jeantine_weblogic8.1" RealmBootStrapVersion="1"/>
</Domain>
Maybe you are looking for
-
Is there a way to know what is taking so much space in photo library? I have only 4,500 pictures, but Iphoto library is taking 31.5 GB. The most part of it is from a folder called "Masters", I am not sure what's in it. Thanks
-
When I try to connect to itunes the message say's error 11333. When i try to update itunes the computer say's it cannot connect and further tells me to check my connections. Once again I am able to use safari to get onto the internet fine. I went on
-
Just got a new Itunes card tried to redeem the card, It said it has already been redeemed. How do I get my money into my account.
-
ITunes 7 doesn't display artwork of currently playing song
Minor annoyance, it was working correctly for a while but now instead of displaying the artwork for the song that is playing, it displays that for the song that is currently selected. Any ideas as to why?
-
How to remove Disk Group after deinstall of Grid Infrastructure
Hello, I deinstalled an Oracle Grid Infrastructure for a standalone server. I made the mistake of telling OUI not to drop the Disks/Disk Group. Now when I try to do a new install it shows the disks as members of a Disk Group already on the page 'Crea