Problem extending "oracle.jbo.server.SessionImp"

nevrmind problem solved
im so embarassed lol
Message was edited by:
Sanja

Vas,
Please more details listing all the steps you have taken. It will be easier to diagnose the issue.
Also are you running the page from jdev or instance? What is the full error stack?
--Shiv                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • Problem with oracle.jbo.domain.Date

    Hi there,
    I've a problem with oracle.jbo.domain.Date,
    I'm doing this code (this part of code is used in my Session Attribute Listener):
    * This method is used to add the session id in the database, whenever user login
    public void attributeAdded(HttpSessionBindingEvent hsbe){
    if(!hsbe.getName().equals("user")){
    return;
    AmLogin am = (AmLogin)Configuration.createRootApplicationModule(
    "com.ahm.pdt001.am.AmLogin",
    "AmLoginLocal");
    try{
    hsbe.getSession().setAttribute("login", new Date(new Timestamp(
    System.currentTimeMillis())));
    am.createLogin(hsbe.getValue().toString(), hsbe.getSession().
    getAttribute("login").toString());
    } catch(Exception e){
    e.printStackTrace();
    System.out.println("Error insert data user: " + hsbe.getValue());
    } finally{
    Configuration.releaseRootApplicationModule(am, true);
    Everything is running well in Jdev 10.1.3 (I'm using ADF Faces technology), and I'm trying to deploy it on OC4J 10.1.2 and it works. But it raised an error when this part of code is runned.
    --------------caused and error------------------------
    hsbe.getSession().setAttribute("login", new Date(new Timestamp(
    System.currentTimeMillis())));
    And this is an error:
    javax.faces.FacesException: #{pdt001.loginAction}: javax.faces.el.EvaluationException: java.lang.NoSuchMethodError: oracle.jbo.domain.Date.<init>(Ljava/sql/Timestamp;)V     at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:78)     at oracle.adf.view.faces.component.UIXCommand.broadcast(UIXCommand.java:211)     at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)     at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)     at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)     at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)     at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)     at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)     at com.ahm.filter.AhmFilterSession.doFilter(AhmFilterSession.java:45)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:645)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)     at java.lang.Thread.run(Thread.java:534)Caused by: javax.faces.el.EvaluationException: java.lang.NoSuchMethodError: oracle.jbo.domain.Date.<init>(Ljava/sql/Timestamp;)V     at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:130)     at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)     ... 23 moreCaused by: java.lang.NoSuchMethodError: oracle.jbo.domain.Date.<init>(Ljava/sql/Timestamp;)V     at com.ahm.pdt001.listener.Pdt001AttributeSessionListener.attributeAdded(Pdt001AttributeSessionListener.java:27)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.EvermindHttpSession.setAttribute(EvermindHttpSession.java:128)     at com.ahm.pdt001.bean.Pdt001Bean.loginAction(Pdt001Bean.java:61)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)     at java.lang.reflect.Method.invoke(Method.java:324)     at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
    Does anybody have the same problem like this? I've used the same method in my previous project to create oracle.jbo.domain.Date with current time using java.sql.Timestamp, but I don't know why this error happened.
    Thx,
    Andre

    Re: oracle jbo.domain.Date issues in 10.1.3
    Sascha

  • ERROR: CORBA Client Test Sample: import oracle.jbo.server.ApplicationModuleImpl;

    Hi, guys,
    I am deployed the CORBA in my system and it succeed. But when I created a new client to called my CORBA, and I used the code provided in the JDEV3.2 help: Topics: Testing a Business Components CORBA Server Object Deployed to Oracle8i with a Code Client
    and it did not work for the deptVo.first(). Since it need the oracle.jbo.server.ApplicationModuleImpl; then I add the import:
    import oracle.jbo.server.ApplicationModuleImpl;
    When I compiled it, I got the error:
    Error: (66) identifier oracle.jbo.server.ApplicationModuleImpl not found. Anybody please help for the import. The package is clearly there, Why NOT FOUND?
    Thanks in advance.
    Mike
    null

    Test you app with application module pooling turned off to find out if this is a general problem with passivation of your application. You may need to overwrite the activation/passivation methods of your programmatic VOs.
    Timo

  • Oracle.jbo.server.EntityDefImpl error after EO extension

    Hi friends,
    I have extened EO for an Oracle seeded page.
    Step 1. Extened the EO
    Step 2. Added -Djbo.project=xxxx to the run property
    Step 3. Added the substitution (oracle EO: extended EO)
    After these steps, if I run the page it is throwing error message oracle.jbo.server.EntityDefImpl. If I take out the substitution the page is running properly.
    I did not add any piece of code after extending.
    This is urgent. Can some one hlep me what is the mistake I am doing here?
    Thanks,
    Vas

    Vas,
    Please more details listing all the steps you have taken. It will be easier to diagnose the issue.
    Also are you running the page from jdev or instance? What is the full error stack?
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Oracle.jbo.server.ViewRowImpl@1b

    JComboBox in JTable....
    I get an error in method setEdiz(String value) because the value is "oracle.jbo.server.ViewRowImpl@1b" instead of "m3" (first call of this method get "m3", second - "oracle.jbo...."). Why does it happen?
    Thanks in advance

    [JClient] HOWTO: Using databound comboboxes (for foreign keys) in a JTable
    This example doesn't solve this problem in 10.1.3 EA. Did you try to run this example in 10.1.3 EA?

  • Java.lang.NullPointerException at oracle.jbo.server.QueryCollection.findByKey(QueryCollection.java:5110)

    We have deployed our ADF application in production. We developed using JDeveloper Version 11.1.2.1.0. In a page fragment, there is a inputComboboxListOfValues which is binded to a list of values binding. This list of values binding is mapped to an attribute of a view object which has a lov from a view accessor (through view link).
    In this inputComboboxListOfValues component, we get this error sometimes in production and we are neither able to re-produce the error nor able to find the reason for the error.
    java.lang.NullPointerException
    at oracle.jbo.server.QueryCollection.findByKey(QueryCollection.java:5110)
    at oracle.jbo.server.ViewRowSetImpl.findByKey(ViewRowSetImpl.java:5488)
    at oracle.jbo.server.ViewRowSetImpl.findByAltKey(ViewRowSetImpl.java:5311)
    at oracle.jbo.server.ViewObjectImpl.findByAltKey(ViewObjectImpl.java:11566)
    at oracle.adf.model.binding.DCIteratorBinding.findRowsByKeyValues(DCIteratorBinding.java:5065)
    at oracle.adfinternal.view.faces.model.binding.FacesCtrlLOVBinding$ListOfValuesModelImpl.getValueFromSelection(FacesCtrlLOVBinding.java:1715)
    at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputListOfValuesRendererBase.decodeInternal(SimpleInputListOfValuesRendererBase.java:133)
    at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputComboboxListOfValuesRenderer.decodeInternal(SimpleInputComboboxListOfValuesRenderer.java:86)
    at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.decodeInternal(LabeledInputRenderer.java:56)
    at oracle.adf.view.rich.render.RichRenderer.decode(RichRenderer.java:342)
    at org.apache.myfaces.trinidad.render.CoreRenderer.decode(CoreRenderer.java:292)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.__rendererDecode(UIXComponentBase.java:1334)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decode(UIXComponentBase.java:865)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:965)
    at org.apache.myfaces.trinidad.component.UIXEditableValue.processDecodes(UIXEditableValue.java:287)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ApplyRequestValuesCallback.invokeContextCallback(LifecycleImpl.java:1548)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1735)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.invokeOnComponent(ContextSwitchingComponent.java:222)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
    Please help us to solve this issue.

    Timo,
    I noticed that in the application module, these are the settings for passsivation:
    jbo.dofailover=false
    jbo.passivationstore=null
    Do you recommend to change to above settings to
    jbo.dofailover=true
    jbo.passivationstore=file
    We are not using cluster for production environment...
    Please suggest..

  • Logon problem with oracle management server

    I have problem with Oracle Management Server when I connect to the OMS message comes
    The exception (java.lang.NullPointerException) occurred.
    if any body have any idea pls tell us

    Hi,
    Oracle has changed the Enterprise Manager from version 1.5 to 2.0 .
    With the new Oracle8i dataase server another service has been added.
    If you want to user the OEM you have to install The Managment Server.
    The Managment server has its own user and privileges and is recommended when using OEM.

  • Where is this class:  oracle.jbo.server.EntityImpl

    Does anyone know what jar file contains the following classes:
    oracle.jbo.server.EntityImpl
    oracle.jbo.server.AttributeDefImpl
    Thanks!
    -Teri Kemple
    [email protected]

    It's bc4jmt.jar in BC4J\lib. "mt" probably stands for "middle tier".

  • NullPointerException in oracle.jbo.server.ViewRowStorage.getAttributeInternal()

    Hi,
    I am deploying A web module that uses BC4J on OC4J. This has gone ok for some time, but since a few days I am receiving
    500 Internal Server Error
    java.lang.NullPointerException     at oracle.jbo.server.ViewRowStorage.getAttributeInternal(ViewRowStorage.java(Compiled Code))     at oracle.jbo.server.ViewRowImpl.getAttributeInternal(ViewRowImpl.java(Compiled Code))     at com.centraalboekhuis.cbonline.model.VCboLookupArtFeViewRowImpl.getLevKd(VCboLookupArtFeViewRowImpl.java:77)     at com.centraalboekhuis.cbonline.bestellen.ModelInsertBestelling.perform(ModelInsertBestelling.java:93)     at com.cumquatit.j2ee.controller.web.HttpController.doAction(HttpController.java:139)     at com.centraalboekhuis.cbonline.CBOnline.doAction(CBOnline.java:125)     at com.cumquatit.j2ee.controller.web.HttpController.doPost(HttpController.java:163)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:211)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)     at com.evermind[Oracle9iAS (2.0.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java(Compiled Code))     at com.evermind[Oracle9iAS (2.0.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java(Compiled Code))     at com.evermind[Oracle9iAS (2.0.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java(Compiled Code))     at com.evermind[Oracle9iAS (2.0.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java(Compiled Code))     at com.evermind[Oracle9iAS (2.0.0.0) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:62)
    ... whenever I try to Insert or Update a row. Querying goes ok. Could it be that the bc4j configuration on my application server is somehow faulty?
    Has anybody gotten this nullpointer before?
    Thanks,
    Martijn
    We use:
    - oc4j 902
    - Ibm AIX 433
    - Jdev9i

    Sorry, already solved it. If you are interested at all, just email me and I will explain my mistake :-)

  • Error: cannot access class oracle.jbo.server.ViewObjectImpl;

    hi
    while compiling my project
    i m getting this error..
    Error: cannot access class oracle.jbo.server.ViewObjectImpl; file oracle\jbo\server\ViewObjectImpl.class not found
    please help.
    regards
    naveen

    Are the fwk class libraries included in jdev project ?
    Thanks
    Tapash

  • URGENT :class oracle.jbo.server.OAJboViewRowImpl has been depricated ...

    hey ,
    I'm currently wrkin on Oracle IDE 10.1.3.39.81 .. I get an error msg "class oracle.jbo.server.OAJboViewRowImpl has been depricated " ...
    upon using getAttributeInternal() .. i could not find any solution using jdoc .. please suggest me a solution to remove the warning ..
    Thanks ...

    Shiva,
    With Release of r12 and Jdeveloper10g, we are using BC4J layer of ADF, which has signifucant enhancement on the bc4j part.So continue using old methods of bc4j, until oracle comes with new javadoc for bc4j in oaf.
    Ideally what u said is correct correct u should have
    zero errors and zero warnings, but somehow some warnings u cannot avoid :).
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Glassfish and oracle.jbo.server.uniqueid.UniqueIdHelper

    Hello,
    I am using:
    JDev 11.1.2.3.0
    Glassfish 3.1.2.2 w/ ADF Essentials
    Oracle DB 11gR2
    Just started a simple ADF application to connect to a single database table. The app work fine, I can navigate through the entries, make changes, and CreateInsert works (when I manually insert a primary key). I am trying to generate the primary key automatically with oracle.jbo.server.uniqueid.UniqueIdHelper.nextId() as a default expression in the model for that primary key(with Refresh on Insert checked). When I click on CreateInsert I receive error: javax.naming.NameNotFoundException: javax.transaction.TransactionManager not found. The stack trace is below.
    I have tried the following datasource configurations:
    restype javax.sql.DataSource datasourceclassname oracle.jdbc.pool.OracleDataSource
    restype javax.sql.XADataSource datasourceclassname oracle.jdbc.xa.client.OracleXADataSource
    Should this work in Glassfish? (Fairly certain I had similar project working in Weblogic 10.3)
    TIA,
    Ernie
    [#|2013-03-06T01:43:19.148-0500|WARNING|glassfish3.1.2|oracle.adf.controller.faces.lifecycle.Utils|_ThreadID=29;_ThreadName=Thread-4;|ADF: Adding the following JSF error message: javax.transaction.TransactionManager not found
    javax.naming.NamingException: Lookup failed for 'javax.transaction.TransactionManager' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming} [Root exception is javax.naming.NameNotFoundException: javax.transaction.TransactionManager not found]
         at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:518)
         at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:455)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at oracle.jbo.server.JTATxnHandlerImpl.lookupTransactionManager(JTATxnHandlerImpl.java:425)
         at oracle.jbo.server.JTATxnHandlerImpl.getTransactionManager(JTATxnHandlerImpl.java:477)
         at oracle.jbo.server.uniqueid.UniqueIdHelper.isInJTATransaction(UniqueIdHelper.java:175)
         at oracle.jbo.server.uniqueid.UniqueIdHelper.getNextId(UniqueIdHelper.java:92)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
         at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:234)
         at groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:1594)
         at groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:3281)
         at org.codehaus.groovy.runtime.callsite.ClassMetaClassGetPropertySite.getProperty(ClassMetaClassGetPropertySite.java:48)
         at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:237)
         at bc4j_com_dipko_propertytracker_model_Properties_Propertyid_null_gs.run(bc4j_com_dipko_propertytracker_model_Properties_Propertyid_null_gs.groovy:1)
         at oracle.jbo.ExprEval.internalEvaluateGroovyScript(ExprEval.java:1200)
         at oracle.jbo.ExprEval.doEvaluate(ExprEval.java:1253)
         at oracle.jbo.ExprEval.evaluateForRow(ExprEval.java:1075)
         at oracle.jbo.server.AttributeDefImpl.evaluateTransientExpression(AttributeDefImpl.java:2132)
         at oracle.jbo.server.EntityImpl.initDefaultExpressionAttributes(EntityImpl.java:1004)
         at oracle.jbo.server.EntityImpl.create(EntityImpl.java:957)
         at oracle.jbo.server.EntityImpl.callCreate(EntityImpl.java:1131)
         at oracle.jbo.server.ViewRowStorage.create(ViewRowStorage.java:1140)
         at oracle.jbo.server.ViewRowImpl.create(ViewRowImpl.java:461)
         at oracle.jbo.server.ViewRowImpl.callCreate(ViewRowImpl.java:478)
         at oracle.jbo.server.ViewObjectImpl.createInstance(ViewObjectImpl.java:5800)
         at oracle.jbo.server.QueryCollection.createRowWithEntities(QueryCollection.java:1941)
         at oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(ViewRowSetImpl.java:2504)
         at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:2545)
         at oracle.jbo.server.ViewRowSetImpl.createRow(ViewRowSetImpl.java:2526)
         at oracle.jbo.server.ViewObjectImpl.createRow(ViewObjectImpl.java:11170)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1355)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2169)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:185)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:254)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:302)
         at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
         at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:148)
         at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcast(UIXComponentBase.java:824)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:179)
         at oracle.adf.view.rich.component.UIXMenuBar.broadcast(UIXMenuBar.java:131)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:787)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1252)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:973)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:354)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
         at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
         at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
         at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
         at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
         at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
         at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
         at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
         at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
         at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
         at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
         at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
         at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
         at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
         at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
         at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
         at java.lang.Thread.run(Thread.java:680)
    Caused by: javax.naming.NameNotFoundException: javax.transaction.TransactionManager not found
         at com.sun.enterprise.naming.impl.TransientContext.doLookup(TransientContext.java:248)
         at com.sun.enterprise.naming.impl.TransientContext.lookup(TransientContext.java:215)
         at com.sun.enterprise.naming.impl.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:77)
         at com.sun.enterprise.naming.impl.LocalSerialContextProviderImpl.lookup(LocalSerialContextProviderImpl.java:119)
         at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:505)
         ... 96 more

    Hi,
    this has nothing to do with Glassfish as it seems. Any reason you don't generate the sequence in the database (on-insert trigger) and set the PK attribute type to DBSequence? This is the most straight forward and declarative approach.
    Frank

  • Problem with oracle.jbo.domain.Date and format 'dd.MM.yyyy'

    JBO-25009: Cannot create an object of type:oracle.jbo.domain.Date with value: 09.10.2003
    In EOImplMsgBundle :
    {"Dbeg_FMT_FORMATTER", "oracle.jbo.format.DefaultDateFormatter"},
    {"Dbeg_FMT_FORMAT", "dd.MM.yyyy"}};
    In VOImplMsgBundle :
    {"Dbeg_FMT_FORMAT", "dd.MM.yyyy"},
    {"Dbeg_FMT_FORMATTER", "oracle.jbo.format.DefaultDateFormatter"},
    Why ? Help Please

    I have the same problem !
    I have extended the formatinfo.xml with:
    <DOMAIN CLASS="oracle.jbo.domain.Date">
    <FORMATTER name="Simple Date" class="oracle.jbo.format.DefaultDateFormatter">
    <FORMAT text="dd.MM.yyyy" />
    <FORMAT text="dd-MM-yyyy" />
    <FORMAT text="yyyy-MM-dd" />
    <FORMAT text="yyyy-MM-dd G 'at' hh:mm:ss" />
    <FORMAT text="EEE, MMM d, ''yy" />
    </FORMATTER>
    </DOMAIN>
    And then I have set my attibutes to use this FORMATTER with FORMAT "dd.MM.yyyy".
    When I start my application, I became an error and the date-fields are blank ... The application can not convert my Date in 'dd.MM.yyyy' format ...
    When I set my attributes to Format Type <none>, it works, the date-fields are present ...

  • Installation Problem about ORACLE HTTP SERVER 10g

    I tried to install oracle http server on windows xp sp2. Everthing was all right until
    it made some recommend tasks while installing. It could'nt start the http server at there. I completed the installation. After then when i connect to the internet and try to start http server it starts. But when i do not connect to the internet it gives an error like apache.exe couldn't start on executing ApacheModuleonsinst.dll. I want to learn what causes to this problem.

    pparkko wrote:
    With this type of behaviour, you always need to find out the real error.
    Try opening a command prompt (cmd) and running the command from the command line.
    Then you can see what is going wrong.I have a question, I just upgraded our test 11i database (9i) to 10g (10.2), as a part of that upgraded forms, reports, graphics to patchset 18. Now planning to install 10giAS on appsTier on which forms, Apache and discoverer running. If I install 10giAS in differnet home, how can I get that in to appsTier?, does it mean adapcctl script no longer be used to start webservices?. I haven’t done this before, if my question is stupid, please ignore :).

  • Deployement problem in Oracle App Serv with hibernate + JPA and Spring

    Dear All,
         I am facing a problem in deployment of a web application in oracle application server 10g. but the same is working fine with Tomcat. The following Exception. Is being thrown.
         Failed to deploy web application "OraTest". Failed to deploy web application OraTest". . Nested exception Resolution:
    Base Exception:
    java.rmi.RemoteException
    deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag attribute: version. deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag attribute: version     I am using the following technologies
    1.     Spring 2.0.7
    2.     Struts 2.0.9
    3.     Hibernate 3.3
    4.     JPA 1.0
    5.     Oracle App Server 10.1.2.0.2
    Web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
         <display-name>My Application</display-name>
         <filter>
              <filter-name>struts2</filter-name>
              <filter-class>
                   org.apache.struts2.dispatcher.FilterDispatcher
              </filter-class>
         </filter>
         <filter-mapping>
              <filter-name>struts2</filter-name>
              <url-pattern>/*</url-pattern>
         </filter-mapping>
         <welcome-file-list>
              <welcome-file>/index.jsp</welcome-file>
         </welcome-file-list>
         <servlet>
              <servlet-name>dwr-invoker</servlet-name>
              <servlet-class>
                   org.directwebremoting.servlet.DwrServlet
              </servlet-class>
              <init-param>
                   <param-name>debug</param-name>
                   <param-value>true</param-value>
              </init-param>
         </servlet>
         <servlet-mapping>
              <servlet-name>dwr-invoker</servlet-name>
              <url-pattern>/dwr/*</url-pattern>
         </servlet-mapping>
         <listener>
              <listener-class>
                   org.springframework.web.context.ContextLoaderListener
              </listener-class>
         </listener>
         <context-param>
              <param-name>contextConfigLocation</param-name>
              <param-value>
                   /WEB-INF/conf/spring/datasource-context.xml,
                   /WEB-INF/conf/spring/aop-context.xml          
              </param-value>
         </context-param>
    </web-app>
    /Datasource-context.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:aop="http://www.springframework.org/schema/aop"
        xmlns:tx="http://www.springframework.org/schema/tx"
        xsi:schemaLocation="
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
        http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd
        http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd">
         <bean class="org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor" lazy-init="true"/>
         <!--  following code is for using oracle -->
            <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource" lazy-init="true">
              <property name="driverClassName">
                   <value>oracle.jdbc.driver.OracleDriver</value>
              </property>
              <property name="url">
                   <value>jdbc:oracle:thin:@//xxx.xxx.xxx.xxx/mydb</value>
              </property>
              <property name="username">
                   <value>admin</value>
              </property>
              <property name="password">
                   <value>admin</value>
              </property>
         </bean>
         <!--  following code is for using mysql -->
         <!--
         <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource" lazy-init="true">
              <property name="driverClassName">
                   <value>org.gjt.mm.mysql.Driver</value>
              </property>
              <property name="url">
                   <value>jdbc:mysql://192.168.10.157:3306/tpsadmin</value>
              </property>
              <property name="username">
                   <value>tpsadmin</value>
              </property>
              <property name="password">
                   <value>tpsadmin</value>+
              </property>
         </bean>
         -->
         <bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean" lazy-init="true">
              <property name="persistenceUnitName" value="mkclsetsPersistenceUnit"/>
              <property name="dataSource" ref="dataSource"/>
              <property name="jpaVendorAdapter">
                   <bean class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter" lazy-init="true">
                        <property name="database" value="ORACLE"/>               
                        <property name="showSql" value="true"/>
                   </bean>
              </property>
         </bean>
         <bean id="transactionManager" class="org.springframework.orm.jpa.JpaTransactionManager" lazy-init="true">
              <property name="entityManagerFactory" ref="entityManagerFactory"></property>
         </bean>
         <tx:annotation-driven transaction-manager="transactionManager"/>     
    </beans>Aop-context.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:aop="http://www.springframework.org/schema/aop"
        xmlns:tx="http://www.springframework.org/schema/tx"
        xsi:schemaLocation="
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
        http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd
        http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd">
    <!--  Bean Definition of all the required Interceptors -->
         <bean id="methodLoggingAdvice" class="com.mkcl.sets.common.interceptor.MehodLogInterceptor"/>
         <!--
         <bean id="appCacheManager" class="net.sf.ehcache.CacheManager">
              <constructor-arg index="0" type="java.net.URL" value="classpath:country-ehcache.xml"/>
         </bean>     
         -->
          <!--bean id="methodCacheInterceptor" -->
         <bean id="methodCachingAdvice"
              class="com.mkcl.sets.common.interceptor.MethodCacheInterceptor">
              <property name="cache">
                   <ref local="methodCache" />
              </property>
         </bean>
         <bean id="cacheManager"
              class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean">
              <property name="configLocation">
                   <value>WEB-INF/conf/other/ehcache.xml</value>
              </property>
         </bean>     
         <bean id="methodCache"
              class="org.springframework.cache.ehcache.EhCacheFactoryBean">
              <property name="cacheManager">
                   <ref local="cacheManager" />
              </property>
              <property name="cacheName">
                   <value>mkclSetsCache</value>
              </property>
         </bean>      
         <!--
         <bean id="methodCachingAdvice" class="interceptor.MethodCachingInterceptor"/>
          -->
         <aop:config>
              <aop:pointcut id="getCountriesPointCut" expression="execution(* com.mkcl.sets.dao.master.impl.LocationDAOImpl.getCountries())"/>          
              <!-- <aop:pointcut id="methodLogPointCut" expression="execution(* com.mkcl.sets.service.master.impl.CategoryServiceImpl.getAllCategories(..))"/> -->
              <aop:pointcut id="methodLogPointCutDao" expression="execution(* com.mkcl.sets.dao..*.*(..))"/>
              <aop:pointcut id="methodLogPointCutService" expression="execution(* com.mkcl.sets.service..*.*(..))"/>
              <aop:advisor id="methodCachingAdvisor" advice-ref="methodCachingAdvice" pointcut-ref="getCountriesPointCut"/>          
              <aop:advisor id="methodLoggingAdvisorDao" advice-ref="methodLoggingAdvice" pointcut-ref="methodLogPointCutDao"/>
              <aop:advisor id="methodLoggingAdvisorService" advice-ref="methodLoggingAdvice" pointcut-ref="methodLogPointCutService"/>
         </aop:config>
    </beans>Persistence.xml
    <persistence 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"
        version="1.0">
         <persistence-unit name="mkclsetsPersistenceUnit" transaction-type="RESOURCE_LOCAL">
              <!-- jta-data-source>mkclDS</jta-data-source-->
              <provider>org.hibernate.ejb.HibernatePersistence</provider>
              <!-- properties>
                   <property name="hibernate.dialect" value="org.hibernate.dialect.Oracle10gDialect"/>
                   <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.OC4JTransactionManager"/>
              </properties-->
         </persistence-unit>
    </persistence>Do I need to add some other configuration in the existing files or do I need to add some other configuration files ? Please help to deploy my application.
    Thanks a lot in advance.
    With Best Regards,
    Ishaan
    null

    Did you ever find a solution to this Ishaan?
    I imagine you ended up having to upgrade 10gR2 to 10gR3 at least. Correct?

Maybe you are looking for

  • Pl. help me install a PCI card in a solaris 2.6 system

    Hello, I am working on a cpci chassis with Sun CP1400 processor card running Solaris 2.6. I am trying to install a voip card from AudioCodes. After installing the driver, and the card, the software doesn't seem to recognize the board. I ran "show-dev

  • I cant call a procedure within a data template

    Hi, I m working in a data template because i want to call a prcedure befor running the report. My procedure is under the folder of procedure. it is not under a package. So i left the defaultpackage empty in the data model. *<dataTemplate name="Extrac

  • How to set TimeOut in URL

    Hi everyone, " URL u = new URL(url); InputStream is = u.openStream(); BufferedReader dis = new BufferedReader(new InputStreamReader(is)); " My problem is, 1. if host is down,my program waits for dafult time to connect 2. After connecting to server, t

  • Proximity sensor issue is more serious for me

    When I are talking with my customer this morning, how could you believe my ear dialed another call to one my friend, really incredible.... APPLE, WHEN WILL YOU FIX IT????

  • Instr function syntax error in MDX quary

    Hi all Wen Iam excuting this MDX quary its giving error;syntax error line at 3 ',' SELECT Filter( [PERIOD].Generations(5).Members, InStr( [PERIOD].currentmember.[2010], "Cola" ) >0 ) ON COLUMNS FROM REP.Rep; but wen iam excuting this below example SE