Weblogic error deplying OIM 9.1.0.2
We encountered the below error while trying to deploy OIM on Weblogic 10.3.0.0.
The deployment functiioned properly, many times, until now, when we encountered the following error:
<Debug> <J2EE> <BEA-160058> <Cannot find JDBC DataSource at jdbc/xlXAReportingDS>
<Error> <HTTP> <BEA-101216> <Servlet: "action" failed to preload on startup in Web application: "/xlWebApp".
java.lang.NullPointerException
at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:1003)
at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:955)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
at javax.servlet.GenericServlet.init(GenericServlet.java:241)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:521)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1893)
at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1870)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1790)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2999)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1371)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:16)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:162)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:196)
at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Any ideas?
Edited by: Sandor on Dec 9, 2010 5:04 PM
In that case (with customizations in xlWebApp.war), I will try to deploy the DELIVERED xlWebApp.war first.
If the problem happens there too, then it sould be environmental related (something changed).
OIM 9.1.0.2 is the latest Version of OIM 10g releases....
It is a Upgrade only Release and direct deployment is not possible.
You need to build OIM 9.1.0.1 - Then apply/upgrade to 9.1.0.2
Regards
Vijay Chinnasamy
Similar Messages
-
Oracle errors in Weblogic Error logs appear in non english
We have a problem with weblogic error logging. Specifically, in a managed server's log file, Oracle errors such as ORA-XXXX show in Greek, not English. We are assuming
that this is because the timezone is Europe/Athens. However, the weblogic application server runs with user.language=en, user.country=US. What's more, there are 4 application servers and 2 of them have this problem. The oracle database is accessed via weblogic datasources.
Oracle database server Setup: Oracle Server 11gR2 running on Oracle Linux 64 bit, timezone set to Europe/Athens
Weblogic Server: Weblogic 10.3.5 running on Oracle Linux 64 bit, timezone set to Europe/Athens
The managed server, according to jrockit, the jvm runs with the following language related system properties:
user.language=en, user.country=US, user.timezone=Europe/Athens
The question is: How do we tell oracle / weblogic to log english text for the ORA errors?
Thanks,
ChrisI digged in the weblogic installation directory and it seems like the domain configuration wizard messed up the jdbc configs for the data sources.
The config xml files for the data sources in the /domain root/config/jdbc directory had oracle driver but the test query was for pointbase. I double checked from the database.xml file in the init-info directory and corrected the entry in the datasource config xmls and voila!.. the errors were gone.
I am not sure if this was the right approach and whether i have solved the issue or simply patched it.. so I am keeping the question open. If any one has any inputs I will be grateful.
If the mods/admins feel that the thread should be marked as solved I will surely do so.
Thanks. -
Oracle VM 3 Manager installation hangs Step 8 of 9 on Weblogic error
Hi all,
I am installing Oracle VM 3.0.3 Manager component for Oracle VM on RHEL 5.5 64 bit Linux OS platform.
1) The installation hangs on the following step
Step 6 of 9 : Oracle VM ...
Retrieving Oracle VM Manager Application ...
Extracting Oracle VM Manager Application ...
Installing Oracle VM Manager Core ...
Step 7 of 9 : Domain creation ...
Creating Oracle WebLogic Server domain ...
Starting Oracle WebLogic Server 11g ...
Configuring data source 'OVMDS' ...
Creating Oracle VM Manager user 'admin' ...
Step 8 of 9 : Deploy ...
Deploying Oracle VM Manager Core container ...
2) Reviewing the OVM 3.0.3 Manager installation logs shows the following errors:
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
Connecting to t3://localhost:7001 with userid weblogic ...
Successfully connected to Admin Server 'AdminServer' that belongs to domain 'base_adf_domain'.
Warning: An insecure protocol was used to connect to the
server. To ensure on-the-wire security, the SSL port or
Admin port should be used instead.
Location changed to edit tree. This is a writable tree with
DomainMBean as the root. To make changes you will need to start
an edit session via startEdit().
For more help, use help(edit)
Connecting to t3://localhost:7001 with userid weblogic ...
Successfully connected to Admin Server 'AdminServer' that belongs to domain 'base_adf_domain'.
Warning: An insecure protocol was used to connect to the
server. To ensure on-the-wire security, the SSL port or
Admin port should be used instead.
Location changed to edit tree. This is a writable tree with
DomainMBean as the root. To make changes you will need to start
an edit session via startEdit().
For more help, use help(edit)
Starting an edit session ...
Started edit session, please be sure to save and activate your
changes once you are done.
Saving all your changes ...
Saved all your changes successfully.
Activating all your changes, this may take a while ...
The edit lock associated with this edit session is released
BUILD FAILED
weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Task 0 failed: [Deployer:149026]deploy application ovm_core on AdminServer.
Target state: deploy failed on Server AdminServer
java.lang.Exception: [DeploymentService:290051]The commit message for the deployment '1,331,919,570,897' could not be completed because the deployment timed out.
at weblogic.deploy.service.internal.adminserver.AdminRequestStatus.signalCommitFailed(AdminRequestStatus.java:1007)
at weblogic.deploy.service.internal.statemachines.adminserver.AwaitingCommitResponses.requestTimedOut(AwaitingCommitResponses.java:42)
at weblogic.deploy.service.internal.adminserver.AdminRequestImpl.requestTimedout(AdminRequestImpl.java:354)
at weblogic.deploy.service.internal.RequestImpl$TimeoutMonitor.timerExpired(RequestImpl.java:242)
at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
3) Previous weblogic errors that caused the OVM 3.0.3 Manager installation to hang and fail:
Your environment has been set.
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
user: weblogic
timeout: 300
Connecting to t3://localhost:7001 with userid weblogic ...
This Exception occurred at Fri Mar 16 10:33:13 PDT 2012.
Connecting to t3://localhost:7001 with userid weblogic ...
This Exception occurred at Fri Mar 16 10:34:27 PDT 2012.
Connecting to t3://localhost:7001 with userid weblogic ...
Successfully connected to Admin Server 'AdminServer' that belongs to domain 'base_adf_domain'.
Warning: An insecure protocol was used to connect to the
server. To ensure on-the-wire security, the SSL port or
Admin port should be used instead.
Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root.
For more help, use help(domainRuntime)
Current status is RUNNING
Disconnected from weblogic server: AdminServer
03-16 10:34 system.process DEBUG system.process.run stderr:
javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://localhost:7001: Destination unreachable; nested exception is:
java.net.ConnectException: Connection refused; No available router to destination]
at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:788)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:366)
at weblogic.jndi.Environment.getContext(Environment.java:315)
at weblogic.jndi.Environment.getContext(Environment.java:285)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at weblogic.management.scripting.WLSTHelper.populateInitialContext(WLSTHelper.java:520)
at weblogic.management.scripting.WLSTHelper.initDeprecatedConnection(WLSTHelper.java:573)
at weblogic.management.scripting.WLSTHelper.initConnections(WLSTHelper.java:313)
at weblogic.management.scripting.WLSTHelper.connect(WLSTHelper.java:203)
at weblogic.management.scripting.WLScriptContext.connect(WLScriptContext.java:61)
at weblogic.management.scripting.utils.WLSTUtil.initializeOnlineWLST(WLSTUtil.java:147)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Any ideas how to resolve these issues so that I can successfully install OVM 3.0.3 Manager?Issue resolved had to disable Linux firewall
-
Weblogic error while starting the application
Hi,
my JDev : 11.1.2.3.0.
I am getting weblogic error debugging log console , but application is running successfully...
<Oct 9, 2013 8:36:45 AM AST> <Error> <JMX> <BEA-149500> <An exception occurred while registering the MBean null.
java.lang.IllegalArgumentException: Registered more than one instance with the same objectName : com.bea:ServerRuntime=DefaultServer,Name=QICIntranet,Type=ApplicationRuntime new:weblogic.j2ee.J2EEApplicationRuntimeMBeanImpl@13acdcd existing weblogic.j2ee.J2EEApplicationRuntimeMBeanImpl@465d15
at weblogic.management.jmx.ObjectNameManagerBase.registerObject(ObjectNameManagerBase.java:168)
at weblogic.management.mbeanservers.internal.WLSObjectNameManager.lookupObjectName(WLSObjectNameManager.java:131)
at weblogic.management.jmx.modelmbean.WLSModelMBeanFactory.registerWLSModelMBean(WLSModelMBeanFactory.java:87)
at weblogic.management.mbeanservers.internal.RuntimeMBeanAgent$1.registered(RuntimeMBeanAgent.java:104)
at weblogic.management.provider.core.RegistrationManagerBase.invokeRegistrationHandlers(RegistrationManagerBase.java:180)
Truncated. see log file for complete stacktrace
>
agentVersion=1.5.0.0
<Oct 9, 2013 8:36:46 AM AST> <Error> <JMX> <BEA-149500> <An exception occurred while registering the MBean null.
java.lang.IllegalArgumentException: Registered more than one instance with the same objectName : com.bea:ServerRuntime=DefaultServer,Name=default,ApplicationRuntime=QICIntranet,Type=WorkManagerRuntime new:weblogic.work.WorkManagerRuntimeMBeanImpl@1bd397b existing weblogic.work.WorkManagerRuntimeMBeanImpl@1c8c168
at weblogic.management.jmx.ObjectNameManagerBase.registerObject(ObjectNameManagerBase.java:168)
at weblogic.management.mbeanservers.internal.WLSObjectNameManager.lookupObjectName(WLSObjectNameManager.java:131)
at weblogic.management.jmx.modelmbean.WLSModelMBeanFactory.registerWLSModelMBean(WLSModelMBeanFactory.java:87)
at weblogic.management.mbeanservers.internal.RuntimeMBeanAgent$1.registered(RuntimeMBeanAgent.java:104)
at weblogic.management.provider.core.RegistrationManagerBase.invokeRegistrationHandlers(RegistrationManagerBase.java:180)
Truncated. see log file for complete stacktrace
>
<Oct 9, 2013 8:36:46 AM AST> <Error> <JMX> <BEA-149500> <An exception occurred while registering the MBean null.
java.lang.IllegalArgumentException: Registered more than one instance with the same objectName : com.bea:ServerRuntime=DefaultServer,Name=default@QICIntranet@null,WorkManagerRuntime=default,ApplicationRuntime=QICIntranet,Type=RequestClassRuntime new:weblogic.work.RequestClassRuntimeMBeanImpl@178170e existing weblogic.work.RequestClassRuntimeMBeanImpl@111b59c
at weblogic.management.jmx.ObjectNameManagerBase.registerObject(ObjectNameManagerBase.java:168)
at weblogic.management.mbeanservers.internal.WLSObjectNameManager.lookupObjectName(WLSObjectNameManager.java:131)
at weblogic.management.jmx.modelmbean.WLSModelMBeanFactory.registerWLSModelMBean(WLSModelMBeanFactory.java:87)
at weblogic.management.mbeanservers.internal.RuntimeMBeanAgent$1.registered(RuntimeMBeanAgent.java:104)
at weblogic.management.provider.core.RegistrationManagerBase.invokeRegistrationHandlers(RegistrationManagerBase.java:180)
Truncated. see log file for complete stacktrace
>
<FeatureUtils> <_resolveFeatures> Ignoring feature-dependency on feature "AdfDvtCommon". No such feature exists.
<FeatureUtils> <_resolveFeatures> Ignoring feature-dependency on feature "AdfDvtCommon". No such feature exists.
<FeatureUtils> <_resolveFeatures> Ignoring feature-dependency on feature "DvtDiagram". No such feature exists.
Thanks,Hello, paramy.
It is very similar to this case:
https://forums.oracle.com/thread/2290229
I hope it helps you.
rfh. -
Hi,
We have installed OEM Grid Control 11.1 on a Linux Suse 10 machine (which will act as a middleware/gateway machine to the database hosted on the remote machine.)
We have completed the Grid installation successfully also we are able to connect the link to OEM.
When we tried to pull a database on host machine we get the following error on the OEM webpage.
It seems some Weblogic error, we have installed weblogic 10.3.3, and when we fire ps -ef |grep weblogic we can see process running.
Now we are not sure where the exact problem is.
Please help, refer the error page.
Error 500--Internal Server Error
java.lang.NoClassDefFoundError: Could not initialize class oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps
at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.getEnv(OiipgEnvironment.java:201)
at oracle.sysman.oii.oiix.OiixEnvironmentOps.getEnv(OiixEnvironmentOps.java:53)
at oracle.sysman.prov.agentpush.util.AgentPushUtil.checkLocalTempPathWritability(AgentPushUtil.java:172)
at oracle.sysman.prov.agentpush.ui.validate.ValidateHelper.performValidationForFresh(ValidateHelper.java:1081)
at oracle.sysman.prov.agentpush.ui.validate.ValidateHelper.performValidation(ValidateHelper.java:2107)
at oracle.sysman.prov.agentpush.ui.validate.prereq.PrereqFreshValidator.validate(PrereqFreshValidator.java:132)
at oracle.sysman.prov.agentpush.services.BaseServiceHandler.process(BaseServiceHandler.java:200)
at oracle.sysman.prov.agentpush.services.BaseServiceHandler.doPost(BaseServiceHandler.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.sysman.prov.agentpush.services.AgentpushAuthFilter.doFilter(AgentpushAuthFilter.java:122)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:311)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:502)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Thanks and Regards,
SreeHi,
We have installed OEM Grid Control 11.1 on a Linux Suse 10 machine (which will act as a middleware/gateway machine to the database hosted on the remote machine.)
We have completed the Grid installation successfully also we are able to connect the link to OEM.
When we tried to pull a database on host machine we get the following error on the OEM webpage.
It seems some Weblogic error, we have installed weblogic 10.3.3, and when we fire ps -ef |grep weblogic we can see process running.
Now we are not sure where the exact problem is.
Please help, refer the error page.
Error 500--Internal Server Error
java.lang.NoClassDefFoundError: Could not initialize class oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps
at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.getEnv(OiipgEnvironment.java:201)
at oracle.sysman.oii.oiix.OiixEnvironmentOps.getEnv(OiixEnvironmentOps.java:53)
at oracle.sysman.prov.agentpush.util.AgentPushUtil.checkLocalTempPathWritability(AgentPushUtil.java:172)
at oracle.sysman.prov.agentpush.ui.validate.ValidateHelper.performValidationForFresh(ValidateHelper.java:1081)
at oracle.sysman.prov.agentpush.ui.validate.ValidateHelper.performValidation(ValidateHelper.java:2107)
at oracle.sysman.prov.agentpush.ui.validate.prereq.PrereqFreshValidator.validate(PrereqFreshValidator.java:132)
at oracle.sysman.prov.agentpush.services.BaseServiceHandler.process(BaseServiceHandler.java:200)
at oracle.sysman.prov.agentpush.services.BaseServiceHandler.doPost(BaseServiceHandler.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.sysman.prov.agentpush.services.AgentpushAuthFilter.doFilter(AgentpushAuthFilter.java:122)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:311)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:502)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Thanks and Regards,
Sree -
JCOM manpulation error: weblogic Error BEA-210000 Export of object barred
Hi everyone,
I'm trying to access a COM (MSWORD.OLB ) object from weblogic .
I've writing a sample Java proggram to access some methods of my COM Object.
But during the runtime, i got the following BEA weblogic error :
*<Error> <COM> <BEA-210000> <Export of object: com.linar.jintegra.Variant@b96c73 barred>*
com.linar.jintegra.a
at com.linar.jintegra.ba.c(Unknown Source)
at com.linar.jintegra.ba.a(Unknown Source)
at com.linar.jintegra.Variant.<init>(Unknown Source)
at com.linar.jintegra.Marshaller.a(Unknown Source)
at com.linar.jintegra.Marshaller.a(Unknown Source)
at com.linar.jintegra.Marshaller.b(Unknown Source)
at com.linar.jintegra.Dispatch.vtblInvoke(Unknown Source)
at word.DocumentsProxy.open(Unknown Source)
Any ideas to solve this problem ?
Thanks
Sergio
Edited by: user11108138 on 10 févr. 2012 02:24Sorry for delay!!
I tried W2KSP1, W2KSP2 and XPpro on several P3 / P4 with 256 / 521 RAM.
Uli
"dan seeman" <[email protected]> schrieb im Newsbeitrag
news:[email protected]..
Hi,
One last question. Can you tell me more about what OS you have theWLServer
installed on (machine type, OS and version)?
Thanks in advance.
dan
Uli Schulze-Eyssing wrote:
Hi Dan,
wl70 release
Uli
"dan seeman" <[email protected]> schrieb im Newsbeitrag
news:[email protected]..
What version of WLS you are using?
dan
Uli Schulze-Eyssing wrote:
We are trying to use jCOM to connect to our WL-App. (We had been
using
JIntegra before)
I made a simple JCom-Helper identical to the one, delivered in the
earlybound-sample.
Trying to create an object in VB couses the server to say:
<03.05.2002 15:11:58 CEST> <Error> <COM> <210000> <IOXIDResolveropNum 5
invoked. This method is not implemented.>
<03.05.2002 15:11:58 CEST> <Error> <socket> <000413> <Failure in
processSockets() - GetData: weblogic.socket.NTSocketMuxer$GetData -fd:
'2324', numBytes: '654'
java.lang.NullPointerException
java.lang.NullPointerException
atweblogic.com.MuxableSocketDCOM.isMessageComplete(MuxableSocketDCOM.ja
>>>>
va:182)
atweblogic.com.MuxableSocketDCOM.dispatch(MuxableSocketDCOM.java:203)
>>>>
atweblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:667)
>>>>
atweblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:
>>>>
23)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
>
and no object is created (VB hangs in waiting for the object)
In the FAQ I can read:
065070
There is a known issue with the logging of WebLogic Server jCOMerror
messages. COM warnings are incorrectly logged as errors, as in thisexample:
<Error> <COM> <210000> <IOXIDResolveropNum 5 invoked. This method is
not
implemented.>
So: I know, this is only a warning, but where is my object? ;-)
Can s/o tell me?
Many thanks,
Uli -
Is there a way to change the Weblogic error page (404,500,...)?
By default we removed the "pumpkin" page. Many customers are not interested
in having the term WebLogic displayed by default. But, you should still be
able to change this error Page. The way to do this is inside of your Web
application deployment descriptor Web.XML.
Michael Girdley
BEA Systems
Learning WebLogic? http://learnweblogic.com
"vr" <[email protected]> wrote in message
news:3a9e78d9$[email protected]..
>
I can't remember if it was in WebLogic 4.5 or 5.1, but we used to get a404
weblogic error page with a gold background and a graphic symbol of "w" for
weblogic. Now in WebLogic 6.0 we just get a plain white page with black
text for the 404 error. Is that available at all in WebLogic 6.0? Ifnot,
how can we get it? It seems like in the previous versions of WebLogicthey
allowed you to customize you error pages if you wanted in
weblogic.properties
I can't find any reference to doing that in WL 6.0 through the Console
(never mind that I can't find an actual weblogic.properties or equivalentto
alter manually). So any insight/suggestions on this issue?
Thanks,
V -
Hi,
I am not able to start OIM Weblogic.Getting following error in the log
ERROR,01 Apr 2010 18:58:50,285,[org.apache.beehive.netui.pageflow.internal.AdapterManager],ServletContainerAdapter manager not initialized correctly.
ERROR,01 Apr 2010 18:58:53,755,[org.apache.beehive.netui.pageflow.internal.AdapterManager],ServletContainerAdapter manager not initialized correctly.
ERROR,01 Apr 2010 19:01:14,186,[XELLERATE.ACCOUNTMANAGEMENT],Class/Method: Authenticate/connect User with ID: WEBLOGIC was not found in Xellerate.
ERROR,01 Apr 2010 19:01:14,204,[XELLERATE.ACCOUNTMANAGEMENT],Class/Method: XellerateLoginModuleImpl/login encounter some problems:
com.thortech.xl.security.tcLoginException:
at com.thortech.xl.security.tcLoginExceptionUtil.createException(tcLoginExceptionUtil.java:96)
at com.thortech.xl.security.tcLoginExceptionUtil.createException(tcLoginExceptionUtil.java:53)
Any idea what might be going wrong?.Thanks.Try accessing the weblogic admin console and then see whether Xellearte application is deployed properly or not
Thanks
Suren -
Weblogic error while deplying a simple servlet program
Hi This is a very simple servlet program.
I am trying to deploy it on the weblogic server but i get this error as follow
Unable to access the selected application.
*javax.enterprise.deploy.spi.exceptions.InvalidModuleException: [J2EE Deployment SPI:260105]Failed to create*
DDBeanRoot for application, 'E:\AqanTech\WebApp1\myApp.war'.
I have checked everything, right from my code to my web.xml file. I have used a build.bat file to build my war file.
PLEASE HELP ME TO SOLVE THIS HUGE PROBLEM OF MINE ?
Thanks,
ShoebHi,
The J2EE Error code siply suggest that there is something wrong in your Deployment Descriptors...
Can u please post the XML files available inside your "WEB-INF" directory?
Thanks
Jay SenSharma
http://jaysensharma.wordpress.com (WebLogic Wonders Are Here) -
Error in OIM 9.1.0.1 Installation
Hi All,
I am trying to install OIM using the following configuration:
OS: Windows Server 2003 SP2
JDK: Sun jdk 6 update 10
Database: Oracle 10g (10.2.0.1.0)
OIM: 9.1.0.1
Applicaton Server: Oracle Weblogic 10.3/JBOSS 4.2.3 (I have tried on both)
But in the end of the installation, I am getting the following error:
"Oracle Identity Manager has found that EncryptConfiguration.bat failed" and no xlStartServer file gets created..
I did not get any error during schema creation.
However in encryptconfiguration.log file, I am getting "Path is Incorrect!!" in the last line.
I have already tried all the options that have been posted for the same type of error but nothing helps.
Please let me know if anyone has idea about the same.
Thanks
GauravCan you check whether path variables is set in your system under System Variables like Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;
-
Login error in OIM 11.1.1.5
Hi,
I am getting the below error when trying to login on OIM application. Earlier it was working fine.
Message: Automation server can't create object
Line: 5689
Char: 2
Code: 0
URI: http://HostName:14000/oim/afr/partition/ie/default/opt/boot-11.1.1.5.0-1095.js
Removed the history and cache of browser,restarted the weblogic and OIM server also.still getting the same error.It Is resolved by reseting the browser setting.
-
Error in OIM 11g R2 PS1 configuration
Hi Gurus
I am getting the following error while running the OIM configuration wizard. This is urgent as I am not able to proceed. Please help
Log file:
[2013-06-05T15:26:49.107-07:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JwMSicA1j^Uay5Na6G1HfvaS000003,0] [[
updating SOA mbean oracle.as.soainfra.config:Location=WLS_SOA,WorkflowIdentityConfig.ConfigurationType=jazn.com,WorkflowIdentityConfig=human-workflow,type=WorkflowIdentityConfig.ConfigurationType.ProviderType.PropertyType,Application=soa-infra,name=jpsContextName,WorkflowIdentityConfig.ConfigurationType.ProviderType=JpsProvider JPSProvider attribute Value to oim
[2013-06-05T15:26:49.134-07:00] [as] [ERROR] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JwMSicA1j^Uay5Na6G1HfvaS000003,0] Exception[[
javax.management.InstanceNotFoundException: oracle.as.soainfra.config:WorkflowIdentityConfig.ConfigurationType=jazn.com,type=WorkflowIdentityConfig.ConfigurationType.ProviderType.PropertyType,WorkflowIdentityConfig.ConfigurationType.ProviderType=JpsProvider,WorkflowIdentityConfig=human-workflow,Application=soa-infra,name=jpsContextName
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:237)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
at javax.management.remote.rmi.RMIConnectionImpl_1036_WLStub.setAttribute(Unknown Source)
Caused by: javax.management.InstanceNotFoundException: oracle.as.soainfra.config:WorkflowIdentityConfig.ConfigurationType=jazn.com,type=WorkflowIdentityConfig.ConfigurationType.ProviderType.PropertyType,WorkflowIdentityConfig.ConfigurationType.ProviderType=JpsProvider,WorkflowIdentityConfig=human-workflow,Application=soa-infra,name=jpsContextName
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1094)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getClassLoaderFor(DefaultMBeanServerInterceptor.java:1438)
at com.sun.jmx.mbeanserver.JmxMBeanServer.getClassLoaderFor(JmxMBeanServer.java:1276)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$1.run(WLSMBeanServerInterceptorBase.java:58)
[2013-06-05T15:26:49.139-07:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JwMSicA1j^Uay5Na6G1HfvaS000003,0] [OIM_CONFIG] Update the SOA Mbean with OIM JPS-CONTEXT Failed.
[2013-06-05T15:28:28.348-07:00] [as] [NOTIFICATION] [] [oracle.as.install.engine.config] [tid: 11] [ecid: 0000JwMRL1V1j^Uay5Na6G1HfvaS000002,0] Initating rollback of the Action Instance : OIM Configuration
[2013-06-05T15:28:28.348-07:00] [as] [NOTIFICATION] [] [oracle.as.install.engine.config] [tid: 11] [ecid: 0000JwMRL1V1j^Uay5Na6G1HfvaS000002,0] Finishing rollback of the Action Instance : OIM Configuration
[2013-06-05T15:28:28.374-07:00] [as] [NOTIFICATION] [] [oracle.as.install.engine.modules.statistics] [tid: 11] [ecid: 0000JwMRL1V1j^Uay5Na6G1HfvaS000002,0] Writing profile to file:/u01/oraInventory
out file:
fileToAdd=soaconfigplan.xml
fileToAdd=CertificationProcess_cfgplan.xml
trying to move the updated composite jar /tmp/13704712040052755924967116283055.tmp to /u01/oracle/config/domains/idm_domain/idm_domain/soa/autodeploy/sca_CertificationProcess_rev1.0.jar
commandStr:/bin/mv /tmp/13704712040052755924967116283055.tmp /u01/oracle/config/domains/idm_domain/idm_domain/soa/autodeploy/sca_CertificationProcess_rev1.0.jar
Modify JAR :true
updated the soaconfigplan.xml & CertificationProcess_cfgplan.xml files in the composite jar sca_CertificationProcess_rev1.0.jar
javax.management.InstanceNotFoundException: oracle.as.soainfra.config:WorkflowIdentityConfig.ConfigurationType=jazn.com,type=WorkflowIdentityConfig.ConfigurationType.ProviderType.PropertyType,WorkflowIdentityConfig.ConfigurationType.ProviderType=JpsProvider,WorkflowIdentityConfig=human-workflow,Application=soa-infra,name=jpsContextName
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:237)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
at javax.management.remote.rmi.RMIConnectionImpl_1036_WLStub.setAttribute(Unknown Source)
Caused by: javax.management.InstanceNotFoundException: oracle.as.soainfra.config:WorkflowIdentityConfig.ConfigurationType=jazn.com,type=WorkflowIdentityConfig.ConfigurationType.ProviderType.PropertyType,WorkflowIdentityConfig.ConfigurationType.ProviderType=JpsProvider,WorkflowIdentityConfig=human-workflow,Application=soa-infra,name=jpsContextName
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1094)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getClassLoaderFor(DefaultMBeanServerInterceptor.java:1438)
at com.sun.jmx.mbeanserver.JmxMBeanServer.getClassLoaderFor(JmxMBeanServer.java:1276)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$1.run(WLSMBeanS
In doCancel method ...
Yes option....
inventoryLocation: /u01/oraInventory
outputFile:/u01/oraInventory/logs/installProfile2013-06-05_03-20-09PM.log
in writeProfile method..
[ENGINE] Adding /tmp/OraInstall2013-06-05_03-20-09PM for deletion.
java.lang.NullPointerException
at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.shutdown(StandardConfigActionManager.java:211)
at oracle.as.install.engine.modules.conHi,
Please check if you have followed the below steps to install PS1
1) Install Database
2) Run RCU and create Schema for PS1
3) Install Weblogic Server 10.3.6
4) Install SOA Server 11.1.1.6 and Install SOA patches
5) Install IDM Server 11.1.1.2.1
6) Create Domains
7) Configure Security Store Python Script
8) Start both Admin server and SOA server (in 11g R2 SOA server is not required ) but in PS1 it is required to start SOA server before configuring domain.
9) Configure OIM and Design Console
10) Start OIM managed servers
HTH -
Error Installing OIM - Ebiz User Management connector
Hi all,
I am trying to install ebusiness suite user management connector 9.1.0.1.0.
But, while installation, I am getting an exception
Invalid Connector Installation Directory
Ensure that the connector installation files are in the specified directory.
From the server log, I have seen this error.
ERROR,01 Jun 2010 11:29:19,153,[XELLERATE.WEBAPP],Class/Method: ConnectorInstallProcessAction/CopyJarFilesForInstallation encounter some problems: IO exception while copying jar files
java.io.IOException: FileCopy: destination file is unwriteable: /g03/oim/xellerate/JavaTasks
at com.thortech.xl.webclient.actions.ConnectorInstallProcessAction.copy(Unknown Source)
at com.thortech.xl.webclient.actions.ConnectorInstallProcessAction.copyJarFilesForInstallation(Unknown Source)
at com.thortech.xl.webclient.actions.ConnectorInstallProcessAction.completeInstallation(Unknown Source)
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.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
at com.thortech.xl.webclient.actions.ConnectorInstallProcessAction.execute(Unknown Source)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
But, before this, I have done the ebusiness suite employee reconciliation 9.1.0.1.0 in the same way.
Please let me know, if any one has faced this kind of error earlier.
Regards
VickyFigured out the error,
When I have installed Ebiz HRMS Employee recon connector, it has imported all the files with root privileges. (Dont know why importing was done with root privileges).
Becuase of EBSCommon.jar and Common.jar having root as the owner, EBIZ UM connector is unable to replace those files. After modifying the owner and group of these two files to oracle.
I am able to succesfully install the UM connector.
Regards
Vicky -
Error starting oim managed server
Hi,
I am getting the following error when trying to start oim managed server using the command
startmanagedweblogic.cmd oim_server1
<Jul 15, 2012 8:36:54 PM CDT> <Critical> <WebLogicServer> <BEA-000386> <Server s
ubsystem failed. Reason: weblogic.security.SecurityInitializationException: Auth
entication for user weblogic denied
weblogic.security.SecurityInitializationException: Authentication for user weblo
gic denied
but i am able to login into admin console with that user. Please help.Hi ,
Try to clear your ldap folder with in your %Domain_Home%\ server \ <server name> \ data \ ldap
create a new boot.properties under %Domain_Home%\ server \ <server name> \ security folder.
Regards
shashank -
Error in oim Role creation using Role Manager Service API from Standalone Java client
Hi,
Facing the following error when trying to create Role using Role Manager Service API from a standalone java client .
Tried with the solution of changing ,
Login into the Web Logic Admin Console --> Servers --> OIM Server --> Protocols --> Modify the Maximum Message from 100000000 to 1000000000, but still the problem persists.
Exception in thread "main" org.omg.CORBA.BAD_PARAM: vmcid: 0x0 minor code: 0 completed: No
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase.getSystemException(Unknown Source)
at com.sun.corba.se.impl.protocol.giopmsgheaders.ReplyMessage_1_2.getSystemException(Unknown Source)
at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.getSystemExceptionReply(Unknown Source)
at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.processResponse(Unknown Source)
at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(Unknown Source)
at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(Unknown Source)
at org.omg.CORBA.portable.ObjectImpl._invoke(Unknown Source)
at com.sun.org.omg.SendingContext._CodeBaseStub.meta(Unknown Source)
at com.sun.corba.se.impl.encoding.CachedCodeBase.meta(Unknown Source)
at com.sun.corba.se.impl.io.IIOPInputStream.getOrderedDescriptions(Unknown Source)
at com.sun.corba.se.impl.io.IIOPInputStream.inputObjectUsingFVD(Unknown Source)
at com.sun.corba.se.impl.io.IIOPInputStream.simpleReadObject(Unknown Source)
at com.sun.corba.se.impl.io.ValueHandlerImpl.readValueInternal(Unknown Source)
at com.sun.corba.se.impl.io.ValueHandlerImpl.readValue(Unknown Source)
at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(Unknown Source)
at com.sun.corba.se.impl.encoding.CDRInputStream.read_value(Unknown Source)
at oracle.iam.identity.rolemgmt.api._RoleManager_ogut7n_RoleManagerRemoteRIntf_Stub.createx(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 $Proxy2.createx(Unknown Source)
at oracle.iam.identity.rolemgmt.api.RoleManagerDelegate.create(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.subject.SubjectProxy.doAs(SubjectProxy.java:64)
at weblogic.security.subject.SubjectManager.runAs(SubjectManager.java:262)
at weblogic.security.Security.runAs(Security.java:48)
at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
at $Proxy3.create(Unknown Source)
at com.idm.role.CreateRole.createRole(CreateRole.java:113)
at com.idm.role.CreateRole.main(CreateRole.java:167)
Thanks In AdvanceHi , I have used OIM 11g R2.
Please find below the code we have used,
package com.idm.role;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.Set;
import java.util.logging.Logger;
import javax.security.auth.login.LoginException;
import oracle.iam.identity.exception.NoSuchRoleException;
import oracle.iam.identity.exception.RoleAlreadyExistsException;
import oracle.iam.identity.exception.RoleCreateException;
import oracle.iam.identity.exception.RoleLookupException;
import oracle.iam.identity.exception.RoleModifyException;
import oracle.iam.identity.exception.SearchKeyNotUniqueException;
import oracle.iam.identity.exception.ValidationFailedException;
import oracle.iam.identity.rolemgmt.api.RoleManager;
import oracle.iam.identity.rolemgmt.api.RoleManagerConstants;
import oracle.iam.identity.rolemgmt.vo.Role;
import oracle.iam.platform.OIMClient;
import oracle.iam.platform.authz.exception.AccessDeniedException;
public class CreateRole {
private final static Logger LOGGER = Logger.getLogger(CreateRole.class .getName());
OIMClient oimClient = null;
public OIMClient connectToOIM() {
LOGGER.info("In connectToOIM ");
Hashtable env = new Hashtable();
env.put(OIMClient.JAVA_NAMING_FACTORY_INITIAL,
"weblogic.jndi.WLInitialContextFactory");
env.put(OIMClient.JAVA_NAMING_PROVIDER_URL,
"t3://V-hydidm1.itig.co.in:14000");
System.setProperty("java.security.auth.login.config",
"F:\\Projects\\IDM\\Team\\Env_setup\\OIM_Setup\\designconsole\\config\\authwl.conf");
System.setProperty("java.security.policy",
"F:\\Projects\\IDM\\Team\\Env_setup\\OIM_Setup\\designconsole\\config\\xl.policy");
System.setProperty("OIM.AppServerType", "wls");
System.setProperty("APPSERVER_TYPE", "wls");
System.setProperty("weblogic.Name", "oim_server1");
oimClient = new OIMClient(env);
try {
oimClient.login("xelsysadm", "Passw0rd".toCharArray());
} catch (LoginException e) {
e.printStackTrace();
System.out.println("Connected");
return oimClient;
public void readRoleMetadata() {
LOGGER.info("in readRoleMetadata ");
RoleManager roleManagerService = oimClient
.getService(RoleManager.class);
try {
Role roleVo = roleManagerService.getDetails(
RoleManagerConstants.ROLE_DISPLAY_NAME, "API Role1", null);
Set attributeNameSet = roleVo.getAttributeNames();
Iterator it = attributeNameSet.iterator();
while (it.hasNext()) {
System.out.println("Attribute Name :: " + it.next());
// roleVo.setAttribute("ADentitlements", "Security Admin access");
String adEntitlements = "" + roleVo.getAttribute("ADentitlements");
System.out.println("AD Entitlements :: " + adEntitlements);
System.out.println("DB Entitlements :: " + ""
+ roleVo.getAttribute("DBEntitlements"));
System.out.println("Unix Entitlements :: " + ""
+ roleVo.getAttribute("UnixWindows"));
System.out.println("VPN :: " + "" + roleVo.getAttribute("VPN"));
} catch (SearchKeyNotUniqueException e) {
e.printStackTrace();
} catch (NoSuchRoleException e) {
e.printStackTrace();
} catch (RoleLookupException e) {
e.printStackTrace();
} catch (AccessDeniedException e) {
e.printStackTrace();
public void createRole() {
LOGGER.info(" in Create role ");
RoleManager roleManagerService = oimClient
.getService(RoleManager.class);
HashMap<String, Object> roleCreationAttrMap = new HashMap<String, Object>();
roleCreationAttrMap.put(RoleManagerConstants.ROLE_NAME, "API Role1");
roleCreationAttrMap.put(RoleManagerConstants.ROLE_DESCRIPTION,
"This Role is created using API Role1");
roleCreationAttrMap.put(RoleManagerConstants.ROLE_DISPLAY_NAME,
"API Role1");
roleCreationAttrMap.put("ADentitlements", "API Role1 AD Entitlements");
roleCreationAttrMap.put("DBEntitlements", "API Role1 DB Entitlements");
roleCreationAttrMap.put("VPN", "No");
roleCreationAttrMap.put("UnixWindows", "API Role1 Unix Entitlements");
Role roleVo = new Role(roleCreationAttrMap);
try {
System.out.println(" Before Create role *********************************************");
roleManagerService.create(roleVo);
System.out.println("Role Created .. ");
} catch (ValidationFailedException e) {
e.printStackTrace();
} catch (RoleAlreadyExistsException e) {
e.printStackTrace();
} catch (RoleCreateException e) {
e.printStackTrace();
} catch (AccessDeniedException e) {
e.printStackTrace();
public void modifyRole() {
LOGGER.info(" in modifyRole ");
RoleManager roleManagerService = oimClient
.getService(RoleManager.class);
Role roleVo;
try {
roleVo = roleManagerService.getDetails(
RoleManagerConstants.ROLE_DISPLAY_NAME, "API Role1", null);
String roleKey = roleVo.getEntityId();
HashMap<String, Object> roleCreationAttrMap = new HashMap<String, Object>();
roleCreationAttrMap.put("ADentitlements",
"Updated API Role1 AD Entitlements");
Set roleKeySet = new HashSet<String>();
roleKeySet.add(roleKey);
Role roleVoNew = new Role(roleCreationAttrMap);
roleManagerService.modify(roleKeySet, roleVoNew);
System.out.println("Role Modified ..");
} catch (SearchKeyNotUniqueException e) {
e.printStackTrace();
} catch (NoSuchRoleException e) {
e.printStackTrace();
} catch (RoleLookupException e) {
e.printStackTrace();
} catch (AccessDeniedException e) {
e.printStackTrace();
} catch (ValidationFailedException e) {
e.printStackTrace();
} catch (RoleModifyException e) {
e.printStackTrace();
public static void main(String args[]) {
CreateRole miscObj = new CreateRole();
miscObj.connectToOIM();
miscObj.createRole();
//miscObj.readRoleMetadata();
Thanks In Advance .
Maybe you are looking for
-
Hi, I have downloaded below two files from oracle edelivery site. "Oracle Business Intelligence Data Warehouse Administration Console 10.1.3.4.1 for Microsoft Windows and Informatica PowerCenter and PowerConnect Adapters 8.6.1 for Windows x86 (32-bit
-
How to get coordinates of FileSystemTree selected item ?
Hi can some one clue me in how to get the coordinates of the selected itwn in a FileSystemsTree ? thx -g
-
How to turn-off automatically the wifi of time capsule
Hello I have a new Time Capsule for fews weeks and I would like to turn off the wifi automatically during nigth.Is it possible ? How can I do that ? Thanks for yourhelp
-
I am a begginer and have had a bit of help on this stuff but im am stuck. in brief, i have a class that loads xml, creates a list holder that dislplays the "items". I then have a listItem class that says when an item is clicked to dispatch a custom e
-
Working with multiple fla or swf files
Hi am working on a large flash presentation that combines several clips that I previously developed in Flash8 and new ones that I have created in Flash CS3. I need to combine these into one presentation. I know that I will have to save my CS3 clips b