Batch import users
Hi,
I was wondering wether (and how!) it is possible to run a batch import
of users in the Portal 4 database. Is there a script that reads a
comma separated file with usernames/passwords or is this sth. you have
to program yourself?
Regards, Erik-Jan
oops, apologies...i responded to the wrong post...
-tanya
"tanya" <[email protected]> wrote:
>
take a look at:
http://edocs.bea.com/wlp/docs70/javadoc/index.html
looks like PortletRenderHelper only gives you read access to these attrib...but,
there are some IPs which appear to open up that functionality...check
out all
of the subclasses of:
com.bea.portal.appflow.processor.AbstractPortalProcessor
-tanya
EJS <[email protected]> wrote:
Hi,
I was wondering wether (and how!) it is possible to run a batch import
of users in the Portal 4 database. Is there a script that reads a
comma separated file with usernames/passwords or is this sth. you have
to program yourself?
Regards, Erik-Jan
Similar Messages
-
Batch Import of User Parameters
Hello,
I've got situation as follows:
- UME J2EE datasource is corporate LDAP,
- users are available in J2EE ume.
I need to load initial information about portal roles assigned to users and mapping info to backend systems.
Is it allowed via Batch Import utility of J2EE UME? Is it possible to 'overwrite originals' when user come from LDAP, instead UME db?
regards,
MryHi,
I tried procedure proposed by you, and it seems that NW04s SP09 has issues...
What I did was (all done using Admins account):
1. created group in ume database (users come from ldap), and then assigned role to group,
2. assigned this group permission (read / enduser) to particular PCD folder,
3. prepared flat file for batch import utility
[Group]
gid=group_name
user=user1;user2
4. started the batch import utility
5. procedure went well
Complete Import Record
user=[user1, user2]
gid=group_name
status=UPDATED
6. afterwards, no assignement between group and user is visible in ume
7. in defaulttrace.log i can find the exception
Undefined User Attribute debugParameters; return empty string
[EXCEPTION]
java.lang.NoSuchMethodException: com.sapportals.portal.prt.service.authenticationservice.AuthenticationService$UserContextWrapper.getdebugParameters() at java.lang.Class.getMethod(Class.java:986) at com.sapportals.portal.appintegrator.template_processor.context.UserWrapper.getTerminal(UserWrapper.java:95) at com.sapportals.portal.appintegrator.template_processor.TemplateProcessor.processWholeTagExpression(TemplateProcessor.java:152) at com.sapportals.portal.appintegrator.template_processor.compiler.ProcessWholeTagExpressionAction.execute(ProcessWholeTagExpressionAction.java:16) at com.sapportals.portal.appintegrator.template_processor.compiler.ProcessTemplateAction.execute(ProcessTemplateAction.java:39) at com.sapportals.portal.appintegrator.template_processor.TemplateProcessor.processImpl(TemplateProcessor.java:399) at com.sapportals.portal.appintegrator.template_processor.TemplateProcessor.process(TemplateProcessor.java:373) at com.sapportals.portal.appintegrator.template_processor.TemplateProcessor.process(TemplateProcessor.java:385) at com.sapportals.portal.appintegrator.template_processor.TemplateProcessorService.processTemplate(TemplateProcessorService.java:53) at com.sapportals.portal.appintegrator.template_processor.TemplateProcessorService.processTemplate(TemplateProcessorService.java:104) at com.sapportals.portal.appintegrator.layer.AbstractIntegrationLayer.processTemplate(AbstractIntegrationLayer.java:439) at com.sapportals.portal.appintegrator.layer.URLTemplateProcessLayer.processLayer(URLTemplateProcessLayer.java:33) at com.sapportals.portal.appintegrator.LayerProcessor.processActionPass(LayerProcessor.java:159) at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doActionPass(AbstractIntegratorComponent.java:67) at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doOnPOMReady(AbstractIntegratorComponent.java:53) at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:396) at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:252) at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:369) at com.sapportals.portal.prt.pom.PortalNode.processEventQueue(PortalNode.java:800) at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:652) at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240) at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522) at java.security.AccessController.doPrivileged(Native Method) at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Is this assignement done, or not? Has anyone had this issue?
regards,
Mry -
Batch Import in User Administration
Hi,
There is an option for batch import in User Administration. If i am not wrong, we can give the details of the users in a text file, upload the same and create the users in the portal.
Where can i find the format of the text file that should be uploaded?
Thanks,
Venkathi
Go to user admin. In the Serach screen serach for the existing user. from the list select a user and click the Export button. then you will get the format
<b>Format</b>
[User]
uid=111111
role=pcd:portal_content/com.sap.gm.cnt/core/VCRole;
group=SAP_J2EE_ADMIN;SAP_BC_DWB_ABAPDEVELOPER;SAP_BW_DEVELOPER;
last_name=111111
accessibility=0
<b>For Nw 2004 server</b>
Go to the user administration > import/export
in the Detail navigation tab, Select the User Data Export, here select the option and click the export button.
You can find format, similarlly You create a file with list of user in this format and Go to the user Data Import tab and import the file
Regards,
Arun -
Hello,
I have a little strange problem. I created a importfile for users as described in the Administration Guide. I imported it and nothing happend. I tried lots of thing and found the reason.
In the imported passwords are special characters like * and so on. The only character which causes the bproblem is ] If I remove ] from the passwords it works.
Do you know why I can not batch import passwords which contain ] ?
Best regards MatthiasHi Matthias,
In the current batch import implementation, '[' and ']' are not allowed in any input field (not only the password). This will be improved in the next releases.
Best regards,
Vladimir -
Batch delete users by ID?
Hi all,
does anyone know of a tool that lets me:
1. batch import new users from a csv-file
2. sync users by id by adding users included in the csv-file and delete those not any longer in the csv-file?
Background: for our school I need to keep our set of users up-to-date with new students/students leaving school. I can get hold of a csv-file that includes an internal id.
TIA,
Michael.Hi
Might not be exactly what you're looking for?
http://macinmind.com/?pid=2&progid=1&subpid=1
You could also cross-post here:
http://discussions.apple.com/forum.jspa?forumID=735
http://discussions.apple.com/forum.jspa?forumID=724
Tony -
Hi experts!
I am aware of the standard functionality of the UME for batch import of users/roles/groups. I would like to ask what the file should look like and what kind of file do i have to upload.
Thanx in advance!!Hi,
Also check this:
http://help.sap.com/saphelp_nw70/helpdata/EN/ae/7cdf3dffadd95ee10000000a114084/frameset.htm
Creating An Import File For UME From Excel
Regards,
Praveen Gudapati -
Sharepoint 2013 - Active Directory Import User Profile Property manager fields
Hi there,
I juste encountered actually a little issue regarding the Active Directory Import User Profil.
Importation seems to work well but I have a little problem regarding the Manager field.
When I verify a user profil through the sharepoint admin page ("Manage user profil") , I can see the manager field is correctly populated, but if I want to check my profil as a user (personal information), the manager field is not visible.
With Sharepoint Admin and Manage Profil Properties, I haven't the possibility to modify some settings for the manager.
For example, Policy parameters is greyed.
The only way I found to show this field in a user profil is to give the permission "allow users to Edit values ...".... setting I don't want to set.
Have you already this sort of issue ?
Thanks for your help/idea.Hi Michael,
I don't remember well what I did exactly regarding this issue because I played a lot with user profil.
I know I used this powershell script from Sheyia which in fact help me a lot to clean and create a good profil setting.
http://blogs.technet.com/b/sheyia/archive/2013/10/09/sharepoint-2013-another-way-to-change-order-for-user-profile-properties-via-powershell.aspx
For example, this script help me to resolve some double entries.
Let-me know if it help you (or not of course) -
Date parse error while importing users from OIM to OIA (SRM 5.0.3)
Hi All,
Env Details:
OIA (SRM 5.0.3), Weblogic and Oracle 10g DB
We have integrated OIM to OIA with extended attributes mapping by modifying iam-context.xml file to load users. Its done successfully. But when we map "Date" related attribute, its giving "Date Parsing error" and its not loading the users.
We have tried loading users using flatFile mechanism, its also giving same result.
Please suggest me. Thanks in Advance !!!
Regards,
Ravi G.Hi,
Its a problem with OOB's OIMIAMSolution.class file, which is called while importing users from OIM. It used DateParse () conversion method only for all attributes which OIA attributes' name is ends with "Date". It defined, the conversion of date from (yyyy-MM-dd). So its expecting the input value should be in defined format(yyyy-MM-dd), if not, it gives a parse error.
We found work around for this as follows,
We have used other related OIA attribute which name ends other than "Date" string.
Thanks,
Ravi G. -
OIA-OIM Integration, Error while trying to import users from OIM to OIA
Hi Experts,
I have used depreciation method to integrate OIA 11gR1 with OIM 9.1.0.2 BP13.
When I am trying to import Users from OIM to OIA, I am getting the following error: " failed reading the magic number mapping file"
Here are logs. Can anyone tell me what is this error about?
12:28:33,000 DEBUG [QuartzJobListener] OIM1: job about to be executed
12:28:33,000 DEBUG [IAMJob] ******* executing job OIM1 *******
12:28:33,000 INFO [DefaultRemoter] Exec: dwrSchedulerService.getJobStatus()
12:28:33,000 DEBUG [DefaultRemoter] --Object created, not stored. id=0
12:28:33,000 DEBUG [DebuggingPrintWriter] out(46): throw 'allowScriptTagRemoting is false.';
12:28:33,000 DEBUG [DebuggingPrintWriter] out(46): //#DWR-INSERT
12:28:33,000 DEBUG [DebuggingPrintWriter] out(46): //#DWR-REPLY
12:28:33,000 DEBUG [DebuggingPrintWriter] out(46): var s0={};var s1={};s0.currentCount=0;s0.groupName="IAM";s0.job=null;s0.jobName="OIM1";s0.jobStatusId=null;s0.jobType="Import/Export Progress";s0.lastAccessedTime=0;s0.launcher=null;s0.monitorMap=s1;s0.status=1;s0.timeElapsed=0;s0.totalCount=0;
dwr.engine._remoteHandleCallback('20','0',[s0]);
12:28:33,015 DEBUG [IAMJob] ---> executing job 'OIM1' using IAMJobExecutor
12:28:33,015 DEBUG [IAMJobExecutor] found valid iam service
12:28:33,015 DEBUG [IAMJobExecutor] looking for iam server connection 'OIM1'
12:28:33,031 DEBUG [IAMJobExecutor] ----> adding connection defined in config files [dbIAMConnection, fileIAMConnection]
12:28:33,031 DEBUG [IAMJobExecutor] found 3 iam server connections
12:28:33,031 DEBUG [IAMJobExecutor] checking iam server connection 'OIM1'
12:28:33,031 DEBUG [IAMJobExecutor] found matching iam server connection 'OIM1'
12:28:33,031 DEBUG [IAMJobExecutor] found valid iam server OIM1
12:28:33,031 DEBUG [IAMJobExecutor] IAM action specified is ACTION_IMPORT_USERS[2]
12:28:33,031 DEBUG [OIMIAMSolution] In Read Users ...
12:28:33,031 DEBUG [OIMIAMSolution] publishing import starting event...
12:28:33,031 DEBUG [OIMIAMSolution] Starting import run id ---> null
12:28:33,031 DEBUG [OIMIAMSolution] Trying to establish a connection with OIM Server...
12:28:33,031 DEBUG [OIMIAMSolution] ************** OIM Connection Params *************
12:28:33,031 DEBUG [OIMIAMSolution] XL Home ---> E:\Middleware10G_Home\xellerate
12:28:33,031 DEBUG [OIMIAMSolution] login config ---> E:\Middleware10G_Home\xellerate\config\auth.config
12:28:33,031 DEBUG [OIMIAMSolution] Naming Factory Initial ---> : weblogic.jndi.WLInitialContextFactory
12:28:33,031 DEBUG [OIMIAMSolution] Provider URL --> t3://vkalyan-in:7001
12:28:33,031 DEBUG [OIMIAMSolution] ****************************************************
12:28:33,031 DEBUG [OIMIAMSolution] ********** Connecting to OIM Server **********
12:28:33,031 DEBUG [DefaultIAMListener] storing new ImportRun
12:28:33,109 DEBUG [SrmIndexDaemon] Checking Imports or Re-Indexing Activity...
12:28:33,109 INFO [SrmIndexDaemon] Imports or Re-Indexing are Running. Stopping online indexing
12:28:33,156 ERROR [JobRunShell] Job IAM.OIM1 threw an unhandled Exception:
java.lang.ExceptionInInitializerError
at org.jgroups.conf.ClassConfigurator.<clinit>(ClassConfigurator.java:46)
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 org.jgroups.stack.ProtocolStack.<init>(ProtocolStack.java:88)
at org.jgroups.JChannel.init(JChannel.java:1568)
at org.jgroups.JChannel.<init>(JChannel.java:257)
at org.jgroups.JChannel.<init>(JChannel.java:240)
at org.jgroups.blocks.NotificationBus.<init>(NotificationBus.java:69)
at com.opensymphony.oscache.plugins.clustersupport.JavaGroupsBroadcastingListener.initialize(JavaGroupsBroadcastingListener.java:113)
at com.opensymphony.oscache.base.AbstractCacheAdministrator.configureStandardListeners(AbstractCacheAdministrator.java:328)
at com.opensymphony.oscache.general.GeneralCacheAdministrator.createCache(GeneralCacheAdministrator.java:305)
at com.opensymphony.oscache.general.GeneralCacheAdministrator.<init>(GeneralCacheAdministrator.java:99)
at com.thortech.xl.cache.OSCacheProvider.initialize(Unknown Source)
at com.thortech.xl.cache.CacheFactory.getCacheProvider(Unknown Source)
at com.thortech.xl.cache.CacheUtil.<clinit>(Unknown Source)
at Thor.API.tcUtilityFactory.getPropertyValue(Unknown Source)
at Thor.API.tcUtilityFactory.<init>(Unknown Source)
at com.vaau.rbacx.iam.oracle.OIMIAMSolution.getUtilityFactory(OIMIAMSolution.java:2542)
at com.vaau.rbacx.iam.oracle.OIMIAMSolution.readUsers(OIMIAMSolution.java:754)
at com.vaau.rbacx.iam.service.impl.RbacxIAMServiceImpl.importUsers(RbacxIAMServiceImpl.java:119)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy116.importUsers(Unknown Source)
at com.vaau.rbacx.scheduling.executor.iam.IAMJobExecutor.execute(IAMJobExecutor.java:121)
at com.vaau.rbacx.scheduling.manager.providers.quartz.jobs.AbstractJob.execute(AbstractJob.java:72)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:534)
Caused by: org.jgroups.ChannelException: failed reading the magic number mapping file
at org.jgroups.conf.ClassConfigurator.init(ClassConfigurator.java:101)
at org.jgroups.conf.ClassConfigurator.<clinit>(ClassConfigurator.java:43)
... 38 more
Caused by: java.io.IOException
at org.jgroups.conf.MagicNumberReader.parseClassData(MagicNumberReader.java:89)
at org.jgroups.conf.MagicNumberReader.parse(MagicNumberReader.java:69)
at org.jgroups.conf.MagicNumberReader.readMagicNumberMapping(MagicNumberReader.java:57)
at org.jgroups.conf.ClassConfigurator.init(ClassConfigurator.java:73)
... 39 more
Caused by: java.lang.NullPointerException
at org.jgroups.conf.MagicNumberReader.parseClassData(MagicNumberReader.java:84)
... 42 more
12:28:33,156 ERROR [ErrorLogger] Job (IAM.OIM1 threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.ExceptionInInitializerError]
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:534)
Caused by: java.lang.ExceptionInInitializerError
at org.jgroups.conf.ClassConfigurator.<clinit>(ClassConfigurator.java:46)
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 org.jgroups.stack.ProtocolStack.<init>(ProtocolStack.java:88)
at org.jgroups.JChannel.init(JChannel.java:1568)
at org.jgroups.JChannel.<init>(JChannel.java:257)
at org.jgroups.JChannel.<init>(JChannel.java:240)
at org.jgroups.blocks.NotificationBus.<init>(NotificationBus.java:69)
at com.opensymphony.oscache.plugins.clustersupport.JavaGroupsBroadcastingListener.initialize(JavaGroupsBroadcastingListener.java:113)
at com.opensymphony.oscache.base.AbstractCacheAdministrator.configureStandardListeners(AbstractCacheAdministrator.java:328)
at com.opensymphony.oscache.general.GeneralCacheAdministrator.createCache(GeneralCacheAdministrator.java:305)
at com.opensymphony.oscache.general.GeneralCacheAdministrator.<init>(GeneralCacheAdministrator.java:99)
at com.thortech.xl.cache.OSCacheProvider.initialize(Unknown Source)
at com.thortech.xl.cache.CacheFactory.getCacheProvider(Unknown Source)
at com.thortech.xl.cache.CacheUtil.<clinit>(Unknown Source)
at Thor.API.tcUtilityFactory.getPropertyValue(Unknown Source)
at Thor.API.tcUtilityFactory.<init>(Unknown Source)
at com.vaau.rbacx.iam.oracle.OIMIAMSolution.getUtilityFactory(OIMIAMSolution.java:2542)
at com.vaau.rbacx.iam.oracle.OIMIAMSolution.readUsers(OIMIAMSolution.java:754)
at com.vaau.rbacx.iam.service.impl.RbacxIAMServiceImpl.importUsers(RbacxIAMServiceImpl.java:119)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy116.importUsers(Unknown Source)
at com.vaau.rbacx.scheduling.executor.iam.IAMJobExecutor.execute(IAMJobExecutor.java:121)
at com.vaau.rbacx.scheduling.manager.providers.quartz.jobs.AbstractJob.execute(AbstractJob.java:72)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
... 1 more
Caused by: org.jgroups.ChannelException: failed reading the magic number mapping file
at org.jgroups.conf.ClassConfigurator.init(ClassConfigurator.java:101)
at org.jgroups.conf.ClassConfigurator.<clinit>(ClassConfigurator.java:43)
... 38 more
Caused by: java.io.IOException
at org.jgroups.conf.MagicNumberReader.parseClassData(MagicNumberReader.java:89)
at org.jgroups.conf.MagicNumberReader.parse(MagicNumberReader.java:69)
at org.jgroups.conf.MagicNumberReader.readMagicNumberMapping(MagicNumberReader.java:57)
at org.jgroups.conf.ClassConfigurator.init(ClassConfigurator.java:73)
... 39 more
Caused by: java.lang.NullPointerException
at org.jgroups.conf.MagicNumberReader.parseClassData(MagicNumberReader.java:84)
... 42 more
12:28:33,156 DEBUG [QuartzJobListener] OIM1: job was executed
12:28:33,156 DEBUG [VaauSchedulerEventListenerImpl] Processing VaauSchedulerEvent
12:28:33,156 INFO [VaauSchedulerEventListenerImpl] Job executed: OIM1, IAM
12:28:33,156 INFO [VaauSchedulerEventListenerImpl] Job run time: 0s
12:28:33,156 INFO [VaauSchedulerEventListenerImpl] Next Run: null
Regards
KalyanI solved the above error by removing oscache***.jar file and keeping only oscache.jar in lib directory.
However I am getting some other error this time. Let me know if you have any suggestions:
11:27:08,015 DEBUG [QuartzJobListener] job1: job about to be executed
11:27:08,015 DEBUG [IAMJob] ******* executing job job1 *******
11:27:08,046 DEBUG [IAMJob] ---> executing job 'job1' using IAMJobExecutor
11:27:08,046 DEBUG [IAMJobExecutor] found valid iam service
11:27:08,046 DEBUG [IAMJobExecutor] looking for iam server connection 'OIM1'
11:27:08,078 DEBUG [IAMJobExecutor] ----> adding connection defined in config files [dbIAMConnection, fileIAMConnection]
11:27:08,078 DEBUG [IAMJobExecutor] found 3 iam server connections
11:27:08,078 DEBUG [IAMJobExecutor] checking iam server connection 'OIM1'
11:27:08,078 DEBUG [IAMJobExecutor] found matching iam server connection 'OIM1'
11:27:08,078 DEBUG [IAMJobExecutor] found valid iam server OIM1
11:27:08,078 DEBUG [IAMJobExecutor] IAM action specified is ACTION_IMPORT_USERS[2]
11:27:08,078 DEBUG [OIMIAMSolution] In Read Users ...
11:27:08,078 DEBUG [OIMIAMSolution] publishing import starting event...
11:27:08,078 DEBUG [OIMIAMSolution] Starting import run id ---> null
11:27:08,078 DEBUG [OIMIAMSolution] Trying to establish a connection with OIM Server...
11:27:08,078 DEBUG [OIMIAMSolution] ************** OIM Connection Params *************
11:27:08,078 DEBUG [OIMIAMSolution] XL Home ---> E:\Middleware10G_Home\xellerate
11:27:08,078 DEBUG [OIMIAMSolution] login config ---> E:\Middleware10G_Home\xellerate\config\auth.config
11:27:08,078 DEBUG [OIMIAMSolution] Naming Factory Initial ---> : weblogic.jndi.WLInitialContextFactory
11:27:08,078 DEBUG [OIMIAMSolution] Provider URL --> t3://vkalyan-in:7001
11:27:08,078 DEBUG [OIMIAMSolution] ****************************************************
11:27:08,078 DEBUG [OIMIAMSolution] ********** Connecting to OIM Server **********
11:27:08,078 DEBUG [DefaultIAMListener] storing new ImportRun
11:27:08,156 INFO [DefaultRemoter] Exec: dwrSchedulerService.getJobStatus()
11:27:08,156 DEBUG [DefaultRemoter] --Object created, not stored. id=0
11:27:08,156 DEBUG [DebuggingPrintWriter] out(35): throw 'allowScriptTagRemoting is false.';
11:27:08,156 DEBUG [DebuggingPrintWriter] out(35): //#DWR-INSERT
11:27:08,156 DEBUG [DebuggingPrintWriter] out(35): //#DWR-REPLY
11:27:08,156 DEBUG [DebuggingPrintWriter] out(35): var s0={};var s1={};s0.currentCount=0;s0.groupName="IAM";s0.job=null;s0.jobName="job1";s0.jobStatusId=null;s0.jobType="Import/Export Progress";s0.lastAccessedTime=0;s0.launcher=null;s0.monitorMap=s1;s0.status=1;s0.timeElapsed=0;s0.totalCount=0;
dwr.engine._remoteHandleCallback('139','0',[s0]);
11:27:11,187 ERROR [JobRunShell] Job IAM.job1 threw an unhandled Exception:
java.lang.AssertionError: Failed to generate class for com.thortech.xl.ejb.beans.tcUnauthenticatedOperationsSession_j7uqe_EOImpl_1032_WLStub
at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:790)
at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:779)
at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:74)
at weblogic.rmi.internal.StubInfo.resolveObject(StubInfo.java:226)
at weblogic.rmi.internal.StubInfo.readResolve(StubInfo.java:207)
at sun.reflect.GeneratedMethodAccessor81.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at java.io.ObjectStreamClass.invokeReadResolve(ObjectStreamClass.java:1061)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1762)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at weblogic.rmi.extensions.server.CBVInputStream.readObject(CBVInputStream.java:64)
at weblogic.rmi.internal.ServerRequest.unmarshalReturn(ServerRequest.java:100)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
at com.thortech.xl.ejb.beans.tcUnauthenticatedOperationsSession_j7uqe_HomeImpl_1032_WLStub.create(Unknown Source)
at Thor.API.tcUtilityFactory.getUnauthenticatedOperations(Unknown Source)
at Thor.API.tcUtilityFactory.getPropertyValue(Unknown Source)
at Thor.API.tcUtilityFactory.<init>(Unknown Source)
at com.vaau.rbacx.iam.oracle.OIMIAMSolution.getUtilityFactory(OIMIAMSolution.java:2542)
at com.vaau.rbacx.iam.oracle.OIMIAMSolution.readUsers(OIMIAMSolution.java:754)
at com.vaau.rbacx.iam.service.impl.RbacxIAMServiceImpl.importUsers(RbacxIAMServiceImpl.java:119)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy114.importUsers(Unknown Source)
at com.vaau.rbacx.scheduling.executor.iam.IAMJobExecutor.execute(IAMJobExecutor.java:121)
at com.vaau.rbacx.scheduling.manager.providers.quartz.jobs.AbstractJob.execute(AbstractJob.java:72)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:534)
Caused by: java.lang.reflect.InvocationTargetException
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 weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:788)
... 37 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 20
at com.thortech.xl.ejb.beans.tcUnauthenticatedOperationsSession_j7uqe_EOImpl_1032_WLStub.ensureInitialized(Unknown Source)
at com.thortech.xl.ejb.beans.tcUnauthenticatedOperationsSession_j7uqe_EOImpl_1032_WLStub.<init>(Unknown Source)
... 42 more
11:27:11,203 ERROR [ErrorLogger] Job (IAM.job1 threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.AssertionError: Failed to generate class for com.thortech.xl.ejb.beans.tcUnauthenticatedOperationsSession_j7uqe_EOImpl_1032_WLStub]
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:534)
Caused by: java.lang.AssertionError: Failed to generate class for com.thortech.xl.ejb.beans.tcUnauthenticatedOperationsSession_j7uqe_EOImpl_1032_WLStub
at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:790)
at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:779)
at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:74)
at weblogic.rmi.internal.StubInfo.resolveObject(StubInfo.java:226)
at weblogic.rmi.internal.StubInfo.readResolve(StubInfo.java:207)
at sun.reflect.GeneratedMethodAccessor81.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at java.io.ObjectStreamClass.invokeReadResolve(ObjectStreamClass.java:1061)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1762)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at weblogic.rmi.extensions.server.CBVInputStream.readObject(CBVInputStream.java:64)
at weblogic.rmi.internal.ServerRequest.unmarshalReturn(ServerRequest.java:100)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
at com.thortech.xl.ejb.beans.tcUnauthenticatedOperationsSession_j7uqe_HomeImpl_1032_WLStub.create(Unknown Source)
at Thor.API.tcUtilityFactory.getUnauthenticatedOperations(Unknown Source)
at Thor.API.tcUtilityFactory.getPropertyValue(Unknown Source)
at Thor.API.tcUtilityFactory.<init>(Unknown Source)
at com.vaau.rbacx.iam.oracle.OIMIAMSolution.getUtilityFactory(OIMIAMSolution.java:2542)
at com.vaau.rbacx.iam.oracle.OIMIAMSolution.readUsers(OIMIAMSolution.java:754)
at com.vaau.rbacx.iam.service.impl.RbacxIAMServiceImpl.importUsers(RbacxIAMServiceImpl.java:119)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy114.importUsers(Unknown Source)
at com.vaau.rbacx.scheduling.executor.iam.IAMJobExecutor.execute(IAMJobExecutor.java:121)
at com.vaau.rbacx.scheduling.manager.providers.quartz.jobs.AbstractJob.execute(AbstractJob.java:72)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
... 1 more
Caused by: java.lang.reflect.InvocationTargetException
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 weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:788)
... 37 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 20
at com.thortech.xl.ejb.beans.tcUnauthenticatedOperationsSession_j7uqe_EOImpl_1032_WLStub.ensureInitialized(Unknown Source)
at com.thortech.xl.ejb.beans.tcUnauthenticatedOperationsSession_j7uqe_EOImpl_1032_WLStub.<init>(Unknown Source)
... 42 more
11:27:11,203 DEBUG [QuartzJobListener] job1: job was executed
11:27:11,203 DEBUG [VaauSchedulerEventListenerImpl] Processing VaauSchedulerEvent
11:27:11,203 INFO [VaauSchedulerEventListenerImpl] Job executed: job1, IAM
11:27:11,203 INFO [VaauSchedulerEventListenerImpl] Job run time: 3s
11:27:11,203 INFO [VaauSchedulerEventListenerImpl] Next Run: null -
ERROR WHILE IMPORTING USERS IN PORTAL
Hi experts,
I need to import users into portal but, while importing iam getting an error :Error:
Failed while committing because of No data source feels responsible for principal. Please check the data source configuration
plz help me in solving this.........
waiting for u r responses......
Regards,
Shilpa
Edited by: pasumarthi shilpa on Jun 13, 2008 8:21 AMCheck the steps you followed once again.
See this blog for step by step procedure
Creating An Import File For UME From Excel
Koti Reddy -
Importing users into WGM from csv file issues/crash
Hi,
i've been importing user information from csv files into WGM via the +server > import+ function .
It worked the first few times but now when i try the import progress bar pops up and promptly disappears without any thing importing.
i've tried restarts, new admin account, reinstalled WGM.
I've also trashed some pref but i don't really know which ones i should be losing.
The servers an OD master.
any help would be appreciated.
as a last resort what do i need to backup/save if i were to format/reinstall osx server? keeping my settings etc.....
thanks
paulWhat I did was:
Exported the user list, to create an XML file in the correct format.
Using this format, I created a spreadsheet in Excel (sorry Apple), and in the final column I created a field that concatenated the information I wanted in the ':' deliminated format of the previously export XML.
Then just copy and past via pico into a pure text file and imported that.
You have to be careful with comments in Passenger, using special characters (';!@#$%^ and others can cause the WGM to fail and crash. -
Is it possible to create a LC user group and batch add users to the group?
Example: I have ~120,000 users in my domain but I want only 950 of those users to have access to a new form we will be going live with soon. To do this I want to create a group for this form but I don't want to have to manually add the 950 users to the group.
~Josh1. Create a DirectoryManagerServiceClient Instance as follows,
Properties connectionProps = new Properties();
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_DEFAULT_EJB_ENDPOINT, "jnp://localhost:1099");
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_TRANSPORT_PROTOCOL,Service ClientFactoryProperties.DSC_EJB_PROTOCOL);
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_SERVER_TYPE, "JBoss");
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_USERNAME, userName);
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_PASSWORD, password);
//Create a ServiceClientFactory object
ServiceClientFactory scf = ServiceClientFactory.createInstance(connectionProps);
//Create a DirectoryManagerServiceClient object
DirectoryManagerServiceClient directoryManager = new DirectoryManagerServiceClient(scf);
2. Create a local group as follows,
Group group = UMBaseLibrary.createGroup(groupCanonicalName, domainName, PrincipalTypes.PRINCIPALTYPE_GROUP);
String groupOid = directoryManager.createLocalGroup(group);
You can also create the above group by going to User Manager AdminUI. i.e. Home > Settings > User Management > Users and Groups
3. Once done with creating a group, now we want to make the 950 users members of this group
The API to be used is directoryManager.addPrincipalToLocalGroup(String userOid, String groupOid);
4. You'll have to run the above API for all the 950 users.
So, fetch the userOid through PrincipalSearchFilter based on some matching critera as follows, let say emailAddress
PrincipalSearchFilter filter = new PrincipalSearchFilter();
filter.setPrincipalType(User.PRINCIPALTYPE_USER);
filter.setRetrieveOnlyActive(true);
filter.setEmail(Email_address_OfUser_To_be_Searched);
List principals = (ArrayList)directoryManager.findPrincipals(filter);
for(Principal principal:principals){
User user = (User)principal;
directoryManager.addPrincipalToLocalGroup(user.getOid(), groupOid); -
Importing users using OSX Server
Hello
I am trying to import users but nothing happens , I got the text file from the student meterials folder in the apple pro training series book
When i locate the file , click import nothing happens
Does anyone offer any suggestions as to where to look ?
thanksRather than importing in Server.app you could try using Workgroup Manager.
-
Batch importing from an Xcell spreadsheet
Hey all,
Sorry for the long post, but I've been hounding these forums and the cow and have found a lot of great information, just not the last little bit I'm looking for. So bear with me...
Trying to import an Xcell spreadsheet as logging information in FCP. Footage is P2 media (DVCroHD 1080p30) already stored on an external HD (with all file structure intact). Producer has a macbook, so no cool intel based logging software can be used. He is using P2pro, but is apparently unable to change timecode fields - a big drawback if you're trying to subclip.
We've got Larry Jordan's template log, and another one that a friend gave us. Exported producer's log as a tab delimited txt file. Imports into FCP just fine (with the exception of 40 or so blank clips (no name, no reel, duration of 01 frame). Fields are as follows:
*Name Reel Media Start Media End Log Note Description*
The clip name is the (random) number assigned by the camera, the start and end times are accurate & the big old log notes he entered are all there. So that seems good.
I was hoping to batch import those clips from the external HD using our new "subclip" in and out times. I am not seeing a "batch import" menu (am I?) If I drag the clip into the log & transfer window if launches the capture tool and tells me there is no deck present.
If I simply try to "reconnect" the media it balks at the different start and end times - also at number of audio tracks, and frame rates - which makes sense since none of that is in the log file.
If I use the log & transfer tool and cut and paste fields from the txt file, we get exactly what we want. So that's what we've been doing, but you can imagine it gets a little tedious. Tried to import the log file directly into that tool, but didn't find a way to do it.
So to recap:
I can import a funtional (as far as I can tell) log into FCP, but I can't get it to transfer the clips.
And to the questions:
1. is there a batch IMPORT function in FCP and I'm just missing it?
2. Can I import a list directly into log & transfer?
3. Is there a way point the batch capture function/tool to a file?
4. Can I modify the item properties for a logged clip (other than # of tracks - got that one.)
5. Do I just need to knuckle down and cut & paste and stop whining?
6. Is there a really obvious solution I've missed?
Again, sorry for the long post. Shane & David S., you guys have helped me with log & transfer in the past, any thoughts on this one?
Thanks for listening, I'm back to googling and manual perusal...
D
Mac OS 10.5.5
MacBook Pro 2.4 GHz Intel Core 2 Duo 2 GB ram
GeForce 8600M GT Final Cut Pro 6.0.5 Quicktime 7.5.5New info:
If I make one of the clips that I have imported (using the cut & paste method) offline, and do a batch CAPTURE on that, it does in fact launch log & transfer and retransfers it correctly. If I could modify the logged clip to reflect that, maybe it would work. The "source" field for example. But FCP won't let me modify that field in the logged clip. I'll try adding it to my txt log and report back.
D -
How to import user defined class in UIX page?
Does anyone know how to import user defined class in UIX page so that the class can be called in the javascript in the UIX ?
Thks & Rgds,
Bennywhat you are referring to is not javascript.
it is JSP scriptlets. These are very different.
In order to keep a strict separation between View and Controller, it is not possible to run arbitrary java code from within your UIX code.
However, you can run java code from within a UIX event handler; see:
http://otn.oracle.com/jdeveloper/help/topic?inOHW=true&linkHelp=false&file=jar%3Afile%3A/u01/app/oracle/product/IAS904/j2ee/OC4J_ohw/applications/jdeveloper904/jdeveloper/helpsets/jdeveloper/uixhelp.jar!/uixdevguide/introducingbaja.html
event handler code is run before the page is rendered.
Maybe you are looking for
-
Can I get the client_info in ggs environment?
Hi, everybody: we know that Oracle Rdbms will record information about session login (session id,username,module,program,client_info), In ggs environment,I don't know how to get the client_info information... with the client_info ,we can do much more
-
Interest charges should be calculated on the original invoice value
Interest should be charged monthly . Invoice issued to customer stating 'interest for late payment of invoicesu2026'. Subsequent interest charges should be calculated on the original invoice value
-
Working on my 1-year old PowerMac G5, OSX 10.4.8, everything has been fine until 2 days ago. Happily printing to an HP LaserJet 1320 the job suddenly stopped, and I have not been able to start any job to that printer since. Connection is direct USB.
-
Help required for PLSQL or with some Analytical Function.
Hello All Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options I have couple of questions with following dataset and insert into a table With t As S
-
Backup Files / Switching Phones
Hey folks. BBerry Curve 8530 here. I have to switch phones today due to a malfunction in my Curve's charging system. I am using the micro memory card in my old phone when I do. My question : If I choose to use the backup on desktop wizzard, will that