Synchronize with static. Please see.

Folks,
I have a question regarding a the synchronized statement
when used as a static method:
'When a synchronized static method is invoked,the lock is obtained
on the Class object for the class in which the method is defined'
Look at this code:
class Test{
  public synchronized static void m1(){
}My QUESTION is:
What does the statement mean by the lock is obtained
is associated with the Class Object in which the
method is defined?
Isnt a lock obtained on the Test object? (which is
basically a Class object isnt it?)
Can someone please guide?

What does the statement mean by the lock is obtained
is associated with the Class Object in which the
method is defined?Every class that is used by your program has an associated Class object. There's a class named (appropriately, but somewhat confusingly) java.lang.Class. You can use these objects for reflection--to get information about a class' methods, it's parent class, etc. The usual ways to get a class object are: class Foo {
Class c1 = Foo.class; // *1*
Foo foo = new Foo();
Class c2 = foo.getClass(); // *2**1* and *2* both give you the same object.
To understand what is meant by the statement you're asking about, you also need to understand that "synchronized" always locks on some object. You can name the object explicitly: synchronized(someFoo) {
} or the object can be implicitly specified: class Foo {
    public void synchronized m1() {
        // body
    public void m2() {
        synchronized (this) {
            // body
    public static void synchronized m3() {
        // body
    public static void m4() {
        synchronized Foo.class {
            //body
} m1 is equivalent to m2 -- both lock on the same object
m3 is equivalent to m4 -- both lock on the same object.
Isnt a lock obtained on the Test object? (which is
basically a Class object isnt it?)What do you mean "the Test object"? If you mean Test.class, then yes, that's what we lock on here, and yes, that is an instance of java.lang.Class.

Similar Messages

  • Problem with UTL_FILE (please see my last post on this thread)

    Hi all,
    I'm trying to get the code (procedures, functions, etc) of my schemas. I've tried it using DBMS_METADATA.GET_DDL but it fails with many objects. Finally, I'm trying to create a procedure to extract the code.
    I've created this two procedures:
    CREATE OR REPLACE PROCEDURE spool_code (code IN varchar2, propi IN varchar2) is
    CURSOR codigo is
    select text from dba_source where name = code and owner = propi order by line;
    line varchar2(4000);
    BEGIN
    open codigo;
    loop
    fetch codigo into line;
    exit when codigo%notfound;
    dbms_output.put_line(line);
    end loop
    close;
    END;
    CREATE OR REPLACE PROCEDURE ext_codigo is
    CURSOR objeto is
    select object_name, owner from dba_objects where object_type in ('PROCEDURE','FUNCTION','PACKAGE')
    and owner not in ('OUTLN','DBSNMP','SYSTEM','SYS','REPADMIN','PERFSTAT','SPOTLIGHT','MONITOR','PRUEBAS','TOAD')
    and status='VALID';
    nom varchar2(128);
    owner varchar2(30);
    BEGIN
    open objeto;
    loop
    fetch objeto into nom, owner;
    exit when objeto%notfound;
    spool_code(nom, owner);
    end loop;
    close objeto;
    END;
    And I'm calling from sqlplus to spool it:
    SQL> spool Users_code.sql
    SQL> exec ext_codigo;
    But it don't bring me results...
    where is the problem??
    Thanks in advance for your support!
    dbajug
    Edited by: dbajug on Aug 29, 2012 6:36 AM

    Hi,
    yes guys, I've set serverout on using the max limit but, always fails with:
    ERROR at line 1:
    ORA-20000: ORU-10027: buffer overflow, limit of 1000000 bytes
    ORA-06512: at "SYS.DBMS_OUTPUT", line 35
    ORA-06512: at "SYS.DBMS_OUTPUT", line 198
    ORA-06512: at "SYS.DBMS_OUTPUT", line 139
    ORA-06512: at "SYS.SPOOL_CODE", line 15
    ORA-06512: at "SYS.EXT_CODIGO", line 17
    ORA-06512: at line 1
    I'm working with a 9i version trying to extract the code to migrate it to a 11g.
    In order to avoid the buffer error, I've decide use the UTL_FILE package but I'm having another problem: my procedure now is this
    CREATE OR REPLACE PROCEDURE spool_code (code IN varchar2, propi IN varchar2) is
    CURSOR codigo is
    select text from dba_source where name = code and owner = propi order by line;
    line varchar2(4000);
    out_file UTL_FILE.File_Type;
    BEGIN
    begin
    out_file := UTL_FILE.Fopen('/export/home/oracle', 'Users_code.sql', 'w');
    exception
    when others then
    dbms_output.put_line('Error opening file');
    end;
    open codigo;
    loop
    fetch codigo into line;
    exit when codigo%notfound;
    UTL_FILE.Put_Line(out_file, line);
    end loop;
    close codigo;
    UTL_FILE.Fclose(out_file);
    END;
    The directory exists and the file too but fails with this error:
    ERROR at line 1:
    **ORA-29282: invalid file ID**
    ORA-06512: at "SYS.UTL_FILE", line 714
    ORA-06512: at "SYS.SPOOL_CODE", line 23
    ORA-06512: at "SYS.EXT_CODIGO", line 17
    ORA-06512: at line 1
    any idea? about the reason? The file is a text file on the server:
    ls -lrt /export/home/oracle/Users_code.sql
    -rw-rw-r-- 1 oracle dba 0 Aug 29 14:43 /export/home/oracle/Users_code.sql
    best regards,
    dbajug

  • How can I use a USB camera with cRIO 9022. Please see my strange problem.

    Hi,
            I would like to use a USB camera with NI cRIO 9022. I used the same USB camera with NI USB 6216 DAQ device and developed a VI(within a PROJECT and outside it). So, It is working fine with NI USB 6216 device when I use the Vision Assistant Express VI and gets detected in its Initialization Window.  Please see JPEG File 3 where I get NO ERROR.
            I am facing a problem when I want to use it with NI cRIO 9022. What exactly I am doing in this case is:
    1) Create a NEW PROJECT
    2) Add Targets and Devices(NI cRIO 9022)
    3) Use the Scan Interface mode
    4) Create a NEW VI under the cRIO 9022 device 
    5) Use a Timed Loop(Synchronized with Scan Engine) for continuous Data Acquisition and Sending from the Analog I/O modules.
    6) Use the Vision Assistant available through the NI Vision Acquisition 2010 Module(I get STUCK HERE! The Express VI opens the Initialization Window, but I don't see the USB camera like in JPEG File 3)
    I am facing difficulties with this HOST COMPUTER, cRIO implementation differences. On my host computer I have the software packages as shown in JPEG File 1, and on my cRIO 9022 as shown in JPEG File 2.
    Can someone guide me how to overcome this and get the USB camera detected when I am using NI cRIO 9022?
    NOTE: If this is a problem with software mismatches on HOST and NI cRIO 9022 device, please see JPEG Files 1 and 2 for available software and Host and cRIO 9022.
    Thanks.
    Amar.
    Attachments:
    NI Vision Acquisition Express Error for NI cRIO 9022.JPG ‏39 KB
    IMAQ and dx Modules Installed on my NI cRIO 9022 hardware(No NI Vision Acquisition 2010 SP1).JPG ‏82 KB
    NI Vision Acquisition Express NO Error for NI cRIO 9022.JPG ‏48 KB

    Only GigE comms are supported on the cRIO Real Time OS. Have a look at the following:
    Machine Vision on NI CompactRIO and Single-Board RIO
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • How can I use USB camera with NI cRIO 9022, please see my strange problem.

    Hi,
            I would like to use a USB camera with NI cRIO 9022. I used the same USB camera with NI USB 6216 DAQ device and developed a VI(within a PROJECT and outside it). So, It is working fine with NI USB 6216 device when I use the Vision Assistant Express VI and gets detected in its Initialization Window.  Please see JPEG File 3 where I get NO ERROR.
            I am facing a problem when I want to use it with NI cRIO 9022. What exactly I am doing in this case is:
    1) Create a NEW PROJECT
    2) Add Targets and Devices(NI cRIO 9022)
    3) Use the Scan Interface mode
    4) Create a NEW VI under the cRIO 9022 device 
    5) Use a Timed Loop(Synchronized with Scan Engine) for continuous Data Acquisition and Sending from the Analog I/O modules.
    6) Use the Vision Assistant available through the NI Vision Acquisition 2010 Module(I get STUCK HERE! The Express VI opens the Initialization Window, but I don't see the USB camera like in JPEG File 3)
    I am facing difficulties with this HOST COMPUTER, cRIO implementation differences. On my host computer I have the software packages as shown in JPEG File 1, and on my cRIO 9022 as shown in JPEG File 2.
    Can someone guide me how to overcome this and get the USB camera detected when I am using NI cRIO 9022?
    NOTE: If this is a problem with software mismatches on HOST and NI cRIO 9022 device, please see JPEG Files 1 and 2 for available software and Host and cRIO 9022.
    Thanks.
    Amar.
    Attachments:
    Host Computer Image or Vision Acquisition Software Installed.JPG ‏91 KB
    IMAQ and dx Modules Installed on my NI cRIO 9022 hardware(No NI Vision Acquisition 2010 SP1).JPG ‏82 KB
    NI Vision Acquisition Express NO Error for NI cRIO 9022.JPG ‏48 KB

    When you select My Computer, you are running the program on the PC.  In this case, the camera works because it is connected to the PC.  The scan engine doesn't work because it needs to run on the cRIO, not the PC.
    When you create the program on the cRIO, you can use the scan engine because the program is on the cRIO.  You can't use the camera because it is back on the PC, and can't be found on the cRIO.
    The project is a wonderful tool, but it may be making the programming seem too simple.  It may not be clear to you that by moving a program to a different location (PC or cRIO), it is running in an entirely different environment on a totally different machine, even though it is just a little further down in the project.  You can't easily access the hardware on one machine while running the program on the other.
    So the summary is:  The camera is attached to the PC.  The scan engine runs on the cRIO.  Never the twain shall meet.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • Hello, please help, my interface is connected to the microphone and when i open Logic 9 it does´t work. But I opened garageband to check and it works fine. I can record voice with any effect... With Logic i see the sound passes in the interface.

    Hello, please help, my interface is connected to the microphone and when i open Logic 9 it does´t work. But I opened garageband to check and it works fine. I can record voice with any effect... With Logic i see the sound passes in the interface but does not arrive in Logic. The Loops works fine and i can hear. Is just the sound to record the voice it does not work. What can i do ??? I used Logic before in the same computer and it worked fine. Thank you so much, I´m a begginer recording myself.

    Make sure you go into preferences in Logic and set the audio input to be your interface and the audio output to be either built in output or the interface, if that is hooked up to something else. It sounds like Garageband has the audio interface set as the input but not Logic.
    Also make sure you close all other applications except Logic to ensure it is not running in slave mode...

  • Dear sir thanks for new ios7;please see the calendar in hijri shamsi and compare it with original calendar! Why this difrence? Please compatible start of the years from 1st of farvardin month.

    Dear sir thanks for new ios7;please see the calendar in hijri shamsi and compare it with original calendar! Why this difrence? Please compatible start of the years from 1st of farvardin
    1392/01/01 = 21/march/2013

    Apple does not participate in this forum, it's only used by users like you.

  • Hello, my email is connected to Lotus Notes. When I updated my iPad to iOS 6, it REQUIRED that I have a password for the iPad or else my email wouldn't work or synchronize with Lotus Notes (on my work laptop). This is really frustrating, please help.

    Hello, my email is connected to Lotus Notes. When I updated my iPad to iOS 6, it REQUIRED that I have a password for the iPad or else my email wouldn't work or synchronize with Lotus Notes (on my work laptop). This is really frustrating, because I cannot disable the password under General<Passcode. Thanks!

    This would almost certainly be a setting that is being enforced by your company. You'll need to talk to them about this.
    Regards.

  • Need JSP reassurance with JDB - Please.

    Hi there,
    I have recently taken on a JSP project for a client, during which their technical department withdrew the offer of access to their relational database (oracle). A solution was required in order to keep the project alive. I chose to work with the Berkeley Database Java Edition. The site uses AJAX calls to trigger calls to the JDB via JSP pages for a range of operations such as user information, event information, media playlist info etc...
    So far things are going very well and the database is performing all of the tasks that I require. However currently its just myself and a couple of other users from my company testing the site. The client expects up to 600 000 users. Potentially this may mean hundreds of writes per second. I am worried about handling the multiple writes in rapid sequence...
    I am using the direct persistence layer and am not currently using any concurrency measures as thread safety is a little beyond my Java comfort level - also I'm not sure if they are required for this use. If one JSP page request is writing to the same database as another will the first request lock the database automagically until it is finished?
    I know code always helps, so lets take this simplified example - an AJAX function calls an 'updateUserInfo.jsp' page that contains the following code:
    <%@ page import="schemas.user.*" %>
    <%
    response.setContentType("text/html");
    response.setHeader("Cache-Control", "no-cache");
    String userNumber = request.getParameter("userNumber");
    String userName = request.getParameter("userName");
    String userEmail = request.getParameter("userEmail");
    String userPassword = request.getParameter("userPassword");
    UserStorePut usp = new UserStorePut();
    usp.run(userNumber, userName, userEmail, userPassword);
    response.getWriter().write("success");
    %>
    The corresponding userStorePut class:
    package schemas.user;
    import java.io.File;
    import com.sleepycat.je.DatabaseException;
    import com.sleepycat.je.Environment;
    import com.sleepycat.je.EnvironmentConfig;
    import com.sleepycat.persist.EntityStore;
    import com.sleepycat.persist.StoreConfig;
    import schemas.autoint.*;
    public class UserStorePut {
         private static File envHome = new File("/usr/local/bea/wlserver_10.3/samples/server/examples/build/mainWebApp/WEB-INF/classes/schemas/JEDB");
    private Environment envmnt;
    private EntityStore store;
    private UserDA sda;
    // The setup() method opens the environment and store
    // for us.
    public void setup()
    throws DatabaseException {
    EnvironmentConfig envConfig = new EnvironmentConfig();
    StoreConfig storeConfig = new StoreConfig();
    envConfig.setAllowCreate(true);
    storeConfig.setAllowCreate(true);
    // Open the environment and entity store
    envmnt = new Environment(envHome, envConfig);
    store = new EntityStore(envmnt, "EntityStore", storeConfig);
    // Close our environment and store.
    public void shutdown()
    throws DatabaseException {
    store.close();
    envmnt.close();
    // Populate the entity store
    public void run(String userNumber, String userName, String userEmail, String userPassword)
    throws DatabaseException {
    setup();
    // Open the data accessor. This is used to store
    // persistent objects.
    sda = new UserDA(store);
    // Instantiate and store some entity classes
    UserEntity sec1 = new UserEntity();
    sec1.setUserNumber(userNumber);
              sec1.setUserName(userName);
    sec1.setEmail(userEmail);
              sec1.setPassword(userPassword);
    sda.pIdx.put(sec1);
    shutdown();
    Thanks in advance if anyone will take the time to help me resolve this concern.
    Regards,
    Reece.

    Hi Reece,
    Hundreds of writes per second is an easy requirements for JE to meet, and thousands of writes per second is common. You don't have to synchronize to do writes from multiple threads -- this is documented in the Getting Started guide, and the Transaction guide has information you should take a look at. You should be configuring the store as transactional if you define any secondary indices.
    One thing you're doing that will NOT perform well is that you're opening and closing the JE environment and store every time you do a put operation. The environment and store should be opened when your application starts and left open as long as your application is running. The overhead of opening and closing these objects is high, and not intended to be done often.
    JSP provides access to the servlet application context, and you should probably store your UserStorePut object there, calling your setup method only once. You should call your shutdown method only once when the application is stopped normally. You may need to talk to people on a JSP forum about how to do this, as our JE team does not have experience in this area. Other users on the forum may be able to help, but a JSP forum is your best bet if you can't figure this out from the JSP docs.
    If the application stops abnormally, your data will still be intact when it starts up again, but the initial creation of the Environment object (what is called "recovery") will take longer. Please see the discussion of durability in the Transaction user guide.
    There is no way around having to read the Getting Started and Transaction guides if you intend to deploy an application, so I strongly encourage you to do so.
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Failed to retrieve a schema URI (document namespace) for /userprofiles/emailNotification.usr; please see the following exception for details

    I get this exception (and long stack trace) when attempting to start my weblogic server. I'm running Weblogic 7 with Portal 7 (sp 1). I'm using Oracle 8.1.7. I upgraded this application from weblogic portal 4.0, and never had this problem there. As part of the migration process, I ran the tool to migrate all of the database tables, and I re-synched the EBCC project using version 7 of EBCC. I did a search for this problem and found a few mentions of it that seemed to be related to Oracle's handling of CLOB data. Apparently, there is a patch, but I can't seem to find this patch. I'm also not sure if this is indeed the problem since I didn't have this issue with the older version of weblogic using the same database. Any suggestions?

    If you have a support contract please open a case so we can work through
    this problem.
    Can you run an sqlplus session on your database, execute the commands
    "delete from data_sync_item" and "commit", then resync to see if it will
    get you around the problem. The data_sync_item table will be fully
    populated after you sync. This should get you running.
    Between 4.0 and 7.0 the DefaultRequestPropertySet.req file was reduced
    in size -- the CLOB would be smaller in the data_sync_item table.
    I would recommend using the Version Checker against your installation --
    find it on the dev2dev.bea.com site to see if the upgrade installer work
    ed properly. Also consider running the full installer to avoid possible
    problems that might occur with upgrade installers.
    As a result of that patch you referenced in 4.0 the CLOB handling logic
    was changed in 7.0 -- this is why it is strange you are seeing cleaving
    errors. In 7.0 SP2 to be release next week the data sync and
    persistence code was changed also.
    Are you using the OCI or Thin driver?
    -- Jim
    Rob Goldie wrote:
    Jim Litton <replyto@newsgroup> wrote:
    Rob,
    The CLOB issue was related to wlportal4.0 and should not be a factor
    in
    7.0.
    Could you post the entire stack trace?
    ####<Jan 27, 2003 4:21:47 PM EST> <Warning> <Data Synchronization> <PFIDEV5> <pfeAricept1Server>
    <main> <kernel identity> <> <000000> <Application: gmiAriceptApp; Failed to retrieve
    a schema URI (document namespace) for /request/DefaultRequestPropertySet.req;
    please see the following exception for details.>
    Exception[com.bea.p13n.management.data.doc.DocumentProcessingException: Unable
    to analyze and/or cleave document]
         at com.bea.p13n.management.data.doc.cleaver.CleavingDocumentProcessor.process(CleavingDocumentProcessor.java:94)
         at com.bea.p13n.management.data.repository.internal.DataItemImpl.getSchemaUri(DataItemImpl.java:136)
         at com.bea.p13n.management.data.repository.DataRepositoryFactory.createDataItem(DataRepositoryFactory.java:363)
         at com.bea.p13n.management.data.repository.persistence.JdbcDataSource.createDataItems(JdbcDataSource.java:523)
         at com.bea.p13n.management.data.repository.persistence.JdbcDataSource.refresh(JdbcDataSource.java:442)
         at com.bea.p13n.management.data.repository.persistence.ReadOnlyJdbcPersistenceManager.refresh(ReadOnlyJdbcPersistenceManager.java:107)
         at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.<init>(AbstractDataRepository.java:193)
         at com.bea.p13n.management.data.repository.internal.MasterDataRepository.<init>(MasterDataRepository.java:46)
         at com.bea.p13n.management.data.repository.DataRepositoryFactory.getMasterDataRepository(DataRepositoryFactory.java:255)
         at com.bea.p13n.placeholder.internal.PlaceholderServiceImpl.ejbCreate(PlaceholderServiceImpl.java:191)
         at com.bea.p13n.placeholder.internal.PlaceholderServiceImpl_9p0jz2_Impl.ejbCreate(PlaceholderServiceImpl_9p0jz2_Impl.java:117)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.ejb20.pool.StatelessSessionPool.createBean(StatelessSessionPool.java:151)
         at weblogic.ejb20.pool.Pool.createInitialBeans(Pool.java:188)
         at weblogic.ejb20.manager.StatelessManager.initializePool(StatelessManager.java:380)
         at weblogic.ejb20.deployer.EJBDeployer.initializePools(EJBDeployer.java:1472)
         at weblogic.ejb20.deployer.EJBDeployer.start(EJBDeployer.java:1367)
         at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:864)
         at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:81)
         at weblogic.j2ee.Application.addComponent(Application.java:294)
         at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:164)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:375)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:303)
         at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:256)
         at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:207)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:732)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:714)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:417)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:926)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:470)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:198)
         at $Proxy9.updateDeployments(Unknown Source)
         at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:4060)
         at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployments(SlaveDeployer.java:2259)
         at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:373)
         at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:235)
         at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:61)
         at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:806)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:295)
         at weblogic.Server.main(Server.java:32)
    Caused by: org.xml.sax.SAXException: No message available. Resource not found:
    repository.cleaver.no.xsi.namespace.exception Resource bundle: com/bea/p13n/management/data/datasync
         at com.bea.p13n.management.data.doc.cleaver.DocumentCleaver.mapNamespaces(DocumentCleaver.java:135)
         at com.bea.p13n.management.data.doc.cleaver.DocumentCleaver.startElement(DocumentCleaver.java:235)
         at weblogic.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1384)
         at weblogic.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:1299)
         at weblogic.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1821)
         at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:964)
         at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:396)
         at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:1119)
         at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135)
         at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:133)
         at com.bea.p13n.management.data.doc.cleaver.CleavingDocumentProcessor.process(CleavingDocumentProcessor.java:80)
         at com.bea.p13n.management.data.repository.internal.DataItemImpl.getSchemaUri(DataItemImpl.java:136)
         at com.bea.p13n.management.data.repository.DataRepositoryFactory.createDataItem(DataRepositoryFactory.java:363)
         at com.bea.p13n.management.data.repository.persistence.JdbcDataSource.createDataItems(JdbcDataSource.java:523)
         at com.bea.p13n.management.data.repository.persistence.JdbcDataSource.refresh(JdbcDataSource.java:442)
         at com.bea.p13n.management.data.repository.persistence.ReadOnlyJdbcPersistenceManager.refresh(ReadOnlyJdbcPersistenceManager.java:107)
         at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.<init>(AbstractDataRepository.java:193)
         at com.bea.p13n.management.data.repository.internal.MasterDataRepository.<init>(MasterDataRepository.java:46)
         at com.bea.p13n.management.data.repository.DataRepositoryFactory.getMasterDataRepository(DataRepositoryFactory.java:255)
         at com.bea.p13n.placeholder.internal.PlaceholderServiceImpl.ejbCreate(PlaceholderServiceImpl.java:191)
         at com.bea.p13n.placeholder.internal.PlaceholderServiceImpl_9p0jz2_Impl.ejbCreate(PlaceholderServiceImpl_9p0jz2_Impl.java:117)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.ejb20.pool.StatelessSessionPool.createBean(StatelessSessionPool.java:151)
         at weblogic.ejb20.pool.Pool.createInitialBeans(Pool.java:188)
         at weblogic.ejb20.manager.StatelessManager.initializePool(StatelessManager.java:380)
         at weblogic.ejb20.deployer.EJBDeployer.initializePools(EJBDeployer.java:1472)
         at weblogic.ejb20.deployer.EJBDeployer.start(EJBDeployer.java:1367)
         at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:864)
         at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:81)
         at weblogic.j2ee.Application.addComponent(Application.java:294)
         at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:164)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:375)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:303)
         at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:256)
         at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:207)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:732)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:714)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:417)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:926)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:470)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:198)
         at $Proxy9.updateDeployments(Unknown Source)
         at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:4060)
         at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployments(SlaveDeployer.java:2259)
         at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:373)
         at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:235)
         at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:61)
         at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:806)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:295)
         at weblogic.Server.main(Server.java:32)
    Are you using a UTF-8 Oracle database?
    Yes
    If you create a new User Profile in the EBCC and compare it to your
    migrated .usr file do you see differences in the DTD's?
    I recreated a new version of the .usr in the EBCC, and still got the same error.
    I also tried deleting everything from the data-sync-item table and re-synching.
    What does the DocumentManager section of your application-config.xml
    look like?
    <DocumentManager
    ContentCacheName="documentContentCache"
    ContentCaching="true"
    DocumentConnectionPoolName="default"
    MaxCachedContentSize="32768"
    MetadataCacheName="documentMetadataCache"
    MetadataCaching="true"
    Name="default"
    PropertyCase="none"
    UserIdInCacheKey="false"
    />
    What does the document.jar Targets="" parameter look like in config.xml?
    <EJBComponent Name="document" Targets="pfeCluster" URI="document.jar"/>
    -- Jim
    Rob Goldie wrote:
    I get this exception (and long stack trace) when attempting to start
    my weblogic server. I'm running Weblogic 7 with Portal 7 (sp 1). I'm
    using Oracle 8.1.7. I upgraded this application from weblogic portal
    4.0, and never had this problem there. As part of the migration process,
    I ran the tool to migrate all of the database tables, and I re-synched
    the EBCC project using version 7 of EBCC. I did a search for this problem
    and found a few mentions of it that seemed to be related to Oracle's
    handling
    of CLOB data. Apparently, there is a patch, but I can't seem to find
    this patch. I'm also not sure if this is indeed the problem since I
    didn't have this issue with the older version of weblogic using the
    same database. Any suggestions?

  • Show Data as percent of Column with static table

    Hello,
    I have a problem calculating a % in a table. I have two columns in criteria tab:
    Departments and measure
    I need an extra column that calc % of total departments for each department. I know that I can do it with pivot table creating a new column and put: Show Data --> as Percent of --> Column but I need to do with static table.
    Is possible to do it??
    Thanks!!!

    Alex,
    You could try the following example here :
    http://www.biconsultinggroup.com/knowledgebase.asp?CategoryID=198&SubCategoryID=364
    using sum( measure by dimension attribute)
    This should give you access to the grand total in the report as a column, from which you can derive % of.
    HTH, if correct please mark answered / award points as you see fit to do so!!
    Alastair

  • Preventive Work Order Dates Synchronization with its automatic created  notification

    Dear all,
    Preventive Work Order Dates Synchronization with its automatic created  notification
    My question was initiated from PM module forum, please check above URL if you have time.
    My ultimate problem is that :
         "SMOD" Enhancement  "QQMA0018" needs to receive its origin data of work order when the execution time of IP10 or IP30.
         so that I can decide/calculate desired dates on the notification according to its origin work order date .
    Do I need to use "export/import memory" statements to communicate with origin work order?
    if it's true
    Thanks for your help in advance.

    Dear Pete,
    I just made test data in our DEV server,
    Work orders has been created by "IP30" which was executed today with its maint. plan( date format DD.MM.YYYY ).
    below work order has been created and the basic start date seems derived from plan date.
    below image is showing our 'SPRO' configuration for the PM priority.
    "ZM03" order type is using "ZP" priority type.
    (I don't know why is this work order didn't take the values defined on 'priorities for Each Priority Type' for calculating "basic start" & "basic finish" date, it seemed just copied same date with PlanDate)
    you can see the notification which is created automatically by work order as below.
    "M4" notification type is using "ZP" priority type as well.
    It took the 'required start' date by adding 2 weeks from today(=creation date) as 'priorities for Each Priority Type' has defined and 'required end' date also set to 6 months later from 'required start' date.
    (Am I right?)
    Please let me know, if you need further information.
    Thank you for your help.

  • Possible to simulate a spreadsheet for input, with static values per row

    Haven't seen this done but thought I'd ask, is it possible to simulate a spreadsheet interface in Apex? Basically, I have 9 columns each of which needs to be filled out for 10 time periods per day (row), and it's easiest for the user to tab across the columns then down to a new row / next timeslot, to fill out the whole day's worth of data, rather than entering hour by hour & then changing the timeslot manually. This would require that the value for column 1 of row 1 = 8, column 1 of row 2 = 9, column 1 of row 3 = 10 and so on. So, a tabular form but with static values on each row.
    Is this possible & if so, any pointers to what to start researching to make this work would be greatly appreciated. I know they can work in a spreadsheet & upoad it and we may go that way but this seemed like an interesting problem to see if Apex could handle it; I just am uncertain where to start on it is all.
    Many thanks for your pointers!
    gp
    Edited by: 834058 on Jul 18, 2011 10:37 AM

    Tabular report, with some modifications to have rows added at start of usage. User would on occasion need to click a control to add rows..
    Thank you,
    Tony Miller
    Webster, TX
    There are two kinds of pedestrians -- the quick and the dead.
    If this question is answered, please mark the thread as closed and assign points where earned..

  • Why mails in iphone are not synchronize with my macbook? how can i make them synchronize?,

    Why mails in iphone are not synchronize with my macbook? how can i make them synchronize? I am a new user of apple product just then i had realized these problem, please somebody help me. Thank you in advance!

    Gmail can be setup as IMAP, however you have to set such up on all your devices:
    http://support.google.com/mail/bin/static.py?hl=en&ts=1668960&page=ts.cs

  • Set Up Airport Extreme with Static IPs and DHCP same time

    I have Verizon Fios to my Business with 5 Static IP Address. One of them must be assigned to the Airport Extreme Base Station. I have 5 iMacs needing internet connection of which 2 need to use a static ip,( Filemaker Server and my Mac OS X Web Server). I also use 2 iPhones with a custom App accessing that FileMaker Server via the internet too. I want to set up my Airport Extreme Base Station to have those 2 iMacs connected with static ips , which must NEVER CHANGE, via an ethernet cable and all the rest wireless with WiFi. Do to the size of my building I also want another Airport Extreme or Express to just expand the range from the Base Station for the wireless connections only. Looking at the Airport Internet Settings I only see 3 options for Connection Sharing, "Share A Public IP Address", "Distribute a range of IP addresses", "Off (Bridge Mode)". I'm thinking I need to give 1 IP Address to the Base Station, 2 ip addresses to my servers, then 1 ip address to share for my wireless DHCP connections. The additional Airport set to Off(Bridge Mode) to expand the base station. Please advise on how I would set up that base station to do this.

    With respect to expanding the base stations range, in the Base stations Wireless Settings I would click to select "Allow this network to be extendeded". Then what settings would I need in the Additional Airport?
    Note: Both AirPorts would have to be 802.11n models in order for this to work. The additional AirPort would need to be configured to extend the Extreme. (ref: AirPort Utility > Manual Setup > AirPort > Wireless > Wireless Mode = Extend a wireless network)
    Would that NEED to be connected to the base station via ethernet cable or will it pick up the base station wirelessly?
    Using the "extend" feature is intended to expand the wireless range of an AirPort with another wirelessly. You would not need to connect them by Ethernet. In this configuration, the additional AirPort would be in bridge mode and will pass through the IP information from the other base station's DHCP service.

  • DM-VPN with Static NAT for Spoke Router. Require Expert Help

    Dear All,
                This is my first time to write something .
                             i have configure DM-VPN, and it's working fine, now i want to configure static nat.
    some people will think why need static nat if it's working fine.
    let me tell you why i need. what is my plan.
    i have HUB with 3 spoke. some time i go out side of my office and not able to access my spoke computer by Terminal Services. because its by dynamic ip address.  so what i think i'll give one Static NAT on my HUB Router that if any one or Me Hit the Real/Public IP address of my HUB WAN Interface from any other Remote location so redirect this quiry to my Terminal Service computer which located in spoke network.
    will for that i try but fail. 
    will again the suggestion will come. why not to use .. Easy VPN. well sound great. but then i have to keep my notebook with me.
    i'll also do it but now i need that how to do Static NAT. like for normal Router i am doing which is not part of VPN.
    ip nat inside source static tcp 192.168.1.10 3389 interface Dialer1 3389
    but this time  this command is not working, because the ip address which i mention it's related HUB Network not Spoke
    spose spoke Network: 192.168.2.0/24
    and i want on HUB Router:
    ip nat inside source static tcp 192.168.2.10 3389 interface Dialer1 3389
    i am using Cisco -- 887 and 877 ADSL Router.
    but it's not working,   Need experts help. please write your comment's which are very important for me. waiting for your commant's
    fore more details please see the diagram.
    for Contact Me: [email protected]

    hi rvarelac  thank you for reply :
    i allready done that ,  i put a deny statements in nat access-list excluding the vpn traffic , but the problem still there !
    crypto isakmp policy 10
     encr aes
     authentication pre-share
    crypto isakmp key 12344321 address 1.1.1.1
    crypto ipsec transform-set Remote-Site esp-aes esp-sha-hmac
     mode tunnel
    crypto map s2s 100 ipsec-isakmp
     set peer 1.1.1.1
     set transform-set Remote-Site
     match address vpnacl
    interface GigabitEthernet0/0
     crypto map s2s
    Extended IP access list lantointernet
    30 deny icmp 172.17.0.0 0.0.1.255 192.168.1.0 0.0.0.255
    40 deny igmp 172.17.0.0 0.0.1.255 192.168.1.0 0.0.0.255
    50 deny ip 172.17.0.0 0.0.1.255 192.168.1.0 0.0.0.255
    80 permit ip any any

Maybe you are looking for

  • How to get client IP in custom UCM Service

    how to get client IP in custom UCM Service ?

  • Automate Archiving Jobs

    Hi We wanted to run the Archive jobs every year by Company Code and Object wise. We have around 7 sales companies  and 10 objects so we have to run 70 jobs Every year. So we wanted to automate this process so that we dodnt need to eneter the texts et

  • FM for create outbound delivery with order reference

    Hi,   Can u pls tell me the function module name for create outbound delivery with order reference. regards, Mahi.

  • 2 problems and 1 enquiry...

    Background: We've had BT Broadband Option 3 for a few years now and have not had any major problems with it. I ran some speedtest several months ago and was getting between 5-6Mb download speeds, which was fine on the mx. 8Mb service. Problem 1: We h

  • Oracle logs ORA-25228 error messages

    Hi, I am running Oracle )i Release2 and am using Java/JMS to dequeue messages and PL/SQL to enqueue messages. Everything works great, but when I look in the "udump" catalog on the machine where Oracle is running, I see 20-30 files generated each day