Generate new user in Oracle BPEL Worklist
Hello,
how can I put on in the Oracle BPEL Worklist a new user? I have already read the tutorials in addition. Or if one can work only with the preset users like jstein and jcooper.
Thank
Greeting Cathleen
add a new user in jazn-data.xml (..\integration\orabpel\system\appserver/j2ee/home/config) in your enviroment (if you use developer install) - or if you use OID there .. add additional properties and relations in user-properties.xml (..\integration\orabpel\system\services\config)
hth clemens
Similar Messages
-
API for creating new User in Oracle E-Business Suite through BPEL
Hello,
I would like to use a BPEL process to create a new User in Oracle E-Business Suite. In the Integration Repository I was able to find an API called FND_USER_PKG/LOAD_ROW that creates/updates Application's User data. Is this the API I should be using? If so, I would like to better understand how to use this API.
I have created a simple BPEL process and added an Oracle Application Service, which uses this FND_USER_PKG/LOAD_ROW API. I set the following parameter before Invoking the Oracle Application Service: X_USER_NAME, X_ENCRYPTED_USER_PASSWORD and X_START_DATE. When I run the BPEL process I get the following error. I suspect that I am not passing all the required input parameters. Does anyone have any sample data I can use to get this API to load correctly? If I am using the wrong API, please let me know.
Please note, I have also posted this question to the SOA Suite and BPEL discussion forums...
Thank you kindly!
Christine
- <input>
- <Invoke_OracleEBS_SecurityUser_InputVariable>
- <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="InputParameters">
- <InputParameters xmlns:db="http://xmlns.oracle.com/pcbpel/adapter/db/APPS/FND_USER_PKG/LOAD_ROW/" xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/APPS/FND_USER_PKG/LOAD_ROW/">
<db:X_USER_NAME>
CRILEY
</db:X_USER_NAME>
<db:X_ENCRYPTED_USER_PASSWORD>
CRILEY
</db:X_ENCRYPTED_USER_PASSWORD>
<db:X_START_DATE>
2009-01-01
</db:X_START_DATE>
</InputParameters>
</part>
</Invoke_OracleEBS_SecurityUser_InputVariable>
</input>
- <fault>
- <bindingFault xmlns="http://schemas.oracle.com/bpel/extension">
- <part name="code">
<code>
20001
</code>
</part>
- <part name="summary">
<summary>
file:/E:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_OracleEBS_OnBoarding_1.0_d71e16636aa9ff51b9975926da6faeb2.tmp/OracleEBS_SecurityUser.wsdl OracleEBS_SecurityUser_ptt::OracleEBS_SecurityUser(InputParameters) - WSIF JCA Execute of operation 'OracleEBS_SecurityUser' failed due to: Error while trying to prepare and execute an API.
An error occurred while preparing and executing the APPS.FND_USER_PKG.LOAD_ROW API. Cause: java.sql.SQLException: ORA-20001: APP-FND-02600: Unable to create user CRILEY due to the following reason(s):
Unabled to call fnd_ldap_wrapper.create_user due to the following reason:
ORA-20001: Unabled to call fnd_ldap_wrapper.create_user due to the following reason:
An unexpected error occurred. Please contact your System Administrator...
ORA-06512: at "APPS.APP_EXCEPTION", line 72
ORA-06512: at "APPS.FND_USER_PKG", line 783
ORA-06512: at "APPS.FND_USER_PKG", line 916
ORA-06512: at "APPS.FND_USER_PKG", line 1035
ORA-06512: at "APPS.FND_USER_PKG", line 645
ORA-06512: at line 1Hello and thank you for your response. I am new to using APIs so please excuse my inexperience... I am not sure how to run the API outside of BPEL... Is that something you could easily walk me through?
I have made the following changes in BPEL based on your recommendation: 1) Added Oracle Application Service and used the API, LDAP_WRAPPER_CREATE_USER, found in the Oracle Application Module Browser* under: Applications Technology (ATG_PF)> User Management (UMX)> User (FND_USER)> PLSQL> User (FND_USER_PKG)> LDAP_WRAPPER_CREATE_USER
2) Set the following parameter prior to Invoking the Oracle App Service: X_USER_NAME, X_UNENCRYPTED_PASSWORD,X_START_DATE, X_END_DATE, X_DESCRIPTION, X_EMAIL_ADDRESS, X_FAX, X_EXPIRE_PWD.
3) Deploy and run BPEL through BPEL Control.
I get the following {color:#ff0000}error on the Invoke{color}. {color:#339966}Do you see any issues with the values I am passing in the input{color}? Any idea why I am getting this error? Is there anything that I need to have configured for the API to work correctly, other than adding an Oracle Application Service in the BPEL?
Thank you for your time,
Christine
bq. Faulted while invoking operation "OracleEBS_LDAP_Create_User" on provider "OracleEBS_LDAP_Create_User". \\ - <messages> \\ - <input> \\ - <Invoke_OracleEBS_LDAP_Create_User_InputVariable> \\ - <part xmlns:xsi="[http://www.w3.org/2001/XMLSchema-instance]" name="InputParameters"> \\ - <{color:#339966}InputParameters{color} xmlns:db="[http://xmlns.oracle.com/pcbpel/adapter/db/APPS/FND_USER_PKG/LDAP_WRAPPER_CREATE_USER/]" xmlns="[http://xmlns.oracle.com/pcbpel/adapter/db/APPS/FND_USER_PKG/LDAP_WRAPPER_CREATE_USER/]"> \\ <db:X_USER_NAME> \\ CRILEY \\ </db:X_USER_NAME> \\ <db:X_UNENCRYPTED_PASSWORD> \\ CRILEY \\ </db:X_UNENCRYPTED_PASSWORD> \\ <db:X_START_DATE> \\ 2009-01-01 \\ </db:X_START_DATE> \\ <db:X_END_DATE> \\ 2010-01-01 \\ </db:X_END_DATE> \\ <db:X_DESCRIPTION> \\ CRILEY \\ </db:X_DESCRIPTION> \\ <db:X_EMAIL_ADDRESS> \\[[email protected]|mailto:[email protected]] \\ </db:X_EMAIL_ADDRESS> \\ <db:X_FAX> \\ 999-888-7777 \\ </db:X_FAX> \\ <db:X_EXPIRE_PWD> \\ 0 \\ </db:X_EXPIRE_PWD> \\ </InputParameters> \\ </part> \\ </Invoke_OracleEBS_LDAP_Create_User_InputVariable> \\ </input> \\ - <fault> \\ - <bindingFault xmlns="[http://schemas.oracle.com/bpel/extension]"> \\ - <part name="code"> \\ <code> \\ 20001 \\ </code> \\ </part> \\ - <part name="summary"> \\ <summary> \\ file:/D:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_OracleEBS_OnBoarding_1.0_d71e16636aa9ff51b9975926da6faeb2.tmp/OracleEBS_LDAP_Create_User.wsdl [OracleEBS_LDAP_Create_User_ptt::OracleEBS_LDAP_Create_User(InputParameters) |http://forums.oracle.com/forums/]- WSIF JCA Execute of operation 'OracleEBS_LDAP_Create_User' failed due to: Error while trying to prepare and execute an API. \\ An error occurred while preparing and executing the APPS.FND_USER_PKG.LDAP_WRAPPER_CREATE_USER API. Cause: java.sql.SQLException: ORA-20001: Unabled to call fnd_ldap_wrapper.create_user due to the following reason: \\ ORA-20001: {color:#ff0000}Unabled to call fnd_ldap_wrapper.create_user due to the following reason: \\ An unexpected error occurred. Please contact your System Administrator.. \\ {color}ORA-06512: at "APPS.APP_EXCEPTION", line 72 \\ ORA-06512: at "APPS.FND_USER_PKG", line 3877 \\ ORA-06512: at line 1 \\\\ ;
Edited by: Christine Riley on Jan 28, 2009 1:22 PM
Edited by: Christine Riley on Jan 28, 2009 1:26 PM -
Oracle BPEL Worklist application on Tomcat
Can the default BPEL worklist application be deployed to Tomcat? Has anyone tried that or instructions listed out some where?
We would like to deploy the web tier deployed to a seperate Tomcat box (web tier includes a web application developed, oracle bpel worklist application)
ThanksThank you. I am not sure how to have wf_config_client.xml correctly defined and deployed. Can this be elaborated a little more please?
I tried to deploy the worklist application supplied in the samples. I ran into a lot of exceptions and continued to add the runtime libraries as needed. I followed some of the applicable instructions under 16.5.1.5 of BPEL Developer's guide as well.
I can see the login page of the worklist after this struggle, but when I try to login it comes back to the same page. I see a exceptions thrown on the tomcat console.
I think main errors that catch my attention are:
1. Invalid configuration file wf_config.xml ORABPEL-30028
2. Error in invoking user metadata service ORABPEL-30720
I really appreciate any help to go forward.
Thanks.
Dec 11, 2007 5:32:49 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Dec 11, 2007 5:32:49 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 937 ms
Dec 11, 2007 5:32:49 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Dec 11, 2007 5:32:49 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.25
Dec 11, 2007 5:32:49 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Dec 11, 2007 5:32:50 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive customworklist.war
Dec 11, 2007 5:32:51 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Dec 11, 2007 5:32:51 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Dec 11, 2007 5:32:51 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/16 config=null
Dec 11, 2007 5:32:51 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Dec 11, 2007 5:32:51 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 2265 ms
log4j:WARN No appenders could be found for logger (collaxa.cube.services).
log4j:WARN Please initialize the log4j system properly.
<2007-12-11 17:38:49,957> <ERROR> <oracle.bpel.services.workflow> <::>
java.lang.NullPointerException
at oracle.bpel.services.common.util.AbstractJaxbUtil.getAbsoluteSchemaLo
cation(AbstractJaxbUtil.java:320)
at oracle.bpel.services.common.util.AbstractJaxbUtil.createUnmarshaller(
AbstractJaxbUtil.java:295)
at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJ
axbUtil.java:145)
at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJ
axbUtil.java:127)
at oracle.bpel.services.config.ConfigurationManager.init(ConfigurationMa
nager.java:60)
at oracle.bpel.services.config.ConfigurationManager.getConfiguration(Con
figurationManager.java:101)
at oracle.bpel.services.config.ConfigurationManager.getProperty(Configur
ationManager.java:119)
at oracle.bpel.services.config.ConfigurationManager.getBooleanProperty(C
onfigurationManager.java:170)
at oracle.bpel.services.common.exception.ServicesException.<clinit>(Serv
icesException.java:61)
at oracle.bpel.services.workflow.user.client.UserMetadataServiceRemoteCl
ient.getPublicPreferences(UserMetadataServiceRemoteClient.java:801)
at worklistapp.servlets.BaseServlet.initApplicationPreferences(BaseServl
et.java:563)
at worklistapp.servlets.BaseServlet.validateSession(BaseServlet.java:199
at worklistapp.servlets.BaseServlet.doPost(BaseServlet.java:171)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:874)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:689)
at java.lang.Thread.run(Thread.java:595)
<::> ORABPEL-30028
<::>
<::> Invalid configuration file wf_config.xml
<::> The configuration file wf_config.xml not be read.
<::> Make sure that the configuration file wf_config.xml is available and is a v
alid XML document. Contact oracle support if error is not fixable.
<::>
<::> at oracle.bpel.services.config.ConfigurationManager.init(ConfigurationMa
nager.java:79)
<::> at oracle.bpel.services.config.ConfigurationManager.getConfiguration(Con
figurationManager.java:101)
<::> at oracle.bpel.services.config.ConfigurationManager.getProperty(Configur
ationManager.java:119)
<::> at oracle.bpel.services.config.ConfigurationManager.getBooleanProperty(C
onfigurationManager.java:170)
<::> at oracle.bpel.services.common.exception.ServicesException.<clinit>(Serv
icesException.java:61)
<::> at oracle.bpel.services.workflow.user.client.UserMetadataServiceRemoteCl
ient.getPublicPreferences(UserMetadataServiceRemoteClient.java:801)
<::> at worklistapp.servlets.BaseServlet.initApplicationPreferences(BaseServl
et.java:563)
<::> at worklistapp.servlets.BaseServlet.validateSession(BaseServlet.java:199
<::> at worklistapp.servlets.BaseServlet.doPost(BaseServlet.java:171)
<::> at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
<::> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
<::> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:269)
<::> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
<::> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
<::> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:174)
<::> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
<::> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:117)
<::> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:108)
<::> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:151)
<::> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:874)
<::> at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:665)
<::> at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:528)
<::> at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:81)
<::> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:689)
<::> at java.lang.Thread.run(Thread.java:595)
<::> Caused by: java.lang.NullPointerException
<::> at oracle.bpel.services.common.util.AbstractJaxbUtil.getAbsoluteSchemaLo
cation(AbstractJaxbUtil.java:320)
<::> at oracle.bpel.services.common.util.AbstractJaxbUtil.createUnmarshaller(
AbstractJaxbUtil.java:295)
<::> at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJ
axbUtil.java:145)
<::> at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJ
axbUtil.java:127)
<::> at oracle.bpel.services.config.ConfigurationManager.init(ConfigurationMa
nager.java:60)
<::> ... 24 more
<2007-12-11 17:38:50,066> <ERROR> <oracle.bpel.services.workflow> <::>
java.lang.NullPointerException
at oracle.bpel.services.common.util.AbstractJaxbUtil.getAbsoluteSchemaLo
cation(AbstractJaxbUtil.java:320)
at oracle.bpel.services.common.util.AbstractJaxbUtil.createUnmarshaller(
AbstractJaxbUtil.java:295)
at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJ
axbUtil.java:145)
at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJ
axbUtil.java:127)
at oracle.bpel.services.config.ConfigurationManager.init(ConfigurationMa
nager.java:60)
at oracle.bpel.services.config.ConfigurationManager.getConfiguration(Con
figurationManager.java:101)
at oracle.bpel.services.config.ConfigurationManager.getProperty(Configur
ationManager.java:119)
at oracle.bpel.services.config.ConfigurationManager.getBooleanProperty(C
onfigurationManager.java:170)
at oracle.bpel.services.common.exception.ServicesException.<clinit>(Serv
icesException.java:61)
at oracle.bpel.services.workflow.user.client.UserMetadataServiceRemoteCl
ient.getPublicPreferences(UserMetadataServiceRemoteClient.java:801)
at worklistapp.servlets.BaseServlet.initApplicationPreferences(BaseServl
et.java:563)
at worklistapp.servlets.BaseServlet.validateSession(BaseServlet.java:199
at worklistapp.servlets.BaseServlet.doPost(BaseServlet.java:171)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:874)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:689)
at java.lang.Thread.run(Thread.java:595)
<::> ORABPEL-30720
<::>
<::> Error in invoking user metadata service.
<::> A client side error occured in invoking the user metadata service.
<::> Please check the exception error stack to identify the error. Contact oracl
e support if error is not fixable.
<::>
<::> at oracle.bpel.services.workflow.user.client.UserMetadataServiceRemoteCl
ient.getPublicPreferences(UserMetadataServiceRemoteClient.java:801)
<::> at worklistapp.servlets.BaseServlet.initApplicationPreferences(BaseServl
et.java:563)
<::> at worklistapp.servlets.BaseServlet.validateSession(BaseServlet.java:199
<::> at worklistapp.servlets.BaseServlet.doPost(BaseServlet.java:171)
<::> at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
<::> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
<::> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:269)
<::> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
<::> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
<::> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:174)
<::> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
<::> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:117)
<::> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:108)
<::> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:151)
<::> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:874)
<::> at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:665)
<::> at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:528)
<::> at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:81)
<::> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:689)
<::> at java.lang.Thread.run(Thread.java:595)
<::> Caused by: javax.naming.NameNotFoundException: UserMetadataService not foun
d
<::> at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java
:52)
<::> at javax.naming.InitialContext.lookup(InitialContext.java:351)
<::> at oracle.bpel.services.workflow.user.client.UserMetadataServiceRemoteCl
ient.getPublicPreferences(UserMetadataServiceRemoteClient.java:796)
<::> ... 19 more
<2007-12-11 17:38:50,160> <ERROR> <oracle.bpel.services.workflow> <::> UserMetad
ataService not found
javax.naming.NameNotFoundException: UserMetadataService not found
at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java
:52)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at oracle.bpel.services.workflow.user.client.UserMetadataServiceRemoteCl
ient.getPublicPreferences(UserMetadataServiceRemoteClient.java:796)
at worklistapp.servlets.BaseServlet.initApplicationPreferences(BaseServl
et.java:563)
at worklistapp.servlets.BaseServlet.validateSession(BaseServlet.java:199
at worklistapp.servlets.BaseServlet.doPost(BaseServlet.java:171)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:874)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:689)
at java.lang.Thread.run(Thread.java:595)
<::> ORABPEL-30720
<::>
<::> Error in invoking user metadata service.
<::> A client side error occured in invoking the user metadata service.
<::> Please check the exception error stack to identify the error. Contact oracl
e support if error is not fixable.
<::>
<::> at oracle.bpel.services.workflow.user.client.UserMetadataServiceRemoteCl
ient.getPublicPreferences(UserMetadataServiceRemoteClient.java:801)
<::> at worklistapp.servlets.BaseServlet.initApplicationPreferences(BaseServl
et.java:563)
<::> at worklistapp.servlets.BaseServlet.validateSession(BaseServlet.java:199
<::> at worklistapp.servlets.BaseServlet.doPost(BaseServlet.java:171)
<::> at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
<::> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
<::> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:269)
<::> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
<::> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
<::> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:174)
<::> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
<::> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:117)
<::> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:108)
<::> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:151)
<::> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:874)
<::> at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:665)
<::> at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:528)
<::> at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:81)
<::> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:689)
<::> at java.lang.Thread.run(Thread.java:595)
<::> Caused by: javax.naming.NameNotFoundException: UserMetadataService not foun
d
<::> at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java
:52)
<::> at javax.naming.InitialContext.lookup(InitialContext.java:351)
<::> at oracle.bpel.services.workflow.user.client.UserMetadataServiceRemoteCl
ient.getPublicPreferences(UserMetadataServiceRemoteClient.java:796)
<::> ... 19 more
<2007-12-11 17:38:50,238> <ERROR> <oracle.bpel.services.workflow> <::> UserMetad
ataService not found
javax.naming.NameNotFoundException: UserMetadataService not found
at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java
:52)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at oracle.bpel.services.workflow.user.client.UserMetadataServiceRemoteCl
ient.getPublicPreferences(UserMetadataServiceRemoteClient.java:796)
at worklistapp.servlets.BaseServlet.initApplicationPreferences(BaseServl
et.java:563)
at worklistapp.servlets.BaseServlet.validateSession(BaseServlet.java:199
at worklistapp.servlets.BaseServlet.doPost(BaseServlet.java:171)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:874)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:689)
at java.lang.Thread.run(Thread.java:595)
Failed to load application preferences, using default values
<ISConfiguration::load> Found Configuration=Configuration: realmName=jazn.com p
roperties:{} has 1 providers:
<ISConfiguration::load> Provider: service=Identity providerType=JAZN pr
oviderName=XML Provider properties:{usersPropertiesFile=users-properties.xml}
<ISConfiguration::load>
<ISConfiguration::validate> Validate configuration=Configuration: realmName=jazn
.com properties:{} has 1 providers:
<ISConfiguration::validate> Provider: service=Identity providerType=JAZN pr
oviderName=XML Provider properties:{usersPropertiesFile=users-properties.xml}
<ISConfiguration::validate>
<ISConfiguration::save> Save IdentityService configuration file into /C:/Tomcat5
.5/apache-tomcat-5.5.25/webapps/customworklist/WEB-INF/classes/is_config.xml -
Hi,
I am creating a new user in oracle
CREATE USER XYZ IDENTIFIED BY XYZ
it is working fine..
But when i am writing the below
CREATE USER Finedocs4.1_SP1 IDENTIFIED BY Finedocs, it is showing erro like invalid character, i think oracle does not support '_' while creating the user..
Please suggest..
Thanks
Hara..EdStevens wrote:
805936 wrote:
Hi,
I am creating a new user in oracle
CREATE USER XYZ IDENTIFIED BY XYZ
it is working fine..
But when i am writing the below
CREATE USER Finedocs4.1_SP1 IDENTIFIED BY Finedocs, it is showing erro like invalid character, i think oracle does not support '_' while creating the user..
Please suggest..
Thanks
Hara..It does not support the "dot". If you want to include that you will have to enclose the entire username in double-quotes :
CREATE USER "Finedocs4.1_SP1" IDENTIFIED BY Be aware that doing so will also make your username case sensitive, so it would always need to be enclosed. If you make sure the username is create in all caps (CREATE USER "FINEDOCS4.1_SP1" ) it will be effectively case-insensitive to the end user, but there will still be admin commands on the username that will still need to be enclosed in quotes to get around the dot.Correct. I would suggest re-thinking your naming scheme and trying to use something that does not have the . or - -
Oracle BPEL Worklist application as a remote portlet in ALUI portal
Hi,
I am integrating the Oracle BPEL sample worklist application as a remote portlet in ALUI in a community page.
I have 2 urgent queries...and desperate to look for a resolution...
1) On opening the page where the remote portlet is placed ,it is very very slow to open the firt login screen in IE6.However the page is loading fast in IE7 or netscape.Every time the login page is hit we need to refresh the page to load it quickly..
2)on thewebservice configuration section for portlet -- > http Configuration ,I have created a gateway and added our Oracle BPEL worklist context to gateway the request.There is a option like Inline refresh..
a)If inline refresh is unchecked ,the BPEL worklist is not retaining the portlet nature like minimize ,maximize and the top community navigation is lost.
b)however if inline refesh is checked..The portlet nature is retained ,however there is javascript error coming in the page which is not allowing some of the vanilla features of BPEL worklist is working properly like clicking some buttons and taking actions...
Is this some configuration to be made in the ALUI side or some thing else...Please let me know if there is any solution to this...
Regards
AshifNow I am able to display the initial page of the remote portlet. However, when I try to do some operations I m running into one more issue:
[WSRP-Consumer:420733]No markup received from the producer [oraclePortal_producer] for portlet with portletHandle[E:3:default].
Is there anything futher I need to do?
regards,
Ansuman -
Cannot create new user in oracle bam
Hi Guys,
Can anyone help me in creating new user in oracle bam. I've already follow the steps in bamadmin.pdf but i cannot connect to BAM using the one i've created.
Please Help.
Thank you!RRA wrote:
Hello,
How can I create a new user directly in database instead of creating from System Administrator menu in Oracle Applications R12 ?
Also, is it possible to apply some default responsibilities when a creation of new user account take place via database ?
Thanks.This topic was discussed many times in the forum before, please see old threads for the same topic/discussion along with the code you can use.
Create Application User from the Backend
https://forums.oracle.com/forums/search.jspa?threadID=&q=Create+AND+Application+AND+User+AND+Backend&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
https://forums.oracle.com/forums/search.jspa?threadID=&q=Create+AND+Users+AND+API&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Assign Responsibilities API
https://forums.oracle.com/forums/search.jspa?threadID=&q=Assign+AND+Responsibilities+AND+API&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
FND_USER_PKG API
https://forums.oracle.com/forums/search.jspa?threadID=&q=FND_USER_PKG&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
FND_USER_PKG.CreateUser
https://forums.oracle.com/forums/search.jspa?threadID=&q=FND_USER_PKG.CreateUser+&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
FND_USER_PKG.AddResp
https://forums.oracle.com/forums/search.jspa?threadID=&q=FND_USER_PKG.addresp&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
How to create new Standard views in BPEL worklist
Hi all,
we want to use the BPEL Sample Worklist and customize it. Among others we want to modify the existing standard views (like "High Priority Tasks" etc.) and add new ones.
According to a tech note ("http://www.oracle.com/technology/products/ias/bpel/htdocs/orabpel_standardviewtechnote.html", actually the only one we found!) on the Oracle Tech Network we modified the XML file (StandardTaskViews.xml) that defines the original standard views.
That xml file is located in the bpm-services.jar file under $[oracle.home]/bpel/system/services/lib.
But when restarting the server all standard views disappeared, even after replacing the changed jar file with the original one!?
So how can we create new standard views!?
Regards
JanOk, thanks.
But what happens if a new user is created after you have set the VIEWOWNER column to all users!? This user won't have that view!? Or is there a chance to set the VIEWOWNER column to something like "ALLUSERS"!?
In our understanding this is exactly what Standard views represent: A view that is available to all users. So it would be very handy if one could easily define new standard views instead of creating a custom view and make it available to all (currently existing) users...
Regards
Jan -
Error while creating new user in Oracle 11i EBS
I am getting following error while creating new user. How solve this issue?
“Unable to load java class % specified profile option SIGNON_PASSWORD_CUSTOM. Please verify that the class exists and that it implements the java interface oracle.apps.fnd.security.PasswordValidation”.Following is the text from Note for Custom Password Validation logic:
Customers who wish to use their own password validation logic may do
so by writing their own Java classes that implement the
oracle.apps.fnd.security.PasswordValidation Java interface. The
interface requires 3 methods to be implemented:
1) public boolean validate(String user, String password)
- This method takes a username and password, and then returns true
or false, indicating whether the user's password is valid or invalid,
respectively.
2) public String getErrorStackMessageName()
- This method returns the name of the message to display when the
user's password is deemed invalid (i.e., the validate() method returns
false).
3) public String getErrorStackApplicationName()
- This method returns the application shortname for the
aforementioned error message.
After writing the Java class to perform customized password
validation, the customer must then set the value of the profile option
SIGNON_PASSWORD_CUSTOM to be the full name of the class. If, for
example, the name of the Java class is
oracle.apps.fnd.security.AppsPasswordValidation, then the value of the
SIGNON_PASSWORD_CUSTOM profile option must be
oracle.apps.fnd.security.AppsPasswordValidation. Note that AOL/J
will attempt to load this class dynamically. Hence it is necessary to
make the class accessible by AOL/J. This means that in Forms, the
class must first be loaded into the database using the loadjava
command.
You will need to apply the following patches for 11.5.1:
1344802
1363919
1472974
1351004
1377615
You will need to apply the following patches for 11.5.2:
1377615 -
Create a new user in Oracle Bi enterprsie edition plss help
how can we create new users in for oracle bi
currently i have only adminsitrator as a user i want to create 5 different users please heklp me with steps to create the users
which module is to be used please guide me with steops as am new to otracle bi just started today
thanksHi,
If I understood your problem correctly, then I think that associated Group does not have Administrator previleges.. Only Administrator can access the Repository..
Alternatively, you can check those users by logging into BI Presentation Services.. Definitely those users will be logged in as you defined them in your Repository...
Only access to metadata (repository) will be denied to the users created by you (if they does not have Administrator previleges)..
Hope this will clarifies your problem..
I will be very happy if anyone corrects me..:)
-Vency -
Create a new user for oracle 10G ASM instance with sysdba system privilege
Hi,
In our Golden Gate Project, we require the SYS user credential to connect to the Oracle 10g ASM instance to read the database transaction logs.But our client is not providing the SYS user credential to connnect to ASM instance.
I'm getting the error message "ORA-01109: database not open",When I tried to create a new user using the below the steps in oracle 10g ASM instance
1. Login using "sqlplus / as sysdba"
2. Create user <username> identified by <password>;
But in oracle 11g ASM instance, I'm able to create new user by connecting the ASM instance with SYSASM role without issues.
Is there is any workaround to create a new user with sysdba system privilege in oracle 10g ASM instance?.
Thanks in advance .Hi,
Recreate the password file for the ASM instance as follows:
Unix:
orapwd file=<ORACLE_HOME>/dbs/PWD<SID> password=<sys_password>
Windows:
orapwd file=<ORACLE_HOME>/database/PWD<SID>.ora password=<sys_password>
Now sys password is reset, we are ready to use sys for ASM management. I decided to create another user ASMDBA as I tried above.
SQL> create user ASMDBA identified by test01;
User created.
SQL> grant SYSASM, SYSOPER to ASMDBA;
Grant succeeded.
SQL> select * from v$pwfile_users;
USERNAME SYSDBA SYSOPE SYSASM
SYS TRUE TRUE TRUE
ASMDBA FALSE TRUE TRUE
Please see this link : http://orachat.com/how-to-change-asm-sys-password-creating-sysasm-user-11g/
Thank you -
Create New User In Oracle ERP R12.
Hello,
How can I create a new user directly in database instead of creating from System Administrator menu in Oracle Applications R12 ?
Also, is it possible to apply some default responsibilities when a creation of new user account take place via database ?
Thanks.RRA wrote:
Hello,
How can I create a new user directly in database instead of creating from System Administrator menu in Oracle Applications R12 ?
Also, is it possible to apply some default responsibilities when a creation of new user account take place via database ?
Thanks.This topic was discussed many times in the forum before, please see old threads for the same topic/discussion along with the code you can use.
Create Application User from the Backend
https://forums.oracle.com/forums/search.jspa?threadID=&q=Create+AND+Application+AND+User+AND+Backend&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
https://forums.oracle.com/forums/search.jspa?threadID=&q=Create+AND+Users+AND+API&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Assign Responsibilities API
https://forums.oracle.com/forums/search.jspa?threadID=&q=Assign+AND+Responsibilities+AND+API&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
FND_USER_PKG API
https://forums.oracle.com/forums/search.jspa?threadID=&q=FND_USER_PKG&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
FND_USER_PKG.CreateUser
https://forums.oracle.com/forums/search.jspa?threadID=&q=FND_USER_PKG.CreateUser+&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
FND_USER_PKG.AddResp
https://forums.oracle.com/forums/search.jspa?threadID=&q=FND_USER_PKG.addresp&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
Hey All,
I have created a runbook to create new user, our company uses last name and first initial for user name, how can I get that generated in a runbook, I tried random text generator but it didn't work. any ideas pleaseHi, best should be to use PowerShell for that, here is a sample Script.
Depends on how you want to create the Username, but should help
<#
.SYNOPSIS
This is a Powershell script to clean up the Sid-History of Users in a specified Organization Unit.
.DESCRIPTION
Parameters:
-Verbose
> Set Verbose to $true for Testing mode
> Set Verbose to $false for Productive mode
> Default Value: $true
-DistinguishedNameOU
> Set DistinguishedNameOU to define the scope
> Default Value: "DC=voestalpine,DC=root,DC=local"
-RecreateDatabaseEntries
> Set RecreateDatabaseEntries to $true for Database Rebuild (necessary after Domain Migration), Duration: approx. 1 Week
By setting RecreateDatabaseEntries to $true all other Parameters will be ignored.
> Set RecreateDatabaseEntries to $false; using existing DatabaseValues
> Default Value: $false
-UserReportLoggingPath
> Set UserReportLoggingPath to change Logging Path for User-Report
> Default Value: "C:\Temp\"
-FullLoggingPath
> Set FullLoggingPath to change Logging Path for User-Report
> Default Value: "C:\Temp\"
.EXAMPLE
Clean SID-History of Users and Groups in OU "OU=Stahl,DC=voestalpine,DC=root,DC=local"
./AD_SID_CleanUP_SCRIPT_V0.2.ps1 -DistinguishedNameOU "OU=Stahl,DC=voestalpine,DC=root,DC=local" -Verbose:$true
Rebuild Database Entries
./AD_SID_CleanUP_SCRIPT_V0.2.ps1 -RecreateDatabaseEntries:$true
#>
##################Section: Parameters###################
#Parameters for Script-Mode:
param(
#[Parameter(Mandatory=$True)]
[string]$OU,
#[Parameter(Mandatory=$True)]
[string]$GivenName="MiChàel",
#[Parameter(Mandatory=$True)]
[string]$LastName="SeiDl",
#[Parameter(Mandatory=$True)]
[ValidateSet("A", "B")]
[string]$Mode,
#[Parameter(Mandatory=$True)]
[string]$Domain="ad.base-it.at",
#[Parameter(Mandatory=$True)]
[string]$FullLoggingPath = "C:\Users\Michael\SkyDrive\3-Work\3 - TECH\Scripts\PowerShell\ActiveDirectory\GetUsername ",
#[Parameter(Mandatory=$True)]
[ValidateSet("Yes", "No")]
[string]$Cleaning = "Yes"
$FullLoggingFileName = "FullLog"+"_"+$GivenName+"_"+$lastname+".txt"
#Settings Mode A
$A_CharLastName=3
$A_CharGivenName=2
$B_CharLastName=3
$B_CharGivenName=2
##################Section: Functions####################
# Function Get-MyModule:
# Function Get-MyModule imports the given $name Module or PSSnapin.
# Return Values:
# $true => success
# $false => error
Function Get-MyModule ($name)
if(-not(Get-Module -name $name))
if(Get-Module -ListAvailable | Where-Object { $_.name -eq $name })
Import-Module -Name $name
return $true
else {
if(-not(Get-PSSnapin | where { $_.Name -eq $name })){
if(Get-PSSnapin -Registered | Where-Object { $_.name -eq $name })
Add-PSSnapin $name
return $true
else{
return $false
else { return $true }
else { return $true }
# Function Write-LogAppendLine ($Text, $Public):
# Function Write-LogAppendLine adds the formated Text to the Log-File ("<current Date> - $F_Text - $F_Value")
# No return Value
function Write-LogAppendLine ($Text, $Public) {
if (!(Test-Path -Path $FullLoggingPath)) {
New-Item -Path $FullLoggingPath -ItemType Directory
if (!(Test-Path -Path $FullLoggingPath\$FullLoggingFileName)) {
New-Item -Path $FullLoggingPath\$FullLoggingFileName -ItemType File
$Datum=Get-Date -format dd.MM.yyyy-HH:mm:ss
$Log="$Datum - $Text"
add-Content -Path $FullLoggingPath\$FullLoggingFileName -Value $Log
if ($Public -eq "Yes") {
Write-Host $Text
if ($Text -match "Error") {
Write-Host "Script stoped"
#exit
# Function Clean-Akzent ($Name):
# Function Clean-Akzent cleans all Names from Akzent
# No return Value
function Clean-Akzent ($Name) {
Try
$Value=$Name.replace('à','a').replace('á','a').replace('é','e').replace('è','e').replace('ó','o').replace('ò','o').replace('ú','u').replace('ù','u').replace('í','i').replace('ì','i')
Write-LogAppendLine "Info: Name cleaned from Akzent => $Value." "Yes"
return $Value
Catch
$ErrorMessage = $_.Exception.Message
$FailedItem = $_.Exception.ItemName
Write-LogAppendLine "Error: Failed on cleaning Akzent." "Yes"
Write-LogAppendLine "Error: Failed Item => $FailedItem" "No"
Write-LogAppendLine "Error: ErrorMessage => $ErrorMessage" "No"
return $false
# Function Clean-Size ($Name):
# Function Clean-Size uppers the first Character and lowers all others
# No return Value
function Clean-Size ($Name) {
Try
$NameArray=$Name.Split(' ')
$givenName=$null
$CountNameArray=1
foreach ($Entry in $NameArray) {
if ($CountNameArray -gt 1) {
$Value+=" "
$Value+=$Entry.Substring(0,1).ToUpper()+$Entry.Substring(1).ToLower()
$CountNameArray++
Write-LogAppendLine "Info: Name cleaned uppere and lower => $Value." "Yes"
return $Value
Catch
$ErrorMessage = $_.Exception.Message
$FailedItem = $_.Exception.ItemName
Write-LogAppendLine "Error: Failed on cleaning Akzent." "Yes"
Write-LogAppendLine "Error: Failed Item => $FailedItem" "No"
Write-LogAppendLine "Error: ErrorMessage => $ErrorMessage" "No"
return $false
# Function Get-Username_A ($LastName, $GivenName):
# Function Get-Username_A
# No return Value
function Get-Username_A ($LastName, $GivenName) {
Try
If ($LastName.length -gt $A_CharLastName) {
$A_LastName = $LastName.ToLower().Substring(0,$A_CharLastName)
else
$A_LastName = $LastName.ToLower()}
If ($GivenName.length -gt $A_CharFirstName) {
$A_GivenName = $GivenName.ToLower().Substring(0,$A_CharGivenName)
else
$A_GivenName = $GivenName.ToLower()
$UsernameOrig="$A_LastName$A_GivenName"
$Username=$UsernameOrig
$Nummer=1
$UserExist=0
while ($UserExist -lt 1) {
if (!(get-aduser -filter {SamAccountName -eq $Username})) {
$UserExist=1
$Value=$Username
Else
$Username=$UsernameOrig+$Nummer
$Nummer++
Write-LogAppendLine "Info: Got a Username => $Value." "Yes"
return $Value
Catch
$ErrorMessage = $_.Exception.Message
$FailedItem = $_.Exception.ItemName
Write-LogAppendLine "Error: Failed on cleaning Akzent." "Yes"
Write-LogAppendLine "Error: Failed Item => $FailedItem" "No"
Write-LogAppendLine "Error: ErrorMessage => $ErrorMessage" "No"
return $false
# Function Get-Username_B ($LastName, $GivenName):
# Function Get-Username_B
# No return Value
function Get_Username_B ($LastName, $GivenName) {
Try
$GivenNameOrig=$GivenName
If ($LastName.length -gt $B_CharLastName) {
$LastName = $LastName.ToLower().Substring(0,$B_CharLastName)
else
$LasTName = $LastName.ToLower()
If ($GivenName.length -gt $B_CharGivenName) {
$GivenName = $GivenName.ToLower().Substring(0,$B_CharGivenName)
else
$GivenName = $GivenName.ToLower()
$UserName="$LastName$GivenName"
$Nummer=1
$UserExist=0
$Length=$givenNameOrig.Length
$Position = 3
$TwoFirstName=$GivenNameOrig.Substring(0,2)
while ($UserExist -lt 1) {
if (!(get-aduser -filter {SamAccountName -eq $Username})) {
$UserExist=1
Else
$UserExist=0
if ($Position -lt $Length) {
$Buchstabe=$givenNameOrig.Substring($Position,1)
$UserName=$LastName+$TwoFirstName+$Buchstabe
$Position++
elseif ($Position -eq $Length) {
$UserName="$LastName$FirstName"
$UserName=$Username.subString(0,$B_CharLastName+$B_CharGivenName)
$UserName=$username+$Nummer
$Nummer++
return $Username.tolower()
Write-LogAppendLine "Info: Got a Username => $Value." "Yes"
#return $Value
Catch
$ErrorMessage = $_.Exception.Message
$FailedItem = $_.Exception.ItemName
Write-LogAppendLine "Error: Failed on cleaning Akzent." "Yes"
Write-LogAppendLine "Error: Failed Item => $FailedItem" "No"
Write-LogAppendLine "Error: ErrorMessage => $ErrorMessage" "No"
return $false
##################Section: Module-Imports/Add-Snappins###############
$CheckModuleImportAD = get-mymodule -name "ActiveDirectory"
if($CheckModuleImportAD){ Write-LogAppendLine "Info: ActiveDirectory-Modul successfully imported." }else{ Write-LogAppendLine "Error: ActiveDirectory-Modul not avaiable." }
##################Section: Magic##################
#Cleaning
if ($Cleaning -eq "yes") {
$GivenName=Clean-Akzent $GivenName
$GivenName=Clean-Size $GivenName
$LastName=Clean-Akzent $LastName
$LastName=Clean-Size $LastName
#Set DisplayName
$Displayname=$LastName+", "+$GivenName
Write-LogAppendLine "Info: Displayname defined => $Displayname." "Yes"
Get-Username_A $LastName $GivenName
Get_Username_B $LastName $GivenName
Seidl Michael | http://www.techguy.at |
twitter.com/techguyat | facebook.com/techguyat -
How to create a new user in oracle apps using exiting user
How To Copy Oracle apps user access to a New oracle apps user With Same Privilage/responsibilities.
Hi;
You can use dbms_metadata.get_ddl
Regard
Helios -
Create a new user on Oracle Designer 6
I know this version is not supported anymore but the client still uses it.
I have to create a new repository user and it's done but the user doesn't have access to the different application systems. I get the error CDI-20540 and i can't find a way to give the user access.
This is what i did:
I've created the user in the database.
Next, I got into Maintain Users in Repository Admin utility and I insert a row for the user by selecting the oracle user I just recreated.
The user should now have access to designer repository and he he can connect but he has no access to any application system.
I go into Repository Object Navigator and I go to Application - Grant Access by Application.
I click on Add User but the repository user doesn't show up.
What am I missing?
Thanks!This has been a lot of years ago but I will try to
help
1. grant the user all of the required permissions by
SYS
connect, resource, create sequence, creat synonyn,
create table,
Then you will need to select the Maintain Users
button.
This will allow the user to connect to the reposity.
However they cannot see any of the application
except the ones they create.
age 2-28 of the instalation guide.
( I do not why I still have that manual here)
To view the other applications theyse must be granted
by the application owner.
Page 918 of the Oracle Designer Handbook shows the
Grant Access by User screen. needsto be set for you
to view the applications.Thanks for replying but my problem is when I got to Grant Access by User screen, I don't see the user i just created. (Oracle user exists and i can connect to the repository as newly created user).
That's kinda strange and i'm not sure what else i can try. -
Unable to create new user using Oracle Database vault
Hi,
can somebody help me to autorize user other then SYS user (e.g. system) to CREATE new and ALTER users when my database is secured by Oracle database vault with default installation settings;
ThanksReading the DV docs would be a great place to start.
Consider, for a moment, that if the normal privileges provided to SYS using DV worked the same as they do in a regular database you wouldn't have a data vault you'd have a regular database.
After you read the docs log on and try the following:
SELECT username
FROM dba_users
WHERE username LIKE 'DV%';Aha!
Maybe you are looking for
-
Helloo Can any one recomend an addon for taking the sales order with handheld for example a sales person visiting clients. Any suggestions ? Experiencies ?
-
How do i enlarge print Size on HP Photosmart All in one
Print comes out small when i print
-
Flash Player 16.0.0.235 breaks audio driver on Windows
There is a severe bug in the latest version of Flash Player, relating to audio playback on Windows. Ever since upgrading to v16.0.0.235, Flash has been repeatedly breaking audio playback for the entire Windows system (i.e. every application that trie
-
Russian characterset insert fails..Request for guidance.
Guys, I've been trying to insert the Russian character string "СТАВРОПОЛЬСКИЙ КР" into my database object-column defined as VARCHAR (25) -using GUI. The insert is failing, it doesn't give information about the cause of the failure though. Could somon
-
Plz help: can i type Chinese using Apple wireless keyboard????
Kind of struggling whether should i buy a wireless keyboard for my ipad air 2 as i may have lotta word job related to Chinese and French, and i know that French is okay with the English keyboard, at least much eaiser than typing Chinese characters. S