Weblogic 9.1, EJB 2.0, Oracle 9i: Cascade delete Error

Hi All,
I am facing an error with the cascade-delete facility in ejb2.0 with weblogic 9.1
Assume that I have the following relation:
<ejb-relation>
<ejb-relation-name>TeacherEJB-StudentEJB</ejb-relation-name>
<ejb-relationship-role>
<ejb-relationship-role-name>teacher-has-student
</ejb-relationship-role-name>
<multiplicity>One</multiplicity>
<relationship-role-source>
<ejb-name>TeacherEJB</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>teacher</cmr-field-name>
</cmr-field>
</ejb-relationship-role>
<ejb-relationship-role>
<ejb-relationship-role-name>student-has-teacher
</ejb-relationship-role-name>
<multiplicity>Many</multiplicity>
<cascade-delete/>
<relationship-role-source>
<ejb-name>StudentEJB</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>student</cmr-field-name>
<cmr-field-type>java.util.Collection</cmr-field-type><cmr-field>
</ejb-relationship-role>
</ejb-relation>
Now when I have to delete one record from the DBSTUDENT table, what i do is the following:
StudentHomeLocal.remove(studentModel.getStudentId());
The above statement throws an SQLException staying it can't update TeacherID in DBSTUDENT (PK of DBTEACHER, FK in DBSTUDENT) with NULL.
The same code is working perfectly well in Weblogic 8.
I even tried deleting the local directly by the following statement:
StudentLocal.remove();
But this too doesn't work.
I also tried by removing the <cascade-delete/> attribute from the ejb-jar.xml file and updating the 'on-delete cascade' option in the database, but this too did not work.
There is another option of <db-cascade-delete> in weblogic-cmp-rdbms-jar.xml that I tried but this too did not work.
In short, I have tried the following cases but to no avail:
1. Mention cascade delete in ejb-jar.xml and nothing mentioned in weblogic-cmp-rdbms-jar.xml.jar and in the database.
2. Mention nothing in ejb-jar.xml and nothing mentioned in weblogic-cmp-rdbms-jar.xml.jar but 'on cascade delete' mentioned in the database.
3. Mention cascade delete in ejb-jar.xml and db-cascade-delete mentioned in weblogic-cmp-rdbms-jar.xml.jar and 'on cascade delete' in the database.
4. Remove all cascade delete from the ejb-jar.xml,the weblogic-cmp-rdbms-jar.xml and from the database.
Neither of the above work.
Kindly help ASAP.
Thanks in advance,
Sachidanand.

Hi All,
I am facing an error with the cascade-delete facility in ejb2.0 with weblogic 9.1
Assume that I have the following relation:
<ejb-relation>
<ejb-relation-name>TeacherEJB-StudentEJB</ejb-relation-name>
<ejb-relationship-role>
<ejb-relationship-role-name>teacher-has-student
</ejb-relationship-role-name>
<multiplicity>One</multiplicity>
<relationship-role-source>
<ejb-name>TeacherEJB</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>teacher</cmr-field-name>
</cmr-field>
</ejb-relationship-role>
<ejb-relationship-role>
<ejb-relationship-role-name>student-has-teacher
</ejb-relationship-role-name>
<multiplicity>Many</multiplicity>
<cascade-delete/>
<relationship-role-source>
<ejb-name>StudentEJB</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>student</cmr-field-name>
<cmr-field-type>java.util.Collection</cmr-field-type><cmr-field>
</ejb-relationship-role>
</ejb-relation>
Now when I have to delete one record from the DBSTUDENT table, what i do is the following:
StudentHomeLocal.remove(studentModel.getStudentId());
The above statement throws an SQLException staying it can't update TeacherID in DBSTUDENT (PK of DBTEACHER, FK in DBSTUDENT) with NULL.
The same code is working perfectly well in Weblogic 8.
I even tried deleting the local directly by the following statement:
StudentLocal.remove();
But this too doesn't work.
I also tried by removing the <cascade-delete/> attribute from the ejb-jar.xml file and updating the 'on-delete cascade' option in the database, but this too did not work.
There is another option of <db-cascade-delete> in weblogic-cmp-rdbms-jar.xml that I tried but this too did not work.
In short, I have tried the following cases but to no avail:
1. Mention cascade delete in ejb-jar.xml and nothing mentioned in weblogic-cmp-rdbms-jar.xml.jar and in the database.
2. Mention nothing in ejb-jar.xml and nothing mentioned in weblogic-cmp-rdbms-jar.xml.jar but 'on cascade delete' mentioned in the database.
3. Mention cascade delete in ejb-jar.xml and db-cascade-delete mentioned in weblogic-cmp-rdbms-jar.xml.jar and 'on cascade delete' in the database.
4. Remove all cascade delete from the ejb-jar.xml,the weblogic-cmp-rdbms-jar.xml and from the database.
Neither of the above work.
Kindly help ASAP.
Thanks in advance,
Sachidanand.

