BC4J EJB deployment ; testing deployment to 8i with client application

Hi,
Is there a way to to connect a java client application to a 8i deployed BC4J using the oracle.dacf.dataset.SessionInfo ? Can we do this using the JDev wizards - property inspector ?
(I've seen in the doc :"Testing a Business Components EJB Deployed to Oracle8i with a Code Client" but the given code
// setup application module variable
ApplicationModule appMod = null;
javax.naming.Context ic = new InitialContext(env);
ApplicationModuleHome home = (ApplicationModuleHome)ic.lookup(DeployedMod);
appMod = home.create();
does not contains any SessionInfo object.)
Thanks,
Xvc

Chris,
Perhaps you should be checking if the user you wish to deploy
EJBs to has at least JAVAUSERPRIV.
As SYSTEM
grant JAVAUSERPRIV to <user>;
Good luck
/Mark
Chris Jones (guest) wrote:
: Hi,
: I'm having a problem deploying an EJB to Oracle 8i with
: JDeveloper 2.0.
: I am receiving an insufficient privileges error in the
: deployment process when it reaches the stage Generating EJBHome
: and EJBObject on the server. I am logging in using the system,
: sys, scott or internal account and all still receive the same
: error. What role/privelege do I need to deploy an ejb to 8i?
: Thanks in advance.
: Here is a dump of the output JDeveloper produces.
: *** Invoking the Oracle JDeveloper deployment utility ***
: Scanning project files...done
: Generating classpath dependencies...done
: Generating archive entries table...done
: Writing archive...done
: *** Invoking the Oracle8i deployment utility ***
: 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...done
: Generating EJBHome and EJBObject on the
: server...oracle.aurora.server.tools.sess_iiop.ToolsException: A
: SQL exception occured while compiling:
: oracle.aurora.ejb.gen.test_MyEJB.EjbObject_MyEJB : ORA-01031:
: insufficient privileges
: at oracle.aurora.server.tools.sess_iiop.ToolImpl.error
: (Compiled Code)
: at oracle.aurora.ejb.deployment.GenerateEjb.generateBean
: (Compiled Code)
: at oracle.aurora.ejb.deployment.GenerateEjb.invoke
: (Compiled Code)
: at oracle.aurora.server.tools.sess_iiop.ToolImpl.invoke
: (Compiled Code)
: at
: oracle.jdeveloper.wizard.deployment.EJBDeployMonitor.run
: (Compiled Code)
: at oracle.jdeveloper.wizard.common.ProgressDialog.run
: (Compiled Code)
: at java.lang.Thread.run(Compiled Code)
null

