Soft session space

I am getting this error in my server can somebody guide me what this error is about and how can I fix it
*** 2001-04-26 09:12:47.062
*** SESSION ID:(54.24613) 2001-04-26 09:12:47.031
Session 53 exceeded soft sessionspace limit of 0x100000 bytes.
Dump file d:\Oracle\admin\bsipulse\udump\ORA00644.TRC
Thu Apr 26 16:10:14 2001
ORACLE V8.1.6.0.0 - Production vsnsta=0
vsnsql=e vsnxtr=3
Windows NT Version 4.0 Service Pack 6, CPU type 586
Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production
With the Partitioning option
JServer Release 8.1.6.0.0 - Production
Windows NT Version 4.0 Service Pack 6, CPU type 586
Instance name: bsipulse
Redo thread mounted by this instance: 1
Oracle process number: 15
Windows thread id: 644, image: ORACLE.EXE
*** 2001-04-26 16:10:14.843
*** SESSION ID:(58.47001) 2001-04-26 16:10:14.843
Session 57 exceeded soft sessionspace limit of 0x100000 bytes.
Dump file d:\Oracle\admin\bsipulse\udump\ORA00644.TRC
Mon Apr 30 18:02:37 2001
ORACLE V8.1.6.0.0 - Production vsnsta=0
vsnsql=e vsnxtr=3
Windows NT Version 4.0 Service Pack 6, CPU type 586
Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production
With the Partitioning option
JServer Release 8.1.6.0.0 - Production
Windows NT Version 4.0 Service Pack 6, CPU type 586
Instance name: bsipulse
Redo thread mounted by this instance: 1
Oracle process number: 14
Windows thread id: 644, image: ORACLE.EXE
*** 2001-04-30 18:02:37.000
*** SESSION ID:(58.64953) 2001-04-30 18:02:36.984
Session 57 exceeded soft sessionspace limit of 0x100000 bytes.
null

The sessionspace is the memory used by Java for database session-related storage (not necessarily HttpSession). The soft limit is a notification to you that the user session is using up a certain amount of memory. It is set in the init.ora file for the database. You can read about it in the Oracle 8i Java Developers Guide under Java Memory Usage.
John H.

