Problem using wwsec_api.add_portal_user
I have the need to create some 700 users for my portal implementation. Their information is already available from a spreadsheet.
I have created a procedure to create the users, using code taked from the Users Portlet ( available for download from Oracle)
Two problems... First the add_portal_user seems to throw a NO_MANAGER_EXCEPTION, even when the manager user ID is specified.
Second, the middle name, email, title, etc. don't show up in the user definition once the user is created.
I have trapped and ignored the NO_MANAGER exception for the time being, but cannot make the other information show up.
Any Answers?
Hi, this isn't the wrong forum for your post, but you may get a faster response from the Login Server forum :-)
Similar Messages
-
Hi,
The following code is compiled under the user PORTAL30 but when I try to execute it, I receive the following exception:
portal30.wwsec_api.access_denied_exception
Which are the permissions needed to execute this code.
v_username := wwpro_api_parameters.get_value('_'||p_portlet_runtime_record.reference_path||'_usuario' , p_portlet_runtime_record.reference_path);
v_password := wwpro_api_parameters.get_value('_'||p_portlet_runtime_record.reference_path||'_clave1' , p_portlet_runtime_record.reference_path);
v_nombres := wwpro_api_parameters.get_value('_'||p_portlet_runtime_record.reference_path||'_nombres' , p_portlet_runtime_record.reference_path);
v_apellidos:= wwpro_api_parameters.get_value('_'||p_portlet_runtime_record.reference_path||'_apellidos', p_portlet_runtime_record.reference_path);
v_email := wwpro_api_parameters.get_value('_'||p_portlet_runtime_record.reference_path||'_email' , p_portlet_runtime_record.reference_path);
v_celular := wwpro_api_parameters.get_value('_'||p_portlet_runtime_record.reference_path||'_celular' , p_portlet_runtime_record.reference_path);
v_operador := wwpro_api_parameters.get_value('_'||p_portlet_runtime_record.reference_path||'_operador' , p_portlet_runtime_record.reference_path);
v_username := upper(v_username);
/*portal30.wwctx_api_private.set_context
p_user_name => 'PORTAL30_SSO'
,p_password => 'PORTAL30_SSO'
portal30_sso.wwsso_api_user_admin.create_user
p_username => v_username
,p_password => v_password
,p_email => v_email
,p_error_code => v_retcode
/*v_id := portal30_sso.wwsec_api.id_sso(v_username);*/
/*portal30.wwctx_api_private.set_context
p_user_name => 'PORTAL30'
,p_password => 'PORTAL30'
v_retcode := portal30.wwsec_api.add_portal_user(
p_user_name => v_username
,p_portal_user => 'Y'
,p_first_name => v_nombres
,p_last_name => v_apellidos
,p_email => v_email
,p_mobile_phone => v_celular
,p_known_as => v_operador
/*portal30.wwctx_api_private.set_context
p_user_name => 'PORTAL30'
,p_password => 'PORTAL30'
Regards
Alejandro ChirinosI change the code to include "portal30.wwctx_api.get_user()" that way I know now that the user without login is "PUBLIC" so I change the permissions to include ANY_USERS/CREATE and ANY_GROUP/MANAGE but I'm still receiving the "portal30.wwsec_api.access_denied_exception" exception.
What else can I do?
Regards
Alejandro Chirinos
[email protected] -
Performance problem using wwsec_api.is_user_in_group
Hello,
In our PL/SQL code, we using the wwsec_api.is_user_in_group to know in which group is the current user :
This is the code we're using :
AdminNatGroupId := portal.wwsec_api.group_id(upper('vw_admin'));
AnimComGroupId := portal.wwsec_api.group_id(upper('vw_animcom'));
AnimProjGroupId := portal.wwsec_api.group_id(upper('vw_animproj'));
if ( portal.wwsec_api.is_user_in_group(portal.wwctx_api.get_user_id,AdminNatGroupId) ) then
end if ;
Since we have insert 18,000 users in OID, the performances became very, very bad !!!!!
WHY ?
Is there anybody who have an idea ?
Luc.Your snippet worked fine in PL/SQL on 10.1.2.
l_is_member is a BOOLEAN which is not allowed in SQL, but is allowed in PL/SQL. Although I would expect a different error.
The following dynamic page worked for me:
<HTML>
<HEAD>
<TITLE>Example</TITLE>
</HEAD>
<BODY>
<H2>Example of A Dynamic Page</H2>
<ORACLE>
DECLARE
user_sn NUMBER;
group_sn NUMBER;
l_is_member BOOLEAN;
BEGIN
htp.p('user = ' || :userid);htp.br;
htp.p('group = ' || :groupname);htp.br;
user_sn := wwsec_api.id (:userid);
group_sn := wwsec_api.group_id (:groupname);
l_is_member := wwsec_api.is_user_in_group(
p_person_id => user_sn,
p_group_id => group_sn
IF l_is_member
THEN
htp.p('User ' || :userid || ' is a member of ' || :groupname);
ELSE
htp.p('User ' || :userid || ' is NOT a member of ' || :groupname);
END IF;
exception
when wwsec_api.USER_NOT_FOUND_EXCEPTION
then
htp.p('USER_NOT_FOUND_EXCEPTION');
when wwsec_api.GROUP_NOT_FOUND_EXCEPTION
then
htp.p('GROUP_NOT_FOUND_EXCEPTION');
when wwsec_api.VALUE_ERROR_EXCEPTION
then
htp.p('VALUE_ERROR_EXCEPTION');
when wwsec_api.LDAP_CONNECTION_EXCEPTION
then
htp.p('LDAP_CONNECTION_EXCEPTION');
when wwsec_oid.MULTIPLE_MATCHES_FOUND
then
htp.p('wwsec_oid.MULTIPLE_MATCHES_FOUND');
END;
</ORACLE>
</BODY>
</HTML> -
Cannot execute WWSEC_API.ADD_PORTAL_USER
I have configured Self-Registration in the Oracle Portal. The supplied self registration form does not suit my needs. So I have created a PL/SQL stored procedure to display a custom self registration form.
After collecting the data from the user, I use the Security API packages to add the user to the Login Server (portal30_sso schema) and the Portal (portal30 schema).
I use the following procedures:
PORTAL_SSO.WWSSO_API_USER_ADMIN.CREATE_USER
PORTAL.WWSEC_API.ADD_PORTAL_USER
When I am logged in as "portal30" through SQL*Plus, I can run the above procedures successfully. The user is created adn can log in.
However, I cannot successfully run the second procedure (PORTAL.WWSEC_API.ADD_PORTAL_USER) from the self-registration form. I believe this is because I am only a "public" user at that time. If I log in as "portal30" and then run my self-registration form, all works. But I can't have my users requesting access to the portal to log in, because they don't have an account, yet.
So, how can the procedure be executed from my self registration page?I have the question posed on both forums, but received no response.
However, I eventually figured a way to make it all work. Here is the thread with the solution I implemented for futeure reference:
http://technet.oracle.com:89/ubb/Forum83/HTML/000675.html
null -
Getting error while calling wwsec_api.add_portal_user
am creating users in OID programmatically. Sofar it creation of users in OID
is successful. But when i am creating user in portal using the API
wwsec_api.add_portal_user, it giving me an error. I am creating the user in
portal because once it is created there in portal , then, i can assign
priviliges to this newly created user according to my needs : Here is the code
i am using and error i am getting :
-- DN for Entry to be Added under 'ldap_base' [o=acme, dc=com]
user_dn := 'cn=' || P_USER_NAME ||',' || ldap_base ;
DBMS_OUTPUT.PUT_LINE(RPAD('Adding Entry for DN ',25,' ') || ': [' || USER_dn
|| ']');
-- Add new Entry to ldap directory
retval := DBMS_LDAP.add_s(user_session,user_dn,user_array);
-- Free attribute array (emp_array)
DBMS_LDAP.free_mod_array(user_array);
END IF; -- INSERTING
-- Creating the portal user
l_id := portal.wwsec_api.add_portal_user(p_User_Name => P_USER_NAME,
p_db_user => 'PORTAL', p_Display_Personal_Info => 'Y',
p_Last_Name => P_LAST_NAME,
p_First_Name => P_FIRST_NAME, p_Email =>
P_EMAIL_ADDR, p_Manager_User_Name => 'GHTHOMAS',
p_Portal_User => 'Y');
----=== Error getting while running the function ====-------
"Error in:F_CREATE_LDAP_ENTRIES is: User-Defined Exception"
And when i am trying to use exception like
EXCEPTION
WHEN NO_MANAGER_EXCEPTION THEN ....
WHEN ACCESS_DENIED_EXCEPTION THEN...
WHEN UNEXPECTED_EXCEPTION THEN ...
WHEN USER_EXISTS_EXCEPTION THEN ...
It is giving following errors :
"PL/SQL: Item ignored
PLS-00201: identifier 'NO_MANAGER_EXCEPTION' must be declared "Hi Kumar,
The ETHR_APPROVER_TABLE is custom pl sql indexed table that I have created.following are the parameters of api-
procedure getAllApprovers7(
applicationIdIn in number,
transactionTypeIn in varchar2,
transactionIdIn in varchar2,
approvalProcessCompleteYNOut out varchar2,
approversOut out nocopy ame_util.approversTable2);
i need a out variable of type ame_util.approversTable2 so get the values.
I have changed the code and now getting the following error-
java.sql.SQLException: ORA-03115: unsupported network datatype or representation
I have only changed this statement.
stmt.registerOutParameter(5,OracleTypes.PLSQL_INDEX_TABLE);//,"XXXX_APPROVAL_TBL");
Edited by: user5756777 on Jul 13, 2009 4:17 AM -
Problem using File sharing in a small office network
I have a problem using File sharing on an Imac and Macbook Pro.
My office has a small network running Windows Small office file server 2003. I have one Windows 2000 PC connected to it and 3 Macs, an 2.4 gHz Intel iMac running Leopard 10.5.6 , a MBP running the same and a Mac Mini running 10.5.
From the Finder Shared window of the Mac Mini, I can see all the computers on the network. It also used to be the case for the iMac, but the MBP could never see the Windows PC’s, not the server or the Win2000. This wasn’t a big problem as I was communicating between the Macs and using the shared printer on the iMac.
On Monday Jan 19 the iMac was suddenly unavailable to the other 2 Macs. It was working normally on the Friday. The iMac can access the Mac Mini and copy files to it. The Mac Mini can see the iMac but cannot access it. Even trying to connect as, ends in a failed connection. I have tried rebooting, turning File sharing off and then on again to no avail.
The iMac now also cannot see the Windows PC’s which it previously could.
To get files from the MBP for printing, I now copy it to the Mac Mini and acces the folder from the iMac, a very tedious procedure. I don’t know why this happened and am scared that the Mac Mini is going to do the same thing.
All three computers are also running VMware 2.0 with Windows XP pro, and from VMware the server is visible on all the computers.
Any help will be much appreciated, I live in a small town in South Africa and the local computer suppliers have no knowledge of the Macs.
I think that the problem with the iMac may have started after a software upgrade to 10.5.6 but I am not entirely sure.
Thank you
ajdkWell, you're current method sounds pretty good. But if you want to user a file server, hey go ahead.
What you want to do when you centralize project files is to keep track of which one is the newest and becareful not to overwrite files with the same name. So you either have to set up individual spaces on the server (separate AFP/FTP folders maybe), or you'll need to run a file checkout service.
The individual space is cheaper, but it's not much of a difference from backing up to the network drive. Since you have Gigabit connections, you might even opt to save ALL the user files on the server instead of just the project files.
If you want to run a file checkout service, there's two approaches. You can run a service that can host any kind of file, or you can run a version control system for each kind of application (Photoshop, Word, etc.). Please notice, that as you read further and further along, the methods become more and more expensive and complicated. Once you get to this point, it will be necessary to purchase or build software in addition to the Mac OS X Server package. -
Huge problem using apple mail while sending email to a group...
Hey - I am quite confused... apple mail has huge problems using groups with about 150 addresses when writing and sending an email... the writing of emails is nearly impossible. Once the group name is inserted in the addressline (address book in iCloud!), apple mail uses nearly 100% CPU and further writing is nearly impossible. When sending such an email, all addresses are suddenly visible - though the box is NOT checked and the addresses should be hidden... what can I do? I use this feature (sending mails to groups) on a daily basis and cannot accept visible addresses...
Greetings and sorry for inconvenient english...
ChristofHow about next time you send to the group, cc yourself, or include yourself in the group. Then receive the email on the iphone, you can "reply all" in order to send to the group. If you use an imap account, you can make a new folder, call it something like "groups", and save different group emails there for the next time you need to "reply all".
-
Hi. I am just about to move from the UK to Kuwait. Will I have any problems using my iPhone 4 and able to join a local carrier using this device please?
If your phone is locked to a particular carrier, you must contact them to request they unlock it. Once they've taken care of that and you've followed the instructions to complete the unlock process, you will be able to use the phone elsewhere.
~Lyssa -
Problem using integrated WLS in jDeveloper 11.1.2.1.0
Hey there,
I got a problem using the integrated WLS from the jDeveloper 11.1.2.1.0.
After trying to deploy an ADF Web Application on the integrated WLS, I get the following log message:
LOG
+[Waiting for the domain to finish building...]+
+[11:26:04 AM] Creating Integrated Weblogic domain...+
+[11:28:13 AM] Extending Integrated Weblogic domain...+
+[11:30:06 AM] Integrated Weblogic domain processing completed successfully.+
*** Using HTTP port 7101 ***
*** Using SSL port 7102 ***
+/home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain/bin/startWebLogic.sh+
+[waiting for the server to complete its initialization...]+
+.+
+.+
JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m
+.+
WLS Start Mode=Development
+.+
CLASSPATH=/home/robin/bin/wls/oracle_common/modules/oracle.jdbc_11.1.1/ojdbc6dms.jar:/home/robin/bin/wls/patch_wls1211/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/robin/bin/wls/patch_oepe100/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/robin/bin/wls/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/robin/bin/wls/jdk160_29/lib/tools.jar:/home/robin/bin/wls/wlserver_12.1/server/lib/weblogic_sp.jar:/home/robin/bin/wls/wlserver_12.1/server/lib/weblogic.jar:/home/robin/bin/wls/modules/features/weblogic.server.modules_12.1.1.0.jar:/home/robin/bin/wls/wlserver_12.1/server/lib/webservices.jar:/home/robin/bin/wls/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/home/robin/bin/wls/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/home/robin/bin/wls/oracle_common/modules/oracle.jrf_11.1.1/jrf.jar:/home/robin/bin/wls/wlserver_12.1/common/derby/lib/derbyclient.jar:/home/robin/bin/wls/wlserver_12.1/server/lib/xqrl.jar
+.+
PATH=/home/robin/bin/wls/wlserver_12.1/server/bin:/home/robin/bin/wls/modules/org.apache.ant_1.7.1/bin:/home/robin/bin/wls/jdk160_29/jre/bin:/home/robin/bin/wls/jdk160_29/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3:/usr/games/bin
+.+
+* To start WebLogic Server, use a username and *+
+* password assigned to an admin-level user. For *+
+* server administration, use the WebLogic Server *+
+* console at http://hostname:port/console *+
starting weblogic with Java version:
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
Java HotSpot(TM) Client VM (build 20.4-b02, mixed mode)
Starting WLS with line:
+/home/robin/bin/wls/jdk160_29/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=/home/robin/bin/wls/wlserver_12.1/server/lib/weblogic.policy -Djavax.net.ssl.trustStore=/tmp/trustStore7618453572230021232.jks -Dhttp.proxyHost=emea-proxy.uk.oracle.com -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts=localhost|localhost.localdomain|127.0.0.1|::1|MUELLER-BADY-GENTOO|MUELLER-BADY-GENTOO -Dhttps.proxyHost=emea-proxy.uk.oracle.com -Dhttps.proxyPort=80 -Doracle.jdeveloper.adrs=true -Dweblogic.nodemanager.ServiceEnabled=true -Xverify:none -Djava.endorsed.dirs=/home/robin/bin/wls/jdk160_29/jre/lib/endorsed:/home/robin/bin/wls/wlserver_12.1/endorsed -da -Dplatform.home=/home/robin/bin/wls/wlserver_12.1 -Dwls.home=/home/robin/bin/wls/wlserver_12.1/server -Dweblogic.home=/home/robin/bin/wls/wlserver_12.1/server -Djps.app.credential.overwrite.allowed=true -Dcommon.components.home=/home/robin/bin/wls/oracle_common -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=/home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain -Djrockit.optfile=/home/robin/bin/wls/oracle_common/modules/oracle.jrf_11.1.1/jrocket_optfile.txt -Doracle.server.config.dir=/home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain/config/fmwconfig/servers/DefaultServer -Doracle.domain.config.dir=/home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain/config/fmwconfig -Digf.arisidbeans.carmlloc=/home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain/config/fmwconfig/carml -Digf.arisidstack.home=/home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain/config/fmwconfig/arisidprovider -Doracle.security.jps.config=/home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain/config/fmwconfig/jps-config.xml -Doracle.deployed.app.dir=/home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain/servers/DefaultServer/tmp/_WL_user -Doracle.deployed.app.ext=/- -Dweblogic.alternateTypesDirectory=/home/robin/bin/wls/oracle_common/modules/oracle.ossoiap_11.1.1,/home/robin/bin/wls/oracle_common/modules/oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=/home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain/oracle/store/gmds -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/home/robin/bin/wls/patch_wls1211/profiles/default/sysext_manifest_classpath:/home/robin/bin/wls/patch_oepe100/profiles/default/sysext_manifest_classpath:/home/robin/bin/wls/patch_ocp371/profiles/default/sysext_manifest_classpath weblogic.Server+
+<Feb 10, 2012 11:30:09 AM CET> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>+
+<Feb 10, 2012 11:30:10 AM CET> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>+
+<Feb 10, 2012 11:30:11 AM CET> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 20.4-b02 from Sun Microsystems Inc..>+
+<Feb 10, 2012 11:30:12 AM CET> <Info> <Management> <BEA-141107> <Version: WebLogic Server 12.1.1.0 Wed Dec 7 08:40:57 PST 2011 1445491 >+
+<Feb 10, 2012 11:30:15 AM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING.>+
+<Feb 10, 2012 11:30:15 AM CET> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool.>+
+<Feb 10, 2012 11:30:15 AM CET> <Notice> <Log Management> <BEA-170019> <The server log file /home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain/servers/DefaultServer/logs/DefaultServer.log is opened. All server side log events will be written to this file.>+
Feb 10, 2012 11:30:24 AM oracle.security.jps.internal.keystore.file.FileKeyStoreManager saveKeyStore
WARNING: Failed to save farm keystore. Reason {0}
Feb 10, 2012 11:30:24 AM oracle.security.jps.internal.keystore.file.FileKeyStoreManager createKeyStore
WARNING: Failed to save farm keystore. Reason {0}
oracle.security.jps.service.keystore.KeyStoreServiceException: JPS-06513: Failed to save farm keystore. Reason
+ at oracle.security.jps.internal.keystore.file.FileKeyStoreManager.createKeyStore(FileKeyStoreManager.java:309)+
+ at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.doInit(FileKeyStoreServiceImpl.java:95)+
+ at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<init>(FileKeyStoreServiceImpl.java:73)+
+ at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<init>(FileKeyStoreServiceImpl.java:63)+
+ at oracle.security.jps.internal.keystore.KeyStoreProvider.getInstance(KeyStoreProvider.java:157)+
+ at oracle.security.jps.internal.keystore.KeyStoreProvider.getInstance(KeyStoreProvider.java:64)+
+ at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.findServiceInstance(ContextFactoryImpl.java:139)+
+ at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:170)+
+ at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:191)+
+ at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:132)+
+ at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:127)+
+ at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:850)+
+ at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:844)+
+ at java.security.AccessController.doPrivileged(Native Method)+
+ at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:844)+
+ at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:291)+
+ at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:284)+
+ at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:270)+
+ 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 weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1343)+
+ at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1022)+
+ at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)+
+ at weblogic.security.SecurityService.start(SecurityService.java:148)+
+ at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)+
+ at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)+
+ at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)+
+<Feb 10, 2012 11:30:24 AM CET> <Error> <Security> <BEA-090892> <The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default policy Provider>+
+<Feb 10, 2012 11:30:24 AM CET> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default policy Provider+
+weblogic.security.SecurityInitializationException: The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default policy Provider+
+ at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1402)+
+ at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1022)+
+ at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)+
+ at weblogic.security.SecurityService.start(SecurityService.java:148)+
+ at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)+
+ Truncated. see log file for complete stacktrace+
+Caused By: oracle.security.jps.JpsRuntimeException: oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default policy Provider+
+ at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:293)+
+ at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:284)+
+ at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:270)+
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)+
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)+
+ Truncated. see log file for complete stacktrace+
+Caused By: oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default policy Provider+
+ at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:899)+
+ at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:291)+
+ at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:284)+
+ at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:270)+
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)+
+ Truncated. see log file for complete stacktrace+
+Caused By: java.security.PrivilegedActionException: oracle.security.jps.JpsException: [PolicyUtil] Unable to obtain default JPS Context!+
+ at java.security.AccessController.doPrivileged(Native Method)+
+ at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:844)+
+ at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:291)+
+ at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:284)+
+ at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:270)+
+ Truncated. see log file for complete stacktrace+
+Caused By: oracle.security.jps.JpsException: [PolicyUtil] Unable to obtain default JPS Context!+
+ at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:860)+
+ at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:844)+
+ at java.security.AccessController.doPrivileged(Native Method)+
+ at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:844)+
+ at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:291)+
+ Truncated. see log file for complete stacktrace+
Caused By: oracle.security.jps.service.keystore.KeyStoreServiceException: JPS-06513: Failed to save farm keystore. Reason
+ at oracle.security.jps.internal.keystore.file.FileKeyStoreManager.createKeyStore(FileKeyStoreManager.java:309)+
+ at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.doInit(FileKeyStoreServiceImpl.java:95)+
+ at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<init>(FileKeyStoreServiceImpl.java:73)+
+ at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<init>(FileKeyStoreServiceImpl.java:63)+
+ at oracle.security.jps.internal.keystore.KeyStoreProvider.getInstance(KeyStoreProvider.java:157)+
+ Truncated. see log file for complete stacktrace+
+>+
+<Feb 10, 2012 11:30:24 AM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED.>+
+<Feb 10, 2012 11:30:24 AM CET> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down.>+
+<Feb 10, 2012 11:30:24 AM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN.>+
Process exited.
*/LOG*
After that, I tried setting permissions for the cwallet.sso file to ugo+rwx, but this leads to the same problems as mentioned above.
My second try was to setup an external WLS 12c, but it seems to be not yet possible to connect to a WLS 12c from within jDeveloper.
Do you have any ideas ?
Thank you in advance for your help.
Regards,
RobinAfter debugging the WLS Initialisation with jdb, I recognized that there was some trouble with dependent libraries.
In the end, I solved my problem by using another OS (Ubuntu 11.10) for development. There, the WLS works out of the box, even with 64-Bit libraries.
Thank you for your help.
Regards,
Robin -
SAP Crystal Reports data source connection problem using sap business one
Hi,
I m facing a problem regarding: SAP Crystal Reports data source connection problem using sap business one
I am trying to create a Crystal report but when I try to configure a new connection it does not work.
I select Sap Business One data source and try to complete the information required to connection but it does not list my companies databases, what is the problem?
Our Current SAP related software details are as follows:
OS: Windows Server 2008
SAP B1 Version: SAP B1 9 (902001) Patch 9
SAP Crystal Report Version: 14.0.4.738 RTM
Database: MS SQL Server 2008 R2
I have also added some screenshots of the issues.
Please have a look and let me know if you have any questions or any further clarifications.
I m eagerly waiting for a quick and positive reply.Hi,
There is problem with SAP Business One date source.
I had faced same problem, I used OLEDB Data-source, and it worked fine for me.
So, try to use OLEDB.
Regards,
Amrut Sabnis. -
Calendar Server 3.5: Problem using user's ID with uniuser -mod command
When there are two users who have the same Common Name (CN) in LDAP but
different User ID's (uid
field), I have a problem using the uid
field as an argument to
uniuser -mod in Netscape Calendar
Server (NCS) 3.5. For example, there may be two users, User1 and User2, who
both have the CN "John Smith."<BR>
<P>
<B>User1</B>
uid: jsmith2
sn: Smith
givenname: John
nscalxitemid: 10001:00314
<B>User2</B>
uid: jsmith
sn: Smith
givenname: John
nscalxitemid: 10001:00213
<P>
Let's say I want to change the value for nsCalOrgUnit2
for User1 to "jsmith." In NCS 4.0,
I can specify the uid as
an argument to uniuser -mod
. However, in NCS 3.5, if I specify the
uid as an argument to
uniuser -mod, the entry
for the user does not get changed.<BR>
<P>
<B>Calendar Server 4.0</B><BR>
<P>
%uniuser -mod "ID=00314" -m "OU2=jsmith/OU3=People" -n 10001
<BR>
uniuser: modified "Smith, John"<BR>
<P>
(The LDAP entry for User1 also reflects this change.)
<P>
<B>Calendar Server 3.5</B><BR>
<P>
%uniuser -mod "ID=00314" "OU2=jsmith/OU3=People" 10001
<BR>
uniuser: no need to modify "Smith,John"<BR>
<P>
(The LDAP entry for User1 does not reflect the change.)<BR>
<P>
%uniuser -mod "S=Smith/G=John/ID=00314" "OU2=jsmith/OU3=People"
10001<BR>
uniuser: no need to modify "Smith,John"<BR>
<P>
(The LDAP entry for User1 does not reflect the change.)<BR>
<P>
If I use the command uniuser -mod "S=Smith/G=John"
"OU2=jsmith/OU3=People" 10001
in NCS 3.5, the script will change the entry of the first "John Smith" in the
database and will cause the LDAP entry for this user to be updated as well.
However, the entry modified may or may not be the correct one. So, in
NCS 3.5, is there a way to specify a particular uid
to ensure that the correct LDAP entry
is modified?
<P>
To modify a user's information using the uid
field in Calendar Server 3.5, change
the user.ini file. The
following steps show how to change a user's information by modifying the
.ini file:<BR>
<P>
<OL>
<LI>Open the user.ini
file, which is in the path /users/unison/misc/user.ini
<P>
<LI>Add a section containing the desired changes. For example,<BR>
<P>
[Test]<BR>
OU2 = jsmith<BR>
OU3 = People<BR>
<P>
<LI>Run uniuser with
the following options:<BR>
<P>
% uniuser -mod "ID=00314" -s Test 10001
</OL>It turns out to be a problem with the user Keychain. It has some weird entry that was sending the wrong password. I delete all entries to the server and that corrected the problem
-
Problem using a conditional suppress in a cross-tab ?
is there a problem using a conditional suppress in a cross-tab on a row or summarized field in crystal XI?
I am using the following conditional suppress on a summarized field and its rows
If {@SortCode}=4 then true;
Sortcode is a group sorting formula field
the summarized field is a formula field as well.
All of the summarized fields are suppressed although the cross- tab performs correctly on @Sortcode and the summarized field when not using the condition
it seems to me to be a reporting flow issue although i've included "whileprintingrecords" and "evaluateafter" with no success.
i have also moved the cross-tab from the report header to group header and applied a conditional suppress on the group header through section expert.
this supresses the group i dont want but includes grand totals for each group and also varys the number of columns
i can't filter on sortcode because one of the grand total calculations requires those records and a subreport or second cross-tab does not contain the same number of columns
the cross-tab is necessary as a client may have columns spanning one to many pages
thanks for your helpHi I have a similar problem,
I have an clock in solution, where i have some dates with data such as, various entries for a date eg, 01/11/2010 1hr, 01/11/2010 3 hrs etc, 03/11/2010 2hrs , 05/11/2010 4.5hrs, 05/11/2010 4 hrs so i need total for each day and highlight only those days, where total is less than 4.5, including days which donu2019t have records eg 02/11/2010 & 04/11/2010, I summarise in totals using a cross tab, to get summarised output for each day as,
Totals
01/11/2010 4
03/11/2010 2
05/11/2010 8.5
in order to get the dates which didnu2019t have records, i added a dataset from Excel spreadsheet where i just have a sequential dates for the year , and use record selection to select only those dates in range which i need to display, so the result i get
01/11/2010 4
02/11/2010 0
03/11/2010 2
04/11/2010 0
05/11/2010 8.5
so far so good, all using cross tab, now i want to suppress rows which have total > 4.5 so the result should be
01/11/2010 4
02/11/2010 0
03/11/2010 2
04/11/2010 0
How can i do that? -
Could not complete the command because of a problem using the Adobe Color Engine
Hi all
This bizarrely started this morning - completely out of the blue - and I've no idea why.
Setup: Mac 10.8.2 / Creative Suite Premium PhotoShop CS5 extended (patched to 12.04)
Am working on images exported from LightRoom 4 (16bit A3 Pro Photo RGB PSDs) in PhotoShop CS5.
As part of my image grading process I have a PhotoShop Action that does the following: copy layer to new document (document respects all of copied layer settings) > Image > Adjustments > HDR toning > apply a certain HDR preset > copy to resultant image back to original doc > set opacity as 40%.
Totally out of the blue, after having this action for about 2 months, this morning I start getting a warning dialog of "Could not complete the command because of a problem using the Adobe Color Engine" and the action fails. The failure seems to take place at the 'make document' part of the action and seems to somehow be related to the contents of the clipboard.
I've tried trashing and re-creating the action. It works first time out fine and then - on the next image - errors again.
At present I can only safely carry out the work 'manually' by completing all the actions myself.
I can think of no settings that have changed and the OS hasn't been updated in a while.
I have found one other thread on a similar problem in PhotoShop Elements, but no definitive solution.
Any help appreciated as I have a shedload of stuff to process.
Best wishes
TPOK: trash of prefs didn't work. Tried thrice. Re-created orig action. same problem.
BUT!
Your 'Image > Duplicate' suggestion does seem to work. If I use that in a new action as the method for creating the HDR version doc (instead of 'Select > Copy > New > Paste), it seems to work.
Will try that out this afternoon, but for now: WIN!
Many thanks for the suggestion!
TP -
When ever I try to watch any video, from a link or YouTube say, using Firefox, I get a message ‘An error as occurred. Please try again later’. It has been this way for some weeks. I don’t have this problem using Safari or Opera.
I believe that our “Werbung problem” adds an additional second hyperlink to the pop-up window. This second link is activated whenever you trigger a saved hyperlink to a Mail.com site.
I had the same problem and eliminated it by deleting all bookmarks, hyperlinks and automatic links that take firefox to a mail.com address. So I just deleted all bookmarks I had saved for mail.com. I also changed my home page link because it also went to my email at mail.com. I then did a warm boot, opened firefox and re-saved my bookmarks and homepage to the desired addresses. Good luck. -
Problem using Toshiba Software Installer for Win 7 on Satellite L750-1MT
Hello!
I have problem using Toshiba Software Installer for Win 7 on Satellite L750-1MT (PSK30E-02T002B3) with no OS preinstalled.
I do the following:
1. Install Windows 7 x64, SP1.
2. Install LAN driver (device was not recognized by Windows 6) (downloaded from [http://se.computers.toshiba-europe.com/innovation/jsp/supportMyProduct.do?service=SE&LNG=26&userAction=S MP_RESULTS_PAGE&partNumber=PSK30E-02T002B3&serialNumber=&USER_ACTION=Serial%20number])
3. Install all Windows Updates from Microsoft
4. Run Toshiba Software Installer for Win 7 - it installs a couple of drivers and then asks to reboot.
Here is the log file for the first try (win7update.log):
Update started 12\28\2011 at 21:11
Installed TVALZ_O.INF
Installed IO & Memory Access Driver
driver_bluetooth_TC00241200A.exe /s /log /test has been installed with the result code of PASS
util_tvap_TC00215000H.exe /s /log /test /wait15 has been installed with the result code of PASS
Update completed at 21:29
After reboot I run it again and the result is:
Update started 12\28\2011 at 21:38
Toshiba Bluetooth stack has already been installed.
Toshiba Value Added Package has already been installed.
Update completed at 21:40
Any help is appreciated!
Thanks in advance!You are right this notebook model was delivered without OS.
Win7 64bit is supported for this notebook model and all necessary drivers, tools and utilities are available on Toshiba download page.
What I can say is that all this stuff must be installed in right install order. I know it sounds stupid now but I recommend you to make clean OS again and continue installation following this installation order:
Win7 SP1
Intel Chipset SW Installation Utility 9.2.0.1015
TOSHIBA Supervisor Password Utility 4.8.6.0
TOSHIBA HW Setup Utility 4.8.6.0
TOSHIBA Bulletin Board V2.1.10
TOSHIBA ReelTime 1.7.17.0
Intel Management Engine Interface 7.0.2.1164
NVIDIA Display Driver 8.17.12.6669
Intel Rapid Storage Technology Driver 10.1.2.1004
TOSHIBA Value Added Package 1.5.4.64
USB3.0 Driver 2.0.32.0
NVIDIA HD Audio Driver 1.1.13.1
Conexant Audio Driver 8.51.1.0a
Intel Wireless LAN Driver 14.0.2.2.1.s64_wCAT
or
Atheros Wireless LAN Driver 9.2.0.206.0.s3264_wCAT
or
Realtek Wireless LAN Driver 2.00.0013
TOSHIBA Wireless LAN Indicator 1.0.3
Synaptics Touch Pad Driver 15.2.11.1
TOSHIBA Software Modem 2.2.97(SM2297ALS05)
Conexant Modem Driver 7.80.4.53
TOSHIBA HDD Protection 2.2.1.12
Atheros Bluetooth Filter Driver Package v1.0.7
Bluetooth Stack for Windows by Toshiba v8.00.04(T)
Atheros LAN Driver 1.0.0.46
Realtek Card Reader 1.0.0.12
TOSHIBA Sleep Utility 1.4.2.7
TOSHIBA Face Recognition V3.1.8
TOSHIBA eco Utility 1.2.25.64
Intel Proset 14.0.2.0.1.s64_wCAT
Intel Wireless Display 2.0.29T
TOSHIBA HDD_SSD Alert 3.1.64.7
TOSHIBA Service Station V2.1.52
TOSHIBA PC Health Monitor 1.7.4.64
ConfigFree 8.0.37
TOSHIBA Web Camera Application V2.0.0.19
TOSHIBA Network Device ID Registry Setting Tool 3.0.32.4-14_wMSI
TOSHIBA Media Controller 1.0.86.2
TOSHIBA Media Controller Plug-in 1.0.6.1
PatchFiles$$2 PCIIDEREG-1.2
PatchFiles$$3 TosVolRegulator_x64_1.1
It is very important to use right installation order.
Please post some feedback.
Maybe you are looking for
-
ITEM tab in the Approval Process overview IN srm 7.0 AND EP 7.1
Hi Friends, I am working in SRM 7.0 with EP 7.1.. 1 . I have to remove 'ITEM' tab in the approval process overview screen which is apprearing in Portal. approval process overview screen will be appeared when 'Display / Edit Agents' Button in the Head
-
Hi, I have a requirement in the mapping where in we receive an XML field with value '674.585' needs to be converted to an xml field as '674.59'..(Two decimal rounding) I tried using format number but it does not convert '.585' to '.59' but it does co
-
Cannot open Import/Export Properties Tool
Hello all, I am working with NI TestStand 2014 and I am trying to use the "Import/Export Properties" tool from Tools -> Import/Export Properties... but when I click it, nothing happens, no window, no warning, nothing. The option is obviously enabled
-
Need help with download error on windows 8 computer.
I have a windows 8 computer, and I have been trying to download Itunes to my computer but am getting an error that apple support was not included or that apple application support software was not found to uninstall and try again same thing several m
-
Hi. Mail.app (3.5) While changing the mail font sizes in Preferences, I screwed up by entering a huge number by accident. The font is ginormous and I cannot reset it back to normal as the 'select' screen is out of sight in the format window. All emai