Similar Messages

  • Looking for BC4J EJB deployment example

    Hi,
    I am looking for an very simple example project for BC4J deployed as EJB, including table definition, BC4J source files, and EJB client source files. I have previously successfully deployed the BC4J to Oracle8i JVM and OC4J, but currently struck at how to write the client application. I would like to know how to call my own remote methods other than working with ViewObjects directly.
    Help needed.
    Regards,
    Patrick.

    Maybe this will help:
    In JServer, ejb inactivity timeout is controlled by property jbo.ejb.txntimeout which value is 60 (secs) by default.
    JServer properties file is deployed as oracle/jbo/server/jboserver.properties, you can get it from jbomt.zip (you should create the same directory structure and a project, say jServerProps.jpr, containing the file).
    Edit the file:
    jbo.ejb.txntimeout=28800
    jbo.ejb.txntype=local
    , then deploy it as Classes and Java Stored Procedures to Oracle 8i.
    To see effective values of jServer properties you have to set jbo.debugoutput=console in file oracle/jbo/common/Diagnostic.properties - from the same jbomt.zip.
    It's better to include the file in the above jServerProps project and deploy at once with jboserver.properties.
    null

  • Access Denied with EJB Deployment to 8i with JDeveloper

    Hi,
    I'm having a problem deploying an EJB to Oracle 8i with
    JDeveloper 2.0.
    I am receiving an insufficient privileges error in the
    deployment process when it reaches the stage Generating EJBHome
    and EJBObject on the server. I am logging in using the system,
    sys, scott or internal account and all still receive the same
    error. What role/privelege do I need to deploy an ejb to 8i?
    Thanks in advance.
    Here is a dump of the output JDeveloper produces.
    *** Invoking the Oracle JDeveloper deployment utility ***
    Scanning project files...done
    Generating classpath dependencies...done
    Generating archive entries table...done
    Writing archive...done
    *** Invoking the Oracle8i deployment utility ***
    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...done
    Generating EJBHome and EJBObject on the
    server...oracle.aurora.server.tools.sess_iiop.ToolsException: A
    SQL exception occured while compiling:
    oracle.aurora.ejb.gen.test_MyEJB.EjbObject_MyEJB : ORA-01031:
    insufficient privileges
    at oracle.aurora.server.tools.sess_iiop.ToolImpl.error
    (Compiled Code)
    at oracle.aurora.ejb.deployment.GenerateEjb.generateBean
    (Compiled Code)
    at oracle.aurora.ejb.deployment.GenerateEjb.invoke
    (Compiled Code)
    at oracle.aurora.server.tools.sess_iiop.ToolImpl.invoke
    (Compiled Code)
    at
    oracle.jdeveloper.wizard.deployment.EJBDeployMonitor.run
    (Compiled Code)
    at oracle.jdeveloper.wizard.common.ProgressDialog.run
    (Compiled Code)
    at java.lang.Thread.run(Compiled Code)
    null

    Chris,
    Perhaps you should be checking if the user you wish to deploy
    EJBs to has at least JAVAUSERPRIV.
    As SYSTEM
    grant JAVAUSERPRIV to <user>;
    Good luck
    /Mark
    Chris Jones (guest) wrote:
    : Hi,
    : I'm having a problem deploying an EJB to Oracle 8i with
    : JDeveloper 2.0.
    : I am receiving an insufficient privileges error in the
    : deployment process when it reaches the stage Generating EJBHome
    : and EJBObject on the server. I am logging in using the system,
    : sys, scott or internal account and all still receive the same
    : error. What role/privelege do I need to deploy an ejb to 8i?
    : Thanks in advance.
    : Here is a dump of the output JDeveloper produces.
    : *** Invoking the Oracle JDeveloper deployment utility ***
    : Scanning project files...done
    : Generating classpath dependencies...done
    : Generating archive entries table...done
    : Writing archive...done
    : *** Invoking the Oracle8i deployment utility ***
    : 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...done
    : Generating EJBHome and EJBObject on the
    : server...oracle.aurora.server.tools.sess_iiop.ToolsException: A
    : SQL exception occured while compiling:
    : oracle.aurora.ejb.gen.test_MyEJB.EjbObject_MyEJB : ORA-01031:
    : insufficient privileges
    : at oracle.aurora.server.tools.sess_iiop.ToolImpl.error
    : (Compiled Code)
    : at oracle.aurora.ejb.deployment.GenerateEjb.generateBean
    : (Compiled Code)
    : at oracle.aurora.ejb.deployment.GenerateEjb.invoke
    : (Compiled Code)
    : at oracle.aurora.server.tools.sess_iiop.ToolImpl.invoke
    : (Compiled Code)
    : at
    : oracle.jdeveloper.wizard.deployment.EJBDeployMonitor.run
    : (Compiled Code)
    : at oracle.jdeveloper.wizard.common.ProgressDialog.run
    : (Compiled Code)
    : at java.lang.Thread.run(Compiled Code)
    null

  • Web interaction with client application

    Hi all,
    I have self taught myself Java over the last 4 years on and off.
    I am in the mid stages of developing an MRPII application with various modules. These modules are effectively JTabbedPanes within JInternalFrames. The JInternalPanes are within a JDesktopPane which also has JTabbedPanes.
    This enables me to have departmental tabs at the top of my app and module functions at the left hand side, dependant of which departmental tab is selected.
    I have created a class that connects to MySql and can do various functions which I then can derive specific MRPII classes.
    I have a desktop PC which I have MySql configured as a server and a laptop which is configured as a client. Both machines run WindowsXP and my router is a linksys.
    With this setup both machines can check inventory, take orders, produce purchase orders, create customers & vendors etc....
    My next step is to try and incorporate a web component into this.
    My ideal goal is to have a database that is set up and hosted on the web and works in the same way as my home network. This would enable me to deploy this application and configure the ODBC data source to point to an IP address. Is this possible and if so how would I go about it.
    The other option is to create web pages with forms that interact with my local server. If this is the better option, I am unsure whether I should learn about servlets or possibly XML, as all I have learned so far is about applications.
    Your guidance would be greatly appreciated.
    thanks
    Jim.

    I wouldn't let client applications connect to a database directly. What if you make a change to the database in order to fix a bug for example, that would mean rebuilding the clients and redistributing them and in the mean time any old client is most likely broken.
    I would let the server communicatie with the database locally and expose either an XML-RPC or a SOAP connection to clients. This makes your framework extendible and abstract, all you do is implement SOAP methods on the server that your clients will invoke. As long as the response of such a call never changes you do not need to change your clients. And who knows, you may even use additional data sources (other databases for example) on your server, your clients will never have to know about it.
    If you want to learn about SOAP, check out Apache axis.
    http://ws.apache.org/axis/index.html

  • EJB deployment/access from the Client Machine

    I want to deploy/access the EJB on the Oracle 8i server from the
    Client Machine. From the Oracle 8i server machine i am able to
    deploy and access the EJB
    When i am trying to deploy/access the EJB i am getting the
    following message
    javax.naming.CommunicationException: Unknown service : sess_iopp
    url
    Please tell me what to do ?
    Thanks in advance
    null

    Are you using JDeveloper? If yes then go to File|New->Snippets
    and select 'Example JServer EJB Client' to create an EJB client.
    : javax.naming.CommunicationException: Unknown service :
    sess_iopp
    It's sess_iiop not iopp ;-)
    Regards,
    Arun
    Manish Patel (guest) wrote:
    : I want to deploy/access the EJB on the Oracle 8i server from
    the
    : Client Machine. From the Oracle 8i server machine i am able to
    : deploy and access the EJB
    : When i am trying to deploy/access the EJB i am getting the
    : following message
    : javax.naming.CommunicationException: Unknown service :
    sess_iopp
    : url
    : Please tell me what to do ?
    : Thanks in advance
    null

  • How to Deploy Mysql database with JSF Application

    hi,
    I have developed web application using JSF which uses a MySQL as Database.The server is localhost, database name is database_123(or watever!), so everything works fine...now this web application is something which i need to run on other computers as well....so do i have to install mySQL server to the computer from which the war file is deployed? if i don't want to install mysql at any computer, then how can i do?
    Plz help me! and if possible please tell me or post a article.
    Thanx in advance
    jsfgeeks

    This is what I am trying to figure out what is the best way. I am not worrying about making the SQL Server part of my install, we are going to leave that up to the client. I already have the script to create the DB, I am just trying to find the best way to deliver the data to the SQL Server. Like I said I have T-SQL scripts with insert statements but they end up being huge. I am looking at maybe using ApexSQL Script, as it can make an .exe file that creates the DB and installs the data, but it give me an out of memory error because we have so much data.

  • Help deploying a package with an application. Is it possible?

    Hi all,
    I wanted to find out how to deploy a batch file that was created to delete previous versions of Java.  After researching thru TechNet, I was able to successfully implement the batch file by creating a package, but here is where I'm stuck.  Being
    that we've just recently setup the SCCM infrastructure, there are many previous versions of java on client machines.  I feel like it would be almost a waste to find each old version of java and then supersede each version by it's successor in SCCM. 
    It would work, but it would take entirely too long.  The script does it's job perfectly, however, I have also deployed an application with the most current java update.  Now, what I need to happen is have the package, to uninstall all previous java
    versions, run before the application to install the most current version of java.  I've been researching and have found ideas, but not been successful with the implementations.  Any suggestions or advice?
    Thank you!

    You have to wrap the new Java installation into a script and in that script you put your Java removal script too, so that it gets fired first before the installation of the new Java. Powershell or VBScript, whatever you like :)
    This is because you can not add a dependency from an Application to a Package.
    Tim Nilimaa | Blog: http://infoworks.tv | Twitter: @timnilimaa

  • Deployment of CR with VS2005 application

    Post Author: ampersand
    CA Forum: .NET
    Hi,
    I am currently creating a setup with Inno Setup to deploy an .NET windows application (built with VS2005). Within the app I use Crystal Report that is bundled with Visual Studio 2005. The user is only able to select a predefined report, he cannot design reports on his own.
    I am a bit unsure what is the best and most efficient way to install the necessary CR components. I cannot use MergeModules as these are not supported with Inno Setup. I read something about putting the MergeModule into an MSI file and start this MSI from within InnoSetup. Is this the correct way?
    Is it possible to let the user download the necessary file form your homepage instead of bundling them into the setup? The size of the CR MergeModule is pretty big (round 20MB) and this is much overhead for an application of just 2 MB.
    Thanks for your help
    Dirk

    Post Author: ampersand
    CA Forum: .NET
    Thanks for your replies.
    I cannot use the setup project of Visual Studio for my application as it has not enough options. Instead I have to use InnoSetup for my application. Unfortunately InnoSetup cannot handle MergeModules natively.
    So what I did now is I created an empty setup project in Visual Studio and only included the MergeModule of CR for VS2005. I then receive a MSI file which only includes the MergeModule.
    This MSI file is called by my application setup that was created with Inno Setup. After installation I get a directory 'BusinessObjects' in the Common Files directory with around 400 dll's in it. This works but I am wondering if this is really the correct way to do it or if I am thinking in to the wrong direction.
    Thanks
    Dirk

  • EJB Deployment in Websphere 5.0 application server

    any body please tell,
    how to deploy and run stateless session beans in WebSphere application server?

    I have understood what you mean!!!!!!
    But when you would use the App. Developer for development of your application it would be easy to deploy....anyway,
    look at http://www.redbooks.ibm.com/
    and search for "IBM WebSphere Applicatin Server V5 - System Management and Configuration"
    download the pdf book
    when you got it see chapter 17 --> Deploying an Application
    Regards
    Howmad

  • EJB deployment problems

    I'm trying to deploy my business component as an EJB to Oracle 8.1.7. Actually, it deploys with no errors. When I test the module by setting the middle tier type to Local, it works fine. But, when I set the middle tier type to EJB, I can't see any data when I try to show my business component view.
    So, I tried to deploy my applet and run it against the EJB, but I get an error in a Panic dialog box that says "Unknown service::session0". The details say
    "DAC-405: SessionInfo:Application module creation failed; className: MyBcModule
    Unknown service::session0
    At the same time, the message view shows the following:
    oracle.dacf.dataset.DataSourceOperationException: SessionInfo: Application module creation failed; className: MyBcModule
    void oracle.dacf.dataset.ProducerObject.open(boolean)
    void oracle.dacf.dataset.SessionInfo.publishSession()
    void EISGui2.EISGuiApplet2.init()
    void sun.applet.AppletPanel.run()
    void java.lang.Thread.run()
    The applet will run just fine when I set the session object to a local deployment type. I went through the trouble shooting stuff in the online help made sure my java_pool_size was set to at least 50MB, and that I have no unresolved java classes on the server. But, it still won't work. Are there any suggestions on what else I can try?

    Of course, now I have other problems. After successfully redeploying my new business component as an EJB, and testing the application module successfully as an EJB middle tier server type, I created a new project as described in the online help under "Testing a Business Components EJB Deployed to Oracle8i with a Code Client." I followed the online help's instructions dilligently. Does it work? Of couse not. I'm turning on debugoutput with -Djbo.debugoutput=console so I can get more information, but that information isn't helping me. Refering back to the online help's code, it's crashing on the "ApplicationModuleHome home = (ApplicationModuleHome)ic.lookup(DeployedMod)" line. Here's my exception stack:
    [00] Diagnostic Properties: Timing:false Functions:false Linecount:true Threshold:6
    [01] CommonMessageBundle (language base) being initialized
    [02] Stringmanager using default locale: 'null'
    [03] BC4JDeployPlatform: Ejb
    [04] Connected to Service:sess_iiop://fredws:2481:ORCL
    [05] Logging in...
    javax.naming.NamingException: Unknown reasons. Root exception is
    java.lang.ClassNotFoundException: EisBc.common.ejb.EisBcModuleHomeHelper
    void oracle.jbo.client.remote.ejb.aurora.AuroraEJBAmHomeImpl.initRemoteHome()
    void oracle.jbo.client.remote.ejb.aurora.AuroraEJBAmHomeImpl.<init>(oracle.jbo.JboContext, java.lang.String)
    oracle.jbo.common.JboHome oracle.jbo.client.remote.ejb.aurora.AuroraEJBInitialContext.createJboHome(java.lang.String)
    java.lang.Object oracle.jbo.common.JboInitialContext.lookup(java.lang.String)
    java.lang.Object javax.naming.InitialContext.lookup(java.lang.String)
    void tester.EisBcTester.main(java.lang.String[])
    Now, how can the EJB tester work, but my code can't find the helper class? I know my JNDI path is correct. I've checked to make sure that the EisBc.common.ejb.EisBcModuleHomeHelper class actually exists in the database and is valid. I've run java2perm.sql to grant permissions to my user. And, my java_pool_size is over 60MB.
    This is frustrating. Did I see a thread about someone wanting to go back to VB...

  • SSL VPN with client, anyconnect.

    I've set up a simple test on SSL VPN with client on a 3800.
    It didnt work. I assume i have to turn on the IP http server so that the client can hit it.
    but when I turned it on, the client goes to SDM, nothing with ssl vpn happened. it tells me the pay is not available.
    The underlying routing is fine.
    Could you tell me where it is configured wrong?
    Config is copied below.
    thanks,
    Han
    =======
    Current configuration : 3340 bytes
    version 12.4
    service timestamps debug datetime msec
    service timestamps log datetime msec
    no service password-encryption
    hostname Router
    boot-start-marker
    boot-end-marker
    enable password cisco
    aaa new-model
    aaa authentication login default local
    aaa session-id common
    no network-clock-participate slot 1
    crypto pki trustpoint TP-self-signed-3551041125
    enrollment selfsigned
    subject-name cn=IOS-Self-Signed-Certificate-3551041125
    revocation-check none
    rsakeypair TP-self-signed-3551041125
    crypto pki certificate chain TP-self-signed-3551041125
    certificate self-signed 01
    3082024F 308201B8 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
    31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
    69666963 6174652D 33353531 30343131 3235301E 170D3131 31313135 31383238
    30365A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
    4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D33 35353130
    34313132 3530819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
    8100CFCF CFFAD76A 50DA82C9 8D4E3F90 64AD24EB 5409C5E2 43BC64F3 07F6C0E0
    29FF2D71 0DA0D897 2F814BD2 7F817503 429D4BC6 6AD6EEA4 DFA74BAD 0EAF84D5
    6ED55EC0 6C637178 BEEBCD1D 184BB90C CA84E974 48003885 87B53F2E 36A04661
    23DA2CBB DD8EEE1D 2F25AF9A E21DC288 BF76A17C C1F4BA07 95F09377 A12BE01A
    53750203 010001A3 77307530 0F060355 1D130101 FF040530 030101FF 30220603
    551D1104 1B301982 17526F75 7465722E 776E7362 6E6F632E 696E7465 726E616C
    301F0603 551D2304 18301680 14BE9E8F ED788928 560D7CA1 EED89B0D DE34D772
    5D301D06 03551D0E 04160414 BE9E8FED 78892856 0D7CA1EE D89B0DDE 34D7725D
    300D0609 2A864886 F70D0101 04050003 818100BC 4A2A3C47 7BF809AF 78EE0FD9
    73692913 F280765E BAFAECAB ED32C38D 3030810B C62C7F45 13C8A6EE AE96A891
    CDD4C78B 803299AD EB098B27 383CEF6F 0E2B811F 3ECFADBA 07CD0AC6 BBB8C5FE
    B2FC0FD8 562B7100 BB28036E 4575D1F5 B17687C6 8EACBD66 A9E52FEE A030E69A
    CAAE9F1B 618FA59D 02C25BC8 77D6CAC2 C7E56F
    quit
    dot11 syslog
    ip cef
    multilink bundle-name authenticated
    voice-card 0
    no dspfarm
    username cisco1 privilege 15 secret 5 $1$L2RA$Zqs6FLce5Ns5fny5aRL49/
    archive
    log config
    hidekeys
    interface GigabitEthernet0/0
    ip address dhcp
    duplex auto
    speed auto
    media-type rj45
    end
    interface Loopback1
    ip address 1.1.1.1 255.255.255.0
    interface GigabitEthernet0/0
    ip address dhcp
    duplex auto
    speed auto
    media-type rj45
    ip local pool svc-poll 1.1.1.50 1.1.1.100
    ip forward-protocol nd
    ip route 0.0.0.0 0.0.0.0 192.168.1.254
    ip http server
    no ip http secure-server
    control-plane
    line con 0
    logging synchronous
    line aux 0
    line vty 0 4
    scheduler allocate 20000 1000
    webvpn gateway SSLVPN
    ip interface GigabitEthernet0/0 port 443
    ssl trustpoint local
    inservice
    webvpn install svc flash:/webvpn/svc.pkg
    webvpn context SSLVPN
    ssl authenticate verify all
    policy group default
       functions svc-required
       svc default-domain "test.org"
       svc keep-client-installed
       svc split dns "primary"
    default-group-policy default
    gateway SSLVPN
    inservice
    end

    Using the SDM follow the below config example
    http://www.cisco.com/en/US/products/ps6496/products_configuration_example09186a008071c58b.shtml
    The text "cisco 3800 ssl vpn configuration" in my favorite search engine, identified the above.
    HTH>

  • Problem with database access in EJB deployment to SJSAS on remote deploy

    Hi,
    I have deployed an Enterprise application containing an EJB3.0 module to a remote sun application server (Edition 9.0_01 (build b02-p01))
    using a mysql ver 5 DB with connector
    mysql-connector-java-5.0.0-beta-bin.
    It is being used by a swing application client deployed as a module of a separate Enterprise application.
    The client can access the session beans but when the EJB tries to create a query with the entity manager the client fails and the following exception appears in the log.
    Timestamp:     
    Aug 20, 2007 09:36:38.910
    Log Level:     
    INFO
    Logger:     
    javax.enterprise.system.container.ejb
    Name-Value Pairs:     
    _ThreadID=21;_ThreadName=p: thread-pool-1; w: 7;
    Record Number:
    2239
    Message ID:
    javax.ejb.EJBTransactionRolledbackException at com.sun.ejb.containers.BaseContainer.mapBusinessInterfaceException(BaseContainer.java
    Complete Message
    1373)
         at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1290)
         at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:192)
         at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:71)
         at $Proxy329.findAll(Unknown Source)
         at test.TestGuyBean.getTheWordGreat(TestGuyBean.java:36)
         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.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1050)
         at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:165)
         at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2766)
         at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:3847)
         at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:190)
         at com.sun.ejb.containers.EJBObjectInvocationHandlerDelegate.invoke(EJBObjectInvocationHandlerDelegate.java:67)
         at $Proxy323.getTheWordGreat(Unknown Source)
         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.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:121)
         at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:650)
         at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:193)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1705)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1565)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:947)
         at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:178)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:717)
         at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:473)
         at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1270)
         at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:479)
    Caused by: javax.ejb.TransactionRolledbackLocalException: Exception thrown from bean; nested exception is:
    java.lang.IllegalArgumentException:
    An exception occured while creating a query in EntityManager
         at com.sun.ejb.containers.BaseContainer.checkExceptionClientTx(BaseContainer.java:3588)
         at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:3436)
         at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1247)
         ... 30 moreThis is a result of a test portion of the application, but similar results occur when the actual application is run.
    The "at test.TestGuyBean.getTheWordGreat(TestGuyBean.java:36)" is
    being invoked by the client and "$Proxy329.findAll(Unknown Source)" is where the query is constructed.
    The code is as follows
    public String getTheWordGreat(String bob){
            String s = "abcdefgh ";
            List<MobileDialingCodes> c =  mobileDialingCodesFacade.findAll();
            for (MobileDialingCodes elem : c) {
                s += elem.getNumber() + " ";
    //        System.out.println("bob");
            return s;
    public ArrayList<MobileDialingCodesHC> getAllDialingCodes(){
            List allCodesEJB = findAll();
            ArrayList<MobileDialingCodesHC> allCodesHC = new OurArrayList();
            for (Object elem : allCodesEJB) {
                allCodesHC.add(convertEJBtoHC((MobileDialingCodes)elem));
            return allCodesHC;
    }The default config for the application is used and the application
    uses the netbeans defaults. Netbeans 5.5. Toplink persistence manager.
    Any suggestions would be appreciated.
    null

    Did you try after restarting the iAS server?

  • Problems with OC4J EJB deployment and the data-sources.xml file

    I am running 2 Windows 2000 Machines one with the 8.1.7 database another with iAS 1.0.2.2.1 and OC4J.
    I am trying to deploy a 3rd party EJB-based application whic seems to have deployed successfully except when I try to test the EJB deployment via a jsp it can't connect to the database, giving the error:
    1/16/02 4:52 PM VerySimple: Servlet error
    java.lang.NoClassDefFoundError: com.netexp.user.UserManagerHome
    at com.netexp.beans.BeanHelper.class$(Unknown Source)
    at com.netexp.beans.BeanHelper.getUserManagerBean(Unknown Source)
    at /very_simple.jsp._jspService(/very_simple.jsp.java:48) (JSP page line 27)
    at com.orionserver[Oracle9iAS (1.0.2.2.1) Containers for J2EE].http.OrionHttpJspPage.service(OrionHttpJspPage.java:54)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.HttpApplication.serviceJSP(HttpApplication.java:5459)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.JSPServlet.service(JSPServlet.java:31)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:508)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:177)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:576)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:189)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:62)
    I try to update the file using the installdatasource switch thus:
    C:\Oracle\iSuites\j2ee\home>java -jar admin.jar ormi://localhost admin adm_pwd -application apptricityII -installDataSource -jar %ORACLE_HOME%\jdbc\lib\classes12.zip -url jdbc:oracle:thin:@db_host.unitas.com:1521:db_name -connectionDriver oracle.jdbc.driver.OracleDriver -location jdbc/pool/OracleDataSource -username scott -password tiger
    And get the following error:
    Exception passing by from remote server: java.lang.InstantiationException: No class specified for jdbc/pool/OracleDataSource
    java.lang.InstantiationException: No class specified for jdbc/pool/OracleDataSource
    <<no stack trace available>>
    Error adding source: No class specified for jdbc/pool/OracleDataSource
    Please advise.
    I have followed the instructions in 'EJB Primer' and 'Using Oracle9iAS Containers for J2EE' to no avail. And I can't find any meaningfull data-sources.xml samples. I have been struggling with this for some time.
    Is there any other file, do I need to bind anything?
    I'd appreciate your assistance.
    Thank you
    Louiza

    Hi Louiza,
    Show us your web.xml and ejb-jar.xml files as well as your
    data-source.xml file.
    Thanks,
    Avi.

  • Can Oracle SQL Flavor be used When BC4J is deployed in WebLogic as EJB?

    Hi,
    Does anybodys know if Oracle SQL Flavor can be used When BC4J is deployed in WebLogic as EJB?
    We succeeded in deploying BC4J to WebLogic 7.0 & 6.0, but we had to select the SQL92 option for SQL Flavor when the first BC package is created in a project. Selecting Oracle option for SQL Flavor will cause EJB to fail, and client get a ClassCastException.
    We still want to use Oracle SQL, is it possible to use it with WebLogic?
    Thanks.

    We figured out that Oracle SQL Flavor can be used with WebLogic, but only with DB connections created from JDBC URL, not work with DB connections from WebLogic connection pool.

  • Deploying ejb with Sun Application Server 8

    I'm deploying a container-managed entity, my status & my problem is listed below:
    Deploytool:
    When I verify my entity, I see this error:
    Error: Exception [ JDO74033: Cannot deploy application 'LibrarianApp' module 'ejb-jar-ic' with CMP beans: cmp-resource is not defined for this module. The minimum requirement for a cmp-resource is to specify the jndi-name of a jdbc-resource or a persistence-manager-factory-resource to be used with the beans. ] while initializing JDOCodeGenerator. Please check your descriptors and mapping files for consistency
    Deploying has not any error but running the application has :
    Caught an exception:
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.RemoteException
    at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:170)
    at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
    in CMP Database of my entity, JNDI Name = jndi/MySQL
    Sun Java System Application Server Platform Edition 8 Admin Console:
    in JDBC Resource JNDI Name: jdbc/MySQL & Pool Name MySQL2
    in Connection Pools > MYSQL2 > Data Source Class Name: com.mysql.jdbc.jdbc2.optional.MysqlDataSource
    Please Help Me. thx

    hi
    I am working with Sun java application Server 8.
    I can able to create application(*.ear),
    (Enterprise Java Bean) bean component,
    client application
    Problem is, i am unable to provide JNDI name for client application
    advice needed to provide JNDI name for the client applications
    i dont know whats the use of pointbase/cloudscape
    (As i am new to this sjaServer 8, i need your advice)
    Response to the following mail id
    [email protected]
    Please do the favour
    thank you