Similar Messages

  • Db-cascade-delete for other databases than Oracle?

    I have two entity beans with a one to many relationship. The database designers have implemented a cascading delete between the two tables for the entity beans. How should the deployment descriptors be written for this to work properly? From what I understand I will need to use the <cascade-delete /> tag in ejb-jar.xml and <db-cascade-delete /> in weblogic-cmp-jar.xml. However this document http://e-docs.bea.com/wls/docs81/ejb/entity.html states that <db-cascade-delete /> only works for Oracle, and I'm using DB2. Does this mean that I have to remove the cascading delete in the database and only enable it in ejb-jar.xml, or will <db-cascade-delete /> work for other databases than Oracle?
    /Björn

    To get the certified answer I'd ask a tech support rep. Unofficially, if DB2 supports cascade delete then I would expect that the EJB container will work with that. There are issues surrounding certification of features against specific databases and I'm not up on all of these so I'd check with support.

  • URGENT : ejb client in Oracle 8

    We developed a EJB client. This client should be called from an Oracle Database 8.1 (ejb compliant). But, each time we tried to load weblogic.jar, we have several errors into Oracle (ie : ORA-29534 NamingContext could not be resolved)
    Do you have an idea why ? Someone already developed an ejb client into Oracle 8.1 ?

    They are reccomended because the next step going from your simple single EJB
    to anything interesting, like adding more EJB's adding web-apps, adding
    web-services etc etc involves ears. If the setup and overhead for an EAR is
    easy, then just start there.
    But no if you just doing helloworld you of course dont have to ears.
    cheers
    mbg
    "Christopher R. Gardner" <[email protected]> wrote in message
    news:3fc0560e$[email protected]..
    >
    "Mark Griffith" <[email protected]> wrote:
    You can still run ejbc from the command line its still there. And you
    can
    still run weblogic.Deployer. (I dont ever reccomend jaring up in dev,
    it
    just takes longer, do exploded its easier and faster).
    But ear's are easy, see:So ears are recommended even if you're just doing EJBs (e.g., a simpleHello World)
    and no web apps (none needed for the Hello World or a PC client)?
    http://www.niffgurd.com/mark/work/blog/
    Cheers
    mbg
    "Christopher R. Gardner" <[email protected]> wrote in message
    news:3fbfd6c6$[email protected]..
    My understanding is ejbc has been deprecated and replaced with appc.Moreover,
    BEA is encourgaging developers to deploy ear files. All I want todo is
    to use
    ant to deploy a jar file with a single EJB in it. I'm not findingthe WL
    documentation
    very helpful. Hopefully, you'll have better luck than I.
    "skmurali" <[email protected]> wrote:
    Hi
    In order deploy EJB application in Weblogic 8.1, is it necessary
    to compile
    the application in WebLogic.ejbc. I did not find such files in
    WebLogic
    8.1
    In weblogic 7.0 versiion has such files.
    The present procedure is as follows.
    1. Create a jar file contains all class files.
    2. Create a jar file contains class jar files, plus .xml files
    3. Deploy into weblogic 8.1 server EJB Deployment utility.
    ==================
    Please help me.
    Murali

  • WebLogic 11g EAR EJB Classpath and class loaders

    All,
    I have been having issues migrating Spring based EJB applications from OC4J to WebLogic 11g (10.3.1). I have been in communication with Oracle who has suggested a work around however I am keen to see if anyone else can suggest a solution.
    The application is dependant on stateless session EJB beans that communicate with a Spring managed service tier to perform the business logic and database access. PitchFork is used to inject the Spring managers into the EJB’s using the spring-ejb-jar.xml configuration file. Note originally I was using the SpringBeanAutowiringInterceptor however I could not get this to work. See WebLogic 11g and Spring beens injected into EJB for details.
    When the application is deployed packaging all the dependant jars within the APP-INF\lib folder I get a verity of errors from the following InvalidClassException, NoSuchMethodError, AbstractMethodError and IllegalArgumentException. I am using Spring 2.5.3 to match the supported WebLogic version. Note within the EAR application.xml the library-directory is set to APP-INF/lib. The issue appears to be Spring, PitchFork, commons-logging and aspectj libraries are being loaded form WebLogic and do not have visibility on jars within the application or have been modified when bundled for WebLogic. An example of this is the PitchFork jar within WebLogic has been changed excluding the spi package resulting in java.lang.ClassNotFoundException: org.springframework.jee.spi.PitchforkUtilsImpl errors.
    Moving the jars to the domain library path does not resolve any of the issues. I have been unable to successfully deploy the application picking up the application jars using the prefer-application-packages configuration.
    Oracle has advised me to deploy the libraries into the WebLogic system classpath by modifying the startWebLogic command to load the libraries into the classpath. I am concerned that modifying the system classpath will result in an unstable WebLogic server as I will be replacing modified jar files packages with WebLogic (such as PitchFork). This will also limit the applications that can be deployed within the server as each application must use the same libraries and versions (as the application ibraries are leing ignored).
    Has anyone else hit this issue and corrected it? Can anyone think of an alternative solution?
    Regards
    Neil

    Hi,
    I am in the process of updating the tracking bug# 331569 with copies of the eclipse EAR/WAR projects and the EAR for these scenarios. Here are some details on how I got past the 2nd CCE on the org.eclipse.persistence.jpa.PersistenceProvider class (not the javax one)
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=331569
    Essentially an SE persistence unit running both JPA 2.0 api and the 2.0 XSD schema work fine. I will next retest the EE case with variations of the 3 types of injection on the SSB or Servlet.
    Update: There are 3 (possibly 4) issues here (all of these may become obsolete when the next WLS version ships)Initially I got the same 2.0 schema error and the ClassCastException on org.eclipse.persistence.jpa.PersistenceProvider
    It turns out that my import of the 2 eclipse projects from my bug # 296271 for WebLogic 10.3.2.0 lost their facets(specifically the dynamic web facet) because I associated them with a different WebLogic 10.3.3.0. - this caused the CCE I was experiencing like Sri.
    Anyways, after creating an EAR/Web project combination from scratch in eclipse associated with the 10.3.3.0 instance - I predeployed/deployed/ran fine - even with the 2.0 schema - in SE bootstrap mode (no EE yet).
    Reproduction Procedure:
    redoing project from scratch as I noticed that the war was not at the root of the ear - it was a jar in the app-inf/lib dir - my imported eclipse project was not referenced correctly as a web module facet- create empty EAR and WAR project with references
    - download and open my EAR and WAR project code from bug # 296271
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=296271
    - do essentially all the steps in the page below (I paraphrase for re-verification)
    http://wiki.eclipse.org/EclipseLink/Development/JPA_2.0/weblogic#DI_1.1:_Alternative_3:_Application_Level_Shared_Library_-InUse
    - copy applicationService, entity and FrontController servlet code into new projects
    - create persistence.xml and MANIFEST.MF manifest in src\META-INF
    - update manifest
    Class-Path: APP-INF/lib/eclipselink.jar
    APP-INF/lib/javax.persistence_2.0.0.v200911041116.jar
    - copy both javax.persistence 2.0 and eclipselink 2.x jars to APP-INF/lib
    - change ordering of WebLogic library modules classpath reference (javax.persistence 1.0) to ear reference (2.0 version)
    - update web.xml with servlet tags
    - update weblogic.xml with new context root
    - make the persistence unit name the same in persistence.xml and ApplicationManagedService
    - update weblogic-application.xml with prefer-application-packages overrides
    <wls:prefer-application-packages>
    <wls:package-name>javax.persistence.*</wls:package-name>
    <wls:package-name>org.eclipse.persistence.*</wls:package-name>
    </wls:prefer-application-packages>
    - enable server redirect logging
    <!-- new for 10.3.3.0 http://wiki.eclipse.org/EclipseLink/Examples/JPA/Logging#Server_Logging -->
    <property name="eclipselink.logging.logger" value="DefaultLogger"/>
    - start WebLogic 10.3.3.0
    - deploy (run on) server from eclipse or export ear to auto deploy directory
    1) JPA 2.0 XSD usage on 10.3.3.0
    - I reproduced this issue with a bad EAR
    - was able to use the 2.0 schema within the WAR-only application managed EAR
    persistence.xml<persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
    <!-- persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"-->
    <persistence-unit name="example2" transaction-type="JTA">
    <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
    <jta-data-source>localJTA</jta-data-source>
    <class>org.eclipse.persistence.example.business.Cell</class>
    <shared-cache-mode>NONE</shared-cache-mode>
    <properties>
    <property name="eclipselink.target-server" value="WebLogic_10"/>
    <property name="eclipselink.logging.level" value="FINEST"/>
    <property name="eclipselink.target-database" value="Derby"/>
    <!-- new for 10.3.3.0 http://wiki.eclipse.org/EclipseLink/Examples/JPA/Logging#Server_Logging -->
    <property name="eclipselink.logging.logger" value="DefaultLogger"/>
    <!-- property name="javax.persistence.jdbc.driver" value="org.apache.derby.jdbc.ClientDriver"/>
    <property name="javax.persistence.jdbc.url" value="jdbc:derby://127.0.0.1:1527/dataparallel;create=true"/>
    <property name="javax.persistence.jdbc.user" value="APP"/>
    <property name="javax.persistence.jdbc.password" value="APP"/-->
    <!-- turn off DDL generation after the model is stable -->
    <!-- property name="eclipselink.ddl-generation" value="drop-and-create-tables"/>
    <property name="eclipselink.ddl-generation.output-mode" value="both"/-->
    </properties>
    </persistence-unit>
    </persistence>
    2) CCE on JPA provider implementation class
    Error instantiating the Persistence Provider class org.eclipse.persistence.jpa.PersistenceProvider of the PersistenceUnit example2: java.lang.ClassCastException: org.eclipse.persistence.jpa.PersistenceProvider
    - I reproduced and fixed this one (was Eclipse project facet issue) - EAR was wrong
    - was able to run JPA 2.0 code fine on an SE PU (predeploy/deploy together)
    - EE injection should not work but I will post an example EAR anyway
    log[EL Example]: enterprise: JPA 2.0 Metamodel: MetamodelImpl@56287508 [ 3 Types: , 1 ManagedTypes: , 1 EntityTypes: , 0 MappedSuperclassTypes: , 0 EmbeddableTypes: ]
    3) CCE on JPA spec interface class
    - I could not reproduce this one
    Re: WebLogic 11g EAR EJB Classpath and class loaders
    Error processing persistence unit PT of module pt: Error instantiating the Persistence Provider class org.eclipse.persistence.jpa.PersistenceProvider of the PersistenceUnit PT: java.lang.ClassCastException: org.eclipse.persistence.jpa.PersistenceProvider cannot be cast to javax.persistence.spi.PersistenceProvider
    4) CCE on fallback Kodo JPA provider (if an invalid say 2.1 JPA XSD schema is referenced)
    java.lang.ClassCastException: kodo.persistence.PersistenceProviderImpl
    at javax.persistence.Persistence.findAllProviders(Persistence.java:186)
    java.lang.NoSuchMethodError: javax/persistence/EntityManager.getMetamodel()Ljavax/persistence/metamodel/Metamodel;
    - reproduced by using the 1.0 javax.persistence jar (but named as the 2.0 one in APP-INF/lib)
    - fixed by using either the 1.0 or 2.0 JPA XSD schema and using the correct 2.0 spec jar
    thank you
    /michael

  • Problems deploying EJB on a oracle 8i server

    We are trying to deploy a EJB on a oracle 8i server. We crossposted this question in BI Beans forum also.
    For doing so we are using the following command:
    "deployejb -republish -temp temp -u sys -p sys -s sess_iiop://NLWS122:2481:
    LOKAAL -descriptor AQServerReceive.ejb AQServerReceive.jar"
    It seems that everything goes allright (we can trace the classes in the database) but we get this message:
    Reading Deployment Descriptor...done
    Verifying Deployment Descriptor...done
    Gathering users...done
    Generating Comm Stubs.............................................done
    Compiling Stubs...done
    Generating Jar File...done
    Loading EJB Jar file and Comm Stubs Jar file...Exception in thread "main" org.om
    g.CORBA.COMM_FAILURE: java.io.IOException: Peer disconnected socket minor code:
    0 completed: No
    at com.visigenic.vbroker.orb.TcpConnection.read(TcpConnection.java, Compiled Code)
    at com.visigenic.vbroker.orb.GiopConnectionImpl.receive_message(GiopConnectionImpl.java:436)
    at com.visigenic.vbroker.orb.GiopConnectionImpl.receive_reply(GiopConnectionImpl.java, Compiled Code)
    at com.visigenic.vbroker.orb.GiopStubDelegate.invoke(GiopStubDelegate.java:562)
    at com.visigenic.vbroker.orb.GiopStubDelegate.invoke(GiopStubDelegate.java:503)
    at com.inprise.vbroker.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:60)
    at oracle.aurora.AuroraServices._st_JISLoadJava.add(_st_JISLoadJava.java, Compiled Code)
    at oracle.aurora.server.tools.sess_iiop.Loadjava.add(Loadjava.java:137)
    at oracle.aurora.server.tools.sess_iiop.Loadjar.loadAndCreate(Loadjar.java, Compiled Code)
    at oracle.aurora.server.tools.sess_iiop.Loadjar.invoke(Loadjar.java, Compiled Code)
    at oracle.aurora.server.tools.sess_iiop.Loadjava.<init>(Loadjava.java, Compiled Code)
    at oracle.aurora.server.tools.sess_iiop.Loadjar.<init>(Loadjar.java:52)
    at oracle.aurora.ejb.deployment.GenerateEjb.invoke(GenerateEjb.java:560)
    at oracle.aurora.server.tools.sess_iiop.ToolImpl.invoke(ToolImpl.java:143)
    at oracle.aurora.ejb.deployment.GenerateEjb.main(GenerateEjb.java:575)
    What could be the problem?
    More info:
    We are trying to get the example in the white paper 275199.pdf (Building Internet Applications with Oracle Forms 6i and Oracle8i) working.
    Thx for helping.

    Hi Ralph,
    I don't know if you are aware of this, but Oracle has replaced
    the database embedded EJB container (a.k.a. "aurora") with an
    external EJB container named OC4J (Oracle Containers for J2EE).
    OC4J is available in both stand-alone version and as part of Oracle's
    application server product: 9iAS. Although the database embedded
    EJB container still exists in the latest database versions (as
    far as I know), Oracle has -- for a long time, now -- been discouraging
    its use in favour of OC4J.
    More information on OC4J is available from:
    http://technet.oracle.com/tech/java/oc4j/content.html
    Good Luck,
    Avi.

  • Oracle WebLogic Portal 10.3.6 Vs. Oracle Portal 11g

    I have a basic question on the latest release. We have BEA (now Oracle) WebLogic Portal 9.2 and need to upgrade. Should we upgrade to Oracle WebLogic Portal 10.3.6 OR  Oracle Portal 11g? Am I comparing the two correctly?
    Thanks,
    Channu

    WebLogic Portal 10.3.6 is the last version of WLP, you can upgrade your application from 9.2 to 10.3.6 with tools provided by Oracle.
    Oracle Portal 11g is a complete different product.

  • Weblogic vendor specific EJB deployment descriptor

    Hi All,
    I have been trying to get weblogic-ejb.xml working to provide the names where I want my EJB3 beans accessable in JNDI, but this has not been working for me.
    I have been looking through the web - there are not too many mentions of the deployment descriptor. If there any tutorials or official documents from BEA on this, links would be highliy appreciated.
    I am using WL10_01 if it helps.
    Thanks,
    Kirill.

    Did you try <business-interface-jndi-name-map> tag in weblogic-ejb-jar.xml?
    With the following example setup, you should be able to look up the Session bean that implements service.JPAService interface in JNDI tree with "JPAService".
    <weblogic-enterprise-bean>
        <ejb-name>JPAServiceBean</ejb-name>
         <stateless-session-descriptor>
          <business-interface-jndi-name-map>
               <business-remote>service.JPAService</business-remote>
            <jndi-name>JPAService</jndi-name>
          </business-interface-jndi-name-map>
        </stateless-session-descriptor>     
        <enable-call-by-reference>true</enable-call-by-reference>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>

  • Weblogic 5.1 jsp vs. weblogic 6.1 ejb

    Hello,
    Can weblogic 5.1 jsp talk to weblogic 6.1 ejb? And can weblogic 5.1 jsp talk to
    a web service published on weblogic 6.1 via GLUE 2.3?
    Thanks.

    Hello Shane,
              See http://e-docs.bea.com/wls/docs61///////interop/interop.html
              Regards
              Stephane
              Shane Yan wrote:
              > Hello,
              >
              > Can weblogic 5.1 jsp talk to weblogic 6.1 ejb? And can weblogic 5.1 jsp talk to
              > a web service published on weblogic 6.1 via GLUE 2.3?
              >
              > Thanks.
              

  • Caching on ejb container using Oracle 9i Application server

    Hi,
    can we cache on the ejb container in Oracle application server ?
    if so, whats the methodology ?
    Regards,
    Murali

    Can you explain exactly what you want to cache? The complete container: no makes no sences. Objects in the container, makes sences but in case of CMP the entites are already cached.
    Can you provide more information what you want to achieve?

  • C++ Client using Visibroker to talk to Weblogic 7.0 EJB

    Error when trying to have a C++ Client use the Visibroker ORB talk to a Weblogic
    7.0 EJB. This happens even after I add: DefaultMinorVersion="1" to the config.xml's
    IIOP element.
    The error produced is:
    Exception: Exception: CORBA::CODESET_INCOMPATIBLE
    Minor: 1330446336
    Completion Status: NO
    and happens when the client uses the home interface to create an instance.
    Thanks in advance for any advise.
    Alex

    "Alex" <[email protected]> writes:
    Although Visibroker 5.02 does support codeset negotiation and proper
    encoding under GIOP 1.2 (previous versions did not), it still has a
    bug wrt negotiation of standard string codesets. If you read the
    example notes
    (samples/examples/iiop/ejb/stateless/cppclient/package-summary.html)
    you will see this:
    Visibroker 5.0
    You may now also build this example with visibroker 5.0. to do so, you must make the following changes from the instructions below:
    1.You need to specify utf-16/iso-8859-1 as the default native codesets. Change your config.xml within the Server mbean to include the
    following:
    <Server> <IIOP DefaultCharCodeset="iso-8859-1" DefaultWideCharCodeset="utf-16" Name="myserver"/>
    </Server>
    2.Do not use GIOP 1.1, and do not use the DefaultMinorVersion entry in your config.xml, this gets specified in the step below.
    3.When running the client you need to use a full corbaloc url (Note the '1.2', which specifies GIOP version. Change:
    Client -ORBInitRef NameService=iioploc://localhost:7001/NameService
    to:
    Client -ORBInitRef NameService=corbaloc:iiop:1.2@localhost:7001/NameService
    andy
    Forgot to mention, I am using Visibroker 5.02.
    "Alex" <[email protected]> wrote:
    Error when trying to have a C++ Client use the Visibroker ORB talk to
    a Weblogic
    7.0 EJB. This happens even after I add: DefaultMinorVersion="1" to the
    config.xml's
    IIOP element.
    The error produced is:
    Exception: Exception: CORBA::CODESET_INCOMPATIBLE
    Minor: 1330446336
    Completion Status: NO
    and happens when the client uses the home interface to create an instance.
    Thanks in advance for any advise.
    Alex

  • IPlanet 6.0 Servlet Engine with Weblogic 6.1 EJB engine

    Does anyone have experience using iPlanet 6.0 Servlet engine with
    WebLogic 6.1 EJB engine? The two engines will be located on separate
    physical servers. If so, any information on the implementation would
    be greatly appreciated (lessons learned especially). Would the cost
    difference between using WebLogic's Servlet engine vs. iPlanet's
    Servlet Engine be worth the attempt? I saw in some previous posts
    that there were issues with how older versions of Weblogic RMI (T3)
    Protocol worked and that Weblogic would only have one socket
    connection for the iPlanet Servlet Engine through which all requests
    will be multiplexed. This would be a bottleneck for any application.
    Is this still true with the latest versions of these products?
    Thanks,
    Jon

    WebLogic's Servlet engine is less than $1K / CPU I believe.
    Peace,
    Cameron Purdy
    Tangosol Inc.
    Tangosol Coherence: Clustered Coherent Cache for J2EE
    Information at http://www.tangosol.com/
    "Jon" <[email protected]> wrote in message
    news:[email protected]..
    Does anyone have experience using iPlanet 6.0 Servlet engine with
    WebLogic 6.1 EJB engine? The two engines will be located on separate
    physical servers. If so, any information on the implementation would
    be greatly appreciated (lessons learned especially). Would the cost
    difference between using WebLogic's Servlet engine vs. iPlanet's
    Servlet Engine be worth the attempt? I saw in some previous posts
    that there were issues with how older versions of Weblogic RMI (T3)
    Protocol worked and that Weblogic would only have one socket
    connection for the iPlanet Servlet Engine through which all requests
    will be multiplexed. This would be a bottleneck for any application.
    Is this still true with the latest versions of these products?
    Thanks,
    Jon

  • [EJB:010142] error for cascade-delete

    Hi,
    I'm getting [EJB:010142] error (Instance of EJB <relatedEJB> with primary key <pk> does not exist) while trying to implement a straight-forward cascade-delete option in ejb-jar.xml for a one-to-many relationship using EJB 2.1.
    While the cascade-delete works well for a one-to-one relationship, it is throwing this error for one-to-many relationship.
    DB used is Oracle 10g XE. Server is Weblogic 9.2 MP4.
    Given below the exact error:
    javax.ejb.EJBException: EJB Exception:: java.lang.IllegalArgumentException: [EJB:010142]Instance of EJB 'LineItem' with primary key 'li8' does not exist.
         at Test1.Order_cpl9bk__WebLogic_CMP_RDBMS_lineItems_Set.remove(Order_cpl9bk__WebLogic_CMP_RDBMS_lineItems_Set.java:531)
         at Test1.Order_cpl9bk__WebLogic_CMP_RDBMS_lineItems_Set.remove(Order_cpl9bk__WebLogic_CMP_RDBMS_lineItems_Set.java:496)
         at Test1.Order_cpl9bk__WebLogic_CMP_RDBMS_lineItems_Set.clear(Order_cpl9bk__WebLogic_CMP_RDBMS_lineItems_Set.java:369)
         at Test1.Order_cpl9bk__WebLogic_CMP_RDBMS.__WL_superEjbRemove(Order_cpl9bk__WebLogic_CMP_RDBMS.java:1667)
         at weblogic.ejb.container.manager.DBManager.remove(DBManager.java:1664)
         at weblogic.ejb.container.internal.EntityEJBLocalObject.remove(EntityEJBLocalObject.java:125)
         at Test1.Order_cpl9bk_ELOImpl.remove(Order_cpl9bk_ELOImpl.java:577)
         at jsp_servlet.__cascadedeletetest._jspService(__cascadedeletetest.java:198)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3272)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2019)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1925)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1394)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    ; nested exception is: java.lang.IllegalArgumentException: [EJB:010142]Instance of EJB 'LineItem' with primary key 'li8' does not exist.
         at weblogic.ejb.container.internal.EJBRuntimeUtils.throwEJBException(EJBRuntimeUtils.java:141)
         at weblogic.ejb.container.internal.BaseLocalObject.handleSystemException(BaseLocalObject.java:657)
         at weblogic.ejb.container.internal.BaseEJBLocalHome.handleSystemException(BaseEJBLocalHome.java:150)
         at weblogic.ejb.container.internal.EntityEJBLocalObject.remove(EntityEJBLocalObject.java:132)
         at Test1.Order_cpl9bk_ELOImpl.remove(Order_cpl9bk_ELOImpl.java:577)
         at jsp_servlet.__cascadedeletetest._jspService(__cascadedeletetest.java:198)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3272)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2019)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1925)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1394)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    I have verified that the lineitem record that it is trying to delete is existing in the db table.
    Please let me know what could be the possible issue.
    Thanks,
    Vinod

    Any ideas yet???
    Is there any knowledgebase (KB) article to read about this???

  • File read or delete error in oracle jca adapter is not being caught in java

    Hi,
    I am using oracle JCA file adapter to read and process file and that jca is being used in OSB. This is working fine. But if the file is not in proper format or file is alredy opened,jca is throwing error on console and control is not going to OSB. I have to log this error in database either by OSB or before OSB using EJB. I have inserted valve in jca for preprocessing. But in the any method of abstract valve , i am not getting able to access the error thrown by jca in case of invalid xml file. If i am able to fetch error message in execute method or any other message of AbstractValve, that error may be sent to database using EJB that not able to get the error message. Please let me know if there is any way to get the errors by jca in java code.

    In the case of error while reading or deleting file(if file is not in write format or opened or not accessible), control is not going to OSB. from JCA default error handling mechanism is throwing error to console. That's why i tried with inserting valve in jca adapter.

  • Error installing OEM 12 in Oracle Linux x86 32bit-Error Starting EMGC_OMS1

    Dear all.
    I've got a issue that I'm not able to figure out what's going on anymore. I'm preparing a new server to be the Oracle Enterprise Manager 12c Server. I've installed Oracle Database 11g Enterprise, 11g Grid Infrastructure, create a database (SID=oem12rep) using +ASM instance to the disks. Now I'm trying to install OEM 12c and when the installer gets 89% done, I'm stuck in Start OMS process. I don't undestand much about Weblogic but when I have a look to the logs I can see the message "Error Starting server EMGC_OMS1: weblogic.nodemanager.NMException: Exception while starting server 'EMGC_OMS1'" and then the process fails with the message "timed out waiting for EMGC_OMS1 to be RUNNING".
    My server:
    Oracle Enterprise Linux 5 Update 7
    Database: Oracle Enterprise Edition 11g
    Grid Infrastructure: 11g
    Could anyone please help me with this issue? The logs I have are:
    OEM Installer log:
    INFO: oracle.sysman.top.oms:Starting OMS ...
    INFO: oracle.sysman.top.oms:Executing command: /u01/app/middleware/oms/bin/emctl start oms
    INFO: oracle.sysman.top.oms:Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
    INFO: oracle.sysman.top.oms:Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
    INFO: oracle.sysman.top.oms:Starting WebTier...
    INFO: oracle.sysman.top.oms:WebTier Successfully Started
    INFO: oracle.sysman.top.oms:Starting Oracle Management Server...
    INFO: oracle.sysman.top.oms:Oracle Management Server Could Not Be Started
    INFO: oracle.sysman.top.oms:Oracle Management Server is Down
    INFO: oracle.sysman.top.oms:Please check /u01/app/middleware/gc_inst/em/EMGC_OMS1/sysman/log/emctl.log for error details
    SEVERE: oracle.sysman.top.oms:Starting of OMS failed.
    INFO: oracle.sysman.top.oms:The plug-in Start Oracle Management Service has failed its optional perform method
    INFO: oracle.sysman.top.oms:About to execute plug-in Start Oracle Management Service
    INFO: oracle.sysman.top.oms:The plug-in Start Oracle Management Service is running
    INFO: oracle.sysman.top.oms:Internal PlugIn Class: oracle.sysman.oms.StartOMS
    INFO: oracle.sysman.top.oms:Classpath = /u01/app/middleware/oms/sysman/jlib/omsConfig.jar:/u01/app/middleware/oms/jdbc/lib/ojdbc6.jar:/u01/app/middleware/oms/sysman/jlib/emcore_client.jar:/u01/app/middleware/oms/../modules/com.bea.core.apache.log4j_1.2.13.jar:/u01/app/middleware/oms/jlib/rcucommon.jar:/u01/app/middleware/oms/jdbc/lib/ojdbc6.jar:/u01/app/middleware/oms/sysman/jlib/emagentSDK.jar:/u01/app/middleware/oms/../oracle_common/modules/oracle.xdk_11.1.0/xmlparserv2.jar:/u01/app/middleware/oms/../oracle_common/modules/oracle.odl_11.1.1/ojdl.jar:/u01/app/middleware/oms/../oracle_common/modules/oracle.xdk_11.1.0/xml.jar:/u01/app/middleware/oms/../oracle_common/modules/oracle.jdbc_11.1.1/ojdbc6dms.jar:/u01/app/middleware/oms/../oracle_common/modules/oracle.dms_11.1.1/dms.jar:/u01/app/middleware/oms/../oracle_common/modules/oracle.odl_11.1.1/ojdl.jar:/u01/app/middleware/oms/jlib/rcu.jar
    INFO: oracle.sysman.top.oms:BaseConfiguration:invoke:Starting BaseConfiguration invoke method on an aggregate=oracle.sysman.top.oms for Action=configuration in step=9:microstep=0
    INFO: oracle.sysman.top.oms:Fetcing ports from teh static ports file: /u01/app/middleware/.gcinstall_temp/staticports.ini
    INFO: oracle.sysman.top.oms:Starting OMS ...
    INFO: oracle.sysman.top.oms:Executing command: /u01/app/middleware/oms/bin/emctl start oms
    INFO: oracle.sysman.top.oms:Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
    INFO: oracle.sysman.top.oms:Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
    INFO: oracle.sysman.top.oms:Starting WebTier...
    INFO: oracle.sysman.top.oms:WebTier Successfully Started
    INFO: oracle.sysman.top.oms:Starting Oracle Management Server...
    INFO: oracle.sysman.top.oms:Oracle Management Server Could Not Be Started
    INFO: oracle.sysman.top.oms:Oracle Management Server is Down
    INFO: oracle.sysman.top.oms:Please check /u01/app/middleware/gc_inst/em/EMGC_OMS1/sysman/log/emctl.log for error details
    SEVERE: oracle.sysman.top.oms:Starting of OMS failed.
    INFO: oracle.sysman.top.oms:The plug-in Start Oracle Management Service has failed its optional perform method
    INFO: oracle.sysman.top.oms:About to execute plug-in Start Oracle Management Service
    INFO: oracle.sysman.top.oms:The plug-in Start Oracle Management Service is running
    INFO: oracle.sysman.top.oms:Internal PlugIn Class: oracle.sysman.oms.StartOMS
    INFO: oracle.sysman.top.oms:Classpath = /u01/app/middleware/oms/sysman/jlib/omsConfig.jar:/u01/app/middleware/oms/jdbc/lib/ojdbc6.jar:/u01/app/middleware/oms/sysman/jlib/emcore_client.jar:/u01/app/middleware/oms/../modules/com.bea.core.apache.log4j_1.2.13.jar:/u01/app/middleware/oms/jlib/rcucommon.jar:/u01/app/middleware/oms/jdbc/lib/ojdbc6.jar:/u01/app/middleware/oms/sysman/jlib/emagentSDK.jar:/u01/app/middleware/oms/../oracle_common/modules/oracle.xdk_11.1.0/xmlparserv2.jar:/u01/app/middleware/oms/../oracle_common/modules/oracle.odl_11.1.1/ojdl.jar:/u01/app/middleware/oms/../oracle_common/modules/oracle.xdk_11.1.0/xml.jar:/u01/app/middleware/oms/../oracle_common/modules/oracle.jdbc_11.1.1/ojdbc6dms.jar:/u01/app/middleware/oms/../oracle_common/modules/oracle.dms_11.1.1/dms.jar:/u01/app/middleware/oms/../oracle_common/modules/oracle.odl_11.1.1/ojdl.jar:/u01/app/middleware/oms/jlib/rcu.jar
    INFO: oracle.sysman.top.oms:BaseConfiguration:invoke:Starting BaseConfiguration invoke method on an aggregate=oracle.sysman.top.oms for Action=configuration in step=9:microstep=0
    INFO: oracle.sysman.top.oms:Fetcing ports from teh static ports file: /u01/app/middleware/.gcinstall_temp/staticports.ini
    INFO: oracle.sysman.top.oms:Starting OMS ...
    INFO: oracle.sysman.top.oms:Executing command: /u01/app/middleware/oms/bin/emctl start oms
    INFO: oracle.sysman.top.oms:Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
    INFO: oracle.sysman.top.oms:Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
    INFO: oracle.sysman.top.oms:Starting WebTier...
    INFO: oracle.sysman.top.oms:WebTier Successfully Started
    INFO: oracle.sysman.top.oms:Starting Oracle Management Server...
    INFO: oracle.sysman.top.oms:Oracle Management Server Could Not Be Started
    INFO: oracle.sysman.top.oms:Oracle Management Server is Down
    INFO: oracle.sysman.top.oms:Please check /u01/app/middleware/gc_inst/em/EMGC_OMS1/sysman/log/emctl.log for error details
    SEVERE: oracle.sysman.top.oms:Starting of OMS failed.
    INFO: oracle.sysman.top.oms:The plug-in Start Oracle Management Service has failed its optional perform method
    /u01/app/middleware/gc_inst/em/EMGC_OMS1/sysman/log/
    emctl.log
    2012-03-14 08:38:58,970 [Thread-1] INFO wls.OMSController run.1744 - <OUT>Successfully Connected to Node Manager.
    2012-03-14 08:38:58,971 [Thread-1] INFO wls.OMSController run.1744 - <OUT>status of node manager:
    2012-03-14 08:38:58,972 [Thread-1] INFO wls.OMSController run.1744 - <OUT>Currently connected to Node Manager to monitor the domain GCDomain.
    2012-03-14 08:38:58,973 [Thread-1] INFO wls.OMSController run.1744 - <OUT>current status of EMGC_ADMINSERVER:
    2012-03-14 08:38:58,974 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:38:58,974 [Thread-1] INFO wls.OMSController run.1744 - <OUT>RUNNING
    2012-03-14 08:38:58,975 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:38:58,975 [Thread-1] INFO wls.OMSController run.1744 - <OUT>current status of EMGC_OMS1:
    2012-03-14 08:38:58,976 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:38:58,976 [Thread-1] INFO wls.OMSController run.1744 - <OUT>FAILED_NOT_RESTARTABLE
    2012-03-14 08:38:58,977 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:38:58,977 [Thread-1] INFO wls.OMSController run.1744 - <OUT>Starting server EMGC_OMS1
    2012-03-14 08:38:58,977 [Thread-1] INFO wls.OMSController run.1744 - <OUT>Starting server EMGC_OMS1 ...
    2012-03-14 08:38:59,559 [Thread-1] INFO wls.OMSController run.1744 - <OUT>Error Starting server EMGC_OMS1: weblogic.nodemanager.NMException: Exception while starting server 'EMGC_OMS1'
    2012-03-14 08:38:59,560 [Thread-1] INFO wls.OMSController run.1744 - <OUT>new status of EMGC_OMS1:
    2012-03-14 08:38:59,562 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:38:59,563 [Thread-1] INFO wls.OMSController run.1744 - <OUT>FAILED_NOT_RESTARTABLE
    2012-03-14 08:38:59,563 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:38:59,563 [Thread-1] INFO wls.OMSController run.1744 - <OUT>wait until EMGC_OMS1 becomes RUNNING
    2012-03-14 08:38:59,564 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:38:59,564 [Thread-1] INFO wls.OMSController run.1744 - <OUT>FAILED_NOT_RESTARTABLE
    2012-03-14 08:38:59,565 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:38:59,565 [Thread-1] INFO wls.OMSController run.1744 - <OUT>sleep for 10 seconds...
    2012-03-14 08:39:09,569 [Thread-1] INFO wls.OMSController run.1744 - <OUT>status of EMGC_OMS1:
    2012-03-14 08:39:09,571 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:39:09,571 [Thread-1] INFO wls.OMSController run.1744 - <OUT>FAILED_NOT_RESTARTABLE
    2012-03-14 08:39:09,571 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:39:09,572 [Thread-1] INFO wls.OMSController run.1744 - <OUT>sleep for 10 seconds...
    2012-03-14 08:39:19,571 [Thread-1] INFO wls.OMSController run.1744 - <OUT>status of EMGC_OMS1:
    2012-03-14 08:39:19,573 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:39:19,573 [Thread-1] INFO wls.OMSController run.1744 - <OUT>FAILED_NOT_RESTARTABLE
    2012-03-14 08:39:19,574 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:39:19,574 [Thread-1] INFO wls.OMSController run.1744 - <OUT>sleep for 10 seconds...
    2012-03-14 08:39:29,574 [Thread-1] INFO wls.OMSController run.1744 - <OUT>status of EMGC_OMS1:
    2012-03-14 08:39:29,575 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:39:29,576 [Thread-1] INFO wls.OMSController run.1744 - <OUT>FAILED_NOT_RESTARTABLE
    2012-03-14 08:39:29,576 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:39:29,576 [Thread-1] INFO wls.OMSController run.1744 - <OUT>sleep for 10 seconds...
    2012-03-14 08:39:39,576 [Thread-1] INFO wls.OMSController run.1744 - <OUT>status of EMGC_OMS1:
    2012-03-14 08:39:39,577 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:39:39,583 [Thread-1] INFO wls.OMSController run.1744 - <OUT>FAILED_NOT_RESTARTABLE
    2012-03-14 08:39:39,583 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:39:39,584 [Thread-1] INFO wls.OMSController run.1744 - <OUT>sleep for 10 seconds...
    2012-03-14 08:39:49,578 [Thread-1] INFO wls.OMSController run.1744 - <OUT>status of EMGC_OMS1:
    2012-03-14 08:39:49,580 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:39:49,580 [Thread-1] INFO wls.OMSController run.1744 - <OUT>FAILED_NOT_RESTARTABLE
    2012-03-14 08:39:49,581 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:39:49,581 [Thread-1] INFO wls.OMSController run.1744 - <OUT>sleep for 10 seconds...
    2012-03-14 08:39:59,580 [Thread-1] INFO wls.OMSController run.1744 - <OUT>status of EMGC_OMS1:
    2012-03-14 08:39:59,582 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:39:59,583 [Thread-1] INFO wls.OMSController run.1744 - <OUT>FAILED_NOT_RESTARTABLE
    2012-03-14 08:39:59,583 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:39:59,583 [Thread-1] INFO wls.OMSController run.1744 - <OUT>sleep for 10 seconds...
    2012-03-14 08:40:09,583 [Thread-1] INFO wls.OMSController run.1744 - <OUT>status of EMGC_OMS1:
    2012-03-14 08:40:09,585 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:40:09,585 [Thread-1] INFO wls.OMSController run.1744 - <OUT>FAILED_NOT_RESTARTABLE
    2012-03-14 08:40:09,585 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:40:09,586 [Thread-1] INFO wls.OMSController run.1744 - <OUT>sleep for 10 seconds...
    2012-03-14 08:40:19,585 [Thread-1] INFO wls.OMSController run.1744 - <OUT>status of EMGC_OMS1:
    2012-03-14 08:40:19,587 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:40:19,588 [Thread-1] INFO wls.OMSController run.1744 - <OUT>FAILED_NOT_RESTARTABLE
    2012-03-14 08:40:19,588 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:40:19,588 [Thread-1] INFO wls.OMSController run.1744 - <OUT>sleep for 10 seconds...
    2012-03-14 08:40:29,588 [Thread-1] INFO wls.OMSController run.1744 - <OUT>status of EMGC_OMS1:
    2012-03-14 08:40:29,589 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:40:29,590 [Thread-1] INFO wls.OMSController run.1744 - <OUT>FAILED_NOT_RESTARTABLE
    2012-03-14 08:40:29,590 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:40:29,590 [Thread-1] INFO wls.OMSController run.1744 - <OUT>sleep for 10 seconds...
    2012-03-14 08:40:39,590 [Thread-1] INFO wls.OMSController run.1744 - <OUT>status of EMGC_OMS1:
    2012-03-14 08:40:39,592 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:40:39,592 [Thread-1] INFO wls.OMSController run.1744 - <OUT>FAILED_NOT_RESTARTABLE
    2012-03-14 08:40:39,592 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:40:39,593 [Thread-1] INFO wls.OMSController run.1744 - <OUT>sleep for 10 seconds...
    2012-03-14 08:40:49,592 [Thread-1] INFO wls.OMSController run.1744 - <OUT>status of EMGC_OMS1:
    2012-03-14 08:40:49,594 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:40:49,594 [Thread-1] INFO wls.OMSController run.1744 - <OUT>FAILED_NOT_RESTARTABLE
    2012-03-14 08:40:49,595 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:40:49,595 [Thread-1] INFO wls.OMSController run.1744 - <OUT>sleep for 10 seconds...
    2012-03-14 08:40:59,594 [Thread-1] INFO wls.OMSController run.1744 - <OUT>status of EMGC_OMS1:
    2012-03-14 08:40:59,597 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:40:59,598 [Thread-1] INFO wls.OMSController run.1744 - <OUT>FAILED_NOT_RESTARTABLE
    2012-03-14 08:40:59,598 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:40:59,598 [Thread-1] INFO wls.OMSController run.1744 - <OUT>sleep for 10 seconds...
    2012-03-14 08:41:09,598 [Thread-1] INFO wls.OMSController run.1744 - <OUT>status of EMGC_OMS1:
    2012-03-14 08:41:09,599 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:41:09,600 [Thread-1] INFO wls.OMSController run.1744 - <OUT>FAILED_NOT_RESTARTABLE
    2012-03-14 08:41:09,600 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:41:09,600 [Thread-1] INFO wls.OMSController run.1744 - <OUT>sleep for 10 seconds...
    2012-03-14 08:41:19,600 [Thread-1] INFO wls.OMSController run.1744 - <OUT>status of EMGC_OMS1:
    2012-03-14 08:41:19,602 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:41:19,602 [Thread-1] INFO wls.OMSController run.1744 - <OUT>FAILED_NOT_RESTARTABLE
    2012-03-14 08:41:19,603 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:41:19,603 [Thread-1] INFO wls.OMSController run.1744 - <OUT>sleep for 10 seconds...
    2012-03-14 08:41:29,602 [Thread-1] INFO wls.OMSController run.1744 - <OUT>status of EMGC_OMS1:
    2012-03-14 08:41:29,604 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:41:29,604 [Thread-1] INFO wls.OMSController run.1744 - <OUT>FAILED_NOT_RESTARTABLE
    2012-03-14 08:41:29,605 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:41:29,605 [Thread-1] INFO wls.OMSController run.1744 - <OUT>sleep for 10 seconds...
    2012-03-14 08:41:39,606 [Thread-1] INFO wls.OMSController run.1744 - <OUT>status of EMGC_OMS1:
    2012-03-14 08:41:39,607 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:41:39,608 [Thread-1] INFO wls.OMSController run.1744 - <OUT>FAILED_NOT_RESTARTABLE
    2012-03-14 08:41:39,608 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:41:39,609 [Thread-1] INFO wls.OMSController run.1744 - <OUT>sleep for 10 seconds...
    2012-03-14 08:41:49,608 [Thread-1] INFO wls.OMSController run.1744 - <OUT>status of EMGC_OMS1:
    2012-03-14 08:41:49,610 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:41:49,610 [Thread-1] INFO wls.OMSController run.1744 - <OUT>FAILED_NOT_RESTARTABLE
    2012-03-14 08:41:49,610 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:41:49,611 [Thread-1] INFO wls.OMSController run.1744 - <OUT>sleep for 10 seconds...
    2012-03-14 08:41:59,610 [Thread-1] INFO wls.OMSController run.1744 - <OUT>status of EMGC_OMS1:
    2012-03-14 08:41:59,612 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:41:59,612 [Thread-1] INFO wls.OMSController run.1744 - <OUT>FAILED_NOT_RESTARTABLE
    2012-03-14 08:41:59,613 [Thread-1] INFO wls.OMSController run.1744 - <OUT>
    2012-03-14 08:41:59,613 [Thread-1] INFO wls.OMSController run.1744 - <OUT>timed out waiting for EMGC_OMS1 to be RUNNING
    2012-03-14 08:41:59,613 [Thread-1] INFO wls.OMSController run.1744 - <OUT>status of node manager:
    2012-03-14 08:41:59,614 [Thread-1] INFO wls.OMSController run.1744 - <OUT>Currently connected to Node Manager to monitor the domain GCDomain.
    2012-03-14 08:41:59,614 [Thread-1] INFO wls.OMSController run.1744 - <OUT>1
    2012-03-14 08:41:59,614 [Thread-1] INFO wls.OMSController run.1744 - <OUT>Successfully disconnected from Node Manager.
    2012-03-14 08:41:59,617 [Thread-1] INFO wls.OMSController run.1744 - <OUT>END
    2012-03-14 08:41:59,617 [Thread-2] INFO wls.OMSController run.1744 - <ERR>END
    2012-03-14 08:41:59,713 [main] INFO wls.OMSController processCmd.1392 - wlst process is finished
    2012-03-14 08:41:59,714 [main] INFO wls.OMSController processCmd.1394 - wlst process exited with code 1
    2012-03-14 08:41:59,714 [main] INFO wls.OMSController processCmd.1396 - wlst outstream joined
    2012-03-14 08:41:59,715 [main] INFO wls.OMSController processCmd.1398 - wlst errstream joined
    2012-03-14 08:41:59,715 [main] INFO wls.OMSController processCmd.1406 - process exited with code 1
    2012-03-14 08:41:59,721 [main] DEBUG oms.StatusOMSCmd processStatusOMS.159 - HTTP port in emgc property file: 7203
    2012-03-14 08:41:59,721 [main] DEBUG oms.StatusOMSCmd processStatusOMS.160 - HTTPS port in emgc property file: 7302
    2012-03-14 08:41:59,721 [main] DEBUG oms.StatusOMSCmd processStatusOMS.166 - Webtier HTTP port in emgc property file: 7789
    2012-03-14 08:41:59,722 [main] DEBUG oms.StatusOMSCmd processStatusOMS.167 - Webtier HTTPS port in emgc property file: 7801
    2012-03-14 08:41:59,722 [main] DEBUG oms.StatusOMSCmd processStatusOMS.186 - Using https port.
    2012-03-14 08:41:59,722 [main] DEBUG oms.StatusOMSCmd processStatusOMS.203 - Using webtier https port.
    2012-03-14 08:41:59,972 [main] DEBUG oms.StatusOMSCmd pingOMSCheck.341 - Attempting to connect to https://nsaosv0369:7302/em/faces/logon/core-uifwk-console-login
    2012-03-14 08:42:00,003 [main] INFO oms.StatusOMSCmd processStatusOMS.294 - Failed to connect to em login page
    2012-03-14 08:42:00,004 [main] INFO oms.StatusOMSCmd processStatusOMS.295 - Connection refused
    2012-03-14 08:42:00,004 [main] INFO oms.StatusOMSCmd processStatusOMS.296 - Connection exception when trying to hit OMS page. OMS is down
    2012-03-14 08:42:00,005 [main] INFO wls.OMSController statusOMS.1354 - statusOMS finished with result: 8
    2012-03-14 08:42:00,005 [main] INFO wls.OMSController startOMS.940 - startOMS finished with result: 1
    2012-03-14 08:42:00,007 [main] DEBUG oms.StatusOMSCmd processStatusOMS.159 - HTTP port in emgc property file: 7203
    2012-03-14 08:42:00,007 [main] DEBUG oms.StatusOMSCmd processStatusOMS.160 - HTTPS port in emgc property file: 7302
    2012-03-14 08:42:00,007 [main] DEBUG oms.StatusOMSCmd processStatusOMS.166 - Webtier HTTP port in emgc property file: 7789
    2012-03-14 08:42:00,008 [main] DEBUG oms.StatusOMSCmd processStatusOMS.167 - Webtier HTTPS port in emgc property file: 7801
    2012-03-14 08:42:00,008 [main] DEBUG oms.StatusOMSCmd processStatusOMS.186 - Using https port.
    2012-03-14 08:42:00,009 [main] DEBUG oms.StatusOMSCmd processStatusOMS.203 - Using webtier https port.
    2012-03-14 08:42:00,010 [main] DEBUG oms.StatusOMSCmd pingOMSCheck.341 - Attempting to connect to https://nsaosv0369:7302/em/faces/logon/core-uifwk-console-login
    2012-03-14 08:42:00,011 [main] INFO oms.StatusOMSCmd processStatusOMS.294 - Failed to connect to em login page
    2012-03-14 08:42:00,012 [main] INFO oms.StatusOMSCmd processStatusOMS.295 - Connection refused
    2012-03-14 08:42:00,012 [main] INFO oms.StatusOMSCmd processStatusOMS.296 - Connection exception when trying to hit OMS page. OMS is down
    2012-03-14 08:42:00,044 [main] INFO wls.OMSController statusOMS.1354 - statusOMS finished with result: 8
    Thanks in advance
    Bruno Palma

    So ...
    After a lot of searches, it was necessary a help from a Weblogic Administrator to find out what was going on with the installation process. The problem was with the memory allocation to the Weblogic VM. The process EMGC_OMS1 could not be started cos it was not possible to create a VM into SERVERADMIN.
    With just my DB experience I could not find any logs besides emctl.log and that one that it's shown in OEM Installler interface. The Weblogic Administrator was browsing the HOME where the Weblogic was installed and he found logs that showed the error telling where the problem was. Even downloading the OEM 12c 32bit, it was allocated memory to the java as if it was 64bit. The solution was decreasing the values of memory and clicking in Retry. So, my OEM Cloud Control 12c it's working now.
    Regards
    Bruno Palma

  • Oracle XML SQL utility, error oracle.xml.sql.OracleXMLSQLException:....

    I am using Oracle XML SQL utility to generate some XML using CURSOR
    operator.
    Following is the query -
    SELECT PROJECT.PROJ_CD,
    PROJECT.PROJ_TITLE,
    CURSOR(SELECT ISSUES.ISSUE_ID
    FROM ISSUES
    WHERE PROJECT.PROJ_ID = ISSUES.PROJ_ID )
    as ISSUES_DATA
    FROM PROJECT
    WHERE PROJECT.PROJ_ID = 1
    This query works fine when I create a direct connection using Oracle JDBC
    thin driver. But when I execute same thing using a connection from a
    Weblogic connection pool (which uses exactly the same Oracle JDBC thin
    driver, classes12.zip), I get following error-
    <?xml version = '1.0'?>
    <ERROR>oracle.xml.sql.OracleXMLSQLException: cursorGetMetaData: this method
    is not supported by OracleXMLDataSetGenJdbc' class. Please use
    'OracleXMLDataSetExtJdbc' instead.</ERROR>
    Following are the details about my environment:
    Weblogic5.1 on Windows NT 4.0
    Oracle 8.1.5 on Sun Solaris
    Oracle JDBC thin Classes12.zip (from Oracle 8.1.6)
    Oracle XML SQL utility XSU12_ver1_2_1
    Does anyone have any idea what is going on. Please help.
    Thanks.

    Thanks for your reply.
    Here is what I am doing:
    I have connection pool defined in welogic.properties file
    weblogic.jdbc.connectionPool.oraclePool=\
    url=jdbc:oracle:thin:@192.168.2.251:1521:orcl,\
    driver=oracle.jdbc.driver.OracleDriver,\
    loginDelaySecs=1,\
    initialCapacity=1,\
    maxCapacity=15,\
    capacityIncrement=1,\
    allowShrinking=true,\
    shrinkPeriodMins=5,\
    refreshMinutes=5,\
    testTable=,\
    props=user=someuser;password=somepasswd
    weblogic.allow.reserve.weblogic.jdbc.connectionPool.oraclePool=everyone
    weblogic.jdbc.TXDataSource.orclDataSource=oraclePool
    Then I have a DBConnection class which gets connection from the pool
    following is some code from DBConnection class
    private Connection con = null;
    private DataSource ds = null;
    private String providerURL;
    private String dataSource;
    private String contextFactory;
    private IpmsProps ipmsProp = null;
    public Connection getConnection() {
    if ( con == null ) {
    try {
    ipmsProp = IpmsProps.getInstance();
    providerURL = ipmsProp.getProviderURL();
    dataSource = ipmsProp.getDataSource();
    contextFactory = ipmsProp.getContextFactory();
    Properties p = new Properties();
    p.put(javax.naming.Context.PROVIDER_URL, providerURL);
    p.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,
    contextFactory);
    Context ctx = new InitialContext(p);
    Context ctx = new InitialContext();
    ds = (DataSource) ctx.lookup(dataSource);
    con = ds.getConnection();
    } catch (Exception e) {
    System.out.println("Error While creating connection! " +
    e.toString());
    } // catch
    I Hope you will be able to provide me some work around.
    Thank you very much for the help.
    Rajinder.
    "Joseph Weinstein" <[email protected]> wrote in message
    news:[email protected]...
    Hi. It's probably because you're calling some Oracle-specific method,passing it
    a pool JDBC object, and though the Oracle methos signature says it will
    take a generic java.sql.XXX object, it really is going to assume the thingis
    an Oracle class, and fails when it tries to cast it to such.
    Depending on how you're getting your pool connection, I may have aworkaround.
    Joe
    Rajinder Arora wrote:
    I am using Oracle XML SQL utility to generate some XML using CURSOR
    operator.
    Following is the query -
    SELECT PROJECT.PROJ_CD,
    PROJECT.PROJ_TITLE,
    CURSOR(SELECT ISSUES.ISSUE_ID
    FROM ISSUES
    WHERE PROJECT.PROJ_ID =
    ISSUES.PROJ_ID )
    as ISSUES_DATA
    FROM PROJECT
    WHERE PROJECT.PROJ_ID = 1
    This query works fine when I create a direct connection using OracleJDBC
    thin driver. But when I execute same thing using a connection from a
    Weblogic connection pool (which uses exactly the same Oracle JDBC thin
    driver, classes12.zip), I get following error-
    <?xml version = '1.0'?>
    <ERROR>oracle.xml.sql.OracleXMLSQLException: cursorGetMetaData: thismethod
    is not supported by OracleXMLDataSetGenJdbc' class. Please use
    'OracleXMLDataSetExtJdbc' instead.</ERROR>
    Following are the details about my environment:
    Weblogic5.1 on Windows NT 4.0
    Oracle 8.1.5 on Sun Solaris
    Oracle JDBC thin Classes12.zip (from Oracle 8.1.6)
    Oracle XML SQL utility XSU12_ver1_2_1
    Does anyone have any idea what is going on. Please help.
    Thanks.--
    PS: Folks: BEA WebLogic is expanding rapidly, with both entry and advancedpositions
    for people who want to work with Java, XML, SOAP and E-Commerceinfrastructure products.
    We have jobs at Nashua NH, Liberty Corner NJ, San Francisco and San JoseCA.
    Send resumes to [email protected]

Maybe you are looking for

  • HP OfficeJet 6310 All-In-One printer won't print in color with new cartridge

    HP OfficeJet 6310 All-In-One printer  on a iMAC  OSX version 10.9.5 system Hello, As I don't print in color much but had need to I discovered my printer not printing in color.  I trouble shooted and even replaced with an new HP95 new from Office Depo

  • Not Booting, quick red flashing light PLEASE HELP.

    Okay so today i swapped from a 7130e to a 8330 (verizon) i was able to remove the old security Policy using Jl_Cmder (which worked great) and i got rid of the firewall issue as well. phone was working great until i tried to use the device switch wiza

  • Can't download a purchased album in iTunes (Some Kind of Trouble)

    Hello Community, I'm not able to download a purchased album in the iTunes Store, on the album page there are some titles where it says that I have purchased it before, but i can't download those titles. An then there are some titles on wich only the

  • Is there a way to not have to map all attributes

    Is there a way to have a attribute in a class not have to be mapped to a db column? I have a base class that has a property that is used for convience but doesn't map to any DB column. I am currently getting a No mapping information was found error.

  • Problems in demo maps in Oracle 10g

    Hi everybody, I migrated from oracle 9i to oracle 10g and installed mapviewer using installation kit for 10g. Now I am able to run mapviewer and able to define the data source but when I clicking on any of the demos I get PAGE CANNOT BE DISPLAYED ERR