Server gets Started if config.xml changes?
Hi All,
I am facing a problem. In my application I have a config.xml file. If I make any changes to it, there server(tomcat) gets started. So i have to wait for sometimes for doing any transaction.
Can anyone help me to resolve this issue? I don't want to restart the server.
Thanx in advance
Regards
Rishab.
How is this related to JSF? You should post Tomcat related questions at a Tomcat related forum or mailinglist. There is one at its own homepage over there at Apache.org.
Similar Messages
-
UCM-VCR Adapter in WLP error while publishing content-config.xml changes
Hi,
I am getting this error when i publish my changes to server for UCM-VCR Adapter in WLP 10.3.2.
weblogic.application.ModuleException: Error reading descriptor: META-INF/content
-config.xml for app module ucmEAR
at weblogic.application.config.DefaultModule.parseDescriptorBean(Default
Module.java:483)
at weblogic.application.config.DefaultModule.prepare(DefaultModule.java:
282)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(Modu
leListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Depl
oymentCallbackFlow.java:391)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
river.java:83)
Truncated. see log file for complete stacktrace
Caused By: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists:
"com.bea.content.config.RepositoryPropertyBeanImpl@d0b61789(/[UCMRepository]/Rep
ositoryProperties[ContentServerAdminUser])"
at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceM
anager.java:227)
at com.bea.content.config.ContentStoreBeanImpl.setRepositoryProperties(U
nknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
Truncated. see log file for complete stacktrace
>
i also add oracle-ucm-spi-app-lib.ear in weblogic-application.xml's WebLogic Shared Library.
please find the related files.
content-config.xml:
<?xml version="1.0" encoding="UTF-8"?>
<content-config xmlns="http://www.bea.com/ns/portal/90/content-config">
<!-- This is a default content repository applications can use.
The IDE should copy this to META-INF/content-config.xml of the
application.
This repository is not required for WLP services, so you can remove
it or change it as needed. -->
<content-store>
<name>UCMRepository</name>
<class-name>com.oracle.content.spi.ucm.RepositoryImpl
</class-name>
<username>wlpApp</username>
<repository-property>
<description>Hostname on which the UCM Content Server is running
</description>
<name>ContentServerHostname</name>
<value>172.23.210.16</value>
</repository-property>
<repository-property>
<description>Port on which the UCM Content Server is running (on host named above)
</description>
<name>ContentServerPort</name>
<value>4444</value>
</repository-property>
<repository-property>
<description>Content Server uname in Admin role, for
security checks
</description>
<name>ContentServerAdminUser</name>
<value>sysadmin</value>
</repository-property>
<repository-property>
<description>List of folder ObjectClasses</description>
<name>folder_badge_objectClasses</name>
<value>IDC:Folder</value>
</repository-property>
<repository-property>
<description>Single user for all type related interactions
</description>
<name>TypeRetrievalShapeUser</name>
<value>typeShapeUser</value>
</repository-property>
<repository-property>
<name>useNativeSecurity</name>
<value>false</value>
</repository-property>
<repository-property>
<description>Protocol used to connect with the UCM Server.
Valid
options are INTRADOC or INTRADOC_SSL. INTRADOC is the
default.
</description>
<name>ContentServerServiceType</name>
<value>INTRADOC</value>
</repository-property>
<repository-property>
<description>Content Server Username in Admin role, used
for security
checks
</description>
<name>ContentServerAdminUser</name>
<value>sysadmin</value>
</repository-property>
<repository-property>
<description>Polling interval for the
CacheInvalidator IntervalJob
(must be equal to or greater than 2 min)
</description>
<name>CacheInvalidationInterval</name>
<value>2</value>
</repository-property>
<repository-property>
<description>Location on the filesystem of the
client SSL keystore
file. Only used when ContentServerServiceType
is INTRADOC_SSL
</description>
<name>ContentServerSSLKeystoreFile</name>
<value>c:/client_keystore</value>
</repository-property>
<repository-property>
<description>SSL keystore password. Only used when
ContentServerServiceType is INTRADOC_SSL
</description>
<name>ContentServerSSLKeystorePassword</name>
<value>idcidc</value>
</repository-property>
<repository-property>
<description>SSL keystore alias name. Only used when
ContentServerServiceType is INTRADOC_SSL
</description>
<name>ContentServerSSLKeystoreAlias</name>
<value>SecureClient</value>
</repository-property>
<repository-property>
<description>SSL keystore alias password. Only used when
ContentServerServiceType is INTRADOC_SSL
</description>
<name>ContentServerSSLKeystoreAliasPassword</name>
<value>idcidc</value>
</repository-property>
<read-only>true</read-only>
<binary-cache-max-entry-size>102400</binary-cache-max-entry-size>
<!-- metadata search -->
<search-is-enabled>true</search-is-enabled>
<!-- full text search -->
<fulltext-search-is-enabled>true</fulltext-search-is-enabled>
<search-indexing-is-enabled>false</search-indexing-is-enabled>
</content-store>
</content-config>
p13n-cache-config.xml
<?xml version="1.0" encoding="UTF-8"?>
<p13n-cache-config xmlns="http://www.bea.com/ns/p13n/90/p13n-cache-config">
<!--
This is the caches for the default content repository. The IDE should
copy this to META-INF/p13n-cache-config.xml of the application. These
caches are for the default WLP Repository. You can modify these to fit
your needs. If you remove the WLP Repository, you can remove these
entries.
-->
<cache>
<name>nodeCache.UCMRepository</name>
<description>Caches node id to node instance for UCMRepository</description>
<time-to-live>60000</time-to-live>
<max-entries>50</max-entries>
</cache>
<cache>
<name>nodePathCache.UCMRepository</name>
<description>Caches node path to node instance for UCMRepository</description>
<time-to-live>60000</time-to-live>
<max-entries>50</max-entries>
</cache>
<cache>
<name>typeCache.UCMRepository</name>
<description>Caches binary property values for UCMRepository</description>
<time-to-live>300000</time-to-live>
<max-entries>200</max-entries>
</cache>
<cache>
<name>typeNameCache.UCMRepository</name>
<description>Caches type id to content type for UCMRepository</description>
<time-to-live>300000</time-to-live>
<max-entries>200</max-entries>
</cache>
<cache>
<name>binaryCache.UCMRepository</name>
<description>Caches type name to content type for UCMRepository</description>
<time-to-live>60000</time-to-live>
<max-entries>10</max-entries>
</cache>
<cache>
<name>searchCache.UCMRepository</name>
<description>Caches node id to node for UCMRepository</description>
<time-to-live>300000</time-to-live>
<max-entries>200</max-entries>
</cache>
<cache>
<name>nativeAuthCacheUCMRepository</name>
<description>Caches node path to node for UCMRepository</description>
<time-to-live>5000</time-to-live>
<max-entries>5000</max-entries>
</cache>
<cache>
<name>repo.ucm.typeNameCache.UCMRepository</name>
<description>Caches node id to node instance for UCMRepository</description>
<time-to-live>1800000</time-to-live>
<max-entries>5000</max-entries>
</cache>
<cache>
<name>repo.ucm.nodePathToUidCache.UCMRepository</name>
<description>Caches node id to node instance for UCMRepository</description>
<time-to-live>1800000</time-to-live>
<max-entries>5000</max-entries>
</cache>
<cache>
<name>repo.ucm.nodeUidCache.UCMRepository</name>
<description>Caches node id to node instance for UCMRepository</description>
<time-to-live>1800000</time-to-live>
<max-entries>5000</max-entries>
</cache>
<cache>
<name>repo.ucm.securityInfoCache.UCMRepository</name>
<description>Caches node id to node instance for UCMRepository</description>
<time-to-live>1800000</time-to-live>
<max-entries>5000</max-entries>
</cache>
<cache>
<name>repo.ucm.typeNamesCache.UCMRepository</name>
<description>Caches node id to node instance for UCMRepository</description>
<time-to-live>1800000</time-to-live>
<max-entries>5000</max-entries>
</cache>
<cache>
<name>repo.ucm.indexedFieldsCache.UCMRepository</name>
<description>Caches node id to node instance for UCMRepository</description>
<time-to-live>1800000</time-to-live>
<max-entries>5000</max-entries>
</cache>
</p13n-cache-config>Hi Venu,
Normally if you can see the UCM content in the admin console, it means the adapter is configured correctly and the placeholder should work. There's a couple of things I can suggest:
1. Did you include the oracle-ucm-spi-app-lib.ear file in your project as documented under the heading Add a Reference to the UCM VCR Adapter Shared Library in the UCM VCR adapter installation docs ( [http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/ucm_adapter/install.html|http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/ucm_adapter/install.html] )?
2. Browse to a document in the repository in the admin console. Pick one of the fields there (e.g. IDC:Folder.dDocId), grab the value and run a query using the placeholder. Do you get a single result?
3. The original poster (user8867138) mentions a query along the lines of returning all folders that has dDocAuthor = sysadmin. If your UCM system had 10,000 folders all created by sysadmin, the adapter might be timing out? IIRC, you can adjust the timeout in UCM.
4. Did you try a similar query using Content Selector instead?
5. If the WLP server domain is running on a separate machine, is UCM configured to accept connections from the WLP server but not your machine?
I would suggest getting the latest patches for WLP too as some of them are related to the UCM VCR adapter.
Cheers,
Cappa -
Multiple Apex Listeners on one server trouble with apex-config.xml
I'm using 0C4J to deploy apex on a windows server. I want to be able to have multiple instances of OC4J running pointing to different databases. I've read through documentation and forum posts and this looks simple enough.
I've got one instance running at E:\OC4J and working fine. I've to added a second OC4J instance at E:\OC4J2. I've rebuilt and redeployed the apex.war file after editing web.xml to specify a new location for apex-config.xml. I'm trying to specify the config directory as E:\OC4J2\config but can't seem to get the syntax right, because it keeps picking up the default file the first OC4J instance is using.
<context-param>
<param-name>config.dir</param-name>
<param-value>E:\oc4j2\config</param-value>
</context-param>
I've tried multiple versions of the path E:\oc4j2\config, E:/oc4j2/config, /oc4j2/config, \oc4j2\config but none seem to work.
Could anybody confirm the proper syntax for specifying the path to apex-config.xml in web.xml on a windows server?
Thanks in advanceGot it working
Had the syntax right.
<context-param>
<param-name>config.dir</param-name>
<param-value>E:\oc4j2\config</param-value>
</context-param>
Issue seems to be if there is an apex-config.xml file at C:\Users\username\AppData\Local\Temp\apex it picks up on it first.
Once I had both web.xml files specified to different directories for the config file and I deleted the one at C:\Users\username\AppData\Local\Temp\apex things worked as expected.
Thanks -
On starting the Managed server Managed server getting started in "Admin" m
I am trying to start a managed server in the remote machine configured in the cluster, using the node manager.got the following exception.
May 18, 2011 7:31:35 PM PDT> <Error> <HTTP> <BEA-101371> <There was a failure when processing annotations for application /opt/oracle/Middleware/user_projects/domains/CLS_Domain/servers/MW2/tmp/_WL_user/FMW Welcome Page Application_11.1.0.0.0/tzjcys/fmw-welcome.war. Please make sure that the annotations are valid. The error is oracle.dms.wls.DMSServletFilter>
<May 18, 2011 7:31:35 PM PDT> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'FMW Welcome Page Application [Version=11.1.0.0.0]' due to error weblogic.application.ModuleException: Failed to load webapp: '/'.
weblogic.application.ModuleException: Failed to load webapp: '/'
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:378)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:391)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: oracle.dms.wls.DMSServletFilter
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:296)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Truncated. see log file for complete stacktrace
>
When processing WebService module 'wsil.war'. Failed to load servlet Class: oracle.j2ee.ws.server.wsil.WSILServlet
Ignoring: unable to load class:java.lang.ClassNotFoundException: oracle.j2ee.ws.server.wsil.WSILServlet at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
<May 18, 2011 7:31:35 PM PDT> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'em' due to error weblogic.management.DeploymentException: .
weblogic.management.DeploymentException:
at weblogic.application.internal.flow.BaseLifecycleFlow$CreateListenerAction.run(BaseLifecycleFlow.java:176)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.application.internal.flow.BaseLifecycleFlow$BaseAction.invoke(BaseLifecycleFlow.java:104)
at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:117)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:296)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassHi,
I believe few of the jars are missing in your classpath due to which you are getting this error. Try adding the "*adf.share_11.1.1.jar*" from (\ORACLE_HOME\modules\features\adf.share_11.1.1.jar) in your weblogic server classpath and then try to start the server.
Setting Classpath:
===========
In "setDomainEnv.cmd" add the above jar in the "set PRE_CLASSPATH=" as shown below
Example:
set PRE_CLASSPATH=%ORACLE_HOME%\modules\features\adf.share_11.1.1.jar
Regards,
Ravish Mody -
Developer Server: getting started
I am trying to get started with Developer server. I installed
Jinitiator and the forms listener. I used the Jinitiator-tags
template, but it just says 'loading applet'. What is missing?
nullRon Lindhoudt (guest) wrote:
: I am trying to get started with Developer server. I installed
: Jinitiator and the forms listener. I used the Jinitiator-tags
: template, but it just says 'loading applet'. What is missing?
You should read through all the past threads on this subject,
there is a lot of good information and many things you must do
first, before Web forms will run!!!
null -
OAM - Basic Auth dialog continues to show despite config.xml changes
I have set enforce-valid-basic-auth-credentials to false in config.xml of the application domain I am running some apps from.
The applications are all configured for BASIC authentication.
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>myrealm</realm-name>
</login-config>
The problem is that after logging on from the OAM default FORM page the Basic Authentication dialog is still being presented.
I have referenced the following SR's to try find more info:
OIM/OAM SSO Weblogic Authentication Pop up After Login [ID 1081011.1]
OAM Configuration Steps Needed to Prevent a Second Authentication Prompt by Weblogic [ID 559442.1]The issue has been resolved. There was no interesting work-a-round or fix involved.
-
Hi All, I'm trying to edit the jps-config.xml file for ODI external LDAP. -------------- jps-config.xml -------------- user.search.bases DC=ndcvc,DC=com ---------------------- here we don't need group search.so i removed it from this file. When i try to run the odi_credtool.cmd is giving the below error----- ---- D:\Oracle\product\11.1.1\Oracle_ODI_1\oracledi\client\odi\bin>D:\Oracle\Middleware\jdk160_29\bin\java -classpath D:\Oracle\product\11.1.1\Oracle_ODI_1\oracledi.sdk\lib\odi-core.jar;D:\Oracle\product\11.1.1 cle.jps_11.1.1\jps-manifest.jar -Doracle.security.jps.config=.\jps-config.xml oracle.odi.core.security.JPSContextCredTool [input] Map:jps_map [input] Key:jps_key [input] User name:hypadmin [input] Password: Jul 17, 2014 12:15:23 PM oracle.security.jps.internal.config.xml.XmlConfigurationFactory initDefaultConfiguration SEVERE: org.xml.sax.SAXParseException: The element type "extendedProperty" must be terminated by the matching end-tag "". oracle.security.jps.config.JpsConfigurationException: The element type "extendedProperty" must be terminated by the matching end-tag "". at oracle.security.jps.internal.config.xml.XmlConfigurationFactory.initDefaultConfiguration(XmlConfigurationFactory.java:436) at oracle.security.jps.internal.config.xml.XmlConfigurationFactory.getDefaultConfiguration(XmlConfigurationFactory.java:338) at oracle.security.jps.internal.config.xml.XmlConfigurationFactory.getConfiguration(XmlConfigurationFactory.java:160) at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.(JpsContextFactoryImpl.java:112) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at oracle.security.jps.util.JpsUtil.newInstance(JpsUtil.java:190) at oracle.security.jps.JpsContextFactory$1.run(JpsContextFactory.java:74) at oracle.security.jps.JpsContextFactory$1.run(JpsContextFactory.java:72) at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.JpsContextFactory.getContextFactory(JpsContextFactory.java:71) at oracle.odi.core.security.JPSContextCredToolImpl.manageJPSContextCred(JPSContextCredToolImpl.java:23) at oracle.odi.core.security.JPSContextCredTool.main(JPSContextCredTool.java:43) Caused by: org.xml.sax.SAXParseException: The element type "extendedProperty" must be terminated by the matching end-tag "". at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388) at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1414) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1749) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2939) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.jaxp.validation.StreamValidatorHelper.validate(StreamValidatorHelper.java:144) at com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorImpl.validate(ValidatorImpl.java:111) at javax.xml.validation.Validator.validate(Validator.java:127) at oracle.security.jps.internal.common.util.XmlSchemaValidationUtil$1.run(XmlSchemaValidationUtil.java:132) at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.internal.common.util.XmlSchemaValidationUtil.doValidation(XmlSchemaValidationUtil.java:124) at oracle.security.jps.internal.common.util.XmlSchemaValidationUtil.doValidation(XmlSchemaValidationUtil.java:99) at oracle.security.jps.internal.config.xml.XmlConfigurationFactory.initDefaultConfiguration(XmlConfigurationFactory.java:418) ... 16 more JPS Context Credential tool received an exception:oracle.security.jps.config.JpsConfigurationException: The element type "extendedProperty" must be terminated by the matching end-tag "". -------------- Thanks for ur help G
Another odd thing is that there is no longer the option to add users to "BI Administrators" "BI Authors"... looks like those groups are missing.
-
Getting started UCM webservice XML
I am at a loss. I have this 400 and some page PDF as a guide for UCM and I do not remotely know how to successfully search for documents stored in UCM using the webservice interface.
I can retrieve a document if I know the dID but my users won't know that value so I need to retrieve it in a search.
Where can I find information on constructing the XML to do searches? The wsdl that you get from the UI menu on the UCM admin page doesn't seem correct.
(yes, I have it in an envelope with security header)
<soapenv:Body>
<sear:QuickSearch>
<sear:queryText>dDocTitle like 'Mytest'</sear:queryText>
</sear:QuickSearch>
</soapenv:Body>
Throws:
Cannot find dispatch method for {http://www.stellent.com/Search/}QuickSearchOk, so let's start with a sanity check.
Login to the Content Server web UI with the user login that you are using for the SOAP request. Once logged in, paste the following into the browser address bar, substituting the parts of the URL enclosed in brackets ("<>") with the correct values for your environment.
http://<server>:<port>/<instance root>/idcplg?IdcService=COLLECTION_INFO&dCollectionPath=/Contribution Folders/CHUMS/Appraisals/AAAA/&hasCollectionPath=true&IsSoap=1
What you should see is a XML response in the browser. One of the fields returned will be "dCollectionID", which is the field for which you are looking for in order to perform your original task stated in the opening of the thread. If you still get a "can't open the folder" response, verify the security applied to the folder.
If you get a valid response in the web browser, then Content Server is capable of finding your folder and can return a response. The issue is then something within the SOAP request that is being issued. -
Mac OS X Server - getting started
Hello, I need to setup an Xserve with Mac OS X Server 10.5.7. How do you configure it so a person can login to their own account from any computer and have their own desktop, dock, etc?
ThanksHi
Start with:
http://images.apple.com/server/macosx/docs/OpenDirectory_Admin_v10.5_3rdEd.pdf
http://images.apple.com/server/macosx/docs/UserManagementv10.5.mnl.pdf
The rest of Apple's documentation is here:
http://www.apple.com/server/macosx/resources/
Read thoroughly. Move onto:
http://web.me.com/johnd/JohnDsSite/Tips_%26_Tricks/Entries/2008/10/27_Tips_%26_Tricks_for_Macintosh_Management _-Leopard.html
These are just a few. You could Google for the rest of which there are many. Consider enrolling yourself in one of the Support Essentials Courses:
http://training.apple.com/
There has to be at least one in your locale? Regardless of platform deploying, configuring, running and maintaining a server is more than just the OS itself. There are many different skills you have to bring into play. A basic understanding of networking in general, TCP/IP, Switches, Routers and DNS (as always) are amongst some of the things you will have to bring to the table yourself. These you won't necessarily learn from any of the documentation Apple provide.
Finally you will have to become somewhat familiar with the command line at some level:
http://images.apple.com/server/macosx/docs/CommandLine_Adminv10.5.pdf
Tony -
Customizing server.name and server.port in services-config.xml
Hi
How can i find out what does BlazeDs use for server.name and server.port in
url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf"
can i customize those values?
thank youMete
Thank you for your reply
So context.root is resolved at compile time and server & port at runtime
Do you have an example or a link that shows / explain how to create custom tokens replaced by JVM options?
I have an issue where if i install my app on http://www.mydomain.com/mycontext/, it loads but will display the following message when making server call using Safari
FAULT: faultCode:Client.Error.MessageSend faultString:Send failed faultDetail:Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: http://www.mydomain.com/context/messagebroker/amf
Notte that it works on IE7 when accessing http://www.mydomain.com/mycontext/
and that it works great with all browsers on http://localhost:8080/mycontextroot
Would you know what is the best way to debug this issue?
Thank you
matt -
How to getting start in oracle xml database????
hi,
i am just beginning to use oracle xml database, i don't konw how to use ,can anybody give me some guidance??? like something about how to build xml database and some basic operation.
your suggestions will help me.
thanks all !!!hi,mdrake
with your suggestion, i find the following url
http://download-west.oracle.com/docs/cd/B19306_01/appdev.102/b14259/toc.htm.
and download some pdf.
thanks a lot -
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 -
How to configure CustomLoginModule in jps-config.xml
Hi,
How can we configure a Custom Login Module using jps-config.xml, as we do not want to use weblogic custom authentication provider as it needs application jars(which we require fo authenticating the user) to be kept in weblogic classpath.
Is there any documentation on how to configure and use Custom Login Modules in jps-config.xml, I tried to create a LoginModule and specify it in jps-config.xml, but
My LoginModule is not getting called.
Jdev version: 11.1.1.3.0
Server : weblogic
my jps-config.xml is
<?xml version = '1.0' encoding = 'Cp1252'?>
<jpsConfig xmlns="http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd">
<property value="doasprivileged" name="oracle.security.jps.jaas.mode"/>
<property value="custom.provider" name="true"/>
<propertySets/>
<serviceProviders>
<serviceProvider class="oracle.security.jps.internal.credstore.ssp.SspCredentialStoreProvider" name="credstore.provider" type="CREDENTIAL_STORE">
<description>Credential Store Service Provider</description>
</serviceProvider>
<serviceProvider class="oracle.security.jps.internal.login.jaas.JaasLoginServiceProvider" name="jaas.login.provider" type="LOGIN">
<description>
Login Module Service Provider
</description>
</serviceProvider>
<serviceProvider class="oracle.security.jps.internal.idstore.xml.XmlIdentityStoreProvider" name="idstore.xml.provider" type="IDENTITY_STORE">
<description>XML-based IdStore Provider</description>
</serviceProvider>
<serviceProvider class="oracle.security.jps.internal.policystore.xml.XmlPolicyStoreProvider" name="policystore.xml.provider" type="POLICY_STORE">
<description>XML-based PolicyStore Provider</description>
</serviceProvider>
</serviceProviders>
<serviceInstances>
<serviceInstance provider="credstore.provider" name="credstore">
<property value="./" name="location"/>
</serviceInstance>
<serviceInstance provider="jaas.login.provider" name="CustomLoginModule">
<property value="SUFFICIENT" name="jaas.login.controlFlag"/>
<property value="SEVERE" name="log.level"/>
<property value="org.calwin.view.CustomLoginModule" name="loginModuleClassName"/>
</serviceInstance>
<serviceInstance provider="idstore.xml.provider" name="idstore.xml">
<property value="./jazn-data.xml" name="location"/>
<property value="OBFUSCATE" name="jps.xml.idstore.pwd.encoding"/>
<property value="jps" name="subscriber.name"/>
</serviceInstance>
<serviceInstance provider="policystore.xml.provider" name="policystore.xml">
<property value="./jazn-data.xml" name="location"/>
</serviceInstance>
</serviceInstances>
<jpsContexts default="TestMultiDatasource">
<jpsContext name="TestMultiDatasource">
<serviceInstanceRef ref="idstore.xml"/>
<serviceInstanceRef ref="credstore"/>
<serviceInstanceRef ref="policystore.xml"/>
</jpsContext>
<jpsContext name="anonymous">
<serviceInstanceRef ref="credstore"/>
</jpsContext>
</jpsContexts>
</jpsConfig>My Login Module Class:
package org.calwin.view;
import java.io.IOException;
import java.security.Principal;
import java.util.Map;
import javax.security.auth.Subject;
import javax.security.auth.callback.Callback;
import javax.security.auth.callback.CallbackHandler;
import javax.security.auth.callback.NameCallback;
import javax.security.auth.callback.PasswordCallback;
import javax.security.auth.callback.UnsupportedCallbackException;
import javax.security.auth.login.LoginException;
import javax.security.auth.spi.LoginModule;
import javax.servlet.http.HttpServletRequest;
import weblogic.security.auth.callback.ContextHandlerCallback;
import weblogic.security.principal.WLSUserImpl;
import weblogic.security.service.ContextHandler;
public class CustomLoginModule
implements LoginModule
// initial state
private Subject subject;
private CallbackHandler callbackHandler;
// the authentication status
private boolean succeeded = false;
private boolean commitSucceeded = false;
// username and password
private String username;
private String password;
// testUser's SamplePrincipal
private Principal userPrincipal;
* Initialize this <code>LoginModule</code>.
* <p>
* @param subject the <code>Subject</code> to be authenticated. <p>
* @param callbackHandler a <code>CallbackHandler</code> for communicating
* with the end user (prompting for user names and
* passwords, for example). <p>
* @param sharedState shared <code>LoginModule</code> state. <p>
* @param options options specified in the login
* <code>Configuration</code> for this particular
* <code>LoginModule</code>.
public void initialize(Subject subject, CallbackHandler callbackHandler,
Map sharedState, Map options) {
this.subject = subject;
this.callbackHandler = callbackHandler;
* Authenticate the user by prompting for a user name and password.
* <p>
* @return true in all cases since this <code>LoginModule</code>
* should not be ignored.
* @exception FailedLoginException if the authentication fails. <p>
* @exception LoginException if this <code>LoginModule</code>
* is unable to perform the authentication.
public boolean login() throws LoginException {
if (callbackHandler == null)
throw new LoginException("Error: no CallbackHandler available " +
"to garner authentication information from the user");
Callback[] callbacks = new Callback[3];
callbacks[0] = new NameCallback("user name: ");
callbacks[1] = new PasswordCallback("password: ", false);
callbacks[2]=new ContextHandlerCallback();
try {
callbackHandler.handle(callbacks);
} catch (UnsupportedCallbackException uce) {
throw new LoginException("Callback Not Supported");
} catch (IOException ioe) {
throw new LoginException("I/O Failed");
username = ((NameCallback)callbacks[0]).getName();
char[] tmpPassword = ((PasswordCallback)callbacks[1]).getPassword();
if (tmpPassword == null) {
tmpPassword = new char[0];
password = new String(tmpPassword);
((PasswordCallback)callbacks[1]).clearPassword();
// verify the username/password
boolean usernameCorrect = true;
boolean passwordCorrect = true;
succeeded = true;
return true;
* <p> This method is called if the LoginContext's
* overall authentication succeeded
* (the relevant REQUIRED, REQUISITE, SUFFICIENT and OPTIONAL LoginModules
* succeeded).
* <p> If this LoginModule's own authentication attempt
* succeeded (checked by retrieving the private state saved by the
* <code>login</code> method), then this method associates a
* <code>SamplePrincipal</code>
* with the <code>Subject</code> located in the
* <code>LoginModule</code>. If this LoginModule's own
* authentication attempted failed, then this method removes
* any state that was originally saved.
* <p>
* @exception LoginException if the commit fails.
* @return true if this LoginModule's own login and commit
* attempts succeeded, or false otherwise.
public boolean commit() throws LoginException {
if (succeeded == false) {
return false;
} else {
userPrincipal = new WLSUserImpl(username);
if (!subject.getPrincipals().contains(userPrincipal))
subject.getPrincipals().add(userPrincipal);
// in any case, clean out state
username = null;
password = null;
commitSucceeded = true;
return true;
* <p> This method is called if the LoginContext's
* overall authentication failed.
* (the relevant REQUIRED, REQUISITE, SUFFICIENT and OPTIONAL LoginModules
* did not succeed).
* <p> If this LoginModule's own authentication attempt
* succeeded (checked by retrieving the private state saved by the
* <code>login</code> and <code>commit</code> methods),
* then this method cleans up any state that was originally saved.
* <p>
* @exception LoginException if the abort fails.
* @return false if this LoginModule's own login and/or commit attempts
* failed, and true otherwise.
public boolean abort() throws LoginException {
if (succeeded == false) {
return false;
} else if (succeeded == true && commitSucceeded == false) {
// login succeeded but overall authentication failed
succeeded = false;
username = null;
if (password != null) {
password = null;
userPrincipal = null;
} else {
// overall authentication succeeded and commit succeeded,
// but someone else's commit failed
logout();
return true;
* Logout the user.
* <p> This method removes the <code>SamplePrincipal</code>
* that was added by the <code>commit</code> method.
* <p>
* @exception LoginException if the logout fails.
* @return true in all cases since this <code>LoginModule</code>
* should not be ignored.
public boolean logout() throws LoginException {
subject.getPrincipals().remove(userPrincipal);
succeeded = false;
succeeded = commitSucceeded;
username = null;
if (password != null) {
password = null;
userPrincipal = null;
return true;
}My adf-config.xml:
<sec:adf-security-child xmlns="http://xmlns.oracle.com/adf/security/config">
<CredentialStoreContext credentialStoreClass="oracle.adf.share.security.providers.jps.CSFCredentialStore"
credentialStoreLocation="../../src/META-INF/jps-config.xml"/>
<sec:JaasSecurityContext initialContextFactoryClass="oracle.adf.share.security.JAASInitialContextFactory"
jaasProviderClass="oracle.adf.share.security.providers.jps.JpsSecurityContext"
authorizationEnforce="true"
authenticationRequire="true"/>
</sec:adf-security-child>My jazn.xml:
<?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>
<jazn-data xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/jazn-data-11_0.xsd">
<jazn-realm default="jazn.com">
<realm>
<name>jazn.com</name>
</realm>
</jazn-realm>
</jazn-data>My web.xml:
<filter>
<filter-name>JpsFilter</filter-name>
<filter-class>oracle.security.jps.ee.http.JpsFilter</filter-class>
<init-param>
<param-name>enable.anonymous</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>remove.anonymous.role</param-name>
<param-value>false</param-value>
</init-param>
</filter>
<servlet>
<servlet-name>adfAuthentication</servlet-name>
<servlet-class>oracle.adf.share.security.authentication.AuthenticationServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>adfAuthentication</servlet-name>
<url-pattern>/adfAuthentication</url-pattern>
</servlet-mapping>
<security-constraint>
<web-resource-collection>
<web-resource-name>adfAuthentication</web-resource-name>
<url-pattern>/adfAuthentication</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>valid-users</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>/login.html</form-login-page>
<form-error-page>/error.html</form-error-page>
</form-login-config>
</login-config>
<security-role>
<role-name>valid-users</role-name>
</security-role>weblogic.xml:
<security-role-assignment>
<role-name>valid-users</role-name>
<principal-name>users</principal-name>
</security-role-assignment>Regards,
SaikiranOurs is not a Desktop Application, but we want to handle Authentication(Which authenticates the userid and password by making a Tuxedo call) and add the Principal to Subject in session, so that ADF Authorization and securityContext can be used as is,
but doing this with Custom Authentication Provider in weblogic needs me to have a lot of Tuxedo Service related jars in weblogic/system classpath which i feel is not right thing to do, as the same jars are required in application also, which means i will have the jars in class path twice and i need to deploy the jars to both places everytime there is any change.
Is there any way by which i can set Authenticated principal to Subject in the created session from within Application? -
How to add more than a single remote service destination to
the remote-config.xml file? When I try to add a new destination tag
in the remote-config.xml I get an error when calling the mxml file
in the browser. Please help.Have you seen the example remoting-config.xml file in the
/resources/config directory that is laid down during an FDS
installation?
destination elements are children of the service element.
<service ...>
<destination id="dest1">
</destination>
<destination id="dest2">
</destination>
</service>
Perhaps your SWF didn't get updated with the new
configuration file? You need to recompile the SWF in order to get
the new configuration information into it... also, you'd need to
restart the app server if you change the config file. If you're
using Flex Builder to compile an .mxml file then you may need to
force a recompile with the Clean... option as it may have not
noticed that the services-config.xml include file
remoting-config.xml changed? -
How to stop WL 7.0 to modify config.xml file
As said, weblogic has two modes, PRODUCTION and DEVELOPMENT, if set to PRODUCTION
mode, weblogic startup will not deploy any application and you should use console
or deployer tool to deploy them manually. But, if I start it in PRODUCTION mode,
the first it does not deployt any application and startup very quickly, but, if
I manually deploy any application, weblogic server will also modify config.xml
and my next startup will deploy all the applications since they are specified
in config.xml, and the startup time will be much longer. How could I stop weblogic
server from doing this? I want production mode but I want to keep my original
config.xml untouched.
ThanksTo change this behavior:
In Skype go to "Tools" - "Options" - "IM Settings" - uncheck "Automatically accept incoming files" OR under "When I receive a file...." select "choose a folder to save the file in every time.
Maybe you are looking for
-
HOW TO SOLVE THE R6034 ERROR IN ITUNES INSTALATION
I need toknow how to solve the R6034 error in itunes instalation becouse y can´t buk up muy phone
-
HTTP error 500 on Content Server test (RSCMST), after CS migration.
Hello all, I have migrated a Content Server 6.30 system from HP-UX and MaxDB 7.3.00.42 to CS 6.40 on Windows and MaxDB 7.7.06.15. While the migration of the database and the install of the CS 6.40 seems to have completed successfully, I am having tr
-
How to archiving Adapter-Engine messages in PI 7.1
Hello, How do I archive messages in Adapter Engine side in PI 7.1. Does anybody know some document describing that ? Arthur Silva
-
Removing resource forks from photos and videos etc.?
A couple of years ago I was recommended to use BlueHarvest or ZapResourceForks to remove the duplicate "thumbnail" images I was getting when playing photos on an SD card inserted into my Sony TV. I am now using Mountain Lion and ZapResourceForks does
-
Hi all, this is my first post since dumping windows mobile and seeing the light in nokia form. I have just got me new X6 and love it but for one issue. the Wifi- seems that if I connect and don't immediately start browsing the wifi closes with no pro