Users using server with netinfo database security. Better/Worse than Ldap?
Hello, I have a small department of Mac users and I am in the process of setting them up to access a new Mac os/x 10.4 server. I created the accounts for the users in the local netinfo database with access rights granted to network shares via groups. Everything works well and the users connect to the server from their clients and mount drives. However I did setup a few users with the ldap portion of the server as a test and once I modify their Macs to connect to the server via ldap this works fine too. My question is will I loose features if I just use the netinfo database for logins? The server is only supplying afp logins and shares plus ftp access. I do plan on using the software update service and also vpn eventually. We have other servers that supply dhcp and dns info for our environment.
Thank for any info.
Doug
It may not be a concern in your environment, but I can't imagine why you wouldn't want to just start out with LDAP. Compared to NetInfo it's designed to provide better interoperability, it performs and scales better in larger installations, and provides better security via access controls. Also, by making your directory network-accessible, you can take advantage of features like automounting share points, preferences management, and mobile user accounts.
Similar Messages
-
Error occurred while finding users using API with custom field
Hi All,
I am getting the following error while searching user using API with custom attribute. Did anybody faced the same problem before ?
Hashtable<Object,Object> env = new Hashtable<Object,Object>();
env.put("java.naming.factory.initial", "weblogic.jndi.WLInitialContextFactory");
env.put(OIMClient.JAVA_NAMING_PROVIDER_URL, "t3://localhost:14000");
System.setProperty("java.security.auth.login.config","C:\\Oracle\\Middleware\\Oracle_IDM1\\designconsole\\config\\authwl.conf");
System.setProperty("OIM.AppServerType", "wls");
System.setProperty("APPSERVER_TYPE", "wls");
tcUtilityFactory ioUtilityFactory = new tcUtilityFactory(env, "xelsysadm", "Weblogic123$");
OIMClient client = new OIMClient(env);
client.login("xelsysadm", "Weblogic123$".toCharArray());
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
tcUserOperationsIntf moUserUtility = (tcUserOperationsIntf)ioUtilityFactory.getUtility("Thor.API.Operations.tcUserOperationsIntf");
Hashtable mhSearchCriteria = new Hashtable();
mhSearchCriteria.put("USR_UDF_ACTUALSTARTDATE",formatter.format(date));
tcResultSet moResultSet = moUserUtility.findAllUsers(mhSearchCriteria);
printTcResultSet(moResultSet,"abcd");
log4j:WARN No appenders could be found for logger (org.springframework.jndi.JndiTemplate).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "main" Thor.API.Exceptions.tcAPIException: Error occurred while finding users.
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:237)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
at Thor.API.Operations.tcUserOperationsIntf_e9jcxp_tcUserOperationsIntfRemoteImpl_1036_WLStub.findAllUsersx(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
at com.sun.proxy.$Proxy2.findAllUsersx(Unknown Source)
at Thor.API.Operations.tcUserOperationsIntfDelegate.findAllUsers(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.security.Security.runAs(Security.java:41)
at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
at com.sun.proxy.$Proxy3.findAllUsers(Unknown Source)
at oim.standalone.code.OIMAPIConnection.usersearch(OIMAPIConnection.java:209)
at oim.standalone.code.OIMAPIConnection.main(OIMAPIConnection.java:342)
Caused by: Thor.API.Exceptions.tcAPIException: Error occurred while finding users.
at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.findAllUsers(tcUserOperationsBean.java:4604)
at Thor.API.Operations.tcUserOperationsIntfEJB.findAllUsersx(Unknown Source)
at sun.reflect.GeneratedMethodAccessor1614.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy347.findAllUsersx(Unknown Source)
at Thor.API.Operations.tcUserOperationsIntf_e9jcxp_tcUserOperationsIntfRemoteImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at Thor.API.Operations.tcUserOperationsIntf_e9jcxp_tcUserOperationsIntfRemoteImpl.findAllUsersx(Unknown Source)
at Thor.API.Operations.tcUserOperationsIntf_e9jcxp_tcUserOperationsIntfRemoteImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Thank youHi J,
Thanks for the reply. But the code is working fine for OOTB attributes and for 11g API i am getting permission exception
Exception in thread "main" oracle.iam.platform.authz.exception.AccessDeniedException: You do not have permission to search the following user attributes: USR_UDF_ACTUALSTARTDATE.
at oracle.iam.identity.usermgmt.impl.UserManagerImpl.search(UserManagerImpl.java:1465)
at sun.reflect.GeneratedMethodAccessor1034.invoke(Unknown Source)
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 oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:25)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy366.search(Unknown Source)
at oracle.iam.identity.usermgmt.api.UserManagerEJB.searchx(Unknown Source)
at sun.reflect.GeneratedMethodAccessor1449.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy365.searchx(Unknown Source)
at oracle.iam.identity.usermgmt.api.UserManager_nimav7_UserManagerRemoteImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at oracle.iam.identity.usermgmt.api.UserManager_nimav7_UserManagerRemoteImpl.searchx(Unknown Source)
at oracle.iam.identity.usermgmt.api.UserManager_nimav7_UserManagerRemoteImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused by: oracle.iam.identity.exception.SearchAttributeAccessDeniedException: You do not have permission to search the following user attributes: USR_UDF_ACTUALSTARTDATE.
at oracle.iam.identity.usermgmt.impl.UserManagerImpl.search(UserManagerImpl.java:1462)
... 44 more -
How to use unload query using JDBC with Informix database
Hi friends,
How can i use unload query using JDBC with Informix database?
When i use it as "unload to 'abc.txt' select * from ........" it gives syntax error.I want to take the data of a table to a file.With dbaccess i can use it but i need to do it using jdbc.
Thanks,
Raneesh.To the best of my ability to tell, the right way to use this product from within Power Query would be to use its API. Unfortunately, we don't currently support either of the methods needed to be able to authenticate with the service (OAuth 2.0 and a relatively-custom
digest-based method). Adding a mechanism to allow use of arbitrary OAuth-protected resources is a fairly high priority for us, and I hope we'll be able to deliver something before mid-2015.
Scraping the website is very hard to do well -- both from an authentication and from a data discovery perspective. -
What is the mean of using Portal with Role Based security as entry point
Hi Experts we have requirement of integration of Portal and MDM
I am completely new to the MDM. So please give me some idea , what is the meanin for following points.
1) Using the Portal with Role Based security as entry point for capacity and Routing Maintaince(These two are some modules).
2) Additionally , Portal should have capability to enter in to the MDM for future master data maintence. Feeds of data will need to be come from SAP 4.6c
Please give me the clarity of what is the meanin of second point
Regards
VijayHi
It requires the entire land scape like EP server and MDM server both should be configured in SLD.
Your requirement is maintaing and updating the MDM data with Enterprise portal.We have some Business Packages to install in Portal inorder to access the functionality of MDM.
Portal gives you a secure role based functionality of MDM through Single sign on (login into the portal access any application) to their end users.
Please go through this link
http://help.sap.com/saphelp_mdmgds55/helpdata/EN/45/c8cd92dc7f4ebbe10000000a11466f/frameset.htm
You need to develope some custom applications which should be integrated into the portal to access MDM Server master data
The estimation involves as per your requirement clearly
Its depends upon the Landscape settings, Requirement complexity,Identify how many number of custom applications need to be developed
Regards
Kalyan -
Using Mts With Oracle Database
I m building Com using Visual basic.I have made them transactional using MTS.first i have firstly user Sql Server database.the components are working properly.but when i
have made back end as Oracle the Trasactions
fails. if i make them not Mts object then it will function properly. I have read article from microsoft site "Using Mts with Oracle".acc to them a file named XA80.dll should be on ur system on which mts is runing.I have made a database server and a client on which Mts is installed.But XA80.dll
was not found. whats the problem .tell me solution if anyone can.
i have installed OEM GUI which installs XA80.dll on ur system.but when i tested microsoft test program which checks weather ur Oracle supports Mts or not fails at the end. When calling XA_Open_Entry it gives error with return code -3
Plz tell me Solution
Thankx in advance
nullHi,
Oracle JVM in 11gR2 (the latest release) supports Java 1.5 only. So no, you won't be able to load classes compiled with target class level 1.6 into DB. But you surely may explicitly set target class level of 1.5 in javac and then load compiled classes. Or you may not use 1.6 features in your code and then CREATE JAVA SOURCE from it. -
Please help with Configuring Database Security Store
Here's the error i get....
Any ideas?
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
Info: Data source is: opss-DBDS
WLS ManagedService is not up running. Fall back to use system properties for con
figuration.
Info: DB JDBC driver: oracle.jdbc.OracleDriver
Info: DB JDBC URL: jdbc:oracle:thin:@localhost:1521/idgov
Connected:oracle.jdbc.driver.T4CConnection@21bce8d
Disconnect:oracle.jdbc.driver.T4CConnection@21bce8d
INFO: Found persistence provider "org.eclipse.persistence.jpa.PersistenceProvide
r". OpenJPA will not be used.
[oracle.security.jps.internal.config.db.DbCredStoreServiceConfigurator] checkSe
rviceSetup - done
Aug 13, 2013 8:47:47 PM oracle.security.jps.internal.config.ldap.LdapCredStoreSe
rviceConfigurator schemaCompatibleHandler
INFO: Credential store schema upgrade not required. Store Schema version 11.1.1.
6.0 is compatible to the seed schema version 11.1.1.4.0
[oracle.security.jps.internal.config.db.DbCredStoreServiceConfigurator] checkSe
rviceSchema - Store schema has been seeded completely
[oracle.security.jps.internal.config.db.DbCredStoreServiceConfigurator] updateS
erviceConfiguration - done
[oracle.security.jps.internal.config.db.DbCredStoreServiceConfigurator] seedSch
emaAndCreateDIT - failed JPS-10000: There was an internal error in the policy st
ore.
Exception in thread "Main Thread" java.lang.RuntimeException: JPS-10000: There w
as an internal error in the policy store.
oracle.security.jps.internal.api.common.JpsCredentialStoreLdapNodeCreationExcept
ion: JPS-10000: There was an internal error in the policy store.
at oracle.security.jps.internal.common.rdbms.util.JpsDbBootstrapImpl.cre
ateJpsCredentailStoreInLdap(JpsDbBootstrapImpl.java:303)
at oracle.security.jps.internal.config.ldap.LdapCredStoreServiceConfigur
ator.addServiceStoreBase(LdapCredStoreServiceConfigurator.java:114)
at oracle.security.jps.internal.config.ldap.LdapCredStoreServiceConfigur
ator.seedSchemaAndCreateDIT(LdapCredStoreServiceConfigurator.java:142)
at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
ler.runConfiguration(LdapServiceEnabler.java:448)
at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
ler.configureCredentialStoreService(LdapServiceEnabler.java:233)
at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
ler.configureSecurityServices(LdapServiceEnabler.java:171)
at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
ler.main(LdapServiceEnabler.java:129)
Caused by: oracle.security.jps.service.policystore.PolicyStoreConnectivityExcept
ion: JPS-10000: There was an internal error in the policy store.
at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.handl
eRollbackException(JpsDBDataManager.java:1345)
at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.inter
nalCommitTxn(JpsDBDataManager.java:1508)
at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.commi
tTransactionInDoAs(JpsDBDataManager.java:1475)
at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.commi
tTransaction(JpsDBDataManager.java:1466)
at oracle.security.jps.internal.common.rdbms.util.JpsDbBootstrapImpl.cre
ateJpsCredentailStoreInLdap(JpsDbBootstrapImpl.java:296)
at oracle.security.jps.internal.config.ldap.LdapCredStoreServiceConfigur
ator.addServiceStoreBase(LdapCredStoreServiceConfigurator.java:113)
at oracle.security.jps.internal.config.ldap.LdapCredStoreServiceConfigur
ator.seedSchemaAndCreateDIT(LdapCredStoreServiceConfigurator.java:142)
at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
ler.runConfiguration(LdapServiceEnabler.java:447)
at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
ler.configureCredentialStoreService(LdapServiceEnabler.java:232)
at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
ler.configureSecurityServices(LdapServiceEnabler.java:170)
... 1 more
Caused by: javax.persistence.RollbackException: Exception [EclipseLink-4002] (Ec
lipse Persistence Services - 2.3.1.v20111018-r10243): org.eclipse.persistence.ex
ceptions.DatabaseException
Internal Exception: java.sql.SQLIntegrityConstraintViolationException: ORA-00001
: unique constraint (DEV20_OPSS.IDX_JPS_RDN_PDN) violated
Error Code: 1
Call: INSERT INTO JPS_DN (ENTRYID, PARENTDN, RDN) VALUES (?, ?, ?)
bind => [3 parameters bound]
Query: InsertObjectQuery(EntryId=11437:rdn=cn=credentialstore:pdn=cn=jpsroot,cn=
jpscontext,cn=iam,: JpsStore Entry={[EntryId = 11437:Attribute RowId = 45348
dn = cn=CredentialStore,cn=IAM,cn=JPSContext,cn=jpsroot, EntryId = 11437:Attribu
te RowId = 45349
objectclass = top, EntryId = 11437:Attribute RowId = 45350
objectclass = orclContainer, EntryId = 11437:Attribute RowId = 45351
cn = CredentialStore]})
at org.eclipse.persistence.internal.jpa.transaction.EntityTransactionImp
l.commitInternal(EntityTransactionImpl.java:102)
at org.eclipse.persistence.internal.jpa.transaction.EntityTransactionImp
l.commit(EntityTransactionImpl.java:63)
at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager$8.run
(JpsDBDataManager.java:1488)
at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.inter
nalCommitTxn(JpsDBDataManager.java:1492)
at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.commi
tTransactionInDoAs(JpsDBDataManager.java:1476)
at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.commi
tTransaction(JpsDBDataManager.java:1466)
at oracle.security.jps.internal.common.rdbms.util.JpsDbBootstrapImpl.cre
ateJpsCredentailStoreInLdap(JpsDbBootstrapImpl.java:297)
at oracle.security.jps.internal.config.ldap.LdapCredStoreServiceConfigur
ator.addServiceStoreBase(LdapCredStoreServiceConfigurator.java:114)
at oracle.security.jps.internal.config.ldap.LdapCredStoreServiceConfigur
ator.seedSchemaAndCreateDIT(LdapCredStoreServiceConfigurator.java:142)
at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
ler.runConfiguration(LdapServiceEnabler.java:448)
at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
ler.configureCredentialStoreService(LdapServiceEnabler.java:233)
at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
ler.configureSecurityServices(LdapServiceEnabler.java:171)
... 1 more
Caused by: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.1.v2
0111018-r10243): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLIntegrityConstraintViolationException: ORA-00001
: unique constraint (DEV20_OPSS.IDX_JPS_RDN_PDN) violated
Error Code: 1
Call: INSERT INTO JPS_DN (ENTRYID, PARENTDN, RDN) VALUES (?, ?, ?)
bind => [3 parameters bound]
Query: InsertObjectQuery(EntryId=11437:rdn=cn=credentialstore:pdn=cn=jpsroot,cn=
jpscontext,cn=iam,: JpsStore Entry={[EntryId = 11437:Attribute RowId = 45348
dn = cn=CredentialStore,cn=IAM,cn=JPSContext,cn=jpsroot, EntryId = 11437:Attribu
te RowId = 45349
objectclass = top, EntryId = 11437:Attribute RowId = 45350
objectclass = orclContainer, EntryId = 11437:Attribute RowId = 45351
cn = CredentialStore]})
at org.eclipse.persistence.exceptions.DatabaseException.sqlException(Dat
abaseException.java:324)
at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.exec
uteDirectNoSelect(DatabaseAccessor.java:840)
at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.exec
uteNoSelect(DatabaseAccessor.java:906)
at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basi
cExecuteCall(DatabaseAccessor.java:592)
at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.exec
uteCall(DatabaseAccessor.java:535)
at org.eclipse.persistence.internal.sessions.AbstractSession.basicExecut
eCall(AbstractSession.java:1717)
at org.eclipse.persistence.sessions.server.ClientSession.executeCall(Cli
entSession.java:253)
at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism
.executeCall(DatasourceCallQueryMechanism.java:207)
at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism
.executeCall(DatasourceCallQueryMechanism.java:193)
at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism
.insertObject(DatasourceCallQueryMechanism.java:342)
at org.eclipse.persistence.internal.queries.StatementQueryMechanism.inse
rtObject(StatementQueryMechanism.java:162)
at org.eclipse.persistence.internal.queries.StatementQueryMechanism.inse
rtObject(StatementQueryMechanism.java:177)
at org.eclipse.persistence.internal.queries.DatabaseQueryMechanism.inser
tObjectForWrite(DatabaseQueryMechanism.java:472)
at org.eclipse.persistence.queries.InsertObjectQuery.executeCommit(Inser
tObjectQuery.java:80)
at org.eclipse.persistence.queries.InsertObjectQuery.executeCommitWithCh
angeSet(InsertObjectQuery.java:90)
at org.eclipse.persistence.internal.queries.DatabaseQueryMechanism.execu
teWriteWithChangeSet(DatabaseQueryMechanism.java:287)
at org.eclipse.persistence.queries.WriteObjectQuery.executeDatabaseQuery
(WriteObjectQuery.java:58)
at org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.j
ava:844)
at org.eclipse.persistence.queries.DatabaseQuery.executeInUnitOfWork(Dat
abaseQuery.java:743)
at org.eclipse.persistence.queries.ObjectLevelModifyQuery.executeInUnitO
fWorkObjectLevelModifyQuery(ObjectLevelModifyQuery.java:108)
at org.eclipse.persistence.queries.ObjectLevelModifyQuery.executeInUnitO
fWork(ObjectLevelModifyQuery.java:85)
at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalExec
uteQuery(UnitOfWorkImpl.java:2871)
at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuer
y(AbstractSession.java:1516)
at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuer
y(AbstractSession.java:1498)
at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuer
y(AbstractSession.java:1449)
at org.eclipse.persistence.internal.sessions.CommitManager.commitNewObje
ctsForClassWithChangeSet(CommitManager.java:224)
at org.eclipse.persistence.internal.sessions.CommitManager.commitAllObje
ctsForClassWithChangeSet(CommitManager.java:191)
at org.eclipse.persistence.internal.sessions.CommitManager.commitAllObje
ctsWithChangeSet(CommitManager.java:136)
at org.eclipse.persistence.internal.sessions.AbstractSession.writeAllObj
ectsWithChangeSet(AbstractSession.java:3799)
at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.commitToData
base(UnitOfWorkImpl.java:1415)
at org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.c
ommitToDatabase(RepeatableWriteUnitOfWork.java:636)
at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.commitToData
baseWithChangeSet(UnitOfWorkImpl.java:1505)
at org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.c
ommitRootUnitOfWork(RepeatableWriteUnitOfWork.java:267)
at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.commitAndRes
ume(UnitOfWorkImpl.java:1143)
at org.eclipse.persistence.internal.jpa.transaction.EntityTransactionImp
l.commitInternal(EntityTransactionImpl.java:84)
at org.eclipse.persistence.internal.jpa.transaction.EntityTransactionImp
l.commit(EntityTransactionImpl.java:63)
at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager$8.run
(JpsDBDataManager.java:1487)
at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.inter
nalCommitTxn(JpsDBDataManager.java:1492)
at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.commi
tTransactionInDoAs(JpsDBDataManager.java:1475)
at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.commi
tTransaction(JpsDBDataManager.java:1466)
at oracle.security.jps.internal.common.rdbms.util.JpsDbBootstrapImpl.cre
ateJpsCredentailStoreInLdap(JpsDbBootstrapImpl.java:296)
at oracle.security.jps.internal.config.ldap.LdapCredStoreServiceConfigur
ator.addServiceStoreBase(LdapCredStoreServiceConfigurator.java:113)
at oracle.security.jps.internal.config.ldap.LdapCredStoreServiceConfigur
ator.seedSchemaAndCreateDIT(LdapCredStoreServiceConfigurator.java:142)
at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
ler.runConfiguration(LdapServiceEnabler.java:447)
at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
ler.configureCredentialStoreService(LdapServiceEnabler.java:232)
at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
ler.configureSecurityServices(LdapServiceEnabler.java:170)
... 1 more
Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique
constraint (DEV20_OPSS.IDX_JPS_RDN_PDN) violated
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:445)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:450)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:192)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.
java:207)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedSta
tement.java:1044)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
nt.java:1329)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePrep
aredStatement.java:3593)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePrepar
edStatement.java:3674)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(Oracl
ePreparedStatementWrapper.java:1354)
at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.exec
uteDirectNoSelect(DatabaseAccessor.java:831)
... 45 more
at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
ler.throwExceptionWithStackTrace(LdapServiceEnabler.java:145)
at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnab
ler.main(LdapServiceEnabler.java:137)
Error: Failed to initialize security store.
Error: Create operation has failed.
C:\Oracle\IDGMiddleware\oracle_common\common\bin>Try to configure the policy store with different ID (highlighted in the below command)
./wlst.sh <Oracle_IDM1_Home>/common/tools/configureSecurityStore.py -d <WLS_Domain>/OAM_domain -c IAM -p <Password> -m create
OR
Reinstall the RCU and try to configure the policy store. -
Can't start tomcat4.1.12-LE server with jdk1.4.0-beta!
Hi there!!
I got a configuration problem with tomcat4.1.12-LE with jdk1.4.0-beta.
I was followed this URL's ( http://www.moreservlets.com/Using-Tomcat-4.html#Introduction )
instructions as they write, but I cann't start the tomcat server :( plz help me in this matter.
My installation path is:
c:\jdk1.4
c:\tomcat
Environment variable is:
JAVA_HOME=c:\jdk1.4
CATALINA_HOME=c:\tomcat
Operating system is:
win2000
Thanks,
M. JunayedWhat on earth are you using the beta for? :S You should solve this problem by installing the release version of the J2SDK...
-
NEW FEATURE? Possibility to use APEX with other databases
Mainly for APEX developers:
It would be really great if the APEX Web development tool could be used with other databases e.g. MySQL, MS SQL,... as well.
Can you imagine possible opportunities on the market when you would be able to define the datasource (target database) and to be able to develop Web applications for other databases?
(First, the repository could be still in Oracle dB and only the target application should work with other database format.)
I think it would be very nice feature for all web developers, so please think about it because 90% of web databases are now PostgreSQL, MySQL, MSSQL.
Thank you and have a nice day.
ABHi,
a direct support will probably not be possible, because MySQL, ... are not supporting PL/SQL. But that's the language APEX is based on. The rendering engine is written in that language.
Jes solution (Heterogeneous Connectivity) seems to be the only way to access these other databases.
Patrick
Check out my Apex-blog: http://inside-apex.blogspot.com -
Portal Users using server realm
Does anyone know to config users in server realm for portal?
many thanks!"Cat Wong" <[email protected]> wrote:
>
Does anyone know to config users in server realm for portal?
many thanks!Trying adding this line to your start weblogic script
set JAVA_OPTIONS=%JAVA_OPTIONS% -Dcom.bea.p13n.usermgmt.AuthenticationProviderName=beaAuthenticator
where beaAuthenticator is your custom authentication provider.
Andy -
Database design - Better approach than XML/ XSD
Hi, I am designing web based application. The scenario I am working on is - I have around 50+ odd objects. They have few common things but other fields will change (Say e.g. Employee / Customers/ Assets, etc). We are also providing a facility where
in customer can add / rename / delete table column from UI. We are planning to use XML with XSD/ XQuery and storing all objects in 1 table only to accommodate dynamic schema issue. But it has performance impact. Is there any other better way to handle this
situation?Basically, it really depends on what you are doing with the data. XML isn't so bad when you are just attaching some data onto an object, but when you need to use it in queries on a lot of rows, it just seems really cumbersome.
My favorite way is to just add columns to the table, probably using sparse columns. That gives you column level access like normal (including indexes and constraints), and an XML schema method to put data in using XML style access.
Entity Attribute Value (http://en.wikipedia.org/wiki/Entity-attribute-value_model) style works pretty well too. Basically you store the key of an object, the name of an attribute, and
the value (and perhaps the name of the entity, but ideally I would suggest one table per object you are extending.) It is more cumbersome to query, but works really naturally for front end tools.
However... One thing I think I hear from your requirements is that you are shooting to have 1 table. I would strongly suggest against that approach using SQL Server. SQL Server's primary strength is as a relational engine. Sure, it is more work to need to
adjust your schema when requirements change, but if you can get the base schema down, having these flexible elements to the implementation are not so damaging to performance.
For example, say you are building a database of students. Students, teachers, classrooms, subjects, etc, all are pretty much known. But there are a lot of attributes that may be different between usages, so adding a flexible element is very useful for the
end users. If you really want a tool with a flexible back end (something I am very much against unless you keep the rowcount low), look at how ORM tools create their data storage using tables. SQL Server itself is really and truly a flexible data storage platform.
Using CREATE TABLE, ALTER TABLE, etc, you can fashion almost any structures on the fly...
Louis
Without good requirements, my advice is only guesses. Please don't hold it against me if my answer answers my interpretation of your questions. -
I just got the new macbook pro with retina display like a week ago and I've been noticing that the quality of the built-in camera on it is so bad.
It's even worse than my 2009 iMac or my sister's 2012 13" macbook pro. I don't get why this is a facetime HD built-in camera when i can obviously see that is not even near HD. Or is it just my computer. Do i have to bring it to the apple store??it's advertised 720p so yes it is the same as all the other MBP. it may just be the resolution of your monitor is stretching the pixels. Don't worry about bringing it to the apple store.
-
Import to new Server with Standard Database Failing at 5%
Since the new database edition (basic, standard, premium) preview has gone live I have been trying to import an automatically exported bacpac onto a new server and into a Standard S1 database using the portal UI. So far every attempt has failed
at roughly 5% which it never appears to move past. It is roughly 26GB, the bacpac was created with the automatic export on a business edition database and I have selected Standard, S1 and 30GB for the new database. I have tried 3 times now with
no success and have no idea what to try next.
Any ideas on how to get this database into the new edition?Hello,
I had also the same problem with much smaller databases. The only solution for the moment is to use Premium (maybe Premium 2 or 3) to do the import the database.
The reason is that when I am trying to import the database, I see on the dashboard monitor that I use 100% of available Write_log metric for the edition, and in some way the server is "slowing" my import requests to keep me in my edition limits. Of
course with this policy is almost impossible to import relatively large databases to these editions. I hope Microsoft engineers find a solution to this problem, or remove the limit for this metric.
Regards,
Dimitris -
Using tomcat with Oracle database?
I am having some difficulty setting up Tomcat 6.0.16 with JDeveloper 10 and Oracle - I have with the kind help of people here found this:
ADF-BC4J + MySQL 5 + Tomcat 6
Which helps me some of the way, but it is for MySQL, not Oracle, and I don't know things well enough to change the XML in a meaningful way.
I did try to install MySQL, but not extremely hard - I would prefer to use Oracle, anyway. Are there any instructions about how to do this for an Oracle database?Please refer
http://www.microdeveloper.com/html/JNDI_Orcl_Tomcat1p.html
http://www.akadia.com/download/soug/tomcat/html/tomcat_apache.html#Deploying%20Servlets
http://www.hansbergsten.com/contrib/solaris-oracle-howto.html -
Using jdk6 with oracle database
hi..
i've installed jdk6 into my pc. i would like to write a simple program using jdk6. then i would like to load it into oracle database. is that okay if i use jdk6 version to write my program? is it compatible with oracle 10g when we want load the java class file into oracle?please help..thanks..Hi,
Oracle JVM in 11gR2 (the latest release) supports Java 1.5 only. So no, you won't be able to load classes compiled with target class level 1.6 into DB. But you surely may explicitly set target class level of 1.5 in javac and then load compiled classes. Or you may not use 1.6 features in your code and then CREATE JAVA SOURCE from it. -
Using NDS with central database
Hi All,
Can anybody help me with this?
My local system has:
1. NDS
2. J2E Engine (WebAS)
and
Data Source pointing to a CENTRAL Oracle DB.
Is this possible? Can I have test my application on my
local J2E engine with my data sources pointing to a
CENTRAL oracle db?
And, How can I make my application use the Java
Dictionary Tables deployed on the CENTRAL server (i.e,
both the Java Dictionary table and oracle db reside in
CENTRAL server and not local)
any help would be appreciated.I think you can do it by having a data source pointing to the centrally located db, and have your application lookup to this data source to obtain db connections.
If anybody had more information, that'll be appreciated.
Regards,
Kiran
Maybe you are looking for
-
HELP -- [nQSError: 15014] No subject area is available in the repository St
I installed BI server in Linux box. I installed the BI administrator tool on my window box and created a new repository(iasdb.rpd). I created a presentation layer name MOVA_CLIENT. I configure the connection pool to use OCI and specified ther DSN sam
-
Opening New IE Window When Using WebGUI
Does anyone have any experience with extending notifications? We need guidance on how to change the HTML properties so that when a user users the links in the Outlook notifications from workflow, that it opens a new IE window even if they have an IE
-
How to Create a excel file from a table.
i want to excel output from a oracle table.
-
IE Developer Toolbar out of beta (Off topic)
Hi, If you have to develop APEX applications for IE the Developer Toolbar is a great tool. It has been a beta for a long time but I just noticed that version 1.0 was released on the 9 may. You can get it here: http://www.microsoft.com/downloads/detai
-
Urgent : PO deletion in saved status
Hi, We have a PO X which has been copied in from PO Y. X has been copied and saved and not ordered. How do i delete the PO from both portal and SRM. Kindly advise. A