SCCM Custom DDR created classes cannot be deleted completely
Hi,
I am Creating custom DDR on discovery and in turn it creates a class SMS_r_MyClass for me in WMI. My collection rule is based on SMS_R_System and this new class created.
Now I want to change my class by removing some properties from it, I tried deleting it and writing it with DDR again but nothing happened. but strangely when I add any new property to my DDR the class reappears again with old properties and the extended
one.
Is there any clean way to wipe SMS_r_MyClass completely and rewrite the new definition for it.
Thanks
Abhijeet
I am Creating custom DDR on discovery and in turn it creates a class SMS_r_MyClass for me in WMI.
I'm not sure, you've already seen this post which explains about the deletion of custom Discovery Data. (Note -
This is totally unsupported by Microsoft and you are on your own
Please make sure that you have a good
backup of the Database before trying any of the steps below.)
How to remove Custom Discovery Information from the Database
Anoop C Nair -
@anoopmannur
MY BLOG:
http://anoopmannur.wordpress.com
User Group:
ConfigMgr Professionals
This posting is provided AS-IS with no warranties/guarantees and confers no rights.
Similar Messages
-
Mail account created automatically cannot be deleted
In our office we are testing a server running Snow Leopard Server that has some test user accounts on it. When I connected my laptop this morning to the network a message mentioned that the server was there and asked me if I wanted to configure mail, ical etc to use the server. I did and connected it to my test user account on the server.
It created a new mail account in Mail on my laptop for that servers user. which is what I wanted.
In Mail I tried to delete this mail account and rather than deleting it just becomes greyed out and is not removable from Mail.
How do I remove this account?I had the same problem yesterday.
I eventually discovered that you have to remove the Network Account Server in your account details.
So:
Systems Preferences
Login Options
Edit on Network Account Server
Click on the Account and then the - button
Confirm and then Done.
Now you should be able to delete the mail account.
Richard -
Create customer date trough class cmd_ei_api - error in test run
Hi all,
I try to use class cmd_ei_api to create customer. It works fine but one thing is strange.
When I pass data with test run and customer is in a group with internal nummering system icrease number every time when i run program. Customer is not created ( that is good) but the assigned nummer is lost.
I tried to use method maintain_bapi and maintain.Problem occurs every time.
Do you have the same problem? Do you know solution of this problem?
regards,
JG
SAMPLE CODE:
report zcreate_customer.
data: wa_header type cmds_ei_header,
wa_central_data type cmds_ei_vmd_central_data,
wa_central_datax type cmds_ei_vmd_central_data_xflag,
wa_address type bapiad1vl,
wa_addressx type bapiad1vlx,
wa_tax_ind_st type cmds_ei_tax_ind,
wa_tax_ind type cmds_ei_cmd_tax_ind,
wa_bankdetail_st type cvis_ei_cvi_bankdetail,
wa_bankdetail type cvis_ei_bankdetail,
wa_company_code_st type cmds_ei_company,
wa_company_code type cmds_ei_cmd_company,
wa_functions_st type cmds_ei_functions,
wa_functions_t type CMDS_EI_FUNCTIONS_T,
wa_functions type cmds_ei_cmd_functions,
wa_sales_data_st type cmds_ei_sales,
wa_sales_data type cmds_ei_cmd_sales,
wa_customer type cmds_ei_extern,
wa_customers type cmds_ei_main,
wa_correct type cmds_ei_main,
wa_defective type cmds_ei_main,
wa_mes_correct type cvis_message,
wa_mes_error type cvis_message.
constants: c_update type c value 'M',
c_insert type c value 'I'.
PARAMETERS: p_test type c as CHECKBOX DEFAULT 'X'.
start-of-selection.
free: wa_customer, wa_company_code_st, wa_customer.
wa_address-name = 'CUSTOMER NAME'.
wa_address-city = 'CITY'.
wa_address-postl_cod1 = '28-500'.
wa_address-street = '1400 9TH ST W'.
wa_address-country = 'PL'.
wa_address-langu = 'L'.
wa_address-region = 'FL'.
wa_address-sort1 = 'SORT1'.
wa_address-sort2 = 'Sort2'.
Assign address data directly
wa_customer-central_data-address-postal-data = wa_address.
wa_addressx-name = 'X'.
wa_addressx-city = 'X'.
wa_addressx-postl_cod1 = 'X'.
wa_addressx-street = 'X'.
wa_addressx-country = 'X'.
wa_addressx-langu = 'X'.
wa_addressx-region = 'X'.
wa_addressx-sort1 = 'X'.
wa_addressx-sort2 = 'X'.
wa_customer-central_data-address-postal-datax = wa_addressx.
wa_customer-central_data-central-data-ktokd = 'OKRA'.
wa_customer-central_data-central-data-STCD1 = '8291004247'.
wa_company_code_st-task = c_insert.
wa_company_code_st-data_key-bukrs = '1000'.
wa_company_code_st-data-zuawa = '009'.
wa_company_code_st-data-akont = '0000201100'.
append wa_company_code_st to wa_company_code-company.
append wa_customer to wa_customers-customers.
call method cmd_ei_api=>maintain_bapi
EXPORTING
iv_test_run = p_test
iv_collect_messages = 'X'
is_master_data = wa_customers
IMPORTING
es_master_data_correct = wa_correct
es_message_correct = wa_mes_correct
es_master_data_defective = wa_defective
es_message_defective = wa_mes_error.
if wa_mes_error-is_error is initial and p_test is INITIAL.
commit work AND WAIT.
else.
ROLLBACK work.
endif.Hi experts, I am using cmd_ei_api to create customer. Each time when I create the customer, for the customer number KUNNR, first the method picks a new number from number range, if I don't supply one in program. Then it makes the necessary checks on customer data. If data check is success, customer is created and everything is okay. But if the check is failed, no customer gets created in the Data base, but the picked number is lost forever. Is there a way to avoid this?
The same happens, even when I ran it in Test Mode(iv_test_run = 'X'). A number is lost irrespective of whether the test run is success or not.
I tried supplying the customer number via the program. I this case also, I had to get a number from the Number Range and supply. As the Method validates whether the supplied number belongs to the right number range, I cannot use any dummy number(not even for a Test run). Also it validates whether a customer exists in KNA1 with the supplied number.
As a work around, now I am supplying the last number of the number range for the test run(which I have hard coded ~not a good practice!!). If this runs error free, I will pick a new number and creates the customer.
regards,
anish
sample code...
*-- Fill customer parameters to lwa_master_data
lwa_customer-header-object_instance-kunnr = '99999'.
* *** ~~
*-- Test Run with dummy customer no. for data check
IF lwa_master_data IS NOT INITIAL.
CALL METHOD cmd_ei_api=>maintain
EXPORTING
iv_test_run = 'X'
is_master_data = lwa_master_data
IMPORTING
es_error = lwa_es_error.
*-- Create customer if Test Run Succeeds.
IF lwa_es_error is INITIAL.
*-- Get new Customer Number
CALL METHOD cmd_ei_api=>get_number
EXPORTING
iv_ktokd = as_customer-ktokd
IMPORTING
ev_kunnr = lv_kunnr
es_error = lwa_getno_msg.
IF lv_kunnr is NOT INITIAL.
*-- Supply new customer number
CLEAR: lwa_master_data, lt_customer.
lwa_customer-header-object_instance-kunnr = lv_kunnr.
APPEND lwa_customer TO lt_customer.
CLEAR lwa_customer.
lwa_master_data-customers = lt_customer.
*-- Initialize Global and Current Customer Buffer
CALL METHOD cmd_ei_api=>initialize.
*-- Create Customer
CALL METHOD cmd_ei_api=>maintain
EXPORTING
iv_test_run = ''
is_master_data = lwa_master_data
IMPORTING
es_error = lwa_es_error.
*-- Proceed if no error with customer creation
IF lwa_es_error is INITIAL.
* ******************* * ******************* ~~ -
Cannot create class in system package
Hello,
I wrote a J2ME game for nokia S40 phones. It compiles without any errors, but when I'm trying to run in on the Nokia 7210 phone emulator I receive the following message:
Cannot create class in system package.
Howerver running on the Nokia 6230 phone emulator is ok.
I have obfuscated my applet as I read in previous topics, but still it does not work.
Can anyone help me?
Thanks,
Alexander.You get that error when you try to reference a class that is part of the MIDP framework but isn't installed on the phone.
The 7210 doesn't support MMAPI or WMA or MIDP 2.0, while the 6230 does, so check that you don't have any references (even an import statement), to classes from those packages (like the javax.microedition.media.*, javax.microedition.lcdui.game.*,javax.wireless.messaging.*, etc. packages hierarchies).
shmoove -
Cannot create class in system package while Using Sprite class
Hi i developed a game using Sprite class & imported
javax.microedition.lcdui.game.*; package. But when i tried to build this project it gave me "Cannot create class in system package" error. Worst thing is that now again if i build, then it displays error "package javax.microedition.lcdui.game.*; does not exist" . Pls help meFirst exception means that you tried to create a class with the package name equaling one from the predefined libraries in midp/cldc.
For your second error, add all the jars you are using into the project's classpath.
Mihai -
Cannot create class of type 'flex.samples.factories.SpringFactory'
I have an application that is trying to use BlazeDS. I am using Flash Builder 4 Plug-in on RSA 7.5.5. Any help would be apprecialted!
Here is the relevant lines in the services-config.xml:
<factories>
<factory id="spring" class="flex.samples.factories.SpringFactory"/>
</factories>
I have the flex.samples.factories.SpringFactory in the web projects src folder and verified that it is getting compiled and the class exists in the WEB-INF/classes folder.
Here is the full stack trace:
[5/31/11 8:54:44:530 CDT] 00000018 SystemErr R **** MessageBrokerServlet failed to initialize due to runtime exception: [1]flex.messaging.MessageException: Cannot create class of type 'flex.samples.factories.SpringFactory'. Type 'flex.samples.factories.SpringFactory' not found.
at flex.messaging.util.ClassUtil.createClass(ClassUtil.java:65)
at flex.messaging.util.ClassUtil.createClass(ClassUtil.java:47)
at flex.messaging.config.FactorySettings.createFactory(FactorySettings.java:55)
at flex.messaging.config.MessagingConfiguration.createFactories(MessagingConfiguration.java: 114)
at flex.messaging.config.MessagingConfiguration.configureBroker(MessagingConfiguration.java: 93)
at flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java:125)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:220)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.init(ServletWrapper.java:328)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:1252)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:161)
at com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServletWrapper(WebExtens ionProcessor.java:99)
at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:882)
at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:804)
at com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.java:522)
at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:359)
at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:337)
at com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:92)
at com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:666)
at com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:619)
at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:395)
at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:611)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1304)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedAppl icationImpl.java:1165)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:587)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:8 32)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java: 950)
at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.jav a:2131)
at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.ja va:342)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
[0]flex.messaging.config.ConfigurationException: An error occurred trying to construct FlexFactory 'flex.samples.factories.SpringFactory'. The underlying cause is: 'flex.messaging.MessageException: Cannot create class of type 'flex.samples.factories.SpringFactory'. Type 'flex.samples.factories.SpringFactory' not found.'.
at flex.messaging.config.FactorySettings.createFactory(FactorySettings.java:72)
at flex.messaging.config.MessagingConfiguration.createFactories(MessagingConfiguration.java: 114)
at flex.messaging.config.MessagingConfiguration.configureBroker(MessagingConfiguration.java: 93)
at flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java:125)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:220)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.init(ServletWrapper.java:328)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:1252)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:161)
at com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServletWrapper(WebExtens ionProcessor.java:99)
at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:882)
at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:804)
at com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.java:522)
at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:359)
at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:337)
at com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:92)
at com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:666)
at com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:619)
at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:395)
at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:611)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1304)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedAppl icationImpl.java:1165)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:587)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:8 32)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java: 950)
at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.jav a:2131)
at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.ja va:342)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
Caused by: flex.messaging.MessageException: Cannot create class of type 'flex.samples.factories.SpringFactory'. Type 'flex.samples.factories.SpringFactory' not found.
at flex.messaging.util.ClassUtil.createClass(ClassUtil.java:65)
at flex.messaging.util.ClassUtil.createClass(ClassUtil.java:47)
at flex.messaging.config.FactorySettings.createFactory(FactorySettings.java:55)
... 27 moreYou can download it here:
http://code.google.com/p/rapid-framework/source/browse/trunk/rapid-framework/src/rapid_fra mework_common/cn/org/rapid_framework/flex/messaging/factories/SpringFactory.java
Am 16.08.2010 um 21:42 schrieb ZéSóZé:
Sorry http://forums.adobe.com/people/PHANTOMIASA,
>
but I need to write what?
>
Where is the attached file?
>
Thanks for quick answer...
>
Best regards..
>
José.
> -
Yet another ALERT: Cannot create class in system package
I've searched on the forums and seen several postings and none that really explained a solution, just the initial poster replying they fixed the problem. I am new to J2ME and java in general, I'm going off a book and my first test worked fine but this one gives me the the ALERT: Cannot create class in system package, when I select the GO command. The error occurs in the commandAction method where command == go trying to create an alert message. I am using MIDP 2.0 and as I stated new to this whole thing so a detail response would be greatly appreciated and what I need to do to resolve this for now and the future.
Source code for TextBoxTest.java :
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
public class TextBoxTest extends MIDlet implements CommandListener
private TextBox textBox;
private Alert alert;
private Command quit;
private Command go;
public TextBoxTest()
// Setup the UI
textBox = new TextBox("Enter Name", "", 20, TextField.ANY);
go = new Command("Go", Command.SCREEN, 1);
quit = new Command("Quit", Command.EXIT, 2);
textBox.addCommand(go);
textBox.addCommand(quit);
textBox.setCommandListener(this);
protected void startApp() throws MIDletStateChangeException
Display.getDisplay(this).setCurrent(textBox);
protected void pauseApp()
protected void destroyApp(boolean unconditional)
throws MIDletStateChangeException
public void commandAction(Command command, Displayable displayable)
try
if (command == quit)
destroyApp(true);
notifyDestroyed();
if (command == go)
alert = new Alert("", "Greetings " + textBox.getString(), null,
AlertType.CONFIRMATION);
Display.getDisplay(this).setCurrent(alert);
catch (MIDletStateChangeException me)
System.out.println(me + " caught.");
}Ok so my problem isn't with the code it's with the build order. I guess I needed to state that I was following a book and trying to compile and preverify through command line and not using the toolkit or an IDE. So if I use NetBeans 5.0 or the Wireless Toolkit 2.5 I can compile fine.
So my new question is, can someone show me the steps to build through command line? This is MIDP 2.0. -
Jsr 180 cannot create class in system package.
Hi,
I am trying to run the jsr 180 api sip-example midlets from jbuilder. The project buildes fien but when I run it I get the following:
C:\JBuilderX\j2mewtk2.0\bin\emulator.exe -Xdevice:DefaultColorPhone -Xdescriptor:"C:\Documents and Settings\aishling\jbproject\aisling\lib\sip-examples.jad"
Running with storage root DefaultColorPhone
ALERT: Cannot create class in system package
Execution completed successfully
398951 bytecodes executed
8 thread switches
434 classes in the system (including system classes)
2473 dynamic objects allocated (82448 bytes)
3 garbage collections (58908 bytes collected)
From going through the archives, I thought I should change the name of the package. So I renamed the directory containing the midlet files from /src/examples to /src/aisexamples and updated each file to include package aisexamples. However this just results in another error (22 + 14) unable to create MIDlet aisexamples.
Please, please can someone let me know whats going on?
Thanks,
Aisling.i m also facing the same prob can any body help us
-
Error getting while creating the custom pof serializer class
the error which i am getting is
2011-07-19 15:16:38.767/4.840 Oracle Coherence GE 3.7.0.0 <Error> (thread=main, member=1): Error while starting se
vice "AspNetSessionCache": (Wrapped) (Wrapped: error creating class "com.tangosol.io.pof.ConfigurablePofContext")
Wrapped: Unable to load class for user type (Config=pof-config.xml, Type-Id=1001, Class-Name=examples.testJavaClas
)) (Wrapped) java.lang.ClassNotFoundException: examples.testJavaClass
at com.tangosol.coherence.component.util.Daemon.start(Daemon.CDB:52)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.start(Service.CDB:7)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.start(Grid.CDB:6)
at com.tangosol.coherence.component.util.SafeService.startService(SafeService.CDB:39)
at com.tangosol.coherence.component.util.safeService.SafeCacheService.startService(SafeCacheService.CDB:5)
at com.tangosol.coherence.component.util.SafeService.ensureRunningService(SafeService.CDB:27)
at com.tangosol.coherence.component.util.SafeService.start(SafeService.CDB:14)
at com.tangosol.net.DefaultConfigurableCacheFactory.ensureServiceInternal(DefaultConfigurableCacheFactory.
ava:1102)
at com.tangosol.net.DefaultConfigurableCacheFactory.ensureService(DefaultConfigurableCacheFactory.java:934
at com.tangosol.net.DefaultCacheServer.startServices(DefaultCacheServer.java:81)
at com.tangosol.net.DefaultCacheServer.intialStartServices(DefaultCacheServer.java:250)
at com.tangosol.net.DefaultCacheServer.startAndMonitor(DefaultCacheServer.java:55)
at com.tangosol.net.DefaultCacheServer.main(DefaultCacheServer.java:197)
Caused by: (Wrapped: error creating class "com.tangosol.io.pof.ConfigurablePofContext") (Wrapped: Unable to load c
ass for user type (Config=pof-config.xml, Type-Id=1001, Class-Name=examples.testJavaClass)) (Wrapped) java.lang.Cl
ssNotFoundException: examples.testJavaClass
at com.tangosol.io.ConfigurableSerializerFactory.createSerializer(ConfigurableSerializerFactory.java:46)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.instantiateSerializer(Service.CDB:1
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.ensureSerializer(Service.CDB:32)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.ensureSerializer(Service.CDB:4)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onEnter(Grid.CDB:26)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService.onEnter(Par
itionedService.CDB:19)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:14)
at java.lang.Thread.run(Thread.java:619)
Caused by: (Wrapped: Unable to load class for user type (Config=pof-config.xml, Type-Id=1001, Class-Name=examples.
estJavaClass)) (Wrapped) java.lang.ClassNotFoundException: examples.testJavaClass
at com.tangosol.util.Base.ensureRuntimeException(Base.java:288)
at com.tangosol.io.pof.ConfigurablePofContext.report(ConfigurablePofContext.java:1254)
at com.tangosol.io.pof.ConfigurablePofContext.createPofConfig(ConfigurablePofContext.java:956)
at com.tangosol.io.pof.ConfigurablePofContext.initialize(ConfigurablePofContext.java:775)
at com.tangosol.io.pof.ConfigurablePofContext.setContextClassLoader(ConfigurablePofContext.java:319)
at com.tangosol.io.ConfigurableSerializerFactory.createSerializer(ConfigurableSerializerFactory.java:42)
... 7 more
Caused by: (Wrapped) java.lang.ClassNotFoundException: examples.testJavaClass
at com.tangosol.util.Base.ensureRuntimeException(Base.java:288)
at com.tangosol.util.Base.ensureRuntimeException(Base.java:269)
at com.tangosol.io.pof.ConfigurablePofContext.loadClass(ConfigurablePofContext.java:1198)
at com.tangosol.io.pof.ConfigurablePofContext.createPofConfig(ConfigurablePofContext.java:952)
... 10 more
Caused by: java.lang.ClassNotFoundException: examples.testJavaClass
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at com.tangosol.util.ExternalizableHelper.loadClass(ExternalizableHelper.java:3056)
at com.tangosol.io.pof.ConfigurablePofContext.loadClass(ConfigurablePofContext.java:1194)
... 11 more
Exception in thread "main" (Wrapped) (Wrapped: error creating class "com.tangosol.io.pof.ConfigurablePofContext")
Wrapped: Unable to load class for user type (Config=pof-config.xml, Type-Id=1001, Class-Name=examples.testJavaClas
)) (Wrapped) java.lang.ClassNotFoundException: examples.testJavaClass
at com.tangosol.coherence.component.util.Daemon.start(Daemon.CDB:52)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.start(Service.CDB:7)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.start(Grid.CDB:6)
at com.tangosol.coherence.component.util.SafeService.startService(SafeService.CDB:39)
at com.tangosol.coherence.component.util.safeService.SafeCacheService.startService(SafeCacheService.CDB:5)
at com.tangosol.coherence.component.util.SafeService.ensureRunningService(SafeService.CDB:27)
at com.tangosol.coherence.component.util.SafeService.start(SafeService.CDB:14)
at com.tangosol.net.DefaultConfigurableCacheFactory.ensureServiceInternal(DefaultConfigurableCacheFactory.
ava:1102)
at com.tangosol.net.DefaultConfigurableCacheFactory.ensureService(DefaultConfigurableCacheFactory.java:934
at com.tangosol.net.DefaultCacheServer.startServices(DefaultCacheServer.java:81)
at com.tangosol.net.DefaultCacheServer.intialStartServices(DefaultCacheServer.java:250)
at com.tangosol.net.DefaultCacheServer.startAndMonitor(DefaultCacheServer.java:55)
at com.tangosol.net.DefaultCacheServer.main(DefaultCacheServer.java:197)
Caused by: (Wrapped: error creating class "com.tangosol.io.pof.ConfigurablePofContext") (Wrapped: Unable to load c
ass for user type (Config=pof-config.xml, Type-Id=1001, Class-Name=examples.testJavaClass)) (Wrapped) java.lang.Cl
ssNotFoundException: examples.testJavaClass
at com.tangosol.io.ConfigurableSerializerFactory.createSerializer(ConfigurableSerializerFactory.java:46)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.instantiateSerializer(Service.CDB:1
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.ensureSerializer(Service.CDB:32)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.ensureSerializer(Service.CDB:4)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onEnter(Grid.CDB:26)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService.onEnter(Par
itionedService.CDB:19)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:14)
at java.lang.Thread.run(Thread.java:619)
Caused by: (Wrapped: Unable to load class for user type (Config=pof-config.xml, Type-Id=1001, Class-Name=examples.
estJavaClass)) (Wrapped) java.lang.ClassNotFoundException: examples.testJavaClass
at com.tangosol.util.Base.ensureRuntimeException(Base.java:288)
at com.tangosol.io.pof.ConfigurablePofContext.report(ConfigurablePofContext.java:1254)
at com.tangosol.io.pof.ConfigurablePofContext.createPofConfig(ConfigurablePofContext.java:956)
at com.tangosol.io.pof.ConfigurablePofContext.initialize(ConfigurablePofContext.java:775)
at com.tangosol.io.pof.ConfigurablePofContext.setContextClassLoader(ConfigurablePofContext.java:319)
at com.tangosol.io.ConfigurableSerializerFactory.createSerializer(ConfigurableSerializerFactory.java:42)
... 7 more
Caused by: (Wrapped) java.lang.ClassNotFoundException: examples.testJavaClass
at com.tangosol.util.Base.ensureRuntimeException(Base.java:288)
at com.tangosol.util.Base.ensureRuntimeException(Base.java:269)
at com.tangosol.io.pof.ConfigurablePofContext.loadClass(ConfigurablePofContext.java:1198)
at com.tangosol.io.pof.ConfigurablePofContext.createPofConfig(ConfigurablePofContext.java:952)
... 10 more
Caused by: java.lang.ClassNotFoundException: examples.testJavaClass
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at com.tangosol.util.ExternalizableHelper.loadClass(ExternalizableHelper.java:3056)
at com.tangosol.io.pof.ConfigurablePofContext.loadClass(ConfigurablePofContext.java:1194)
... 11 more
2011-07-19 15:16:38.825/4.898 Oracle Coherence GE 3.7.0.0 <D4> (thread=ShutdownHook, member=1): ShutdownHook: stop
ing cluster node
2011-07-19 15:16:38.826/4.899 Oracle Coherence GE 3.7.0.0 <D5> (thread=Cluster, member=1): Service Cluster left th
cluster
Press any key to continue . . .
coherence-pof-config.xml is
<?xml version="1.0"?>
<!DOCTYPE pof-config SYSTEM "pof-config.dtd">
<pof-config>
<user-type-list>
<user-type>
<type-id>1001</type-id>
<class-name>examples.testJavaClass</class-name>
<serializer>
<class-name>com.tangosol.io.pof.PortableObjectSerializer</class-name>
<init-params>
<init-param>
<param-type>string</param-type>
<param-value>1</param-value>
</init-param>
</init-params>
</serializer>
</user-type>
</user-type-list>
</pof-config>
testJavaClass.CLASS file is
package examples;
import com.tangosol.io.pof.PofReader;
import com.tangosol.io.pof.PofWriter;
import com.tangosol.io.pof.PortableObject;
import com.tangosol.util.Base;
import java.io.IOException;
public class testJavaClass implements PortableObject
private String MembershipId;
private String m_sStreet;
private String m_sCity;
public testJavaClass()
public testJavaClass(String sName, String sStreet, String sCity)
setName(sName);
setStreet(sStreet);
setCity(sCity);
public void readExternal(PofReader reader)
throws IOException
setName(reader.readString(0));
setStreet(reader.readString(1));
setCity(reader.readString(2));
public void writeExternal(PofWriter writer)
throws IOException
writer.writeString(0, getName());
writer.writeString(1, getStreet());
writer.writeString(2, getCity());
// accessor methods omitted for brevity
Thanks.Hi Wijk,
I have created java class with using NetBeans IDE .
and running with .NET client and i kept it in the folder (C:\Program Files\Oracle\Coherence for .NET\examples\ContactCache.Java\src\examples).
Thanks.... -
I am an IT guy in a Windows environment. We have one user who has brought his MacBook pro and added his Office 365 account to the native Mail app in OSx. The calendar now shows an additional calendar called Time Profile. It seems to serve no purpose, it cannot be deleted and the user is getting repeated pop-ups mentioning 'Caldav error 403'. Any ideas how to remedy this? Thanks in advance.
I have just recently noticed this as well. I have been running one email account on O365 for over a year and until the past couple of days have never noticed it. I now have my iCal pointed at 3 O365 accounts and there is a "Time Profile" calendar for each of them.
They really do not bother me, however, I would very much like to know what the are for.
Chris
Many Macs - all running Yosemite 10.10.2 -
Sql developer 3.0.02 create unit_test_repos cannot log in
I create a user like the way of "Performing a Unit Test of Your PL/SQL in Oracle SQL Developer 2.1" (http://st-curriculum.oracle.com/obe/db/11g/r2/prod/appdev/sqldev/sqldev_unit_test/sqldev_unit_test_otn.htm), but cannot log in, when test it says"Ora-01017 invalid username/password;log defined".
but I use the same way in Sql developer 2.1, the connection was created successfully.
I create the user use 3.0.02 again, and connect use 2.1 it still this error:"Ora-01017 invalid username/password;log defined";
I create the user use 2.1 again, and connect use 2.1 or 3.0.02, it's OK.
Edited by: user10064474 on 2010-11-29 下午10:33Hello Jiri!
this is because of SQL Developer does not support "order by" over external tables.
In general it is not disabled in SQL developer to use it for external tables but due to unknown reason execution of select including "order by" clause over external table generates ORA-00600 error.
SQL Developer is saving all used "order by", "filter" settings (and many others) to special cache (user specific XML file) and this setting is used next time you open specific object - table.
It means when you apply "sorting" on external table
- oracle generates ORA-00600
- used "order by" is stored by SQL Developer into cahce XML file
- ...and you cannot open this table from your SQL developer anymore
How to correct it:
- go to SQL developer cache folder (something like C:\Documents and Settings\[username]\Application Data\SQL Developer)
- try to find file "*GridSettings.xml" which contains this bad cache information
there are usually tons of GridSettings.xml files
-1134293461GridSettings.xml
-1134293492GridSettings.xml
-1134293523GridSettings.xml
you have to find file which contains your specific extenal table name like...
<uniqueName>SELECT * FROM "SCHEMANAME"."EXTERNAL_TABLE"</uniqueName>
- find "sortClauses" tag
<sortClauses>
<Item class="java.lang.String">3 asc</Item>
<Item/>
</sortClauses>
- you can now edit/correct content of this file/tag or just delete it completely
- or you can easily delete complete cache folder - BUT in this case all specific user setting can be deleted!!!
- then your table is accessible again :-)
Regards
Radim -
JDeveloper 10.1.2.0.0 - Inner class cannot be found
Hi!<br>
<br>
I use Apache MyFaces 1.1.1 (Nightly Build 20051130) to create a Web app and imported all necessary libraries. I want to write a custom ViewHandler at the moment and experience a strange problem. I want to use a public inner class of javax.faces.application.StateManager, named SerializedView, but this class cannot be found when I try to import it with the following statement:<br>
import javax.faces.application.StateManager.SerializedView;<br>
JDeveloper just says: <br>
Imported class 'javax.faces.application.StateManager.SerializedView' not found<br>
I already successfully use many other javax.faces classes, like StateManager...<br>
Any help would highly be appreciated, since this is a real blocker for me.<br>
<br>
Regards,
MatthiasHi again!<br>
<br>
The problem is solved for the most part now. Compilation works fine, although the Java editor says the class SerializedView cannot be found.<br>
<br>
So the Java editor's behavior is still strange...<br>
<br>
Regards,<br>
Matthias -
The selected management pack cannot be deleted.
I'm having problems deleting a custom management pack in SCOM 2012. The error is the following:
The selected management pack cannot be deleted. This might be because it is currently being deleted or it has already been deleted. If you think this message is in error, try again later.
Any ideas?I face the same problem in SCOM 2012 SP1
The selected management pack cannot be deleted. This might be because it is currently being deleted or it has already been deleted. If you think this message is in error, try again later.
I only have the problem with one unsealed MP.
I can delete other sealed MPs and import them again. So I hope my environment with DB is working well.
I also have deleted all overrides for this pack (in the same MP/xml because it is unsealed), restarted the DB-Server and the SCOM Management Server and also started the SCOM console with switch "/clearcache". All without success
Any idea how I can remove this MP from my SCOM environment.
Remark:
I tried the idea from AndreasZuckerhut
http://social.technet.microsoft.com/Forums/systemcenter/en-US/166c3560-c3ae-4510-8e25-1b6f1b57e3bc/unable-to-delete-mp-in-scom-2012?forum=operationsmanagermgmtpacks
created an own MP with the same ID but a newer version and started the "Import Management Pack" from the SCOM -Management GUI.
This time I got the Import-error called "The transaction log for database 'OperationsManager' is full due to 'ACTIVE_TRANSACTION'. I also see the same eventlog entry 9002 on the SQL-Server System. Could this be also an hint to
the upper problem of an failed deletion of an MP? A guide how to solve this is on
http://www.codeproject.com/Articles/380879/About-transaction-log-and-its-truncation-in-SQL-Se . But I not tried it yet whether it solves the problem. I will ask an SQL expert first and will note the result here later. -
Creation of Customer master using CLASS( 'MAINTAIN_BAPI')..
I am creating customer master by class 'MAINTAIN_BAPI'. So all fields are sucessfully created except the field 'Remarks / Comments' on customer..Please suggest for the same as far as posiible..
<< Moderator message - Everyone's problem is important. But the answers in the forum are provided by volunteers. Please do not ask for help quickly. >>
Edited by: Rob Burbank on Jul 18, 2011 10:06 AMHi Yogesh,
Hi,
sorry to reply after the message closure.
Maybe you will read it.
SD_CUSTOMER_MAINTAIN_ALL is used in standard during the maintenance of a consumer using the standard customer master data transaction XD01 & XD02.
It is not intended to be used out of the transaction and in no case it should be used out of its original context. Due to the specificity of the function module, out of the original context we may face limitations and data inconsistencies.
For the maintenance of customers, there is NO BAPI and NO direct function module.
There are some functions modules like the one above where the name is looking nice. But these should not be used.
BAPI_CUSTOMER_CREATEFROMDATA1 is part of them. This one uses SD_CUSTOMER_MAINTAIN_ALL, so the above remark is still valid. Moreover, this BAPI is to be used only from process SAP Product Catalog. Out of it and due to its limitation, a lot of troubles are expected.
Sorry.
Below ECC 2005 (6.00), the only solution was batch input and DEBMAS idocs. See [note 384462|https://service.sap.com/sap/support/notes/384462]
Starting with ECC 2005 (6.00) and above: a synchronisation tool has been introduce. See class CMD_EI_API and VMD_EI_API
Hope this helps.
BR
Alain -
Error while saving the custom list created in visual studio 2010
Dear all,
when I am saving the list; I am getting the following error. I do not know where this could be wrong.
Any inputs will help. Now I am recreating a new list - thinking that the objects used in the earlier projects might conflict. Also few lists in the list tab - were throwing error of the same type - which is not functioning well.
warm regards,
sathyaTo give more information on the code
Registration list
//Reference this Feature's parent object, which is SPWeb in this case
SPWeb currentWeb = properties.Feature.Parent as SPWeb;
//Reference the lists we need to manipulate.
SPList tList = currentWeb.Lists["TrainingTrainers"];
SPList rList = currentWeb.Lists["TrainingRegistration"];
//Reference the fields in the lists
SPFieldCollection rFields = rList.Fields;
SPFieldCollection tFields = tList.Fields;
//changes to the Trainers List
SPField fullNameField = tList.Fields["Full Name"];
SPField emailAddressField = tList.Fields["E-mail Address"];
SPField firstNameField = tList.Fields["First Name"];
SPField lastNameField = tList.Fields["Last Name"];
fullNameField.Required = true;
emailAddressField.Required = true;
firstNameField.Required = true;
lastNameField.Required = true;
fullNameField.Update();
emailAddressField.Update();
firstNameField.Update();
lastNameField.Update();
//Changes to the Registrations List
//Change the Display Name of the Title Field
SPField titleField = rFields["Title"];
titleField.Title = "RegistrationID";
titleField.Update();
//Add additional fields as necessary
rFields.Add("First Name", SPFieldType.Text, true);
rFields.Add("Last Name", SPFieldType.Text, true);
rFields.Add("E-mail Address", SPFieldType.Text, true);
rFields.Add("Phone Number", SPFieldType.Text, false);
rFields.Add("ClassID", SPFieldType.Text, false);
rList.Update();
//Make the ClassID column read-only because i will set this later
SPField classIDField = rList.Fields["ClassID"];
classIDField.ReadOnlyField = true;
classIDField.Update();
//Remove the Attachments column from the default view of the Trainers list
SPView tDefaultView = tList.DefaultView;
tDefaultView.ViewFields.Delete("Attachments");
tDefaultView.Update();
//Add new fields to the default view of the Registrations list
SPView rDefaultView = rList.DefaultView;
rDefaultView.ViewFields.Delete("Attachments");
rDefaultView.ViewFields.Add("First Name");
rDefaultView.ViewFields.Add("Last Name");
rDefaultView.ViewFields.Add("E-mail Address");
rDefaultView.ViewFields.Add("Phone Number");
rDefaultView.Update();
Classes list
//Reference the newly created Classes list and perform the following
//1. Set the display name of the "Title" column to "ClassID" and hide it from the New and Edit Forms
//2. Make the "ClassID" column not required
//3. Set the default value of the Registrations column to 0 and do not display it on the new form
//4. Add the built-in "Start Date" and "End Date" columns
//Reference the newly created classes list
SPWeb currentWeb = properties.Feature.Parent as SPWeb;
SPList classesList = currentWeb.Lists["Classes-List"];
//Title column update
SPField titleField = classesList.Fields["Title"];
titleField.Required = false;
titleField.ShowInNewForm = false;
titleField.ShowInEditForm = false;
titleField.Title = "ClassID";
titleField.Update();
//Registrations column updates
SPField registrationField = classesList.Fields["Registrations"];
registrationField.DefaultValue = "0";
registrationField.ShowInNewForm = false;
registrationField.Update();
//Add the Start Date and End Date columns to the list, ensure they both display Date and Time, and add them to the default view of the list
SPFieldDateTime startDate = currentWeb.Fields["Start Date"] as SPFieldDateTime;
startDate.DisplayFormat = SPDateTimeFieldFormatType.DateTime;
SPFieldDateTime endDate = currentWeb.Fields["End Date"] as SPFieldDateTime;
endDate.DisplayFormat = SPDateTimeFieldFormatType.DateTime;
classesList.Fields.Add(startDate);
classesList.Fields.Add(endDate);
SPView defaultView = classesList.DefaultView;
defaultView.ViewFields.Add(startDate);
defaultView.ViewFields.Add(endDate);
defaultView.Update();
classesList.Update();
To my sense - when I add the classes list - the error pops up.
the classid is tied to both these lists.
Maybe you are looking for
-
Is there a way to set "Artist List" view as the default view for all playlists? There has to be a default setting somewhere so that you don't have to go through every single playlist and manually change it, right? Thanks!
-
Getting parameters from text and file input tag. . canyou help me ?
Hello! Is there anyway of getting parameters from an text field input in a form like : <form name="signinForm" method="post" action="uploadFile.jsp" enctype="multipart/form-data" >Actually I would like to insert the parameters and make the upload of
-
Default namespace in WebLogic Workshop generated WSDL
Hello there, I am trying to access a very simple webservice developed in WebLogic Workshop (say something like HelloWorld.jws) from a ColdFusion application. However, I get an Axis fault on Coldfusion implying that it could not invoke the required me
-
I have a Macbook Pro X. Is there an equivalent Microsoft Project on my Mac?
I have a MacBook Pro. Is there an equivalent "Microsoft Project Management" software on my Mac? Tony
-
When a user saves a file in Excel it will end up with a double extension. This is probably due to the user adding .xls on to the end thinking that excel will change the file type, however, it just saves as Accumulated Leave 2014.xls.xlsx . This the