Maybe you are looking for

  • I have three email accounts query...does anyone ha...

    Hello Members, my phone is 5800 and i have a Hotmail, Googlemail and an AOL email account, i find i need to access them as i still get inportant emails. I understand there are email clients for my phone ie Nokia messaging, OVI, but i don't really wan

  • Adobe After Effects CC quit unexpected. Need your help

    OS X M10.9.4 Try to start unexpected windows with Last log message was: <140735269561104> <DynamicLink> <5> /Applications/Adobe After Effects CC/Adobe After Effects CC.app/Contents/dynamiclinkmanager.app and Problem Report Process:         After Effe

  • Problem updating Application Manager in CS6 D&W Premium

    I just finished a clean installation of CS6 Design & Web Premium under WIndows 7 Enterprise 64-bit.  I fired up Bridge, checked for updates, and allowed the update process to complete.  I then fired up Adobe Application Manager (from the desktop icon

  • OS X freezes whenever I cannot force quit an application

    About twice a week I have an application that will hang. Usually when I close my MacBook Pro while the app is running. The app will not quit or force quit, if I try to restart the OS, it hangs and I have to hold the power button down to shut it off.

  • Outgoing mail off-line

    My mail has been working perfectly until this morning when my email would not send and I kept getting a message requesting my password. This message kept reappearing. My mail sat in outbox and would not send. On checking mail preferences I noticed it