Similar Messages

  • Java Session Space Limit Exceeded warning

    Hi,
    This is related to runtime memory. I have java programs which have recursive calls and also it is highly data intensive. The problem is this.
    When i loaded the classes inside oracle database (using loadjava command) and run the program inside oracle i got session space limit exceeded warning. So i increased the default value of 1MB session space limit to 5 MB. When i ran the program i got the error again. I tried again with 20MB, 40B still i got the error.
    In my next step to solve this problem, i ran the program outside oracle and started a MemoryWatcher program along with it to see how much is consumed at the runtime. I printed Runtime.totalMemory() and Runtime.freeMemory() in the MemoryWatcher thread.
    I am able to see the Total memory creeping up from 2MB to 2.5MB, 3MB.....
    But the free memory varies between 0.3MB to 1.5MB when the program is running.
    What could be the reason the Java session space limit exceeds even when the space limit parameter is set to 40MB.
    How can i avoid this warning??. Any help on this would be greatly appreciated.
    Thanks in advance!!. Pls send your response as a copy to [email protected]
    Regards,
    Babu

    Oracle Team, nobody knows the solutions???
    Or is bug.
    Best regards, Marcelo.
    Oracle 8.1.7 (sun/linux) and XDK 9.0.2+ parsing big documents.

  • What is soft sessionspace limit

    Hi all!
    I try to instantiate my ejb and get exception with unknown reason. In trace file I found message about exceeding soft session space limit.
    What is it and where I can change it.
    MIke

    Check the following settings in the init.ora and increase as appropriate:
    JAVA_SOFT_SESSIONSPACE_LIMIT
    If not present please add a line as
    JAVA_SOFT_SESSIONSPACE_LIMIT=3097152 or higher value and restart the database.
    Increasing the JAVA_SOFT_SESSIONSPACE_LIMIT should suppress this warning
    message.
    null

  • More ORA-29534

    I've noticed that a number of posts have been made to several of the discussion groups asking for help with this error. So far, there seems to have been no definitive response as to how to overcome it. Specifically, in my case I am getting the message
    Compilation errors in oracle/aurora/ejb/gen/_test_ProfilingBean/EjbObject_Profiling:ORA-29534: referenced object LANDTEST.profiling/ProfilingBean could not be resolved
    when I try to deploy an EJB to Oracle 8i from JDeveloper 3.1 Build 681. I have tried a wide variety of alternate solutions but I always get the same error. The only message I see in the server logs is the "soft session space" message
    exceeded soft sessionspace limit of 0x100000 bytes
    Could this be related - it would not appear to be the case from what I have read in the postings addressing that problem.
    Any help would be appreciated - especially if one of the Oracle teams could shed some definitive light on this area.
    Thanks.
    John

    Symptoms
    Unable to load IBM MQ Jar files (java classes ) into the database using "loadjava" utility due to the next errors:
    Cause
    Java classes "javax/resource/spi/*" java are not provided by Oracle.
    If your application vendor (IBM) has tested the application on Oracle release 9.2, they should be able to supply you with all the necessary classes, or tell you where to obtain them.
    Solution
    1) Ask your third party application support for those referenced java classes (classes "javax/resource/spi/*").
    2) The MQ classes were referencing another classes but they are not present in your database. Load those missed java classes first in order to resolve the Invalid MQ java classes.
    Gaurav

  • Fatal bug with shared JDBC Session Persistence

    We are attempting to launch a three-tier site with two clusters, one at the
              web layer (JSP/servlet/images) and a separate cluster at the app server
              layer (EJBs). We are running WebLogic server 4.5.1 Service Pack 8 on Solaris
              2.7. In production we use Solaris JDK 1.2.1.04, and in development we use
              JavaSoft JDK 1.2.2. We are able to duplicate this problem with both JDKs. We
              are using the WebLogic kona/oracle driver for session persistence because
              the Oracle JDBC driver would not work for this purpose - we are using the
              Oracle OCI driver for our EJB persistence in a separate pool in the app
              server cluster.
              We attempted to configure our web cluster to work with in-memory session
              replication. We found the performance of the WebLogic proxy to be abysmal -
              causing a 5x to 10x performance degredation over shared JDBC persistence. We
              were running the proxy on WebLogic, which we were advised would be slow. Its
              performance is beyond slow, it is completely unusable and should NEVER be a
              recommended or even supported configuration. We do not wish to purchase
              separate licenses for iPlanet, refuse to run IIS in a production setting,
              and cannot use Apache until WebLogic 5.1, so we are stuck with shared JDBC
              persistence until we can upgrade to 5.1.
              Using JDBC session persistence with a shared persistent store amongst all
              the clustered web servers results in our users getting brand-new sessions
              populated with data from OTHER USERS' SESSIONS. This is very easy to
              replicate using the provided test JSP and java class. This behavior results
              in new users coming to the site and finding themselves logged in as other
              users.
              The test.jsp file simply accesses the session, prints out some information,
              and then adds a few values to the session. The JSP prints out the value of
              session.isNew(), the session's ID, and the number of values in the session
              space. If you hit this jsp with a new browser window, the session should be
              new, and the number of values should be zero.
              The test Java class hits a URL with this test.jsp file repeatedly, and
              checks to make sure that the session is empty. It keeps a counter of the
              number of hits which resulted in non-empty sessions and the total number of
              hits. Because this java class does not maintain cookie data of any kind and
              merely opens new HTTP connections, it should always receive a brand-new,
              non-empty session.
              When we set the JDBC session persistence property
              weblogic.httpd.session.persistentStoreShared=true and run the test, we see
              periodically see the test.jsp file receiving a brand-new (session.isNew() =
              true), yet non-empty (session.getValueNames().length != 0) session. This is
              extremely bad behavior and makes the shared JDBC session persistence setting
              worthless. We were able to duplicate this behavior with both a single server
              and multiple servers in a cluster.
              If we set weblogic.httpd.session.persistentStoreShared=false, then this test
              works fine. This also means that we cannot cluster web servers.
              To run the test, simply start a WebLogic instance using the provided
              properties file, put the jsp in the document-root somewhere, and then run
              SessionTest.java, providing the URL of the test JSP as the only command-line
              argument. You will need to modify the properties file to have the proper
              database settings and document-root. The java class will display a running
              tally of the number of hits, and the number of hits that result in
              non-empty, illegal sessions, with a total at the end.
              So, we are now in a position where we are completely unable to launch our
              site in a clustered, no-single-point-of-failure configuration. Obviously,
              clustering was one of the main reasons to choose WebLogic, and we are
              extremely distressed that we are unable to get this configuration to work.
              Any help would be appreciated.
              [web.standalone.properties]
              [SessionTest.java]
              [test.jsp]
              

    I hope this is not too far fetched, but we are expieriencing a similar
              problem with jms (messages are mixed up between queues). This happens only
              if we are using message persistence in an oracle db (everything works ok
              when we are not using persistent messages). Could it be that there is a
              serious bug in the jdbc code/oracle driver code or connection handling
              (regarding multi threading)? This would explain that, whenever you use
              persistence with oracle databases, messages/sessions (or other) are mixed
              up.
              - Falk
              "Grant Kushida" <[email protected]> wrote in message
              news:[email protected]...
              > We are attempting to launch a three-tier site with two clusters, one at
              the
              > web layer (JSP/servlet/images) and a separate cluster at the app server
              > layer (EJBs). We are running WebLogic server 4.5.1 Service Pack 8 on
              Solaris
              > 2.7. In production we use Solaris JDK 1.2.1.04, and in development we use
              > JavaSoft JDK 1.2.2. We are able to duplicate this problem with both JDKs.
              We
              > are using the WebLogic kona/oracle driver for session persistence because
              > the Oracle JDBC driver would not work for this purpose - we are using the
              > Oracle OCI driver for our EJB persistence in a separate pool in the app
              > server cluster.
              >
              > We attempted to configure our web cluster to work with in-memory session
              > replication. We found the performance of the WebLogic proxy to be
              abysmal -
              > causing a 5x to 10x performance degredation over shared JDBC persistence.
              We
              > were running the proxy on WebLogic, which we were advised would be slow.
              Its
              > performance is beyond slow, it is completely unusable and should NEVER be
              a
              > recommended or even supported configuration. We do not wish to purchase
              > separate licenses for iPlanet, refuse to run IIS in a production setting,
              > and cannot use Apache until WebLogic 5.1, so we are stuck with shared JDBC
              > persistence until we can upgrade to 5.1.
              >
              > Using JDBC session persistence with a shared persistent store amongst all
              > the clustered web servers results in our users getting brand-new sessions
              > populated with data from OTHER USERS' SESSIONS. This is very easy to
              > replicate using the provided test JSP and java class. This behavior
              results
              > in new users coming to the site and finding themselves logged in as other
              > users.
              >
              > The test.jsp file simply accesses the session, prints out some
              information,
              > and then adds a few values to the session. The JSP prints out the value of
              > session.isNew(), the session's ID, and the number of values in the session
              > space. If you hit this jsp with a new browser window, the session should
              be
              > new, and the number of values should be zero.
              >
              > The test Java class hits a URL with this test.jsp file repeatedly, and
              > checks to make sure that the session is empty. It keeps a counter of the
              > number of hits which resulted in non-empty sessions and the total number
              of
              > hits. Because this java class does not maintain cookie data of any kind
              and
              > merely opens new HTTP connections, it should always receive a brand-new,
              > non-empty session.
              >
              > When we set the JDBC session persistence property
              > weblogic.httpd.session.persistentStoreShared=true and run the test, we see
              > periodically see the test.jsp file receiving a brand-new (session.isNew()
              =
              > true), yet non-empty (session.getValueNames().length != 0) session. This
              is
              > extremely bad behavior and makes the shared JDBC session persistence
              setting
              > worthless. We were able to duplicate this behavior with both a single
              server
              > and multiple servers in a cluster.
              >
              > If we set weblogic.httpd.session.persistentStoreShared=false, then this
              test
              > works fine. This also means that we cannot cluster web servers.
              >
              > To run the test, simply start a WebLogic instance using the provided
              > properties file, put the jsp in the document-root somewhere, and then run
              > SessionTest.java, providing the URL of the test JSP as the only
              command-line
              > argument. You will need to modify the properties file to have the proper
              > database settings and document-root. The java class will display a running
              > tally of the number of hits, and the number of hits that result in
              > non-empty, illegal sessions, with a total at the end.
              >
              > So, we are now in a position where we are completely unable to launch our
              > site in a clustered, no-single-point-of-failure configuration. Obviously,
              > clustering was one of the main reasons to choose WebLogic, and we are
              > extremely distressed that we are unable to get this configuration to work.
              > Any help would be appreciated.
              >
              >
              >
              >
              

  • Help: soft_session_space exceeded error

    We have only one piece of java code (at present) on the database. The syntax for this is as at the bottom (its only a few lines!).
    The server went down the other day and the error message was java soft_session_space exceed or somthing like that. Can anyone give any pointers???
    Thanks in advance
    import java.io.*;
    import java.net.*;
    public class URLReader
    public static String getURLInfo(String value){
    StringBuffer bufferValues = new StringBuffer();
    try
    URL u = new URL(value);
    BufferedReader in = new BufferedReader(new InputStreamReader(u.openStream()));
    String aLine;
    do
    aLine = in.readLine();
    if(aLine != null)
    bufferValues.append(aLine);
    } while(aLine != null);
    in.close();
    return (bufferValues.toString());
    catch (MalformedURLException e)
    return "error 400";
    catch (IOException e)
    return "error 404";
    catch (Exception e)
    return "error 404";
    }

    Hello,
    The Documentetion says:
    Java_soft_sessionspace_limit:
    Parameter type: Integer
    Parameter class: Static
    Default value: 0
    Range of values: 0 to 4 GB
    Java session space is the memory that holds Java state from one database call to another. JAVA_SOFT_SESSIONSPACE_LIMIT specifies in bytes a "soft limit" on Java memory usage in a session, as a means to warn you if a user's session-duration Java state is using too much memory. When a user's session-duration Java state exceeds this size, Oracle generates a warning that goes into the trace files.
    So, try to increase this parameter.
    Also there is another parameter - JAVA_MAX_SESSIONSPACE_SIZE:
    JAVA_MAX_SESSIONSPACE_SIZE specifies in bytes the maximum amount of session space made available to a Java program executing in the server. When a user's session-duration Java state attempts to exceed this amount, the Java virtual machine kills the session with an out-of-memory failure.
    null

  • Backup/Recovery from web application

    Hello guys,
    I am using Oracle 9i as DB and Oracle 9iAS for web application server. I want to provide Backup and Recovery functionality to the user via web. I don't know any thing in this regard.
    Is it possible that we can take backup and recovery from web application?
    Is there any alternative for this function.
    any other comments will be appreciated.
    Thank you,
    Jawed Nazar Ali

    Read this article in order to get an idea about Java Stored Procedures.
    Oracle Developer JAVA STORED PROCEDURES
    Simplify with Java Stored Procedures
    By Kuassi Mensah
    Use Java stored procedures to bridge SQL, XML, Java, and J2EE and Web Services.
    Stored procedures allow a clean separation of persistence logic that runs in the database tier from business logic that runs in the middle tier. This separation reduces overall application complexity and increases reuse, security, performance, and scalability.
    A major obstacle, however, for widespread adoption of stored procedures is the set of various proprietary, database-dependent implementation languages that different database vendors use. The use of Java-based stored procedures fixes this concern. Oracle has implemented ANSI standards that specify the ability to invoke static Java methods from SQL as procedures or functions. This implementation is called simply "Java stored procedures."
    In this article, you will learn how Java stored procedures help simplify and increase the performance of your business logic and extend database functionality. I'll show how Oracle enables the use of Java stored procedures within the database. I'll also look at how Java stored procedures access data, and show how to create a basic Java stored procedure.
    PL/SQL or Java
    When you think of Oracle stored procedures, you probably think of PL/SQL. Oracle, however, has provided Java support in the database since Oracle8i, to offer an open and portable alternative to PL/SQL for stored procedures. I can hear the $64,000 question: "How do I choose between PL/SQL and Java? Should I forget all the things I've been told about PL/SQL and move on to the greener Java pastures?"
    Both languages are suitable for database programming, and each has its strengths and weaknesses. In deciding which language to use, here's a general rule of thumb:
    Use PL/SQL for database-centric logic that requires seamless integration with SQL and therefore complete access to database objects, types, and features.
    Use Java as an open alternative to PL/SQL for database independence, but also for integrating and bridging the worlds of SQL, XML, J2EE, and Web services.
    OracleJVM Lets You Run Java within the Database
    Since Oracle8i, Release 1 (Oracle 8.1.5), Oracle has offered a tightly integrated Java virtual machine (JVM) that supports Oracle's database session architecture. Any database session may activate a virtually dedicated JVM during the first Java code invocation; subsequent users then benefit from this already Java-enabled session. In reality, all sessions share the same JVM code and statics—only private states are kept and garbage collected in an individual session space, to provide Java sessions the same session isolation and data integrity capabilities as SQL operations. There is no need for a separate Java-enabled process for data integrity. This session-based architecture provides a small memory footprint and gives OracleJVM the same linear SMP scalability as the Oracle database.
    Creating Java Stored Procedures
    There are a few steps involved in turning a Java method into a Java stored procedure. These include loading the Java class into the database using the loadjava utility, and publishing the Java methods using a call specification (Call Spec) to map Java methods, parameter types, and return types to their SQL counterparts. The following section shows how to do this.
    I'll use a simple Hello class, with one method, Hello.world(), that returns the string "Hello world":
    public class Hello
    public static String world ()
    return "Hello world";
    The Loadjava Utility
    Loadjava is a utility for loading Java source files, Java class files, and Java resource files; verifying bytecodes; and deploying Java classes and JAR files into the database. It is invoked either from the command line or through the loadjava() method contained within the DBMS_JAVA class. To load our Hello.class example, type:
    loadjava -user scott/tiger Hello.class
    As of Oracle9i Release 2, loadjava allows you to automatically publish Java classes as stored procedures by creating the corresponding Call Specs for methods contained in the processed classes. Oracle provides Oracle9i JDeveloper for developing, testing, debugging, and deploying Java stored procedures.
    The Resolver Spec
    The JDK-based JVM looks for and resolves class references within the directories listed in the CLASSPATH. Because Oracle database classes live in the database schema, the OracleJVM uses a database resolver to look for and resolve class references through the schemas listed in the Resolver Spec. Unlike the CLASSPATH, which applies to all classes, the Resolver Spec is applied on a per-class basis. The default resolver looks for classes first in the schema in which the class is loaded and then for classes with public synonyms.
    loadjava -resolve <myclass>
    You may need to specify different resolvers, and you can force resolution to occur when you use loadjava, to determine at deployment time any problems that may occur later at runtime.
    loadjava -resolve -resolver "((* SCOTT) (foo/bar/* OTHERS)
    (* PUBLIC))"
    Call Spec and Stored Procedures Invocation
    To invoke a Java method from SQL (as well as from PL/SQL and JDBC), you must first publish the public static method through a Call Spec, which defines for SQL the arguments the method takes and the SQL types it returns.
    In our example, we'll use SQL*Plus to connect to the database and define a top-level Call Spec for Hello.world():
    SQL> connect scott/tiger
    SQL> create or replace function helloworld return
    VARCHAR2 as language java name 'Hello.world () return
    java.lang.String';
    Function created.
    You can then invoke the Java stored procedure as shown below:
    SQL> variable myString varchar2[20];
    SQL> call helloworld() into :myString;
    Call completed.
    SQL> print myString;
    MYSTRING
    Hello world
    Java stored procedures are callable, through their Call Spec, from SQL DML statements (INSERT, UPDATE, DELETE, SELECT, CALL, EXPLAIN PLAN, LOCK TABLE, and MERGE), PL/SQL blocks, subprograms, and packages, as well as database triggers. The beauty of Call Spec is that stored procedure implementations can change over time from PL/SQL to Java or vice versa, transparently to the requesters.
    Call Spec abstracts the call interface from the implementation language (PL/SQL or Java) and therefore enables sharing business logic between legacy applications and newer Java/J2EE-based applications. At times, however, when invoking a database-resident Java class from a Java client, you may not want to go through the PL/SQL wrapper. In a future release, Oracle plans to provide a mechanism that will allow developers to bypass the Call Spec.
    Advanced Data-Access Control
    Java stored procedures can be used to control and restrict access to Oracle data by allowing users to manipulate the data only through stored procedures that execute under their invoker's privileges while denying access to the table itself. For example, you can disable updates during certain hours or give managers the ability to query salary data but not update it, or log all access and notify a security service.
    Sharing Data Logic Between Legacy and J2EE Applications
    Because legacy applications and J2EE applications both invoke stored procedures through the Call Spec, the same data logic can be shared between J2EE and non-J2EE worlds. Thanks to Call Spec, this data logic can be shared regardless of the implementation language used (whether PL/SQL or Java).
    Autogeneration of Primary Keys for BMP Entity Beans
    When using BMP for EJB entity beans, a bean instance can be uniquely identified by the auto-generated primary key associated with the newly inserted data as a return value for ejbCreate(). You can retrieve this value within ejbCreate() in one database operation by using a stored procedure that inserts the corresponding data and retrieves or computes the primary key. Alternatively, you could insert the data and retrieve the corresponding key (or ROWID) in one SQL statement, using the RETURN_GENERATED_KEYS feature in JDBC 3.0. However, the stored procedure approach is more portable across JDBC driver versions and databases.
    You can implement this pattern with these three steps:
    Create the Java stored procedure, defining a public static Java method insertAccount() within a public GenPK class. This method will insert data, compute a unique key (by passing out a sequence number), and return the computed key as primary key.
    Define the Call Spec.
    CREATE OR REPLACE PROCEDURE insertAccount(owner IN
    varchar, bal IN number, newid OUT number)
    AS LANGUAGE JAVA NAME 'GenPK.insertAccount(
    java.lang.String [])';
    Invoke the stored procedure within ejbCreate().
    Public AccountPK ejbCreate(String ownerName, int balance) throws CreateException
    try {
    CallableStatement call = conn.prepareCall{
    "{call insertAccount(?, ?, ?)}"};          
    return new AccountPK(accountID);
    Custom Primary Key Finders for CMP Entity Beans
    Finder methods are used for retrieving existing EJB entity bean instances. Primary key finders allow you to retrieve a uniquely identified EJB instance. For CMP entity beans, the EJB container automatically generates the primary key finder findByPrimaryKey() method, based on declarative description. In some situations, however, you might need more control; for example, you may need a specialized finder such as findByStoredProcKey(). In these situations, you can use Java stored procedures in conjunction with an object relational framework (such as Oracle9i Application Server [Oracle9iAS] TopLink) to implement a custom primary key finder method. After you define the EJB finder as a REDIRECT or NAMED finder, TopLink will generate the SQL query for retrieving the bean instance.
    Data-Driven EJB Invocation
    In a data-driven architecture, business logic invocation can be triggered as a result of database operations (such as inserts, updates, or deletes). A Java stored procedure implementing the data logic can be declared as a database trigger to invoke EJBs running in a middle-tier J2EE application server. You can make EJB calls by using either standard remote method invocation (RMI) over Interoperable Inter-ORB Protocol (IIOP), using a J2EE 1.3 compatible server, or RMI over a vendor-specific transport protocol (such as ORMI with Oracle9iAS/OC4J or RMI over T3 with BEA WebLogic). Each application server vendor has its own optimized protocol while providing RMI over IIOP for interoperability. Oracle9iAS supports both RMI calls over IIOP and ORMI protocols.
    Data-Driven Messaging
    Oracle9i Database embeds Advanced Queuing (AQ), which is an integrated, persistent, reliable, secure, scalable, and transactional message-queuing framework. Oracle exposes AQ features to Java developers through the standard Java Messaging System (JMS) API. Java stored procedures can invoke AQ operations through the JMS interface to allow fast, intra-session, scalable, data-driven messaging.
    Java stored procedures can use JMS to invoke AQ operations. You can implement this pattern in four steps:
    Create and start the JMS Queue (to do so, embed the following operations within a SQL script):
    execute dbms_aqadm.create_queue_table(queue_table =>
    'queue1', queue_payload_type =>
    'SYS.AQ$_JMS_TEXT_MESSAGE', comment => 'a test queue',
    multiple_consumers => false, compatible => '8.1.0');
    execute dbms_aqadm.create_queue( queue_name => 'queue1',
    queue_table => 'queue1' );
    execute dbms_aqadm.start_queue(queue_name => 'queue1');
    Create the Java stored procedure (a code snippet is shown):
    public static void runTest(String msgBody)
    try
    // get database connection
    ora_drv = new OracleDriver();
    db_conn = ora_drv.defaultConnection();
    // setup sender (cf online code sample)
    // create message
    s_msg = s_session.createTextMessage(msgBody);
    // send message
    sender.send(s_msg);
    s_session.commit();
    // receive message
    r_msg = (TextMessage) receiver.receive();
    r_session.commit();
    // output message text
    String body = r_msg.getText();
    System.out.println("message was '"+body+"'");
    Create the Call Spec:
    create or replace procedure jmsproc (t1 IN VARCHAR)
    as language java name 'jmsSample.main (java.lang.String[])';
    Invoke the stored procedure:
    call jmsproc('hello');
    Database-Assisted Web Publishing (Cache Invalidation)
    One of the common issues application architects must face is how to cache database information reliably to increase overall system performance. JCACHE is an upcoming standard specification (JSR 107) that addresses this problem. It specifies an approach for temporary, in-memory caching of Java objects, including object creation, shared access, spooling, invalidation, and consistency across JVMs. It can be used to cache read-mostly data such as product catalogs and price lists within JSP. Using JCACHE, most queries will have response times an order of magnitude faster because of cached data (in-house testing showed response times about 15 times faster).
    In order to track all the changes to the origin data and refresh the cached data, a Java stored procedure is attached to a table as a trigger. Any change to this table will result in the automatic invocation of this stored procedure, which in turn will call out a defined JSP to invalidate the JCACHE object that maps its state to the database table. Upon invalidation, the very next query will force the cache to be refreshed from the database. Next Steps
    READ MORE about Java Stored Procedures
    This article is adapted from the white paper "Unleash the Power of Java Stored Procedures." You can find the white paper at:
    /tech/java/java_db/pdf/
    OW_30820_JAVA_STORED_PROC_paper.PDF
    New PL/SQL features in Oracle9i Database, Release 2
    /tech/pl_sql/pdf/
    Paper_30720_Doc.pdf
    Resolver Spec
    /docs/products/oracle9i/
    doc_library/release2/java.920/a96659.pdf
    OracleJVM and Java 2 Security
    /docs/products/oracle9i/
    doc_library/release2/java.920/a96656.pdf
    DOWNLOAD Code
    Exercise code examples from this article:
    /sample_code/tech/
    java/jsp/Oracle9iJSPSamples.html
    LEARN about stored procedures as Web services
    /tech/webservices
    Extending Database Functionality
    One of the great things about running Java code directly in the database is the ability to implement new functionality by simply loading the code or library and using the Call Spec to make the entry points (public static methods) available to SQL, PL/SQL, Java, J2EE, and non-Java APIs. Oracle9i Database customers can easily extend database functionality. Oracle itself leverages this capability for new utilities and packages such as the XML Developer Kits (XDKs).
    Bridging SQL, PL/SQL, Java, J2EE, .NET, and XML
    The Oracle XDK is written in Java and exposes its public methods as Java stored procedures, extending the database's XML programmability. SQL, PL/SQL, Java, J2EE, and non-Java (.NET) business logic all have access to the XML parser, the XSLT processor, the XPath engine, and XML SQL Utility (XSU).
    The XML parser is accessible through the xmlparser and xmldom packages. XSU is a Java utility that generates an XML document from SQL queries or a JDBC ResultSet, and writes data from an XML document into a database table or view. Using XSU, XML output can be produced as Text, DOM trees, or DTDs. XSU is exposed to PL/SQL through the dbms_xmlquery and dbms_xmlsave packages.
    Conclusion
    The integration of the Oracle database with a Java VM enables the creation of portable, powerful, database-independent data logic and persistence logic. The loose coupling of business logic that runs in the middle tier with data logic that runs in the database tier improves application scalability, performance, flexibility, and maintenance.
    Kuassi Mensah ([email protected]) is a product manager in the Server Technologies division at Oracle.
    http://otn.oracle.com/oramag/oracle/03-jan/o13java.html
    Joel Pérez

  • Calling EJB in JServer is horribly slow ..

    Hi!
    Beeing somewhat dissatisfied with the stabiblity of OAS I tried porting my application to Apache+JServ+Oracle 8.1.6.
    (Apache 1.3.12, JServ 1.1.2, BD JDK 1.2.2, 8i 8.1.6.1 all on Linux since I didn't want to wreck my OAS environment)
    I found out that I would have to rewrite parts of my EJB:s since 8i makes all beans stateful and forces use of EJB transaction handling if one wants to do any SQL querys. I do a stateless, transactionless design (other that the database manipulations that is) to avoid to much meddling by the container.
    I did a quick but not completely solid fix for it an managed to get everything working in the the new environment only to find that it was horribly slow.
    Calling an EJB method from a servlet takes about two seconds and calling an EJB method from another EJB takes about four seconds.
    all that time spent calling down into the EJB, logging just prior to a call and as the first thing in the method show this quite clearly.
    Something similar is going on when deploying beans to 8i, A small beans takes several minutes to deploy.
    This is on a PIII600 with 256MB of RAM and no apparent swapping going on. No errors of any kind in any logs except for the occasional "soft session limit exceeded" if the Jserver log.
    Anyone got an explanation ? Is it faster on Solaris or ????
    /Ulf

    Leslie,
    If both the applications containing the Client/JSPs and EJBs are deployed in the same OC4J container in different applications you donot have to use RMIInitialContextFactory and you can just use the default Context e.g. as follows as if both EJBs and servlets are in the same application.
    Context ctx = new InitialContext();
    You have to make the EJB application as parent for your appliaction containing web-tier i.e. JSPs as follows in the server.xml
    <application name=EJBApps path=ejb1.ear />
    <application name=WebtierApps path=web1.ear parent=EJBApps />
    regards
    Debu Panda
    Oracle
    Hi All,
    I write a jsp to call a EJB in a different Application deployed in OC4J 9.0.3.
    the source code is:
    <%
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
    env.put(Context.SECURITY_PRINCIPAL, "admin");
    env.put(Context.SECURITY_CREDENTIALS, "manager");
    env.put(Context.PROVIDER_URL, "ormi://mycomputer/employee");
    Context ctx = new InitialContext(env);
    Object obj = ctx.lookup("HelloWorld");
    HelloWorldHome home =(HelloWorldHome)
    javax.rmi.PortableRemoteObject.narrow(obj,HelloWorldHome.class);
    HelloWorld hello = home.create();
    out.println(hello.hello());
    %>
    And the error message:
    java.lang.ClassCastException
         at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(Unknown Source)
         at javax.rmi.PortableRemoteObject.narrow(Unknown Source)
         at try.jspService(_try.java:67)
         [SRC:/try.jsp:15]
         at com.orionserver[Oracle9iAS (9.0.3.0.0) Containers for J2EE].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    But this code, I can run successfully in a Client java class.
    And if I put the jsp and the EJB in a same application, it is ok also.
    What's the problem?
    Please help me!

  • Error in function PTCard.Store (): -2147467259

    hello,
    <p>
    I am trying to add a card to the knowledge directory using API. I call <strong>IPTCard.Store()</strong> method to store the card. below is my code.
    public void createCard(int folderParent, String cardName){
    IPTCatalog catalog = session.GetCatalog();
    IPTCard card = catalog.CreateCard();
    card.SetName(cardName);
    int[] parentIds = {folderParent};
    card.SetCardSettings(PT_CARD_SETTINGS.PT_CARD_PARENTFOLDERIDS, parentIds);
    card.SetDescription("test description.");
    card.Store();
    But when i call "IPTCard.Store()" method, it returns the following error;
    </p>
    <strong> com.plumtree.openfoundation.util.XPException: Error in function PTCard.Store (): -2147467259 - Failed to store card: storing cards in DB failed
    </strong>does anybody have an idea, why this error appears ??
    thank you for ur openion in adv.
    <p>
    </p>

    I can't tell from the error, but I suspect you will need to associate the card with a data source (content upload or similar) before it can be stored in the database (PTCard.Store).
    Since I don't remember exactly how I did this at one point, I have provided some code below that I hacked from the API and changed around. It sets some extra stuff related to the file upload data source, but you can probably use some of it to piece together data source info. Here are some relevant lines that you'll probably need to fudge with:
                   IPTDataSource ptDS          = (IPTDataSource)
    session.GetDataSources().Open(nDataSourceID, false);
                   string strCardPropBagXML = pbagCardProp.SaveToXML(0);
                   ptDS.ImportDocument(strCardPropBagXML, nDocTypeID, ptCard, true, null);
    And here's the rest of the code it was ripped from...
              // Functions in this region were somewhat ripped from the UI source (KD submission space)
              // they have been slightly cleaned and commented for clarity (actual card submission happens here)
              public static IPTCard SubmitCard(int dataSourceId, int parentFolderId, string name, string description, string path, string type, string docId, string duServer, string duId, SortedList propertyList, IPTSession session, AActivitySpace space) {
                   IXPPropertyBag pbag = CreateCardSubmitUploadPropertyBag(path, type, docId);
                   return SubmitCardWithPropertyBag(parentFolderId, dataSourceId, name, description, duServer, duId, false, propertyList, pbag, session, space);
              public static IPTCard SubmitCardWithPropertyBag(int parentFolderId, int nDataSourceID, string strCardName, string strCardDescription, string duServer, string duId, bool approved, SortedList propertyList, IXPPropertyBag pbagCardProp, IPTSession session, AActivitySpace space) {
                   // Set Parent Folder
                   int[] arFolderIDs = new int[] {parentFolderId};
                   // set language to be that of the default locale
                   // Retrieve the SearchLocaleVarPack to verify the language
                   IApplication application = ApplicationManager.GetInstance()
                        .GetApplication(AppConstants.MAIN_APPLICATION_NAME.ToString());
                   PTSearchLocaleVarPack vpPTSearchLocales = (PTSearchLocaleVarPack) application.GetVarPackManager()
                        .GetVariablePackage(PTSearchLocaleVarPack.VARPACK_ID);
                   // Retrieve the user's default language:
                   string strCardLanguageCode = (string) PTPersonalSettingsHelper.GetPersonalSettingValue(PersonalSettingNames.LANGUAGE,
                        space);
                   // default to english if invalid language
                   if (false == vpPTSearchLocales.IsValidLanguage(strCardLanguageCode)) {
                        strCardLanguageCode = DirModel.ENGLISH_LOCALE_CODE;
                   return SubmitCardWithPropertyBag(arFolderIDs, strCardLanguageCode, 0,
                        nDataSourceID, pbagCardProp, strCardName, strCardDescription, duServer, duId, approved, propertyList, session, space);
              public static IPTCard SubmitCardWithPropertyBag(int[] arFolderIDs,
                   string strLanguage, int nDocTypeID, int nDataSourceID,
                   IXPPropertyBag pbagCardProp, string strCardName,
                   string strCardDescription, string duId, string duServer, bool approved,
                   SortedList propertyList, IPTSession session, AActivitySpace space) {
                   // create the card
                   IPTCard ptCard = session.GetCatalog().CreateCard();
                   ptCard.SetContentLanguage(strLanguage);
                   // Parent IDs can be a single value or an array of values
                   ptCard.SetCardSettings(PT_CARD_SETTINGS.PT_CARD_PARENTFOLDERIDS,
                        arFolderIDs);
                   // if the index server isn't up, don't try to index, create the card
                   // and inform the user later
                   IXPPropertyBag statusBag = session.GetCatalog().GetSearchServerStatus();
                   SearchServerStatusInfo statusInfo = new SearchServerStatusInfo(statusBag, "INDEXSTATUS");
                   if (XPStringUtility.EqualsIgnoreCase(statusInfo.connectStatus,"OK")) {
                        ptCard.SetCardSettings(PT_CARD_SETTINGS.PT_CARD_INDEXONSTORE, 1);
                   } else {
                        ptCard.SetCardSettings(PT_CARD_SETTINGS.PT_CARD_INDEXONSTORE, 0);
                   // if the card is approved, we set this flag
                   if (approved) {
                        ptCard.SetCardSettings(PT_CARD_SETTINGS.PT_CARD_INSERTAPPROVED, 1);
                   /* inherit parent folder ACLs */
                   ptCard.SetCardSettings(PT_CARD_SETTINGS.PT_CARD_INHERITPARENTFOLDERPERMISSIONS, 1);
                   // Set the crawler tag to be "Manual"
                   ptCard.SetCrawlerTag(space.GetString(1635, "ptmsgs_portalbrowsingmsgs"));
                   if ((null != strCardName) && (strCardName.Length > 0)) {
                        ptCard.SetCardSettings(PT_CARD_SETTINGS.PT_CARD_OVERWRITENAME, 0);
                        ptCard.SetName(strCardName);
                   if ((null != strCardDescription) && (strCardDescription.Length > 0)) {
                        ptCard.SetCardSettings(PT_CARD_SETTINGS.PT_CARD_OVERWRITEDESCRIPTION, 0);
                        ptCard.SetDescription(strCardDescription);
                   ptCard.SetDocumentLocation(pbagCardProp);
                   ptCard.SetDataSourceID(nDataSourceID);
                   // Get the DocumentTypeMap
                   if (0 == nDocTypeID) {
                        // Determine Default
                        IPTDocumentTypeMap ptMap;
                        ptMap = (IPTDocumentTypeMap) session.OpenGlobalObject(PT_GLOBALOBJECTS.PT_GLOBAL_DOCUMENTTYPEMAP,
                             false);
                        ptMap.Initialize(session);
                        nDocTypeID = ptMap.LookupByPropBag(pbagCardProp);
                        // If no default DocType was found,
                        // determine what default DocType should be used based on the server config setting
                        if (0 == nDocTypeID) {
                             IApplication application = ApplicationManager.GetInstance()
                                  .GetApplication(AppConstants.MAIN_APPLICATION_NAME.ToString());
                             PTDirPrefsVarPack vpPTDirPrefs = (PTDirPrefsVarPack) application.GetVarPackManager()
                                  .GetVariablePackage(PTDirPrefsVarPack.VARPACK_ID);
                             nDocTypeID = vpPTDirPrefs.GetDefaultDocType();
                   IPTDataSource ptDS          = (IPTDataSource) session.GetDataSources().Open(nDataSourceID, false);
                   string strCardPropBagXML = pbagCardProp.SaveToXML(0);
                   ptDS.ImportDocument(strCardPropBagXML, nDocTypeID, ptCard, true, null);
                   // set file upload properties
                   /* get the card and it's property values */
                   IPTCardPropertyValues ptPropValues = ptCard.GetPropertyValues();
                   /* Document Upload ID */
                   IPTCardPropertyValue ptValue = ptPropValues.Add(PT_INTRINSICS.PT_PROPERTY_UPLOAD_DUID);
                   ptValue.SetOverrideValue(duId); /* make this an override value so it is not lost on a re-index */
                   /* Document Upload Server */
                   ptValue = ptPropValues.Add(PT_INTRINSICS.PT_PROPERTY_UPLOAD_DUSERVER);
                   ptValue.SetOverrideValue(duServer); /* make this an override value so it is not lost on a re-index */
                   /* Custom Property Settings */
                   if (propertyList.Count > 0) {
                        foreach (DictionaryEntry de in propertyList) {
                             try {
                                  int propId = (int) de.Key;
                                  ptValue = ptPropValues.GetItem(propId);
                                  if (null == ptValue) { ptValue = ptPropValues.Add(propId); }                              
                                  ptValue.SetOverrideValue(de.Value);
                             } catch (Exception) {
                                  // ignore exceptions, maybe the wrong property or card
                   //store the card
                   ptCard.Store();
                   ptCard.UnlockObject();
                   // approve or unapprove the card
                   /* 2 for approve, 1 for unapprove */
                   //session.GetCatalog().SetApprovalStateByCard(ptCard.GetObjectID(), (approved ? 2 : 1), arFolderIDs );
                   return ptCard;
              public static IXPPropertyBag CreateCardSubmitUploadPropertyBag(string path, string type, string _docID) {
                   IXPPropertyBag pbagCardProp;
                   pbagCardProp = PortalObjectsFactory.CreatePropertyBag();
                   pbagCardProp.Write("PTC_PBAGFORMAT", 2000);
                   pbagCardProp.Write("PTC_DTM_SECT", XPConvert.ToInteger(_type));
                   pbagCardProp.Write("PTC_UNIQUE", _path);
                   pbagCardProp.Write("PTC_DOC_ID", _docID);
                   return pbagCardProp;
              }

  • Query: to view all users that have been created for access to a database

    Hi,
    Is there a command syntax that we could give to see all the users who have been created for access to a particular database. I want to view all the users that have been created using sql* plus.
    can anyone help or is it impossible?
    Thanks

    This is for begging:
    [email protected]> select grantee, privilege from dba_sys_privs where privilege like '%CREATE%SESSION%
    2 /
    GRANTEE PRIVILEGE
    A CREATE SESSION
    AA CREATE SESSION
    U1 CREATE SESSION
    U2 CREATE SESSION
    BD1 CREATE SESSION
    DBA CREATE SESSION
    EMI CREATE SESSION
    MOB CREATE SESSION
    ODM CREATE SESSION
    OHP CREATE SESSION
    SEC CREATE SESSION
    SYS CREATE SESSION
    TU1 CREATE SESSION
    TU2 CREATE SESSION
    U01 CREATE SESSION
    XDB CREATE SESSION
    MOBI CREATE SESSION
    OHP4 CREATE SESSION
    PFAY CREATE SESSION
    UD01 CREATE SESSION
    UR01 CREATE SESSION
    ADHOC CREATE SESSION
    BATCH CREATE SESSION
    DEBUG CREATE SESSION
    DEV01 CREATE SESSION
    HRAPP CREATE SESSION
    MDSYS CREATE SESSION
    MOBI2 CREATE SESSION
    SKING CREATE SESSION
    SPACE CREATE SESSION
    UPASS CREATE SESSION
    WKSYS CREATE SESSION
    CTXSYS CREATE SESSION
    ORDSYS CREATE SESSION
    PRAC01 CREATE SESSION
    RTABLE CREATE SESSION
    CONNECT CREATE SESSION
    Than you have to select also all the users that have granted roles with this privilege
    this will give you the full set of users who can connect
    Best Regards
    Krystian Zieja / mob

  • My mac is slow after yosemite. What ever i do it keeps loading

    mMy mac is slow.
    It keeps loading
    17/12/14 03.11.26,826 Unknown[4921]: com.apple.message.domain: com.apple.assumes.failure
    com.apple.message.signature: 9437C02E-A07B-38C8-91CB-299FAA63083D:97940
    com.apple.message.signature2: 0x89
    com.apple.message.signature3: libxpc.dylib
    com.apple.message.summarize: YES
    SenderMachUUID: 33C3024A-4A16-3485-B2B1-89FA33B9558A
    17/12/14 03.13.48,205 spindump[445]: com.apple.message.domain: com.apple.crashreporter.writereport.hang
    com.apple.message.signature: com.apple.WebKit.WebContent
    com.apple.message.signature2: UNBUNDLED ||| 10600 (10600.2.5) ((null))
    com.apple.message.signature3: hang
    com.apple.message.result: noop
    com.apple.message.summarize: YES
    SenderMachUUID: B37DA875-044F-36A3-9B9E-A21DE5C75C52
    17/12/14 03.14.43,548 WindowServer[184]: com.apple.message.session: 4A1472A7-0E31-4AFE-BC6D-08A3C242774D
    com.apple.message.spaces_mode: per-display
    com.apple.message.owner: 906
    com.apple.message.user_spaces_used: NO
    com.apple.message.config: Laptop
    com.apple.message.on_console: YES
    com.apple.message.display_setup: Single
    com.apple.message.fullscreen.uuid: 32A5FA59-BFC4-4D74-BC96-D2865E859F76
    com.apple.message.fullscreen.bundle.id: com.apple.Safari
    com.apple.message.fullscreen.bundle.version: 8.0.2 (10600.2.5)
    com.apple.message.fullscreen.process: Safari
    com.apple.message.domain: com.apple.windowserver.session.spaces.fullscreen.end
    SenderMachUUID: DE442EA4-37E9-305A-849A-B9A9D8C57AD2
    17/12/14 03.14.53,699 spindump[445]: com.apple.message.domain: com.apple.crashreporter.writereport.hang
    com.apple.message.signature: Safari
    com.apple.message.signature2: UNBUNDLED ||| 8.0.2 (10600.2.5) ((null))
    com.apple.message.signature3: hang
    com.apple.message.result: noop
    com.apple.message.summarize: YES
    SenderMachUUID: B37DA875-044F-36A3-9B9E-A21DE5C75C52
    17/12/14 03.15.03,668 SubmitDiagInfo[2536]: Spent 1.024610 seconds sending 1 diagnostic files totaling 107202 bytes
    OSActivityID: 0x000001ac00000003
    com.apple.message.domain: com.apple.SubmitDiagInfo.SubmissionTime
    com.apple.message.value: 1
    com.apple.message.value2: 107202
    com.apple.message.value3: 1.024610
    SenderMachUUID: 71B4F5DA-0D3D-3468-93C2-CD52E1185606
    17/12/14 03.15.08,625 WindowServer[184]: com.apple.message.session: 4A1472A7-0E31-4AFE-BC6D-08A3C242774D
    com.apple.message.spaces_mode: per-display
    com.apple.message.owner: 906
    com.apple.message.user_spaces_used: NO
    com.apple.message.config: Laptop
    com.apple.message.on_console: YES
    com.apple.message.display_setup: Single
    com.apple.message.fullscreen.uuid: 5A3201FF-F930-4C7C-AF20-1695D8531DFA
    com.apple.message.fullscreen.bundle.id: com.apple.Safari
    com.apple.message.fullscreen.bundle.version: 8.0.2 (10600.2.5)
    com.apple.message.fullscreen.process: Safari
    com.apple.message.domain: com.apple.windowserver.session.spaces.fullscreen.begin
    SenderMachUUID: DE442EA4-37E9-305A-849A-B9A9D8C57AD2
    17/12/14 03.17.07,077 loginwindow[66]: com.apple.message.domain: com.apple.BezelServices.IdleTimer
    com.apple.message.result: pass
    SenderMachUUID: C6C1FCD6-5FBA-3B2D-9322-367F697EDAAA
    17/12/14 03.18.01,698 powerd[26]: SCPreferences(Power Management configd plugin:com.apple.PowerManagement.xml) lock held for 13.689 seconds
    com.apple.message.domain: com.apple.SystemConfiguration.SCPreferencesUnlock
    com.apple.message.signature: Power Management configd plugin
    com.apple.message.signature2: com.apple.PowerManagement.xml
    com.apple.message.value: 13.689
    SenderMachUUID: 1F97CC0A-F1D6-3A56-BA08-E644AD7CCF82
    17/12/14 03.18.46,288 Unknown[5006]: com.apple.message.domain: com.apple.assumes.failure
    com.apple.message.signature: 9437C02E-A07B-38C8-91CB-299FAA63083D:97940
    com.apple.message.signature2: 0x89
    com.apple.message.signature3: libxpc.dylib
    com.apple.message.summarize: YES
    SenderMachUUID: 33C3024A-4A16-3485-B2B1-89FA33B9558A
    17/12/14 03.19.49,876 powerd[26]: SCPreferences(Power Management configd plugin:com.apple.PowerManagement.xml) lock held for 1.867 seconds
    com.apple.message.domain: com.apple.SystemConfiguration.SCPreferencesUnlock
    com.apple.message.signature: Power Management configd plugin
    com.apple.message.signature2: com.apple.PowerManagement.xml
    com.apple.message.value: 1.867
    SenderMachUUID: 1F97CC0A-F1D6-3A56-BA08-E644AD7CCF82
    17/12/14 03.21.18,797 powerd[26]: SCPreferences(Power Management configd plugin:com.apple.PowerManagement.xml) lock held for 30.714 seconds
    com.apple.message.domain: com.apple.SystemConfiguration.SCPreferencesUnlock
    com.apple.message.signature: Power Management configd plugin
    com.apple.message.signature2: com.apple.PowerManagement.xml
    com.apple.message.value: 30.714
    SenderMachUUID: 1F97CC0A-F1D6-3A56-BA08-E644AD7CCF82
    17/12/14 03.21.57,470 powerd[26]: SCPreferences(Power Management configd plugin:com.apple.PowerManagement.xml) lock held for 9.388 seconds
    com.apple.message.domain: com.apple.SystemConfiguration.SCPreferencesUnlock
    com.apple.message.signature: Power Management configd plugin
    com.apple.message.signature2: com.apple.PowerManagement.xml
    com.apple.message.value: 9.388
    SenderMachUUID: 1F97CC0A-F1D6-3A56-BA08-E644AD7CCF82
    17/12/14 03.23.57,068 loginwindow[66]: com.apple.message.domain: com.apple.BezelServices.IdleTimer
    com.apple.message.result: pass
    SenderMachUUID: C6C1FCD6-5FBA-3B2D-9322-367F697EDAAA
    17/12/14 03.24.04,291 powerd[26]: SCPreferences(Power Management configd plugin:com.apple.PowerManagement.xml) lock held for 16.281 seconds
    com.apple.message.domain: com.apple.SystemConfiguration.SCPreferencesUnlock
    com.apple.message.signature: Power Management configd plugin
    com.apple.message.signature2: com.apple.PowerManagement.xml
    com.apple.message.value: 16.281
    SenderMachUUID: 1F97CC0A-F1D6-3A56-BA08-E644AD7CCF82
    17/12/14 03.24.11,526 Safari[4993]: com.apple.message.domain: com.apple.Safari.Search2
    com.apple.message.summarize: YES
    SenderMachUUID: 2225AE13-780E-3234-9A05-9DD6D94EE96C
    17/12/14 03.24.49,649 powerd[26]: SCPreferences(Power Management configd plugin:com.apple.PowerManagement.xml) lock held for 1.607 seconds
    com.apple.message.domain: com.apple.SystemConfiguration.SCPreferencesUnlock
    com.apple.message.signature: Power Management configd plugin
    com.apple.message.signature2: com.apple.PowerManagement.xml
    com.apple.message.value: 1.607
    SenderMachUUID: 1F97CC0A-F1D6-3A56-BA08-E644AD7CCF82
    17/12/14 03.27.20,022 powerd[26]: SCPreferences(Power Management configd plugin:com.apple.PowerManagement.xml) lock held for 32.013 seconds
    com.apple.message.domain: com.apple.SystemConfiguration.SCPreferencesUnlock
    com.apple.message.signature: Power Management configd plugin
    com.apple.message.signature2: com.apple.PowerManagement.xml
    com.apple.message.value: 32.013
    SenderMachUUID: 1F97CC0A-F1D6-3A56-BA08-E644AD7CCF82
    17/12/14 03.28.02,797 powerd[26]: SCPreferences(Power Management configd plugin:com.apple.PowerManagement.xml) lock held for 14.787 seconds
    com.apple.message.domain: com.apple.SystemConfiguration.SCPreferencesUnlock
    com.apple.message.signature: Power Management configd plugin
    com.apple.message.signature2: com.apple.PowerManagement.xml
    com.apple.message.value: 14.787
    SenderMachUUID: 1F97CC0A-F1D6-3A56-BA08-E644AD7CCF82
    17/12/14 03.29.18,768 powerd[26]: SCPreferences(Power Management configd plugin:com.apple.PowerManagement.xml) lock held for 30.758 seconds
    com.apple.message.domain: com.apple.SystemConfiguration.SCPreferencesUnlock
    com.apple.message.signature: Power Management configd plugin
    com.apple.message.signature2: com.apple.PowerManagement.xml
    com.apple.message.value: 30.758
    SenderMachUUID: 1F97CC0A-F1D6-3A56-BA08-E644AD7CCF82
    17/12/14 03.30.11,462 loginwindow[66]: com.apple.message.domain: com.apple.BezelServices.IdleTimer
    com.apple.message.result: pass
    SenderMachUUID: C6C1FCD6-5FBA-3B2D-9322-367F697EDAAA
    17/12/14 03.30.51,431 powerd[26]: SCPreferences(Power Management configd plugin:com.apple.PowerManagement.xml) lock delayed for 3.422 seconds
    com.apple.message.domain: com.apple.SystemConfiguration.SCPreferencesLock
    com.apple.message.signature: Power Management configd plugin
    com.apple.message.signature2: com.apple.PowerManagement.xml
    com.apple.message.value: 3.422
    SenderMachUUID: 1F97CC0A-F1D6-3A56-BA08-E644AD7CCF82
    17/12/14 03.30.51,432 loginwindow[66]: com.apple.message.domain: com.apple.BezelServices.BezelKeySet1
    com.apple.message.value: 3
    com.apple.message.value2: 0
    com.apple.message.value3: 0
    com.apple.message.value4: 0
    SenderMachUUID: C6C1FCD6-5FBA-3B2D-9322-367F697EDAAA
    17/12/14 03.30.51,432 loginwindow[66]: com.apple.message.domain: com.apple.BezelServices.BezelKeySet2
    com.apple.message.value: 22
    com.apple.message.value2: 0
    com.apple.message.value3: 0
    SenderMachUUID: C6C1FCD6-5FBA-3B2D-9322-367F697EDAAA
    17/12/14 03.32.15,270 powerd[26]: SCPreferences(Power Management configd plugin:com.apple.PowerManagement.xml) lock delayed for 27.260 seconds
    com.apple.message.domain: com.apple.SystemConfiguration.SCPreferencesLock
    com.apple.message.signature: Power Management configd plugin
    com.apple.message.signature2: com.apple.PowerManagement.xml
    com.apple.message.value: 27.260
    SenderMachUUID: 1F97CC0A-F1D6-3A56-BA08-E644AD7CCF82
    17/12/14 03.33.13,147 powerd[26]: SCPreferences(Power Management configd plugin:com.apple.PowerManagement.xml) lock held for 25.137 seconds
    com.apple.message.domain: com.apple.SystemConfiguration.SCPreferencesUnlock
    com.apple.message.signature: Power Management configd plugin
    com.apple.message.signature2: com.apple.PowerManagement.xml
    com.apple.message.value: 25.137
    SenderMachUUID: 1F97CC0A-F1D6-3A56-BA08-E644AD7CCF82
    17/12/14 03.33.57,946 spindump[445]: com.apple.message.domain: com.apple.crashreporter.writereport.hang
    com.apple.message.signature: Activity Monitor
    com.apple.message.signature2: UNBUNDLED ||| 10.10.0 (968) ((null))
    com.apple.message.signature3: hang
    com.apple.message.result: noop
    com.apple.message.summarize: YES
    SenderMachUUID: B37DA875-044F-36A3-9B9E-A21DE5C75C52
    17/12/14 03.34.55,136 powerd[26]: SCPreferences(Power Management configd plugin:com.apple.PowerManagement.xml) lock delayed for 7.063 seconds
    com.apple.message.domain: com.apple.SystemConfiguration.SCPreferencesLock
    com.apple.message.signature: Power Management configd plugin
    com.apple.message.signature2: com.apple.PowerManagement.xml
    com.apple.message.value: 7.063
    SenderMachUUID: 1F97CC0A-F1D6-3A56-BA08-E644AD7CCF82
    17/12/14 03.35.49,082 powerd[26]: SCPreferences(Power Management configd plugin:com.apple.PowerManagement.xml) lock held for 1.053 seconds
    com.apple.message.domain: com.apple.SystemConfiguration.SCPreferencesUnlock
    com.apple.message.signature: Power Management configd plugin
    com.apple.message.signature2: com.apple.PowerManagement.xml
    com.apple.message.value: 1.053
    SenderMachUUID: 1F97CC0A-F1D6-3A56-BA08-E644AD7CCF82
    17/12/14 03.36.01,854 loginwindow[66]: com.apple.message.domain: com.apple.BezelServices.IdleTimer
    com.apple.message.result: pass
    SenderMachUUID: C6C1FCD6-5FBA-3B2D-9322-367F697EDAAA
    17/12/14 03.36.57,373 powerd[26]: SCPreferences(Power Management configd plugin:com.apple.PowerManagement.xml) lock held for 9.363 seconds
    com.apple.message.domain: com.apple.SystemConfiguration.SCPreferencesUnlock
    com.apple.message.signature: Power Management configd plugin
    com.apple.message.signature2: com.apple.PowerManagement.xml
    com.apple.message.value: 9.363
    SenderMachUUID: 1F97CC0A-F1D6-3A56-BA08-E644AD7CCF82
    17/12/14 03.37.49,124 powerd[26]: SCPreferences(Power Management configd plugin:com.apple.PowerManagement.xml) lock held for 1.114 seconds
    com.apple.message.domain: com.apple.SystemConfiguration.SCPreferencesUnlock
    com.apple.message.signature: Power Management configd plugin
    com.apple.message.signature2: com.apple.PowerManagement.xml
    com.apple.message.value: 1.114
    SenderMachUUID: 1F97CC0A-F1D6-3A56-BA08-E644AD7CCF82
    17/12/14 03.40.50,030 powerd[26]: SCPreferences(Power Management configd plugin:com.apple.PowerManagement.xml) lock held for 2.020 seconds
    com.apple.message.domain: com.apple.SystemConfiguration.SCPreferencesUnlock
    com.apple.message.signature: Power Management configd plugin
    com.apple.message.signature2: com.apple.PowerManagement.xml
    com.apple.message.value: 2.020
    SenderMachUUID: 1F97CC0A-F1D6-3A56-BA08-E644AD7CCF82
    17/12/14 03.41.27,646 loginwindow[66]: com.apple.message.domain: com.apple.BezelServices.IdleTimer
    com.apple.message.result: pass
    SenderMachUUID: C6C1FCD6-5FBA-3B2D-9322-367F697EDAAA
    17/12/14 03.41.59,720 powerd[26]: SCPreferences(Power Management configd plugin:com.apple.PowerManagement.xml) lock held for 11.710 seconds
    com.apple.message.domain: com.apple.SystemConfiguration.SCPreferencesUnlock
    com.apple.message.signature: Power Management configd plugin
    com.apple.message.signature2: com.apple.PowerManagement.xml
    com.apple.message.value: 11.710
    SenderMachUUID: 1F97CC0A-F1D6-3A56-BA08-E644AD7CCF82
    17/12/14 03.43.05,453 powerd[26]: SCPreferences(Power Management configd plugin:com.apple.PowerManagement.xml) lock held for 17.442 seconds
    com.apple.message.domain: com.apple.SystemConfiguration.SCPreferencesUnlock
    com.apple.message.signature: Power Management configd plugin
    com.apple.message.signature2: com.apple.PowerManagement.xml
    com.apple.message.value: 17.442
    SenderMachUUID: 1F97CC0A-F1D6-3A56-BA08-E644AD7CCF82
    17/12/14 03.45.11,718 powerd[26]: SCPreferences(Power Management configd plugin:com.apple.PowerManagement.xml) lock held for 23.709 seconds
    com.apple.message.domain: com.apple.SystemConfiguration.SCPreferencesUnlock
    com.apple.message.signature: Power Management configd plugin
    com.apple.message.signature2: com.apple.PowerManagement.xml
    com.apple.message.value: 23.709
    SenderMachUUID: 1F97CC0A-F1D6-3A56-BA08-E644AD7CCF82
    17/12/14 03.45.19,758 Unknown[5069]: com.apple.message.domain: com.apple.assumes.failure
    com.apple.message.signature: 9437C02E-A07B-38C8-91CB-299FAA63083D:97940
    com.apple.message.signature2: 0x89
    com.apple.message.signature3: libxpc.dylib
    com.apple.message.summarize: YES
    SenderMachUUID: 33C3024A-4A16-3485-B2B1-89FA33B9558A

    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    Click the Clear Display icon in the toolbar. Then take an action that isn't working the way you expect. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Some private information, such as your name or email address, may appear in the log. Anonymize before posting.

  • ITunes would not update Ipad soft, stating I don't have enogh space onthe PC for files, even though I just completely backed up Ipad through Itunes on the same PC. Seems like Itunes is disconected from itself.

    Itunes would  not update my Ipad soft citing insuficient space on PC to back up Ipad files. Even though I just baked up Ipad through Itunes on the very same PC.
    It seems that Itunes is disconected from itself and is not able to track processes within itself for the same device in the same session. Any solutions?

    Hello there, EllVar.
    The following Knowledge Base article offers some great recommendations for the issue you're describing:
    iOS: If you can't back up or restore from a backup in iTunes
    http://support.apple.com/kb/ts2529
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • Reopen all pages from previous session don't remember the original space

    Is there a way to reopen all windows from previous session each on the space it was before closing it?
    It seems a lacking feature of safari.

    HI,
    You can do this with Glims plus other great features including full screen mode and it's compatible with v10.5 or later.
    You profile indicates you are running v10.5.4. If that's the case, you need to update your system software to v10.5.8. Click your Apple Menu then scroll down, click Software Updates.
    Carolyn

  • There is no more space for virtual disk ServerName_2.vmdk. You might be able to continue this session by freeing disk space on the relevant volume, and clicking Retry. Click Cancel to terminate this session.   Time: 30/05/2014 1:16:20 AM

    Recently, our mail server crashed at about 7pm one night, with the error 'There is no more space for virtual disk ServerName_2.vmdk. You might be able to continue this session by freeing disk space on the relevant volume, and clicking Retry. Click Cancel to terminate this session.'
    When we click Retry, the server starts up OK.
    There are no snapshots listed in Snapshot manager for any of the virtual machines on the host.
    There is also free disk space available on the host and for the VM with the disk errors.
    This happened at least three more times, often at bad times. Each time, we were able to click 'Retry' and the disk/system would allow the VM to start-up successfully.
    I checked the Forums, the VMware support articles and the internet as I had not seen this problem before. I have completed the VSphere 5.1 - Fast Track course and this issue was NOT covered in the training.
    Most of the advice on-line and even that on the VMware web-site was pointing to snapshots being the cause of this issue. There are no snapshots enabled and I cannot see evidence of snapshots ever being used.
    - We are running VMware vsphere (5.1.0) and there are (were) 4 virtual machines running on the ESX host. We are using the free version of VMware/ESXi.
    - The Hard disk types we are using for this Virtual Machine are 'Thin Provisioned'.
    - There are 4 [Thin Provisioned] Hard Disks for this virtual machine.
    - There are 6 CPUs
    - There is 20GB of RAM (memory)
    - The VM is running Windows Server 2008 R2 as the guest/VM operating system. It is an Exchange 2010 SP1 mail server. There is plenty of available disk space on all the drives. The [Exchange] log files are cleaned out regularly (automated).
    I decided to move one of our non-critical servers off this host and on to another host to see if this helped the problem. This took quite some time, as we are not using HA or vmotion, nor do we have VCenter Server...nonetheless, I finally managed to get the non-critical server on to another host (n.b. This was a much smaller machine with less virtual resources assigned to it).
    After moving the non-critical server off this host, we decided to monitor the Host and see if the issue resolved itself.
    I checked the host about 6-10 times a day, from first thing in the morning till last thing at night - monitoring the performance of not only the Virtual Machine, but the ESXi host also.
    There were no adverse performance issues. The only thing I did note, was in the Summary page on the ESX Host, under Storage, was If I right-clicked on the datastore and clicked refresh, then the free disk space would drop (ie from 140GB to 125GB).
    After monitoring the host and VM for about 2 weeks, we did NOT have another instance of the above error.
    Sorry for the long winded post, but I wanted to give as much detail given this error has been raised before and snapshots are usually blamed as the cause.
    My question is this:
    If the ESX host had plenty of available disk capacity and there were no snapshots enabled on the VM (or any other VM's on the same host), then why did our Virtual machine crash with the error that 'there is not more space for virtual disk Servername_2.vmdk'?
    How do we prevent this issue from happening if we don't know the underlying cause?
    I would greatly appreciate any advice or suggestions.
    If I have not provided enough info on the specs or environment, please let me know and I will provide more information.
    Thanks all,
    Kurt

    The type of storage is really based on your requirements, and your ability to withstand downtime.
    iSCSI as you are using with a NAS such as Synology or QNAP.  NAS Selector - Support - Synology - Network Attached Storage (NAS)
    I wouldn't use iSCSI for Exchange or any database.  It's a bit slow.
    Do you have a single physical host?  Then I'd probably to an external direct attached storage.  This would be a card inserted in your host server that gives you multilane SAS/SATA connectivity (www.techcable.com/SAS-SATA/SAS-SATA.pps) and an external disk enclosure/array.
    For multiple hosts to a single array, I recommend a fibre channel connection to a FC capable switch, and on to a FC connected array.
    We used to use a HP P2000 (on old G1), but it's since been retired.  Worked pretty well once firmware was upgraded.  http://www8.hp.com/us/en/products/disk-storage/product-detail.html?oid=4118559#!tab=features.  They can be connected via iSCSI, Fibre Channel or 6GB SAS so they are flexible and reasonably priced.
    Recommendations:
         Use RAID 6 with your large disk arrays.  With large disks there is a measurable failure rate when rebuilding a failed RAID5 array based on MTBF.
         Use smaller 15K disks in RAID 0+1 for speed on databases/Exchange.
         Use slower 7.2K disks in RAID6 for file storage.
    We are a small hospital and we have 3 VMware servers with dual CNA (FC and Ethernet in a single twinax cable) connections to 2 redundant Cisco Nexus 5K switches and then 4 Fibre Channel connections to an EMC VNX 5300.  It's extremely fast with about 50 virtual servers, but was quite an investment.  One thing we don't have to worry about is down time.  If there ever is an equipment failure, we have redundant everything, including power split between two UPSs.
    Our VNX has 3 tiers of performance.  3 100GB SSD "Fast Cache" in RAID 1 with hot spare, to keep the most used data ready, but it's not really a tier, however one could be built utilizing the same disks.  A second tier is performance tier with a 8 600GB RAID 0+1 and hot spare.  The third is a bunch of 7.2K 3TB disks in RAID6.  The VNX autotiers, placing data on disks depending on where it's needed.  The volumes are sliced and diced automatically in the background to make this happen and we never have to touch it.  I used a demo of Solarwinds Storage Manager to monitor performance for a while and the utilization was always low, meaning all data access was fast, througout the day.
    D

  • How to calculate how much undo space a session is consuming

    Hello,
    How do I calculate how much space a session is currently consuming undo tablespace? Thank you.

    Try this query...it's a start anyways:
    select n.name, s.value
    from v$statname n , v$sesstat s
    where s.sid = &sid
    and n.statistic# = s.statistic#
    and (n.name like '%undo%' or n.name like '%rollback%')
    order by n.class, n.name
    Enter the SID when prompted.

Maybe you are looking for

  • I formatted my hard disk, and I want to...

    I erased all the hard disk, I want to return all the music to my pc, in the moment I connect the iPod to PC, suddenly I open the folder where is the I pod from the "C" drive, so... I drag the folder from the iPod to the pc , and the name song is chan

  • When is a Sales Order considered closed on the system

    Hi, At which point does the system consider the Sale orders are closed: 1. When the delivery document is created? 2. When the billing document is created? 3. When the customer's account uis posted to the Account Receivables? If you were to check for

  • Chapters in DVD not corresponding to correct marker

    Hi- Used FCEHD to create 55 minute movie with about 20 markers, 10 of which are chapter markers. Used iDVD5 to create a dvd. Preview is OK - correctly shows the menu & each of the chapters. Created disk image to burn to a dvd disk later. When I play

  • FIELD EXITS

    how to use field symbols and what is the use of it. and how can i use field symbols in internal tables. thanks

  • JDBC calling an Oracle PL/SQL Package?

    Does anyone know how to have JDBC call an Oracle PL/SQL Package? Thanks, Jon