Using CallRouter with EJB Home/Remote interface

Hi,
How do i Use my CallRouter class for EJB's.
How to use rmic . please help
thanx in adv.
pradeep bhat

You can specify the call-routers in weblogic-ejb-jar.xml.
FWIW, what are you trying to do?
-- Rob
pradeep bhat wrote:
Hi,
How do i Use my CallRouter class for EJB's.
How to use rmic . please help
thanx in adv.
pradeep bhat

Similar Messages

  • Using CallRouter with ejb

              Hi,
              Can anyone plz let me know how do I use CallRouter class with
              ejb. The tool weblogic.ejbc is used to generate stubs and skeletons ..
              thanx
              pradeep
              

    You need to have the <home-call-router-class-name> tag in your
              weblogic-ejb-jar.xml
              see below
              http://e-docs.bea.com/wls/docs61/ejb/reference.html#1070646
              Kumar
              "pradeep bhat" <[email protected]> wrote in message
              news:3c9356e4$[email protected]..
              >
              > Hi,
              > Can anyone plz let me know how do I use CallRouter class with
              > ejb. The tool weblogic.ejbc is used to generate stubs and skeletons ..
              > thanx
              > pradeep
              >
              >
              

  • Home & remote interface

    i deployed EJB with ORACLE deployejb tool,it succeed,from the sess_sh shell,i can see the bean itself.But where should i put the home & remote interface class,is that the web server defined class path just like using a javabean.i use tomcat as my webserver.i didn't do above,and when i import the Home & remote interface in my jsp file,it says can not compile the Home & remote interface class,is that the reason.
    thanks

    it did work!thans!
    but i got another error in my jsp file:
    "javax.naming.CommunicationException: Can't find SerialContextProvider "
    it generate after the following code,can you tell me the reason:
    try{
    Hashtable env = new Hashtable();
    env.put(Context.URL_PKG_PREFIXES, "oracle.aurora.jndi");
    env.put(Context.SECURITY_PRINCIPAL, user);
    env.put(Context.SECURITY_CREDENTIALS, password);
    env.put(Context.SECURITY_AUTHENTICATION, ServiceCtx.NON_SSL_LOGIN);
    ic = new InitialContext(env);
    thanks!
    null

  • Do i have to use JNDI with EJBS?

    Hi
    I want to use JNDI to lookup a system which i will send messages to using JMS. I would like to have some java classes on Tomcat to do the job. But...whenever i hear about JNDI it is always in relation to EJBs. Can i only use JNDI with EJBS?
    If i can use JNDI is there anything important i need to know about.
    Thanks in advance!
    San H.

    You can definitely use JNDI outside of EJB's - in particular, it's a great interface for dealing with LDAP servers, even securely, and can also be used for DNS interfacing, COS, RMI registries, etc.
    While JNDI was chosen as the method by which J2EE components can locate other components in a distributed environment, it's by no means limited to that task :) It's a wonderful API, and in terms of things you need to know, most everything is covered fairly well at the JNDI tutorial in the various trails that are mapped out there.
    http://java.sun.com/products/jndi/tutorial/
    Good luck!
    James
    James Manning | Principal Engineer
    Porivo Technologies, Inc.
    919.806.0566 | [email protected]
    http://www.porivo.com/
    Measuring end-to-end Web performance.
    Register for a FREE Performance appraisal:
    http://www.porivo.com/peerReview/eval.html

  • Can I use Solaris with my Home Recording Studio?

    Hello,
    I am currently building a basic home recording studio. I recently assembled a new computer and will be purchasing music recording equipment very soon. Before I purchase the audio recording gear, I was curious about a few things pertaining to the use of Solaris as my possible choice system.
    The data that I store on my hard drives will need to be secure. I had originally considered RAID 5 though recently found out about RAID Z, which appears to be far ahead of the other RAIDs. I am curious to know more about how to set up a RAID Z system.
    The computer will be running Solaris, various Linux or BSD, and Windows Vista. I have 500GB x4 hard drives. I am considering separating one and using it strictly for Vista, and using the remaining 3 with a RAID set-up for nix. If I had a choice, I would put much less hard drive space into Vista (capping it at 150 to 200 GB), though I have yet to come across a RAID system that effectively or efficiently cooperates cross-platform. With that in mind, the majority of the remaining 1.5TB can go into my studio OS - hopefully Solaris - while left-over hard drive space is set aside for various other *nix.
    I've used Solaris 10 before, though haven't really gone into detail on the mechanics of such features as ZFS, zones, now RAID Z, and the many more amazing features that Solaris provides. Likewise, I am not really familiar with how well the system might operate with software/applications that I could use for recording and composing music.
    Beyond the available 2TB (or 1.5TB RAID-ready) space, my computer is running on a new 64-bit quad-core AMD CPU (~2.6GHz) and currently has 4GB 1066MHz RAM. In my search for preparing a computer that suits me for high performance recording - including the editing and mastering of audio - I am attempting to narrow down my options on the software side of things. I have been very satisfied with the general file management of Solaris, though am unsure of how well it might run as the software side of a home recording studio. An additional factor in deciding will be the software's compatbility with audio PCI cards and external recording/audio interfaces. There is always a question of whether or not the necessary drivers, firmware, or similar is available between any given hardware and software components.
    Some other *nix options I have considered - "Ubuntu Studio 64-bit" (though it appears to prefer 32-bit) and "64 Studio" (also Debian-based, though appears to be optimized for 64-bit). Some colleagues have used Gentoo with studio applications, though I don't know of any Linux distributions that offer the versatility, power, stability, and efficiency of Solaris for the operating system that it is.
    If I use something like "64 Studio", I will have the advantage of a system that is ready-built for studio recording purposes as well as a system that I know is compatible with the sound gear that I am considering purchasing. However, those systems are restricted by their file system types, RAID availability and dependability, and the general disadvantages of using the Linux kernel in general. (I enjoy Linux, though I admittedly prefer Unix over it.)
    Can I use Solaris with my home recording studio?
    Thank you!
    Edited by: the_professor on Nov 9, 2008 6:26 PM
    Corrected a typo.
    Edited by: the_professor on Nov 9, 2008 6:30 PM
    Caught another typo.

    I'm not sure what your question is. If you have particular software you want to run, you should see what you can get that package to run under. Sound hw stuff don't tend to be too portable unless it's written on top of OSS (htttp://www.opensound.com). Were I you, I'd consider separating out the storage part and the processing part. Get something like a cheap dell sc440 to be a file server and give the drives to that (unless you actually can get all the components working under solaris).
    -r

  • Do i have to use JMS with EJBS?

    Hi
    I want to use JMS as a messaging system (a queue) between my system and someone elses. I would like to have some java classes on Tomcat to do the job. But...whenever i hear about JMS i always hear it in relation to EJBs. Can i only use JMS with EJBS?
    If i can use JMS is there anything important i need to know about.
    Thanks in advance!
    San H.

    As far as I understand you are use JNDI and JMS is not bound with EJB's. These are java API's which are independent. Like JDBC you can use with Servlets, Applets, standalone applications, EJB, JMS etc etc.......
    In the same way you can use JNDI and JMS with diferent API. And the important feature of Java is that all java API interact with each other when these are independent. I would appricate comments of everyone......................Thanks

  • Home/Remote Interface and BeanName EJB in different Packages

    Hi all,
    I have a simple stateless session bean. Its Home and Remote interfaces are in X package and the BeanEJB in another. The files compile without any error. While I try to deploy it into J2EE ref implementation server using its deployment IDE, it throws up an rmic compilation error.
    Error Details
    File e:\j2sdkee1.3\repository\tejix\gnrtrTMP\POC2\General\SeabedHome_RemoteHomeImpl.java does not contain type General.SeabedHome_RemoteHomeImpl as expected. Please adjust the class path so that the file does not appear in the package General.
    General is the package where the remote/home interfaces are located and Bean1 is where the BeanEJB.
    Please suggest a solution
    Thanks in advance
    - Tejasvi

    I think that there is no problem in having the remote and home interface in different packages. Are you sure there is no conflit between classes? I had the same problem because i had repeated classes in the same package. I know this looks stupid but it really happened.
    miguel

  • Using Captivate with a localized user interface

    Summary:
    I'm working on an Adobe Captivate 2 project describing an
    application that has been created in several languages.
    I'm trying to follow the Captivate 2 help topic "Using Adobe
    Captivate with a localized user interface", to create localized
    movies for each language, but it does not work as described in the
    help topic.
    Can anyone help me with this problem, see below "What went
    wrong?"
    Steps to reproduce:
    According to the help topic:
    1. Record a source langauge file from the application (in my
    case swedish).
    2. Export the text captions to a Word document "Export
    project captions and closed captions", and translate the text (into
    english).
    3. Record a new language file from the application, without
    any automatically included objects.
    4. Import all objects "Import slides/objects from other Adobe
    Captivate projects>Objects only" from the source language file
    created in step 1.
    5. Import the the caption text "Import project captions and
    closed captions" from the translated file in step 2.
    What went wrong?:
    Step 5 does not work, I cannot "Import project captions and
    closed captions" into the new language file, the menu text is grey.
    Product version:
    Product: Adobe Captivate 2
    Version: 2.0.0 Build 1177
    Platform information:
    Hardware: Qbic pc x86
    OS Version: XP Professional
    RAM: 1014 MB
    Color Depth: ?
    Display Card: Intel(R) 82865G Graphics Controller
    Resolution: 1280 x 1024

    Hi TekEl and welcome to our community
    For what it's worth, here is how I might try it.
    1. Record a project using either language.
    2. Perform a "Save As" to a different name.
    3. From the new project, export the Captions.
    4. Localize as necessary.
    5. Import the revised captions into the new project.
    I think the trick here is to ensure that you only attempt to
    import into the project that created the export.
    Cheers... Rick

  • Using MobileMe with Network Home and Mobile Account

    Hi,
    I'm having some issues using MobileMe with a new Network Home, frequently seems that after I setup syncing with the network account, which works fine, after logging off and back on to the network account syncing is disabled. After doing some investigating and speaking to the MobileMe support people I think it's related to a 'lock' folder that seems to hang around in the ~/Library/SyncServices folder for longer than it should do, if I do a successful sync then wait for this lock file to disappear then log off everything seems fine, otherwise the sync is disabled and I get a 'Sync unavailable' dialog saying there is more than one network home syncing, which there isn't.
    Also, I'm wondering if the mobile version of the network account should have MobileMe syncing enabled as well or will the Home Sync just sync everything (i.e. Address Book, Contacts, etc.) back when plugged into the network ?
    Mark

    This definitely sounds like something you might want to take up with Adobe Customer Support. (In case you didn't know, the people here are just other users, like yourself).
    If your company bought 300+ licenses, I'm sure they'd be willing to help.
    Will they be able to solve the problem? Well, that's a different issue altogether.

  • Using Illustrator with Network home users

    We have approx 300 macs all binding to an open directory server, all users log in with network home folders.
    We have InDesign, Photoshop and Illustrator installed locally on all machines.
    InDesign and Photoshop launch fine, but Illustrator bounces in the dock for 20 seconds, then does nothing, causing the user to force quit.
    I have done all the normal things, preferences, permissions, new user created etc.
    A local account, (non-admin, or admin) works fine. I am NOT going to go around to 300 systems and create and manage a local account just so people can use Illustrator, that is insane, so.. what are the alternatives?
    Does Illustrator have a problem with network mounted preferences? Because that is the only part I can see as affecting this.
    Can you make Illustrator use a local TEMP or /tmp folder for preferences?
    Do I just have to let everyone keep using Quark 8 forever? (Not likely)
    Thanks in advance.

    This definitely sounds like something you might want to take up with Adobe Customer Support. (In case you didn't know, the people here are just other users, like yourself).
    If your company bought 300+ licenses, I'm sure they'd be willing to help.
    Will they be able to solve the problem? Well, that's a different issue altogether.

  • Problems using JAAS with EJB 3.0 on JBoss 4.0.4-GA

    Hello all,
    I am trying to build a very simple JavaEE application with JAAS, but I getting mad.
    I have an EAR packed with a WAR module an EJB JAR module and a JAR with other classes. Struts is the MVC framework and EJB 3.0 is been used.
    First of all, I configured the "login-config.xml" file within /conf directory in JBoss, like this:
    <application-policy name="exemplo1">
         <authentication>
              <login-module code="org.jboss.security.auth.spi.DatabaseServerLoginModule" flag="required">
                   <module-option name="dsJndiName">java:jdbc/Infra_Seguranca</module-option>
                   <module-option name="principalsQuery">SELECT COD_USUARIO AS Password FROM USUARIO WHERE COD_USUARIO=?</module-option>
                   <module-option name="rolesQuery">SELECT NOME_ROLE AS Roles, 'Roles' AS RoleGroups FROM ROLE_USUARIO WHERE COD_USUARIO=?</module-option>
              </login-module>
         </authentication>
    </application-policy>Next I configured the "web.xml" file like this:
    <security-constraint>
         <web-resource-collection>
              <web-resource-name>Restricted</web-resource-name>
              <description>Declarative security tests</description>
              <url-pattern>*.do</url-pattern>
         </web-resource-collection>
         <auth-constraint>
              <role-name>xxx</role-name>
         </auth-constraint>
         <user-data-constraint>
              <description>no description</description>
              <transport-guarantee>NONE</transport-guarantee>
         </user-data-constraint>
    </security-constraint>
    <login-config>
         <auth-method>FORM</auth-method>
         <realm-name>exemplo1</realm-name>
         <form-login-config>
              <form-login-page>/login.jsp</form-login-page>
              <form-error-page>/loginErro.jsp</form-error-page>
         </form-login-config>
    </login-config>
    <security-role>
         <description>Role xxx</description>
         <role-name>xxx</role-name>
    </security-role>Notice that I am using the "xxx" role to protect the "*.do" URL pattern.
    The "jboss-web.xml" is like this:
    <?xml version="1.0"?>
    <jboss-web>
         <security-domain>java:/jaas/exemplo1</security-domain>
    </jboss-web>As it is, it works perfectly, which means, every time I try to access a "*.do" URL it verifies whether I am authenticated and have authroization or not. If not, the login page shows up.
    Now I wanna to be able to also protect my EJBs.
    My Stateless Session Bean is implemented as follow:
    @RolesAllowed("yyy")
    @Stateless(name="UserManagement")
    public class UserManagementBean implements UserManagement {
         public void add(User user) {
    }When I run all this, the container simply igoners the @RolesAllowed("yyy") annotation and allow the EJB execution.
    If I add the "jboss.xml" file, like this:
    <?xml version="1.0"?>
    <jboss>
         <security-domain>java:/jaas/exemplo1</security-domain>
    </jboss>I start getting this stack trace:
    ERROR [UsersRolesLoginModule] Failed to load users/passwords/role files
    java.io.IOException: No properties file: users.properties or defaults: defaultUsers.properties found
    at org.jboss.security.auth.spi.Util.loadProperties(Util.java:313)
    at org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRolesLoginModule.java:186)
    at org.jboss.security.auth.spi.UsersRolesLoginModule.createUsers(UsersRolesLoginModule.java:200)
    at org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRolesLoginModule.java:127)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    ... Am I missing something? What do I have to do to get JAAS working fine with my EJBs? Do I have to also configure and/or provide "ejb-jar.xml" ???
    Thanks
    Daniel

    Using @SecurityDomain("exemplo1") in my EJB and NOT providing jboss.xml, it works.
    @SecurityDomain("exemplo1")
    @RolesAllowed("yyy")
    @Stateless(name="UserManagement")
    public class UserManagementBean implements UserManagement {
      public void add(User user) {
    }Damn! This is some serious shit... I don�t want to configure this in every single EJB.
    EJB 3.0 is nice, but some small trivial details like this and others, that was forgotten by Sun, piss me off!

  • Using Leopard with iCal, Apple Remote Desktop, and Quicktime/Keynote

    Hi,
    I need to create the following 'synergy' or workflow or 'automation' between these softwares:
    - iCal
    - Apple Remote Desktop
    - Quicktime/Keynote
    This is the application:
    Remotely controlling (ARD) and scheduling (iCal) several quicktime/keynote files for display (ie. playing full screen video but controlling which file is playing from home).
    How can I integrate all softwares?
    Extended application:
    I would also like to know if Leopard or any Apple software has the capability to read serial (RS-232) commands. For example, I would like to know and/or be advised if a screen/monitor is turned off (regardless if the computer is properly displaying the content or not).
    I look forward to your feedback.
    Thanks,
    LMB1980

    It is if you are trying to stream it.
    Users may want to stream their music into a third party program such as Ventrilo (as I do) to share their music (but not their libraries) with other listeners and speak on Ventrilo at the same time. You need two user profiles running Ventrilo at the same time, and two user profiles running iTunes.
    When I roll over to User Profile #2 after setting up iTunes to stream into Vent in User Profile #1, iTunes stops playing. This is a recent change. It's annoying.
    How do I change it?

  • Using ipod with Vista Home Premium

    Hello,
    This is the first time this grandma has posted to this forum. I have an older Windows XP desktop pc which only has 20G. I decided I wanted to use my ipod on my new laptop which is running Vista Home Premium because it has over 100G and it has more storage so I can now feel freer to download more audiobooks and music. There is a error message on the ipod "current user not administrator". Also have problems with where programs are located on ipod. For example, there are podcasts on the ipod but none show up under "podcasts" on the ipod. Help appreciated. Barb
    HP Pavalion dv6000   Other OS   Vista

    I have same problem with my Inspiron 5150, Pentium 4.
    iTunes ***** up most of my system memory. I was uploading one of my CD's and could do nothing else because the CPU was at 100%. This only started happening within the last month or two (note ; recent update) and I even tried reinstalling my OS thinking that would help. First thing I put back on was itunes- problem came right back.
    P.S> What is "iTunes helper.exe" and "iPodservice.exe"?

  • Error in using Hibernate with EJB

    I have generated my Hibernate related configurtion file,POJO Classes & hbm files using MyEclipse 5.0. And Iam using JBuilder 10.0.176.0
    to develop the EJB module. When i try to compile my module it is saying POJO class is bad.
    "Bean2InsertBean.java": cannot access ejb_hibernate.Testsql,bad class file: D:\MyJava\bea\OurClasses\ejb_hibernate\Testsql.class,class file has wrong version 49.0, should be 48.0,Please remove or make sure it appears in the correct subdirectory of the classpath.
    But the classes are in correct directory.

    It looks like you have compiled the POJO class with Java 5 version whereas you are compiling the EJB module with Java1.x (i.e. a lower version). Compile the POJO class with Java 1.x and then try compiling the EJB module with the same version

  • Problem using XSU with EJB

    Hello
    1) I have trouble when using the Oracle XML SQL Ulitity (XSU) with Enterprise Java Beans (EJB).
    This is due to that
    oracle.xml.sql.OracleXMLSQLException extends RuntimeException
    i.e. is interpreted by the EJB container as a system exception.
    (java.sql.SQLException extends Exception)
    2) Is there anywhere I can submit a change suggestion to the XSU developer team?
    Regards
    Ole

    Hello
    1) I have trouble when using the Oracle XML SQL Ulitity (XSU) with Enterprise Java Beans (EJB).
    This is due to that
    oracle.xml.sql.OracleXMLSQLException extends RuntimeException
    i.e. is interpreted by the EJB container as a system exception.
    (java.sql.SQLException extends Exception)
    2) Is there anywhere I can submit a change suggestion to the XSU developer team?
    Regards
    Ole

Maybe you are looking for

  • What camera resolution mode is used by the Flash Player camera settings manager

    What camera resolution is used by the Flash Player camera settings manager? I am referring to the camera settings that you have to pull up by right-clicking on a Flash Player swf that is running, and from the right-click menu you hit settings...selec

  • How to remove a newline character from a column

    hi all... i have a column in a table in which some of the datas contain a newline character at their last. i need to remove those newline characters. for example.... a data is 'abcd (notice the end of the quotation).....i need to get the data as...'a

  • Using time machine, multiple computers back- up and update

    hi all, to start off, i'm planning to buy a new iMac in the Q1 2009... the comming update, and i'm wondering: whit time machine, is it possible to let's say back up my macbook. and whit the new iMac update from the backup so my iMac is in sync whit t

  • Can you see the problem?

    i'm trying to write a simple image viewer application. Can you see the problem. i can't. i'll appreciate any advice or help? import java.awt.*; import java.awt.image.*; import java.awt.event.*; import java.io.*; public class SimpleViewer extends Fram

  • IMac froze during Maverick installation

    After running an installation of Maverick, I am now stuck with a screen showing only my background and the mouse.  Should I restart my computer and see what happens next?