EJB(Entity -BMP) - casting error, lost for a solution

Evening all. I am currently working with EJB's. I am having difficulty with casting to my entity beans' home interface and can see not reason for the casting exception. I have spent the best part of two days trying to get these dam beans working and it is getting to me now as the solution is no doubt very simple.
So please enlighten me.
I have included a copy of the code below. Your thoughts suggestions would be gratefuly appreciated.
John
Code------------
package BeanTest;
import ServerPackage.impl.*;
import ServerPackage.CustomerHome;
import ServerPackage.Customer;
import javax.naming.Context;
import javax.naming.InitialContext;
import java.util.Properties;
import javax.rmi.*;
import java.util.*;
import javax.naming.*;
import com.sun.jndi.fscontext.*;
public class BeanTest
public static void main(String[] args)
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,
"com.sun.jndi.fscontext.RefFSContextFactory");
env.put(Context.PROVIDER_URL,
"file:F:/software/JDeveloper/jdev/mywork/NetworkSoftware/Server/classes/ServerPackage");
try
Context ctx = new InitialContext(env);
Object obj = ctx.lookup("CustomerHome.class");
CustomerHome home = (CustomerHome)PortableRemoteObject.narrow(obj,CustomerHome.class);
Customer customer = home.create();
catch(Exception e)
System.out.println(e);
public BeanTest()
}

The implementation of the home object is provided by the application server you are using. JNDI is merely a way for you to get that implementation. The application server binds the implementing object to some JNDI name, and you look it up. It's quite simple. What you need to do is find out what JNDI name your application server binds the home object to. Just look through your application server's documentation and examples and find out how the name is constructed.
Good luck.
Gal

