Creating Configuration MBean using RemoteMBeanServer
Hi
I'm trying to create a configuration MBean using the RemoteMBeanServer. More precisely, I get a reference to the RemoteMBeanServer using the MBeanHome.
Then I use the standard createMBean method of the javax.management.MBeanServer to create a Configuration MBean. In my case it is a JDBCConnectionPoolMBean.
However, when I try to run this from lets say a webapp, it throws a quote: "javax.management.NotCompliantMBeanException: The MBean must be have a concrete class"
I know I can use the MBeanHome to create ConfigurationMBeans but for sake of reuse I'd like to use the MBeanServer's interface. I can use the MBeanHome to get the RemoteMBeanServer, but I don't want to use the MBeanHome interface for MBean management.
I can lookup/query the Configuration MBeans using the generic MBeanServer but I'm not able to create any.
The core of the code is something like this:
ObjectName oname = new ObjectName("devel:Name=testPool,Type=JDBCConnectionPool");
ObjectInstance oi = mbeanServer.createMBean(
"weblogic.management.configuration.JDBCConnectionPoolMBean" oname );
where mbeanServer is a reference to a javax.management.MBeanServer retrieved from MBeanHome
How can I do this then? Do I have to use one of the other overloaded createMBean methods? different name?
Hope someone can help.
Hi PunisheerII,
Would you please post more information about this issue?
If you have any feedback on our support, please click here.
Best Regards,
Anna
TechNet Community Support
Similar Messages
-
Can't fine WebServer configuration MBean using WLST
I am trying to script the various log attributes (for access.log) on the weblogic.management.configuration.WebServerMBean
using WLST. I have done the same before with wlshell. However I am having a problem
finding that mbean use the WLST directory concept. I would presume it would be
in <domain>/config/Servers/<server-name>/WebServer/<server-name>
but all that is under that dir is WebDeployment.
Can you share with me where I would find that MBean?
Also, in the above directory path example, isn't <server-name> appearing twice
a little redudant? If I have already navigated to Servers/<server-name> why should
I need to navigate thru the <server-name> again when accessing other MBean beneath
this directory?
Thanks. I really think WLST is a great tool with tons of promise. We have automated
the whole domain creation and managed server/cluster config with one script!Darryl Stoflet wrote:
I am trying to script the various log attributes (for access.log) on the weblogic.management.configuration.WebServerMBean
using WLST. I have done the same before with wlshell. However I am having a problem
finding that mbean use the WLST directory concept. I would presume it would be
in <domain>/config/Servers/<server-name>/WebServer/<server-name>
but all that is under that dir is WebDeployment.
Can you share with me where I would find that MBean?
Also, in the above directory path example, isn't <server-name> appearing twice
a little redudant? If I have already navigated to Servers/<server-name> why should
I need to navigate thru the <server-name> again when accessing other MBean beneath
this directory?All the MBeans as you may have already noticed are arranged in a
hiearchical fashion, as you see in config.xml. So for example you have,
Domain - <domain-name>
|_ Servers
|_ myserver
|_ COM
| |_ myserver -No Contained MBeans/children
|_ Log
| |_ myserver - No Contained MBeans/children
|
|_ WebServer
|_ myserver
|_WebDeployment
|_ myWebDeployment
As you can see when you are at the domain level and do a ls(), by
default you will see the children MBean types under the Domain MBean
instance. If you specify ls('a'), this will show the attribute names and
values for the domain mbean instance. So, 'Servers' is a child of Domain
MBeean and when you cd to 'Servers' and do a ls() it will show the
available mbean instance names under Servers. You will cd to any
instance, in this case 'myserver'. After cd'ing to myserver when you do
a ls() you will see the child MBean types for the Server Instance and
ls('a') shows the attributes and values for the mbean instance.
Now cd to WebServer, and when you do a ls() it shows the instance names
of WebServer and since there is only one instance it shows 'myserver'
which is the name of the WebServerMBean instance. When you cd to this
instance and do a ls(), it shows the children of this mBean which is
WebDeploymentMBean.
Hope this helped explain the confusion.. :-).
Let me know if you have any questions.
Thanls,
-satya
>
Thanks. I really think WLST is a great tool with tons of promise. We have automated
the whole domain creation and managed server/cluster config with one script! -
Error message while creating configurable material for variant configuration.
Dear All,
I want to create configurable material for the purpose of variant configuration. When trying to create configurable material using mm 01 or mm k1, it is displaying an error message that internal number assignment is not possible for the material type configurable materials as well in using external number also. Can anyone specify the steps to be done in creating the configurable material. Thank you all.
Regards
Akula Sivaji Kumar Madhu KiranIf you want to set these material type to another group (Which has a internal number and external number range), then you can do it.
In MMNR, Click on the Edit Group.
Then select the material type and click select element.
Then mark a tick option in another group and then press Element/Group.
Then you can see the material type will come under this group.
Now save your entry, and create a material with this material type. -
Problem when creating configuration Scenario
hi all
when i Create configuration Scenario use sap XI then it warning that "Error initializing key service (COULD_NOT_GET_KEYSERVICE)" and "The log file for database 'N4S' is full. Back up the transaction log for the database to free up some log space."
is it means so many people to use the system?
and how can i clear this problem?
thanks!
marxHi
User query below to backup and shrink the trasactional logs
db_name in your case is "N4S"
db_name_log is the trasctional log file name:Chek this in your case must be like N4S_log
backup log db_name with truncate_only
go
dbcc shrinkfile (db_name_log,0)
go
run this query and restart the database
Ps: If helful pleae reward points -
A server is created as follows:
javax.management.MBeanServer server = (javax.management.MBeanServer)
mBeanHome.getMBeanServer();
Then I tried to create an MBean using this:
server.createMBean(mbeanClassName, mbeanObjectName);
It didn't work with my values of the parameters. I need to know the
definitions of the two parameters: mbeanClassName, mbeanObjectName. Thank
you very much.
T.Peithe class name is the name of actual class for the MBean that you are
creating on the server.
ie. com.companyname.management.mbean.mbean_name. This of course must be in
the
claspath for the weblogic server running so it can find the mbean.
the object name is the name for that mbean. look up
javax.management.ObjectName.
I think that Weblogic accepts WeblogicObjectName types as a parameter, but
that
extends javax.management.ObjectName so you can use either.
"T. Pei" <[email protected]> wrote in message
news:[email protected]..
A server is created as follows:
javax.management.MBeanServer server = (javax.management.MBeanServer)
mBeanHome.getMBeanServer();
Then I tried to create an MBean using this:
server.createMBean(mbeanClassName, mbeanObjectName);
It didn't work with my values of the parameters. I need to know the
definitions of the two parameters: mbeanClassName, mbeanObjectName. Thank
you very much.
T.Pei -
Help/Example needed for creating JMSQueues/JMSTopics using the MBean API
I am trying to create JMSQueues programmatically using the MBean API. When
I use MBeanHome.createAdminMBean(), a queue appears in the root of the
config file. This is progress, but the queue is in the wrong place! I need
the queues to be part of my JMS server's "destinations" as seen on the
console.
So now I am trying to use createConfigurationMBean() instead, but I can't
figure out what the "parent" parameter should be- no documentation! My
first guess was that the parent might be the JMSServer, but that doesn't
work.
Anyone have example code to insert JMSQueues and JMSTopics into a specific
JMS server's destinations?
Here is the code I tried... All goes well until the final
createConfigurationMBean call, where it throws a MBeanCreationException:
// Get the MBeanHome bean
Object obj = jndiContext.lookup("weblogic.management.adminhome");
MBeanHome mbeanhome = (MBeanHome) javax.rmi.PortableRemoteObject.narrow
(obj, MBeanHome.class);
// Get the server MBean
JMSServerMBean jmsServerMB =
(JMSServerMBean)mbeanhome.getMBean("examplesJMSServer",
JMSServerMBean.class);
// Create the new Queue
JMSQueueMBean jmsQMB = (JMSQueueMBean)mbeanhome.createConfigurationMBean
("weblogic.examples.jms.fooQueue", "JMSQueue", jmsServerMB);Ok, I still don't see how I can do it differently with the admin tool. If
you want to see the commands I'm using, I can post them, but the basic one
is shown below in the previous message. We're trying to set up a script so
that developers can just run it and properly configure WebLogic with the
right components.
Thanks,
Michelle
"Michelle Baxter" <[email protected]> wrote in message
news:[email protected]...
I am using the weblogic.Admin tool, not doing this in code. I will attempt
to translate your advice when I get time again.
My commands look like this:
java weblogic.Admin -url 127.0.0.1:7001 -username system -passwordweblogic
CREATE -mbean "mydomain:Type=JMSQueue,Name=MyJMSQueue"
I create this, I create the JMSServer MBean, then do and INVOKE (insteadof
CREATE) and call the addDestination method, adding the JMS Queue MBeanthat
I created previously, using the same naming scheme as in the above CREATE.
"Viresh Garg" <[email protected]> wrote in message
news:[email protected]...
Daron Cole wrote:
You can use createConfigurationMBean with JMSQueueConfig but in the
end
I used
the code below to create a topic.The code that you posted is the right way to create queus/topics. alwayscreate admin mbeans to admin
server and let admin server internally create config Mbeans on the
managed
server as per the
location/targets that you set in admin Mbeans.
Queue's are the same, just replace the word
Topic with Queue and it should work. It should show up in the console
app.
MBeanHome home = (MBeanHome)ctx.lookup(MBeanHome.JNDI_NAME+".myserver");
ServerMBean myserver =(ServerMBean)home.getMBean("myserver",ServerMBean.class);
String topicName = "MyNewTopic";
JMSServerMBean jmsServerMB =(JMSServerMBean)home.getMBean("JMSServer","JMSServer","mydomain");
JMSTopicMBean jmsTopicMB =(JMSTopicMBean)home.createAdminMBean(topicName,"JMSTopic","mydomain");
jmsTopicMB.setJNDIName(topicName);
jmsServerMB.addDestination(jmsTopicMB);
Viresh Garg
Principal Developer Relations Engineer
BEA Systems
"Michelle Baxter" <[email protected]> wrote:
There is no JMSQueueConfigMBean. What do you mean?
"Daron Cole" <[email protected]> wrote in message
news:[email protected]...
Try JMSQueueConfig instead of JMSQueue.
"Michelle Baxter" <[email protected]> wrote:
Me too! I'm trying to use the weblogic.Admin class to set up
queues
and
topics and the JMS server. The same results in the config file:
the
queues
and topic were set up at the root, the JMS server was added, but
no
destinations, even though I invoked the addDestination method withthe
created MBean queues and topic as arguments. No exceptions, just
no
destinations on the JMS server resulted. What's the right order ofexecution
for this stuff??
Thanks,
Michelle
"Jude DeMeis" <[email protected]> wrote in message
news:[email protected]...
I am trying to create JMSQueues programmatically using the MBean
API.
When
I use MBeanHome.createAdminMBean(), a queue appears in the root
of
the
config file. This is progress, but the queue is in the wrong
place!
I
need
the queues to be part of my JMS server's "destinations" as seen
on
the
console.
So now I am trying to use createConfigurationMBean() instead,
but
I
can't
figure out what the "parent" parameter should be- no
documentation!
My
first guess was that the parent might be the JMSServer, but that
doesn't
work.
Anyone have example code to insert JMSQueues and JMSTopics intoa
specific
JMS server's destinations?
Here is the code I tried... All goes well until the final
createConfigurationMBean call, where it throws aMBeanCreationException:
// Get the MBeanHome bean
Object obj =
jndiContext.lookup("weblogic.management.adminhome");
MBeanHome mbeanhome = (MBeanHome)javax.rmi.PortableRemoteObject.narrow
(obj, MBeanHome.class);
// Get the server MBean
JMSServerMBean jmsServerMB =
(JMSServerMBean)mbeanhome.getMBean("examplesJMSServer",
JMSServerMBean.class);
// Create the new Queue
JMSQueueMBean jmsQMB =(JMSQueueMBean)mbeanhome.createConfigurationMBean
("weblogic.examples.jms.fooQueue", "JMSQueue", jmsServerMB); -
How can I configuration MBean in weblogic server using the console ?
How can I configuration MBean in weblogic server using the console ?
I hear people talking about mbeans in weblogic server I have look in the console I can not find where , or how to do it.
can some body explain that or a link that explain it, how to do it on the console ?Hi,
Registering Custom MBeans from Admin Console is not yet possible. But yes there are ways to Configure and Utilize Custom MBeans ...
http://weblogic-wonders.com/weblogic/2010/02/16/registering-and-invoking-custommbeans/
Thanks
Jay SenSharma -
How can create a MBean for LoginServlet?
hi all,
i am new to JMX concepts.
i would like to find the response time for a login (servlet & jsp) process using JMX MBean.
anybody have material to do this plz give me.
Thanks
Ramshi ,
i solved
here i am posting that steps
JMX Interface definition
ResponseTimeCalculatorMBean interface defined as follows.
public interface ResponseTimeCalculatorMBean
Note: MBean interface name must be ended with MBean.
JMX MBean Implementation
ResponseTimeCalculatorMBean interface implemented in ResposneTimeCalculator.java class.
Implementation class should be the same name as MBean interface name except the suffix 'MBean'.
public class ResponseTimeCalculator implements ResponseTimeCalculatorMBean
Attributes for ResponseTimeCalculatorMBean.
/*operations implementations*/
Registering with MBean Server
public class LoginResponseTimeService extends ResponseTimeCalculator implements MBeanRegistration
MBeanServer mbs;
ObjectName name;
public void start() throws Exception
//write custom code here to register custom Mbeans
mbs= ManagementFactory.getPlatformMBeanServer();
name= new ObjectName("mbean:type=ResponseTimeCalculatorMBean");
mbs.registerMBean(this, name);
/*MBeanRegistration interface implementations*
Now the JMX MBean service has been created.
JMX custom MBean with JBOSS Application Server
To monitor login process��s response time using JBoss Application server's jmx-console or JConsole utility, do the following steps.
Create an archive for created MBean classes (.class files)
eg.jar -cf ResponseTime.jar *.class
Set class path for ResponseTime.jar in "D:\jboss-4.2.0.GA\bin\run.bat" or copy and paste the ResponseTime.jar into D:\jboss-4.2.0.GA\server\default\lib
Configure MBean service name in JBoss-service.xml as follows
<mbean
code="LoginResponseTimeService"
name="mbean: service=LoginResponseTime">
</mbean>
Run the server.
Now you can monitor the response time from http://localhost:8080/jmx-console.
i hope this will help to new guys
Regards
Rams
Edited by: Ram_Rengasamy on Sep 20, 2007 12:48 PM -
Hi,
I would like to configure a WLI Server programmatically by creating JMSEventGenerators using the WLI MBeans.
I use the following code after getting the administration MBeanhome interface to find or create a JMSEventGenConfiguration MBean
home.findOrCreateAdminMBean("MyJMSEventGen", "JMSEventGenConfiguration");
The call does not succeed but throws the following exception:
java.lang.ClassNotFoundException: weblogic.management.configuration.JMSEventGenConfigurationMBean
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at weblogic.management.internal.TypesHelper.findClass(TypesHelper.java:477)
at weblogic.management.internal.TypesHelper.getAdminOrConfigMBeanInfo(TypesHelper.java:383)
at weblogic.management.internal.ConfigurationMBeanImpl.<init>(ConfigurationMBeanImpl.java:137)
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:274)
at weblogic.management.internal.Helper.createMBean(Helper.java:1152)
at weblogic.management.internal.Helper.createAdminMBean(Helper.java:483)
at weblogic.management.internal.RemoteMBeanServerImpl.createAdminMBean(RemoteMBeanServerImpl.java:707)
at weblogic.management.internal.MBeanHomeImpl.createAdminMBean(MBeanHomeImpl.java:588)
at weblogic.management.internal.AdminMBeanHomeImpl.createAdminMBean(AdminMBeanHomeImpl.java:856)
at weblogic.management.internal.MBeanHomeImpl.findOrCreateAdminMBean(MBeanHomeImpl.java:683)
at weblogic.management.internal.MBeanHomeImpl.findOrCreateAdminMBean(MBeanHomeImpl.java:653)
at weblogic.management.internal.AdminMBeanHomeImpl.findOrCreateAdminMBean(AdminMBeanHomeImpl.java:912)
at weblogic.management.internal.AdminMBeanHomeImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:492)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:435)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:430)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:35)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
That's of course the truth. There is no class with a FQCN: weblogic.management.configuration.JMSEventGenConfigurationMBean
So I tried to pass the FQCN to the method and I received the following error message:
java.lang.ClassNotFoundException: weblogic.management.configuration.com.bea.wli.management.configuration.JMSEventGenConfigurationMBean
It seems weblogic is always prepending "weblogic.management.configuration" to the classname of configuration MBeans (that's what the documentation says).
I have also tried to create the MBean via WLST and weblogic.ADMIN tool but had no success.
Below is a sample of a call of the weblogic.ADMIN tool to create the MBean:
java weblogic.Admin -adminurl localhost:7001 -username weblogic -password weblogic CREATE -mbean
integration:Name=myTestConfig -type JMSEventGenConfiguration
It doesn't work with FQCN either. The tool does not throw any exceptions nor does it write any other messages to the screen.
It simply quits.
Is there a way to solve this problem?
Environment:
Win XP
BEA WebLogic Integration 8.5
WLS 8.1
Thanks in advance
Ralftry using custom() after you connect WLI instance
e.g. connect(.......)
custom()
ls()
This may help you I think. -
Sharepoint server 2013 configuration issue - failed to create configuration database
Hi All,
I have installed the SharePoint server 2013. After installing the SharePoint products, the configuration stops at failure of creating configuration database.
Some system configuration & info:
- 1 Domain controller server run Active Directory services on Windows server 2008 R2 SP1 (PC1 with name DC.Brainfiniti.com)
- 1 Server which is used for installing Sharepoint server 2013 and MS SQL server 2008 R2 SP1 (PC2 with name App.Brainfiniti.com)
- All of PCs were satisfied the requirement of Sharepoint server 2013
- Firewall turned off & No antivirus tool was installed.
- During installing of Sharepoint, choose "Complete" option: Farm mode and use SQL Server instead of SQL Express.
- During configuration, created a new farm with a domain user account.
- Use domain account to log on and install, configure in Sharepoint & SQL server (PC2)
ATTEMPTS:
1. Tried install and set up all of steps with just 1 account - domain administrator.
2. Tried with separate domain account:
- SQL Service account use for:
+ Install SQL server 2008
+ Connect all SQL services
+ Admin for SQL server
- Setup account use for:
+ Member of local administrator group in PC2
+ Install Sharepoint
+ Run Configuration wizard
+ Was granted permission in SQL database: dbcreator, securityadmin, sysadmin and deselect serveradmin role.
+ Was choose for the database account in configuration database step
Also tried with SQL service account in this step.
3. Tried with Standalone mode for Sharepoint installing
4. Trie with domain name: Brainfiniti.local
5. Tried with some another solution from topic relate to database configuration in our community but not successful.
But all attempts are failed at this configuration database step :'(
Please correct me if I am going wrong by missing something or do I need to start/install some services.
Screenshot Attached
Sorry! Cannot add screenshot because my account is still not verified. Will add later.
LOG ENTRY:
01/23/2013 06:58:28 1 INF Entering function CreateCentralAdministrationSiteForm.CreateCentralAdministrationSiteFormInitializeBeforeShow
01/23/2013 06:58:28 1 INF Found a task by the name of adminvs in the task collection
01/23/2013 06:58:28 1 INF Entering function TaskCommon.GenerateRandomUnUsedPort
01/23/2013 06:58:28 1 INF Entering function TaskCommon.EnsureIIs
01/23/2013 06:58:28 1 INF Entering function PreRequisiteChecks.IsIisInstalled
01/23/2013 06:58:28 1 INF Entering function PreRequisiteChecks.IsRightVersionOfIis
01/23/2013 06:58:28 1 INF Version of IIS is 7
01/23/2013 06:58:28 1 INF Leaving function PreRequisiteChecks.IsRightVersionOfIis
01/23/2013 06:58:28 1 INF Leaving function PreRequisiteChecks.IsIisInstalled
01/23/2013 06:58:28 1 INF Entering function PreRequisiteChecks.IsRightVersionOfIis
01/23/2013 06:58:28 1 INF Version of IIS is 7
01/23/2013 06:58:28 1 INF Leaving function PreRequisiteChecks.IsRightVersionOfIis
01/23/2013 06:58:28 1 INF Entering function ServiceHelper.Start
01/23/2013 06:58:28 1 INF Trying to start service W3SVC and waiting 180 sec to do so
01/23/2013 06:58:28 1 INF service W3SVC is Running, nothing to do
01/23/2013 06:58:28 1 INF starting service W3SVC (it may already be started)
01/23/2013 06:58:28 1 INF Leaving function ServiceHelper.Start
01/23/2013 06:58:28 1 INF Leaving function TaskCommon.EnsureIIs
01/23/2013 06:58:28 1 INF Trying to see if port 40993 is free on machine APP. Min port we will try is 1024, Max port we will try is 49151
01/23/2013 06:58:30 1 INF A SocketException was thrown with
SocketError ConnectionRefused
01/23/2013 06:58:30 1 INF Connect has been refused for port 40993, so we will consider this a free port
01/23/2013 06:58:30 1 INF Have not found a free port yet. Number of tries is 1. Min port we will try is 1024, Max port we will try is 49151
01/23/2013 06:58:30 1 INF Adding port 40993 to the exclusion list so it is not chosen again during this run
01/23/2013 06:58:30 1 INF Leaving function TaskCommon.GenerateRandomUnUsedPort
01/23/2013 06:58:30 1 INF Leaving function CreateCentralAdministrationSiteForm.CreateCentralAdministrationSiteFormInitializeBeforeShow
I just post a part of its logs which contain "error" string because it's too long.
According this log, there is a error in port connection but i've turned firewall off ???
Please help me with this mix up :'(
p/s: sorry for my English!
Thanks,
Hien HoangBelow is the logs entry with "ERR" marked line:
01/23/2013 07:03:17 9 INF Now joining to farm at server app.brainfiniti.com database SharePoint_Config
01/23/2013 07:04:12 9 ERR Task configdb has failed with an unknown exception
01/23/2013 07:04:12 9 ERR Exception: System.Security.Principal.IdentityNotMappedException: Some or all identity references could not
be translated.
at System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection sourceAccounts, Type targetType, Boolean forceSuccess)
at System.Security.Principal.NTAccount.Translate(Type targetType)
at System.Security.AccessControl.CommonObjectSecurity.ModifyAccess(AccessControlModification modification, AccessRule rule, Boolean& modified)
at System.Security.AccessControl.CommonObjectSecurity.AddAccessRule(AccessRule rule)
at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceCertificate.ProvisionLocal()
at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceApplication.ProvisionLocal(SPServiceInstance serviceInstance)
at Microsoft.SharePoint.Administration.SPIisWebServiceInstance.Provision()
at Microsoft.SharePoint.Administration.SPFarm.Join(Boolean skipRegisterAsDistributedCacheHost)
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
01/23/2013 07:04:12 9 INF Entering function Common.BuildExceptionMessage
01/23/2013 07:04:12 9 INF Entering function StringResourceManager.GetResourceString
01/23/2013 07:04:12 9 INF Resource id to be retrieved is ExceptionInfo for language English (United States)
01/23/2013 07:04:12 9 INF Resource retrieved id ExceptionInfo is An exception of type {0} was thrown.
Additional exception information: {1}
01/23/2013 07:04:12 9 INF Leaving function StringResourceManager.GetResourceString
01/23/2013 07:04:12 9 INF Leaving function Common.BuildExceptionMessage
01/23/2013 07:04:12 9 INF Entering function Common.BuildExceptionInformation
01/23/2013 07:04:12 9 INF Entering function Common.BuildExceptionMessage
01/23/2013 07:04:12 9 INF Entering function StringResourceManager.GetResourceString
01/23/2013 07:04:12 9 INF Resource id to be retrieved is ExceptionInfo for language English (United
States)
01/23/2013 07:04:12 9 INF Resource retrieved id ExceptionInfo is An exception of type {0} was thrown.
Additional exception information: {1}
01/23/2013 07:04:12 9 INF Leaving function StringResourceManager.GetResourceString
01/23/2013 07:04:12 9 INF Leaving function Common.BuildExceptionMessage
01/23/2013 07:04:12 9 INF Leaving function Common.BuildExceptionInformation
01/23/2013 07:04:12 9 ERR An exception of type System.Security.Principal.IdentityNotMappedException was thrown. Additional exception
information: Some or all identity references could not be translated.
System.Security.Principal.IdentityNotMappedException: Some or all identity references could not be translated.
at System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection sourceAccounts, Type targetType, Boolean forceSuccess)
at System.Security.Principal.NTAccount.Translate(Type targetType)
at System.Security.AccessControl.CommonObjectSecurity.ModifyAccess(AccessControlModification modification, AccessRule rule, Boolean& modified)
at System.Security.AccessControl.CommonObjectSecurity.AddAccessRule(AccessRule rule)
at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceCertificate.ProvisionLocal()
at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceApplication.ProvisionLocal(SPServiceInstance serviceInstance)
at Microsoft.SharePoint.Administration.SPIisWebServiceInstance.Provision()
at Microsoft.SharePoint.Administration.SPFarm.Join(Boolean skipRegisterAsDistributedCacheHost)
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
01/23/2013 07:04:12 9 INF Entering function Common.BuildExceptionInformation
01/23/2013 07:04:12 9 INF Entering function TaskBase.OnTaskStop
01/23/2013 07:04:12 9 INF Creating the OnTaskStop event for task configdb
01/23/2013 07:04:12 9 ERR Task configdb has failed
01/23/2013 07:04:12 9 INF friendlyMessage for task configdb is An exception of type System.Security.Principal.IdentityNotMappedException
was thrown. Additional exception information: Some or all identity references could not be translated.
01/23/2013 07:04:12 9 INF debugMessage for task configdb is An exception of type System.Security.Principal.IdentityNotMappedException
was thrown. Additional exception information: Some or all identity references could not be translated.
System.Security.Principal.IdentityNotMappedException: Some or all identity references could not be translated.
at System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection sourceAccounts, Type targetType, Boolean forceSuccess)
at System.Security.Principal.NTAccount.Translate(Type targetType)
at System.Security.AccessControl.CommonObjectSecurity.ModifyAccess(AccessControlModification modification, AccessRule rule, Boolean& modified)
at System.Security.AccessControl.CommonObjectSecurity.AddAccessRule(AccessRule rule)
at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceCertificate.ProvisionLocal()
at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceApplication.ProvisionLocal(SPServiceInstance serviceInstance)
at Microsoft.SharePoint.Administration.SPIisWebServiceInstance.Provision()
at Microsoft.SharePoint.Administration.SPFarm.Join(Boolean skipRegisterAsDistributedCacheHost)
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
01/23/2013 07:04:12 9 INF Entering function TaskBase.FireTaskStateChanged
01/23/2013 07:04:12 9 INF Firing the OnTaskStateChanged event for task configdb
01/23/2013 07:04:12 9 INF Entering function TaskDriver.TaskStateEventHandler
01/23/2013 07:04:12 9 INF Entering function StringResourceManager.GetResourceString
01/23/2013 07:04:12 9 INF Resource id to be retrieved is ConfigurationDatabaseTaskDisplayName
for language English (United States)
01/23/2013 07:04:12 9 INF Resource retrieved id ConfigurationDatabaseTaskDisplayName
is configuration database
01/23/2013 07:04:12 9 INF Leaving function StringResourceManager.GetResourceString
01/23/2013 07:04:12 9 INF Received an TaskStateEventHandler event. task:configdb TaskBase.State:stopped
01/23/2013 07:04:12 9 INF Entering function TasksQueue.IncrementTaskFailed
01/23/2013 07:04:12 9 INF Incremented the number of tasks failed to 1
01/23/2013 07:04:12 9 INF Leaving function TasksQueue.IncrementTaskFailed
01/23/2013 07:04:12 9 INF Task configdb has stopped and failed. Total failed is now 1
01/23/2013 07:04:12 9 INF Leaving function TaskDriver.TaskStateEventHandler
01/23/2013 07:04:12 9 INF Entering function PsconfigBaseForm.TaskStateEventHandler
01/23/2013 07:04:12 9 INF Invoking the UI thread with the task state chagne event
01/23/2013 07:04:12 1 INF Entering function ConfigurationProgressForm.InvokeTaskStateEventHandler
01/23/2013 07:04:12 1 INF Received an TaskStateEventHandler event. task:configdb
TaskBase.State:stopped TaskBase.TaskResultconfigdb
01/23/2013 07:04:12 1 INF Acquiring the reader lock to retrieve the state
01/23/2013 07:04:12 1 INF Releasing the reader lock to retrieve the state
01/23/2013 07:04:12 1 INF Acquiring the reader lock to retrieve the state
01/23/2013 07:04:12 1 INF Releasing the reader lock to retrieve the state
01/23/2013 07:04:12 1 ERR Task configdb has stopped and failed. Total failed
is now 1
01/23/2013 07:04:12 1 INF Entering function Command.this[string key]
01/23/2013 07:04:12 1 INF Entering function CommandCollectionBase.Get
01/23/2013 07:04:12 1 INF Found value in collection for key
disconnect
01/23/2013 07:04:12 1 INF Leaving function CommandCollectionBase.Get
01/23/2013 07:04:12 1 INF Found parameter disconnect in collection
01/23/2013 07:04:12 1 INF Leaving function Command.this[string key]
01/23/2013 07:04:12 1 INF Entering function Command.this[string key]
01/23/2013 07:04:12 1 INF Entering function CommandCollectionBase.Get
01/23/2013 07:04:12 1 INF Found value in collection for key
connect
01/23/2013 07:04:12 1 INF Leaving function CommandCollectionBase.Get
01/23/2013 07:04:12 1 INF Found parameter connect in collection
01/23/2013 07:04:12 1 INF Leaving function Command.this[string key]
01/23/2013 07:04:12 1 INF Entering function Command.this[string key]
01/23/2013 07:04:12 1 INF Entering function CommandCollectionBase.Get
01/23/2013 07:04:12 1 INF Found value in collection for key
create
01/23/2013 07:04:12 1 INF Leaving function CommandCollectionBase.Get
01/23/2013 07:04:12 1 INF Found parameter create in collection
01/23/2013 07:04:12 1 INF Leaving function Command.this[string key]
01/23/2013 07:04:12 1 INF Entering function StringResourceManager.GetResourceString
01/23/2013 07:04:12 1 INF Resource id to be retrieved is ConfigurationDatabaseTaskCreateFailConfigDisplayLabel
for language English (United States)
01/23/2013 07:04:12 1 INF Resource retrieved id ConfigurationDatabaseTaskCreateFailConfigDisplayLabel
is Failed to create the configuration database.
01/23/2013 07:04:12 1 INF Leaving function StringResourceManager.GetResourceString
01/23/2013 07:04:12 1 INF Updating the task label below the progress bar Failed to
create the configuration database.
01/23/2013 07:04:12 1 INF Entering function FormParameterCollection.Add
01/23/2013 07:04:12 1 INF Leaving function FormParameterCollection.Add
01/23/2013 07:04:12 1 INF Last message from task configdb is An exception of type System.Security.Principal.IdentityNotMappedException
was thrown. Additional exception information: Some or all identity references could not be translated.
01/23/2013 07:04:12 1 INF Not running in high contrast, so we will paint the background
with our trademarked image
01/23/2013 07:04:12 1 INF Not running in high contrast, so we will paint the background
with our trademarked image
01/23/2013 07:04:12 1 INF Not running in high contrast, so we will paint the background
with our trademarked image
01/23/2013 07:04:12 1 INF Not running in high contrast, so we will paint the background
with our trademarked image
01/23/2013 07:04:12 1 INF Not running in high contrast, so we will paint the background
with our trademarked image
01/23/2013 07:04:12 1 INF Updating the task additional notification information below
the progress bar An exception of type System.Security.Principal.IdentityNotMappedException was thrown. Additional exception information: Some or all identity references could not be translated.
01/23/2013 07:04:12 1 INF Leaving function ConfigurationProgressForm.InvokeTaskStateEventHandler
01/23/2013 07:04:12 9 INF Sleeping an extra 1 ms so things don't go too fast for the user for this
task
01/23/2013 07:04:12 1 INF Not running in high contrast, so we will paint the background with our
trademarked image
01/23/2013 07:04:12 9 INF Leaving function PsconfigBaseForm.TaskStateEventHandler
01/23/2013 07:04:12 9 INF Leaving function TaskBase.FireTaskStateChanged
01/23/2013 07:04:12 9 INF Leaving function TaskBase.OnTaskStop
01/23/2013 07:04:12 9 INF Leaving function TaskThread.ExecuteTask
01/23/2013 07:04:12 4 INF Entering function StringResourceManager.GetResourceString
01/23/2013 07:04:12 4 INF Resource id to be retrieved is ConfigurationDatabaseTaskDisplayName for language English (United States)
01/23/2013 07:04:12 4 INF Resource retrieved id ConfigurationDatabaseTaskDisplayName is configuration database
01/23/2013 07:04:12 4 INF Leaving function StringResourceManager.GetResourceString
01/23/2013 07:04:12 4 ERR Task configuration database failed, so stopping execution of the engine
01/23/2013 07:04:12 4 INF Entering function Command.this[string key]
01/23/2013 07:04:12 4 INF Entering function CommandCollectionBase.Get
01/23/2013 07:04:12 4 INF Found value in collection for key disconnect
01/23/2013 07:04:12 4 INF Leaving function CommandCollectionBase.Get
01/23/2013 07:04:12 4 INF Found parameter disconnect in collection
01/23/2013 07:04:12 4 INF Leaving function Command.this[string key]
01/23/2013 07:04:12 4 INF Entering function Command.this[string key]
01/23/2013 07:04:12 4 INF Entering function CommandCollectionBase.Get
01/23/2013 07:04:12 4 INF Found value in collection for key connect
01/23/2013 07:04:12 4 INF Leaving function CommandCollectionBase.Get
01/23/2013 07:04:12 4 INF Found parameter connect in collection
01/23/2013 07:04:12 4 INF Leaving function Command.this[string key]
01/23/2013 07:04:12 4 INF Entering function Command.this[string key]
01/23/2013 07:04:12 4 INF Entering function CommandCollectionBase.Get
01/23/2013 07:04:12 4 INF Found value in collection for key create
01/23/2013 07:04:12 4 INF Leaving function CommandCollectionBase.Get
01/23/2013 07:04:12 4 INF Found parameter create in collection
01/23/2013 07:04:12 4 INF Leaving function Command.this[string key]
01/23/2013 07:04:12 4 INF Entering function StringResourceManager.GetResourceString
01/23/2013 07:04:12 4 INF Resource id to be retrieved is ConfigurationDatabaseTaskCreateFailConfigDisplayLabel for language English
(United States)
01/23/2013 07:04:12 4 INF Resource retrieved id ConfigurationDatabaseTaskCreateFailConfigDisplayLabel is Failed to create the configuration
database.
01/23/2013 07:04:12 4 INF Leaving function StringResourceManager.GetResourceString
01/23/2013 07:04:12 4 ERR Failed to create the configuration database.
An exception of type System.Security.Principal.IdentityNotMappedException was thrown. Additional exception information: Some or all identity references could not be translated.
System.Security.Principal.IdentityNotMappedException: Some or all identity references could not be translated.
at System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection sourceAccounts, Type targetType, Boolean forceSuccess)
at System.Security.Principal.NTAccount.Translate(Type targetType)
at System.Security.AccessControl.CommonObjectSecurity.ModifyAccess(AccessControlModification modification, AccessRule rule, Boolean& modified)
at System.Security.AccessControl.CommonObjectSecurity.AddAccessRule(AccessRule rule)
at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceCertificate.ProvisionLocal()
at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceApplication.ProvisionLocal(SPServiceInstance serviceInstance)
at Microsoft.SharePoint.Administration.SPIisWebServiceInstance.Provision()
at Microsoft.SharePoint.Administration.SPFarm.Join(Boolean skipRegisterAsDistributedCacheHost)
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
01/23/2013 07:04:12 4 INF Entering function TaskDriver.NotifyTaskSummary -
Error while creating configurable task list
Dear Expert,
I am trying to create configurable task list for equipments and I want to use this task list for preventive maintenance cycle. In following steps I will tell you what i did in the process.
Step1:- Characteristic is created and different values are assigned to this.
Step2:- Class with class type 300 is created, characteristic is assigned to this class
Step3:- Equipments are created and class created in above steps is assigned to them and character values are set for them
Step4:- General maintenance task list created
Step5:- Configuration profile for task list with same class is created
now while creating the object assignment in the task list operation, in the dependency basic data I am getting error ' No source code entered'. Please guide me what data do I need to enter in this basic data and where I am doing wrong.
I try to follow the previous discussion regarding the same topic, but unable to create this object dependency assignment.
Thanx in advance, for your help.
Regards,
ParagHi Parag,
See this document.Configurable Tasklist
I hope you will be able to connect and correct your process accordingly.
Step3 here (CU01) is related to your issue.
You are expected to give a code shown like that in the Editor above Assignments in the Tasklist Extras menu (Takes to CU01)
Jogeswara Rao K -
[urgent ]runtime error occured while creating the material using mm01
hai
am configure the ale program now . the problem is occured during the creating the material using mm01.
am using client 000 (sending system). and i want to send the material to the client 400(receiving system)
while am save the created material using t-code mm01 in client 000 . it depicts the error as
syntax error in program SAPLC140.
plz resolve this problem.
regards
surenderHi,
In MM01 transaction code u have a problem..normally u will go to mm01 screen to create the material..i thought the same error will occur...so call basis to rectify this problem..
Thank u,
Manjula Devi.D -
Error while creating resource group using non-globalzones.
Dear all,
Hi techs please guide me how to create failover resource group in nongloablzones.
I'm getting error while creating resource group using non-globalzones.
My setup:
I have two node cluster running sun cluster 3.2 configured and running properly.
node1: sun5
nide2: sun8
I have create non-globalzone "zone1" in node:sun5
I have create non-globalzone "zone2" in node:sun8
node:sun5# clrg create -n sun5:zone1,sun8:zone2 zonerg
*(C160082) WARNING: one or more zones in the node list have never been fully booted in the cluster mode,verify that correct zone name was entered.*
kindly guide me how to create Apache resource group using non-glabalzones, i'm new to sun cluster 3.2. please guide me step by step information.
Thanks in advance,
veera
Edited by: veeraa on Dec 19, 2008 1:54 AMHi Veera,
Actually you are getting a warning message where one of two things could have happened. Either you specified an incorrect zone name or one of the zones has not been fully booted. It's likely that you haven't booted the zones, so please follow this:
zoneadm list -iv
If zone1 or zone2 are not running then boot and configure them
zoneadm -z <zone> boot
zlogin -C <zone>
After that you can continue to follow the step by step instructions at
http://docs.sun.com/app/docs/doc/819-2975/chddadaa?a=view
These may also help
http://blogs.sun.com/Jacky/entry/a_simple_expample_about_how
http://blogs.sun.com/SC/en_US/entry/sun_cluster_and_solaris_zones
Regards
Neil -
Error while creating OAM MBean Conection
I am in the process of integrating OAM with OIM. When I run the idmConfigTool, I get the following error. Any suggestions
[oracle@idmhost2 bin]$ /u01/app/oracle/middleware/Oracle_IDM1/idmtools/bin/idmConfigTool.sh -configOAM input_file=/u01/OAMconfigPropertyFile
Enter ID Store Bind DN password :
Enter User Password for WLSPASSWD:
Confirm User Password for WLSPASSWD:
Enter User Password for OAM11G_OIM_WEBGATE_PASSWD:
Confirm User Password for OAM11G_OIM_WEBGATE_PASSWD:
Enter User Password for IDSTORE_PWD_OAMSOFTWAREUSER:
Confirm User Password for IDSTORE_PWD_OAMSOFTWAREUSER:
Enter User Password for IDSTORE_PWD_OAMADMINUSER:
Confirm User Password for IDSTORE_PWD_OAMADMINUSER:
oracle.idm.automation.exception.ExecutionFailedException: Error while creating OAM MBean Conection
at oracle.idm.automation.impl.oam.handlers.OAM11gIntegrationHandler.getObjectName(OAM11gIntegrationHandler.java:934)
at oracle.idm.automation.impl.oam.handlers.OAM11gIntegrationHandler.configOAM11gIdStore(OAM11gIntegrationHandler.java:306)
at oracle.idm.automation.impl.oam.handlers.OAM11gIntegrationHandler.execute(OAM11gIntegrationHandler.java:696)
at oracle.idm.automation.AutomationTool.configOAM(AutomationTool.java:593)
at oracle.idm.automation.AutomationTool.parseCmdLine(AutomationTool.java:218)
at oracle.idm.automation.AutomationTool.main(AutomationTool.java:132)
There were errors found. Details have been logged to automation.log
The Automationlog file details
FINER: ENTRY
Jul 16, 2013 2:09:36 AM oracle.idm.automation.impl.oam.handlers.OAM11gIntegrationHandler getObjectName
SEVERE: Error while creating OAM MBean Conection
java.lang.Exception: No foundation mbeans found
at oracle.idm.automation.impl.oam.handlers.OAM11gIntegrationHandler.getObjectName(OAM11gIntegrationHandler.java:915)
at oracle.idm.automation.impl.oam.handlers.OAM11gIntegrationHandler.configOAM11gIdStore(OAM11gIntegrationHandler.java:306)
at oracle.idm.automation.impl.oam.handlers.OAM11gIntegrationHandler.execute(OAM11gIntegrationHandler.java:696)
at oracle.idm.automation.AutomationTool.configOAM(AutomationTool.java:593)
at oracle.idm.automation.AutomationTool.parseCmdLine(AutomationTool.java:218)
at oracle.idm.automation.AutomationTool.main(AutomationTool.java:132)
Jul 16, 2013 2:09:36 AM oracle.idm.automation.impl.oam.handlers.OAM11gIntegrationHandler configOAM11gIdStore
SEVERE: Error while configuring User ID Store
oracle.idm.automation.exception.ExecutionFailedException: Error while creating OAM MBean Conection
at oracle.idm.automation.impl.oam.handlers.OAM11gIntegrationHandler.getObjectName(OAM11gIntegrationHandler.java:934)
at oracle.idm.automation.impl.oam.handlers.OAM11gIntegrationHandler.configOAM11gIdStore(OAM11gIntegrationHandler.java:306)
at oracle.idm.automation.impl.oam.handlers.OAM11gIntegrationHandler.execute(OAM11gIntegrationHandler.java:696)
at oracle.idm.automation.AutomationTool.configOAM(AutomationTool.java:593)
at oracle.idm.automation.AutomationTool.parseCmdLine(AutomationTool.java:218)
at oracle.idm.automation.AutomationTool.main(AutomationTool.java:132)
Jul 16, 2013 2:09:36 AM oracle.idm.automation.impl.oam.handlers.OAM11gIntegrationHandler configOAM11gIdStore
SEVERE: Error while creating OAM MBean ConectionCaused by: java.net.ConnectException: Connection refused
Is the Oracle application server running? -
Hello All,
When the LM3S8962 is the master, what pin is used when chip
select is the default (0), or another value ?
Despite this question being asked a few ways in the forums,
NI's "ARM SPI Create Configuration Reference.vi" documentation
for chip select is unclear.
TI's manual is no help for NI's implementation of chip select.
NI's help for the above subvi seems not only too generic (perhaps
written for the SDK ?), but erroneous in that it reads:
"chip select specifies the chip select line to assert during the
SPI transfer. The chip select line must connect to the EEPROM
on the
microcontroller. Refer to the documentation for the SPI
device for information
about chip select lines."
This is useless as the ARM microcontroller has no EEPROM and
the SPI slave device documentation only covers its own pins.
The hope is to have more than one slave on the LM3S8962's single SPI bus,
without chewing up a additional pin using elemental I/O like the splendid forum
examples for ADC's and DAC's. This would save diagram real estate compared
with two sequence frames that are typically shown toggling a elemental I/O digital
output before and after writing and/or reading from the slave. It also would clarify
what on chip resource trade offs there are for each chip select number chosen.
(as most pins have multiple possible functions)
Thanks in advance for any light on this. Please don't post info on other processors
to this thread as this taints future searches on this issue with this tier 1 target.
Best,
DavyHi Davy,
While doing research on this question, I was informed that you have been working with a colleague of mine, Joel, via email for this same question. So that we do not have multiple engineers working on the same issue, Joel will be your point of contact for this issue. I ask that when you have come to a resolution, that you post that resolution here so that other customers can reference this information.
Thanks!
Aaron P
National Instruments
Applications Engineer
http://www.ni.com/support
Maybe you are looking for
-
Font not appearing in illustrator
HAPPY NEW YEAR to everyone! I have downloaded the free font Baveuse and installed it in my Font Book .. using a Mac, 10.8.2. Font appears in photoshop but not illustrator. I have validated the font, shut down illustrator, shut down the computer bu
-
IFS on Solaris 2.5.1
Can I install iFS on Solaris 2.5.1? I know it is certified on 2.6 but I am running my Oracle 8i on 2.5.1. Please let me know if there are issues installing on 2.5.1 Chandra null
-
hp envy 100 how to print envelopes
-
Legal requirements for showing specific ESS screens in local language
Hi All, I would appreciate if you can let me know if there is any legal requirements for showing specific screens in local language? I would also like to know which countries and what SAP ESS screens. Thanks In Advance Sunny
-
Installed Xcode 4... where is FileMerge?
I just installed Xcode 4, which I wanted to do anyway but decided to do now because I wanted to use FileMerge. As far as I could figure out based on many a google, FileMerge is supposed to be part of Xcode and should be in Applications/Utilities. Y