Similar Messages

  • EJB Entity/Session Transaction error

    I am getting an error from a Session EJB trying to update two distinct Entity EJB's. From the session bean I open a transaction and create two entity objects. But immediately after trying to create the first one I get the following message:
    com.evermind.server.rmi.OrionRemoteException: Error allocating db connection: java.sql.SQLException: Calling setAutoCommit(true) on a Connection is not allowed during a global transaction.; nested exception is: java.sql.SQLException: Calling setAutoCommit(true) on a Connection is not allowed during a global transaction.
    at com.evermind.server.ApplicationServerTransactionSynchronization.getConnection(ApplicationServerTransactionSynchronization.java:408)
    at CWUsuariosHome_EntityHomeWrapper20.create(CWUsuariosHome_EntityHomeWrapper20.java:535)
    at com.saniline.catweb.ejb.session.usuarios.UsuariosSessionBean.InsertarUsuario(UsuariosSessionBean.java:59)
    at UsuariosSession_StatelessSessionBeanWrapper2.InsertarUsuario(UsuariosSession_StatelessSessionBeanWrapper2.java:81)
    at com.saniline.catweb.servlet.ASS.ASS_editSSUserServlet.doPageService(ASS_editSSUserServlet.java:153)
    at com.saniline.catweb.servlet.CatalogoWebServlet.doPageService(CatalogoWebServlet.java:168)
    at com.saniline.snfw.servlet.SnFwSessionServlet.doPageService(SnFwSessionServlet.java:83)
    at com.saniline.snfw.servlet.SnFwServlet.service(SnFwServlet.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.saniline.snfw.servlet.SnFwServlet.service(SnFwServlet.java:54)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    I am using JDeveloper 10.1.2.1.

    I am using CMP Entity beans. These have their methods specified as "Supports" and the Session Bean (Stateless) has its method as "Required".
    I am using the container within the embeded OC4J server for debuging.
    The transaction is created within the Session Bean as:
    // Get a new transaction instance from session context
    UserTransaction ut = sctx.getUserTransaction();
    try {
    // begin transaction
    ut.begin();
    // Current time
    Timestamp currentTime = new Timestamp(new Date().getTime());
    // Insert record in CWUsuarios
    CWUsuarios newCWUsuarios = getCWUsuariosHome().create(null,
    cwUsuario.getLogin(), cwUsuario.getPassword(),
    cwUsuario.getNombre(), cwUsuario.getApellidos(),
    currentTime, currentTime, cwUsuario.getActivo(),
    cwUsuario.getRoot(), cwUsuario.getIdperfil());
    // Insert record in CWPreferencias
    CWPreferencias newCWPreferencias = getCWPreferenciasHome()
    .create(newCWUsuarios.getIdusuario(),
    cwPreferencias.getCodigoidioma(),
    cwPreferencias.getIdtema(),
    cwPreferencias.getNregslistados());
    however after returning form the getCWUsuariosHome().create method i get the specified error message.
    Thanks.

  • IDCS2 on Windows returns error: "The network connection was lost for the file [filename.indd] or the

    It's the same error as referred to in TechNote ID:331822 for OS:Macintosh but this is on Microsoft Windows XP Professional x64 Edition.
    Has anyone found a solution for this problem in a Windows environment?

    Same prolbem: Network connection was lost for file \\xxx\xxx or modified by ...
    InDesign CS3 runs on Vista PC.Trying to modify a file from Samba shared
    network drive.
    Anyone get solution of this? please
    I've been searching this for 3 hours
    from Internet. There is not solution. :<<br />
    Sounds like its a bug of Indesign since CS CS2 CS3 on both Mac & windows.

  • Field symbols - casting error

    Hi,
       I created a table dynamically and assigned it to field symbol. Now i want to write the contents of the internal table to a flat file in app server. Here is what i am doing.
    parameters: p_table(30) type c default 'PA0008',
                p_file LIKE RLGRAP-FILENAME default '/usr/sap/tmp/test.txt'.         " Path to save files to
    FIELD-SYMBOLS: <w_table> type standard table,
                   <w_wa>   TYPE any,
                   <w_field> type any.
    DATA: w_dyn_wa type ref to data,
          w_dyn_table type ref to data.
    CREATE DATA w_dyn_wa TYPE (p_table). "Suitable work area
    ASSIGN w_dyn_wa->* TO <w_wa>.
    create data w_dyn_table type standard table of (p_table).
    assign w_dyn_table->* to <w_table>.
    data w_dyn_data(5000) type c.
    SELECT * FROM (p_table) INTO table <w_table> where endda >= sy-datum.
    Data: w_temp type string.
    OPEN DATASET p_file FOR OUTPUT IN TEXT MODE encoding default.
    IF SY-SUBRC = 0.
      loop at <w_table> into <w_wa>.
      w_temp = ''.
        do.
          assign component sy-index of structure <w_wa> to <w_field>.
          if sy-subrc <> 0.
            exit.
          endif.
          concatenate w_temp <w_field> into w_temp respecting blanks.
          if sy-index = 1.
            transfer '' to p_file.
          endif.
         transfer <w_field> to p_file no end of line.
        enddo.
       transfer w_temp to p_file no end of line.
       write:/ w_temp.
      endloop.
    endif.
    close dataset p_file.
    when i run the program with PA0008 i am getting a casting error "Object not char like". How do i get rid of this error?. I tried moving the contents of field symbol to a string and appending it. It worked, but i lost the exact formatting of data in the file. In other words, it got rid of extra blanks. I need exact structure of internal table in the file.
    Thanks,
    Sandeep
    Thanks,
    Sandeep

    Hi
    Have u tried to use MOVE statament instead of CONCATENATE?
    do.
    assign component sy-index of structure <w_wa> to <w_field>.
    if sy-subrc <> 0.
    exit.
    endif.
    DESCRIBE FIELD <W_FIELD> LENGTH V_LEN.
    MOVE <W_FIELD> TO w_temp+V_OFFSET(V_LEN).
    V_OFFSERT = V_OFFSET + V_LEN.
    Max

  • EJB-QL (foreign key)- error

    hi everyone. i am stuck, cheked everything and don't know where to look. i hope someone will help me. i use websphere 5.0
    i have 2 cmp entity ejb with one-many relationship between them. I wrote QL query using foriegn key. when i generate EJB-RDB mapping the error appears in TASK saying " myTable o does not have a field myforeignkey". when i click on tast it opens ejb dep...descriptor. i check descriptor and foreign key is there.
    where should i look? when i run validation before mapping generation it doesn't produce any error.

    i am new to J2ee and i let websphere to generate all description code. I spend 4 hours looking for this error and i just can'f fix it. it looks fine to me. can you have a look? i know the code is big. if you get extra time then help me. i cut it down. there is two entity beans each with one attribute. order id has second attribute as foreign key -generatorhome_id.
    the full error is like this:
    WQRY0036E:OrderId o does not have a field generatorhome_id. when i click on it takes me to my created <query-method> findByFor
    please help if have time. the code should be straight forward. if you want me to simplify code so you can better understand then let me know.
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar id="ejb-jar_ID">
         <display-name>EJB</display-name>
         <enterprise-beans>
              <entity id="OrderId">
                   <ejb-name>OrderId</ejb-name>
                   <local-home>com.ibm.pbw.ejb.OrderIdLocalHome</local-home>
                   <local>com.ibm.pbw.ejb.OrderIdLocal</local>
                   <ejb-class>com.ibm.pbw.ejb.OrderIdBean</ejb-class>
                   <persistence-type>Container</persistence-type>
                   <prim-key-class>com.ibm.pbw.ejb.OrderIdKey</prim-key-class>
                   <reentrant>False</reentrant>
                   <cmp-version>2.x</cmp-version>
                   <abstract-schema-name>OrderId</abstract-schema-name>
                   <cmp-field id="CMPAttribute_1088406971782">
                        <field-name>ind</field-name>
                   </cmp-field>
                   <cmp-field>
                        <description>Generated to support relationships. Do NOT delete.</description>
                        <field-name>generatorhome_id</field-name>
                   </cmp-field>
                   <ejb-local-ref id="EJBLocalRef_1088406284143">
                        <ejb-ref-name>ejb/GeneratorHome</ejb-ref-name>
                        <ejb-ref-type>Entity</ejb-ref-type>
                        <local-home>com.ibm.pbw.ejb.GeneratorHomeLocalHome</local-home>
                        <local>com.ibm.pbw.ejb.GeneratorHomeLocal</local>
                        <ejb-link>GeneratorHome</ejb-link>
                   </ejb-local-ref>
                   <query>
                        <description></description>
                        <query-method>
                             <method-name>findByFor</method-name>
                             <method-params>
                                  <method-param>int</method-param>
                             </method-params>
                        </query-method>
                        <ejb-ql>select object(o) from OrderId o where o.generatorhome_id = ?1</ejb-ql>
                   </query>
              </entity>
              <entity id="GeneratorHome">
                   <ejb-name>GeneratorHome</ejb-name>
                   <local-home>com.ibm.pbw.ejb.GeneratorHomeLocalHome</local-home>
                   <local>com.ibm.pbw.ejb.GeneratorHomeLocal</local>
                   <ejb-class>com.ibm.pbw.ejb.GeneratorHomeBean</ejb-class>
                   <persistence-type>Container</persistence-type>
                   <prim-key-class>com.ibm.pbw.ejb.GeneratorHomeKey</prim-key-class>
                   <reentrant>False</reentrant>
                   <cmp-version>2.x</cmp-version>
                   <abstract-schema-name>GeneratorHome</abstract-schema-name>
                   <cmp-field id="CMPAttribute_1088406971792">
                        <field-name>id</field-name>
                   </cmp-field>
                   <ejb-local-ref id="EJBLocalRef_1088406284153">
                        <ejb-ref-name>ejb/OrderId</ejb-ref-name>
                        <ejb-ref-type>Entity</ejb-ref-type>
                        <local-home>com.ibm.pbw.ejb.OrderIdLocalHome</local-home>
                        <local>com.ibm.pbw.ejb.OrderIdLocal</local>
                        <ejb-link>OrderId</ejb-link>
                   </ejb-local-ref>
              </entity>
         </enterprise-beans>
         <relationships>
              <ejb-relation>
                   <description></description>
                   <ejb-relation-name>GeneratorHome-OrderId</ejb-relation-name>
                   <ejb-relationship-role id="EJBRelationshipRole_1088406971782">
                        <ejb-relationship-role-name>generatorhome</ejb-relationship-role-name>
                        <multiplicity>Many</multiplicity>
                        <relationship-role-source>
                             <ejb-name>OrderId</ejb-name>
                        </relationship-role-source>
                        <cmr-field>
                             <cmr-field-name>generatorhome</cmr-field-name>
                        </cmr-field>
                   </ejb-relationship-role>
                   <ejb-relationship-role id="EJBRelationshipRole_1088406971783">
                        <ejb-relationship-role-name>orderid</ejb-relationship-role-name>
                        <multiplicity>One</multiplicity>
                        <relationship-role-source>
                             <ejb-name>GeneratorHome</ejb-name>
                        </relationship-role-source>
                        <cmr-field>
                             <cmr-field-name>orderid</cmr-field-name>
                             <cmr-field-type>java.util.Collection</cmr-field-type>
                        </cmr-field>
                   </ejb-relationship-role>
              </ejb-relation>
         </relationships>
    </ejb-jar>

  • Cast error in java sound

    Hey, i got a little run-time error:
    Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: com.sun.media.sound.PortMixer$PortMixerPort
    the code segment it occurs at is here:
    case 0:
          targetDataLine1 = (TargetDataLine)mixer1.getLine(targetInfo);
          targetDataLine2 = targetDataLine1;
    }Some background info: I used getTargetLines() method of Mixer to obtain an arraylist of all the Line.Info objects (for targetLines) in a mixer, then I passed this into a GUI class, and made a vector to display in combo box. once user selects an item, it casts it back into Line.Info, and calls the mixer's "getLine()" method to retrieve the line. But I get the cast error. I know you can cast from Line to TargetDataLine (since TargetDataLine is a subinterface of Line) -- and I saw it on a tutorial, so I don't know what's wrong. Any help?
    If you need more info, just tell me.

    But still, the tutorial I looked at
    (http://java.sun.com/j2se/1.5.0/docs/guide/sound/progr
    ammer_guide/chapter3.html#113154)
    still showed it down-casting from a Line object to a
    TargetDataLine object.
    You need to understand the difference between a reference and an object. The object itself was a TargetDataLine object, otherwise the cast wouldn't have worked. The reference to it was of type Line.
    // obj is a reference of type Object. The object it points to is a String:
    Object obj = "I am a String";
    // Which explains why this works:
    String s = (String)obj;
    // and why this fails:
    Integer i = (Integer)obj;
    Not to mention, the java API says that the
    getLine(Line.Info) object returns an object of type
    Line.
    And I still don't understand why you can't cast from
    a superclass to a subclass. I know intuitively, it
    makes since, since not all RECTANGLES are SQAURES,
    but all SQUARES are RECTANGLES. But still, I know
    enough programming to remember numerous instances of
    casting Object as other classes....
    See above.
    Oh, and what does the $ symbol in
    com.sun.media.sound.PortMixer$PortMixerPort mean?It means that the the class PortMixerPort is an inner class (or nested class, I never remember the difference :-) in the class PortMixer.

  • Problems accessing tables in oracle database with ejb entity bean

    I have created a simple server application that uses an entity bean (version 2.0) for an existing table in oracle database, and a session bean that is used as an outside interface for performing operations on that table.
    after deploying the server and client application the client attempts to perform an operation with the session bean remote interface it obtained.
    The session bean uses a locale interface to communicate with the entity bean, but when it tries to use its methods (create, findByXXX) it always get the following Exception: java.sql.SQLException: ORA-00942: table or view does not exist.
    the table of course exists, and the username password I'm using has all the permissions needed for this table.
    note - I'm using the Forte enterprise edition 4.0 as developer tool.
    I'll be glad to get some help.
    Here is the full stack trace of the exception:
    javax.ejb.TransactionRolledbackLocalException: Exception thrown from bean; nested exception is: javax.ejb.EJBException: nested exception is: java.sql.SQLException: ORA-00942: table or view does not exist
    javax.ejb.EJBException: nested exception is: java.sql.SQLException: ORA-00942: table or view does not exist
    java.sql.SQLException: ORA-00942: table or view does not exist
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
    at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
    at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
    at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1405)
    at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteDescribe(TTC7Protocol.java:643)
    at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:1674)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1870)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:363)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:314)
    at com.sun.ejb.persistence.SQLEngine.ejb20Finder(SQLEngine.java:226)
    at com.sun.ejb.persistence.PartitionImpl.ejbFinder(PartitionImpl.java:736)
    at com.cti2.telco.core.ejb.entity.userInfo.UserInfoEJB_PM.ejbFindByEmail(UserInfoEJB_PM.java:393)
    at com.cti2.telco.core.ejb.entity.userInfo.UserInfoEJB_PM_LocalHomeImpl.findByEmail(UserInfoEJB_PM_LocalHomeImpl.java:64)
    at com.cti2.telco.core.ejb.UserManagerEJB.authenticate(UserManagerEJB.java:77)
    at com.cti2.telco.core.ejb.UserManagerEJB.authenticate(UserManagerEJB.java:68)
    at com.cti2.telco.core.ejb.UserManagerEJB_EJBLocalObjectImpl.authenticate(UserManagerEJB_EJB
    LocalObjectImpl.java:63)
    at com.cti2.telco.core.ejb.dispatch.TelcoFacadeEJB.userLogin(TelcoFacadeEJB.java:80)
    at com.cti2.telco.core.ejb.dispatch.TelcoFacadeEJB_EJBObjectImpl.userLogin(TelcoFacadeEJB_EJBObjectImpl.java:24)
    at com.cti2.telco.core.ejb.dispatch._TelcoFacadeEJB_EJBObjectImpl_Tie._invoke(Unknown Source)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(GenericPOAServerSC.java:519)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(GenericPOAServerSC.java:204)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(GenericPOAServerSC.java:112)
    at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:273)
    at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java:84)
    at com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:99)
    ...

    Well it seems like the problems has a simple explanation. The Forte assigns a default table name (<entityName>EJBTable) when creating an entity bean from an existsing table in DB (which is not the same as the one it was created from !!!). Also, for reason unknown, when you deploy these entity beans, it doesn't even create the new table under its new name (even if instructed to).
    So using the Forte we managed to use successfuly only entity beans that were created "from scretch" (when deployed their tables are created).
    Does anyone know how to change the default name the Forte uses, and make it work properly with entity beans created from an existsing table (without going over the xml's) ?

  • How to delete a database record by using EJB entity beans

    Hi, All,
    Does anyone know how to use entity bean to delete a database record? I have all the EJB entity beans created, including access beans to each. I can successfully create records, find and update records, however, I haven't find a way to delete records yet.
    Your response is appreciated.
    Cathy

    Please see EJB Forums for continue discussion on this subject.
    Reference titile: "how to delete database record by using CMP entity beans "

  • EJB entity beans and BC4J

    I have looked at BC4J and it looks good. Buy my question is that isn't this frame work in direct conflict with EJB entity beans. I know lot of stuff that is there in BC4J should have been in EJB enitiy beans, but as a developer why should I go with BC4J and not the standard EJB stuff considering the fact that BC4J is properietery to Oracle?Any thoughts?

    Vimal,
    Without going into exhaustive detail here, I would like to recommend that you take a look at the BC4J Technical White Paper available from the JDeveloper page on OTN (in the 3.0 Technical Information section):
    http://technet.oracle.com/products/jdev/info/techwp20/wp.html
    Amoung other things to note, BC4J is based on pure Java, and is what we consider a 'white box', meaning, you as a developer have complete control over what is going on. You can extend any of the code generated to customize it.
    Primarily though, the major benefit of BC4J is that we have taken care of most of the complicated communication code for you. Communication between the client and the data server, transaction handling, row locking, etc are already written for you. You just use, extend, customize what we have provided.
    In addition, BC4J allows you flexibility in your deployment environment decision. Regardless of where and how you deploy your BC4J Application Module, the client is unchanged.
    Those are the key advantages. Again, for more details, I would take a look at the white paper to see if it more fully addresses your questions.

  • Compiling error: "checking for mtc_init in -lmatc... no"

    Hello
    I'm trying to compile the elmer fem from svn via a selfmade PKBUILD.
    I've got an error message:
    "checking whether we are using the Microsoft C compiler... no
    checking for mtc_init in -lmatc... no
    configure: error: libmatc
    ==> FEHLER: Ein Fehler geschah in build().
        Breche ab ..."
    Is here a dependency missing? Does anyone know which?
    Thanks.

    I'm having the same problem, albeit 18 months later. I am working with a tutorial from apress, which seems very high on Glassfish as a AppServer environment for learning EJB 3.0. I have the same error when I try to run the client application in the Sun Platform 9.0 Application Server's AppClient Module container , "... Error checking for persistence unit annotations in the main class..." and I think it has something to do with the fact that the AppClient is expecting "something" in the MANIFEST.MF file that actually isn't there... ( sigh ). " so close, and yet so far away.... "
    --- andyj748

  • Validation error appearing for the wrong field

    Hi friends
    i am facing aissue with my application
    I have 3 Field
    1.     Department (Field 1)
    2.     Emp id(Field 2)
    3.     Name(Field 3)
    If i am not giving Field 1 value and trying to save i am getting proper error message.
    If I am giving Field 1 value and not giving Field 2 value , then I am getting error message for Field 2 in Field 1 .
    If am giving Field 1 and Field 2 value and not giving Field 3 value , I am getting the error for Field 3 in Field 1.
    validation in Entity level.
    i am using jdev11.1.1.6.0, adf faces and adf bc.
    Edited by: 964331 on Oct 22, 2012 3:21 AM

    Hi,
    See followings
    https://blogs.oracle.com/workingwithadf/entry/adf-bc_business_rulesvalidation_eovo
    http://one-size-doesnt-fit-all.blogspot.com/2007/08/jdev-11g-new-features-adf-bc-entity_06.html

  • When editing a wiki page, get a 'request entity too large' error message.

    [https://stbeehive.oracle.com/teamcollab/wiki/Sales+Playbooks:Demonstrating+Differentiators|https://stbeehive.oracle.com/teamcollab/wiki/Sales+Playbooks:Demonstrating+Differentiators] I'm trying to edit one of my wiki pages that has been static for about 5 months now, and when I try and save the page, I get the following message (note I cropped some because of formatting issues when posting):
    *413 Request Entity Too Large*
    HTTP/1.1 413 Request Entity Too Large Date: Tue, 18 Oct 2011 15:35:41 GMT Server: Oracle-Application-Server-10g Connection: close Transfer-Encoding: chunked Content-Type: text/html; charset=iso-8859-1
    Request Entity Too Large
    The requested resource
    /teamcollab/wiki/<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta content="text/html; charset=utf-8" http-equiv="Content-Type" /><script type="text/javascript"> var U = "undefined"; var gHttpRelativeWebRoot = "/ocom/"; var SSContributor = false; var SSForceContributor = false; var SSHideContributorUI = false; var ssUrlPrefix = "/splash/"; var ssUrlType = "2"; var g_navNode_Path = new Array(); g_navNode_Path[0] = '1790'; g_navNode_Path[1] = 'splash_collabsuite'; var g_ssSourceNodeId = "splash_collabsuite"; var g_ssSourceSiteId = "splash";</script><script id="SSNavigationFunctionsScript" type="text/javascript" src="/ocom/websites/splash/sitenavigationfunctions.js"></script><script id="SSNavigationScript" type="text/javascript" src="/ocom/websites/splash/sitenavigation.js"></script><script type="text/javascript">var g_strLanguageId = "en";</script><script type="text/javascript" src="/ocom/resources/wcm/sitestudio/wcm.toggle.js"></script><script type="text/javascript" src="/ocom/resources/sitestudio/ssajax/ssajax.js"></script> <script id="ssInfo" type="text/xml" warning="DO NOT MODIFY!"> <ssinfo> <fragmentinstance id="fragment1" fragmentid="universal-metatag" library="server:UNIVERSAL-FRAGMENTS"> </fragmentinstance> <fragmentinstance id="fragment2" fragmentid="ExternalSiteCatalystFragment" library="server:EXTERNALSCFRAGMENTLIB"></fragmentinstance> </ssinfo> </script> <meta name="GENERATOR" content="MSHTML 8.00.6001.18904" /><!--SS_BEGIN_SNIPPET(fragment1,head_tags)--><title>Collabsuite Outage</title><meta name="Title" content="Collabsuite Outage"><meta name="Description" content="Collabsuite Outage"><meta name="Keywords" content="Collabsuite Outage"><meta name="robots" content="NOINDEX, NOFOLLOW"><meta name="country" content=""><meta name="Language" content="en"><meta name="Updated Date" content="4/12/11 10:38 AM"><!--SS_END_SNIPPET(fragment1,head_tags)--> </head><body> <!--SS_BEGIN_SNIPPET(fragment1,code)...
    does not allow request data with GET requests, or the amount of data provided in the request exceeds the capacity limit.
    Additionally, a 413 Request Entity Too Large error was encountered while trying to use an ErrorDocument to handle the request.
    The page, should you wish to eyeball it, is at:
    https://stbeehive.oracle.com/teamcollab/wiki/Sales+Playbooks:Demonstrating+Differentiators

    Duane,
    This looks like the URL has the content of a wiki page as an attachment to the URL which is blowing up the get request. Can you go to the earlier version - the history should allow you to backtrack changes - if you access this earlier version and change something small - does it save OK. If so then maybe the change you made is the problem.
    I cannot access the workspace without being given explicit access so this is a guess.
    Phil

  • Error destination for durable subscribers

    We want to use the publish/subscribe mechanism for application
              integration purposes. We have one application publishing a message on
              a topic and multiple application that have a durable subscription on
              that topic.
              We want to control the redelivery process for an individual
              subscriber. When the number of retries is exceeded for a particular
              message it is sent to the error destination for that application. This
              allows us to fix the problem in the application (whatever it was) and
              resubmit the message to the application.
              We can set the Error Destination and control the redelivery process
              for both Topics and Queue. But is it also possible to define an error
              destination and redelivery process for individual durable
              subscriptions?
              Cheers,
              Mark van Holsteijn
              PS: My reference material is MQ en TUXEDO/Q. In both MQ and TUXEDO/Q
              you subscribe a specific Queue to a topic giving you both an error
              destination and redelivery control.
              

              Mark van Holsteijn wrote:
              > Tom,
              >
              > Thanks for the swift confirmation. Would it not be a handy enhancement
              > to the WebLogic JMS provider?
              >
              > About TUXEDO: tpsubscribe() lets you subscribe a queue in a queue space
              > to an event using the option TPEVQUEUE. See
              > http://edocs.bea.com/tuxedo/tux81/rf3c/rf3c81.htm#1045667
              >
              That isn't really the same animal as pub/sub - the above call redirects
              an event subscription to a particular Q, where each Q has to be manually
              configured. If my understanding is correct,
              you could emulate the same thing in WebLogic with just a little
              bit of work: configure multiple queues, and write an EJB
              method that redirects information to a particular Q based on the value
              of one of its parameters (or write an MDB that does a similar
              thing.)
              > Cheers,
              >
              > Mark
              >
              >
              > Tom Barnes wrote:
              >
              >> Mark van Holsteijn wrote:
              >>
              >>> We want to use the publish/subscribe mechanism for application
              >>> integration purposes. We have one application publishing a message on
              >>> a topic and multiple application that have a durable subscription on
              >>> that topic.
              >>>
              >>> We want to control the redelivery process for an individual
              >>> subscriber. When the number of retries is exceeded for a particular
              >>> message it is sent to the error destination for that application. This
              >>> allows us to fix the problem in the application (whatever it was) and
              >>> resubmit the message to the application.
              >>>
              >>> We can set the Error Destination and control the redelivery process
              >>> for both Topics and Queue. But is it also possible to define an error
              >>> destination and redelivery process for individual durable
              >>> subscriptions?
              >>
              >>
              >>
              >> No.
              >>
              > Thanks for the confirmation.
              >
              >>>
              >>>
              >>> Cheers,
              >>>
              >>> Mark van Holsteijn
              >>>
              >>> PS: My reference material is MQ en TUXEDO/Q. In both MQ and TUXEDO/Q
              >>> you subscribe a specific Queue to a topic giving you both an error
              >>> destination and redelivery control.
              >>>
              >>
              >> I think I know what you are referring to in MQ,
              >> but Tux/Q has no pub/sub capability.
              >>
              >
              > Chec
              >
              >> Tom, BEA
              >>
              >
              

  • Why alert casting error when module url changed?

    Hi, everyone.
    I occurred a stranger error when click the item in DataGrid
    which is redirected by "ModuleLoader" url.
    Error #1034: Cast Error:Cannot cast
    mx.managers::DragManagerImpl@482f971 to
    mx.managers.IDragManager。
    at mx.managers::DragManager$/get
    impl()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\managers\DragManager.as:152]
    at mx.managers::DragManager$/get
    isDragging()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\managers\DragManager.as:18 7]
    at
    mx.controls.listClasses::ListBase/dragScroll()[E:\dev\3.0.x\frameworks\projects\framework \src\mx\controls\listClasses\ListBase.as:7148]
    at Function/
    http://adobe.com/AS3/2006/builtin::apply()
    at <anonymous>()
    at SetIntervalTimer/onTimer()
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()
    Actually I never modify about DragManagerImpl...
    In my main.mxml there is a
    <mx:ModuleLoader id="module"
    url="modules/DeviceRegisterSelectWizardModule.swf"/>
    this ModuleLoader control is to load a new swf module when
    change the url.
    Althought the first loaded module which included DataGrid is
    OK, it popup the error when this module is the second time switched
    by the url...
    The error is the above when click the item in it.
    Actually all cast operation is error as I tried:
    And is there any solution for it? ModuleLoader has such a
    bug?
    Thank you very much.

    Hi,
    Another way to "find" the URL for the oamconsole, that I use if I'm not familiar with the configuration I'm working on is to first log into the Adminserver WL Console, then go to "Deployments".
    Then, find "oamconsole" in the Deployments listed (on the right).
    Click on that, then on the next page, look for the "Testing" tab. Click on the "Testing" tab, which which show the /oamconsole app.
    Click on the "+" to expand the tree, and you should see a bunch of different URLs on the right, e.g., if you have OAM console deployed to managed servers, etc., there'll be different URLs for those, etc., and you can just click on the links to open up OAM Console in your browser.
    Jim

  • Error checking for persistence unit annotations in the main class

    Hi
    When I tried running the examples from the SUN JMS tutorials, I landed in a problem. I did the following changes...
    1. I created a new project in eclipse
    2. created the java class 'Producer.java' in a package..(the one in java tutorial is not in a package)
    3. copied the build.xml and made the the respective changes.
    I successfully created the jar file, but when I tried to run the the application
    appclient -client JMSProducer.jar eg.jms.P2PProducer.Producer queue 3it throws the following exception:
    Nov 29, 2006 3:40:33 PM com.sun.enterprise.deployment.annotation.impl.ModuleScan
    ner getElements
    WARNING: Cannot load ${main.class} reason : ${main.class}
    Nov 29, 2006 3:40:33 PM com.sun.enterprise.appclient.MainWithModuleSupport <init
    >
    WARNING: ACC003: Application threw an exception.
    java.lang.RuntimeException: Error checking for persistence unit annotations in t
    he main class
            at com.sun.enterprise.appclient.StandAloneAppClientInfo.classContainsAnn
    otation(StandAloneAppClientInfo.java:88)
            at com.sun.enterprise.appclient.AppClientInfo.mainClassContainsPURefcAnn
    otations(AppClientInfo.java:342)
            at com.sun.enterprise.appclient.AppClientInfo.appClientDependsOnPersiste
    nceUnit(AppClientInfo.java:311)
            at com.sun.enterprise.appclient.AppClientInfo.completeInit(AppClientInfo
    .java:164)
            at com.sun.enterprise.appclient.AppClientInfoFactory.buildAppClientInfo(
    AppClientInfoFactory.java:136)
            at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithMod
    uleSupport.java:287)
            at com.sun.enterprise.appclient.Main.main(Main.java:180)
    Caused by: java.lang.NullPointerException
            at java.util.zip.ZipFile.getInputStream(ZipFile.java:286)
            at java.util.jar.JarFile.getInputStream(JarFile.java:387)
            at com.sun.enterprise.deployment.util.AnnotationDetector.containsAnnotat
    ion(AnnotationDetector.java:139)I have spent so much time identifying the problem... can anyone point the error please?

    I'm having the same problem, albeit 18 months later. I am working with a tutorial from apress, which seems very high on Glassfish as a AppServer environment for learning EJB 3.0. I have the same error when I try to run the client application in the Sun Platform 9.0 Application Server's AppClient Module container , "... Error checking for persistence unit annotations in the main class..." and I think it has something to do with the fact that the AppClient is expecting "something" in the MANIFEST.MF file that actually isn't there... ( sigh ). " so close, and yet so far away.... "
    --- andyj748

Maybe you are looking for

  • Calendar syncs only one way

    Just got into iCloud. Calendar from iMac went into the cloud calendar without problem. Adding new event from iMac or MBA goes t the cloud canendar without problem. However, the entry from MBA doesn't show in the iMac canedar nor does the iMac entry s

  • Custom Webdynpro text field is taking too long to accept input values

    Dear All,                I hvae created custom web dynpro for PO header fields in SRM. This WD contains a lot of fields. When i try to put cursor on a text field it is taking too long for the cursor to appear in that input text field. There is no pro

  • Time machine reporting space error

    My TM backups are coming back with an error saying that my backup is XX.X and I only have XX.X space on my external drive. The confounding thing is that the external HDD has more than double the space that the backup needs. I have attached a couple o

  • OAS 4.0.8.x and Netscape

    Dear Friends, I am hoping there will soon be an OAS group. We have installed OAS 4.0.8 on a Sun Solaris box. We also have Netscape 4.65 installed. When we use Netscape to view OAS, the navigation trees for the various functions are not displayed. Eve

  • NOKIA E5-00 Torch Activation

    How to Activate Torch In Nokia E5-00 I press (space bar button) long time but not activated... Is any thing in Setting Menu... Please tell me Thank You.... Irfan Khawar Pakistan