How to setup ORB in sun appserver 8?

Dear All,
I would like to try to use a deployed EJB from a remote server, but do not know how to do.
Suppose there are 2 machines, that are PC A and PC B. I would like the EJB to be deployed on the sub appserver 8 on the PC A, and the bean to be able to be accessed by a client on PC B.
Does anyone know any tutorial on doing this?
I know that there is some settings about ORB in sun appserver 8, but do not have any idea on how to set it.
Henry Cheung

Have you looked at the Developer's Guide? Specifically, the section on developing clients.
http://docs.sun.com/source/819-0079/dgacc.html

Similar Messages

  • How to setup Glashfish 2.1 with sun crypto hardware inside T2 processor

    Dear Expert,
    I had setup comm 7 at guest os (ldom guest) on sun fire t5240 , All running well (mail,calender,im) , I also read
    http://wikis.sun.com/display/BluePrints/Taking%20Advantage%20of%20Wire-Speed%20Cryptography
    Does any body have guide step by step How to integrated glasshfish with sun    Cryptography hardware ?
    thanks
    Hadi

    singautara,
    SLIM is trying to tell you that SUSE 9.x will just not work.
    Period.
    SUSE 9.x is for Intel and AMD chips and the computers that use them. Your Ultra-60 does not have x86 compatible components in it.
    It does not have a BIOS. It has an OpenBootProm .
    The last distribution ever ported by SUSE to Sun's SPARC cpu architecture was something like version 7.3. That is from 5 years ago !
    What's wrong with the Operating Environment that was developed by the same company that manufactured your computer?
    Use the SunOS on the Sun system !
    http://sunsolve.sun.com/handbook_pub/Software/
    Tell you what ...
    Find the "Related Documentation" link at this page in the Sun System Handbook and research what sort of system you have.
    http://sunsolve.sun.com/handbook_pub/Systems/U60/U60.html

  • How  I can to do get a data sources on sun appserver 8  like this?

    jsc GUI develop jsf pages ,I want to get a data sources by Context lookup jndi have binding data sources.
    I know weblogic to get this.
    such as :
    Context ctx = null;
    Properties p = new Properties();
    p.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    p.put( Context.PROVIDER_URL, "t3://localhost:7001" );
    p.put("java.naming.security.principal", user);
    p.put("java.naming.security.credentials", pwd);
    ctx = new InitialContext(p);
    ds = (DataSource)ctx.lookup( "myds" );
    do you tell me sun appserver 8 how to implements this?thx.

    HI
    I am not clear what you are looking for but let me try to give you something. Yes it is possible to get DataSources on apserver 8 by registering JDBC Connection Pool and JDBC DataSource in the admin gui. You can use the regisred datasource in your code like this
    InitialContext ctx = new InitialContext();
    dataSource ds = (DataSource)ctx.lookup( "jdbc/myds" );
    OR
    if you are looking for the Creator do all these, here is the way.
    Create a datasource in the server navigator to point to any of your database. Drag and drop a table to any of your pages in the application (This is not neccessary if any of your application pages have a rowset/datatable already).
    Deploy the application then the datasource will be registered into application server 8. You can use the same code now to access the datasource
    InitialContext ctx = new InitialContext();
    dataSource ds = (DataSource)ctx.lookup( "jdbc/myds" );
    Please let me know if you are not looking for above .
    Thanks
    Srinivas

  • How to setup Sun Solaris 5.7 to perform routing

    How to setup Sun Solaris 5.7 to perform routing and how to setup as a bridge.

    Hi,
    1.You will have to have two interfaces
    Interface1      should be from network1
    interface2      should be from network2
    2.will have to create hostname.interface files for each interface
    hostname.qfe0 hostname.qfe1
    3.type hostname and ipAddressof each interface in /etc/inet/hosts
    4.create /etc/defaultrouter file for static route
    use "route" commands to create routes for the other interfaces.
    Check out the docs.sun.com
    Solaris 7 Administartion guide
    TCP/IP Data Communication Guide
    for more details
    Thanks & Regards
    Dhruva
    Thanks & Regards
    Dhruva

  • How obtain the serial generated by a Entity CMP+Informix+Sun Appserver 8.2

    I am using a data base of informix, my doubt is as I can obtain the serial generated by a Entity CMP deployed in Sun Appserver 8.2 , after of insert to informix data base ? .
    thanks for your help.

    Help me!!!
    Thanks.
    Smile

  • How to create Seperate Containers in Sun AppServer 8.1 2005Q2?

    Hi !
    We are currently in the middle of a server migration - from Oracle AppServer to the Sun AppServer 8.1. In Oracle it was possible to create seperate containers which had the same i-net address and same port(Called OC4J Instances). These containers were able to start and stop seperatly.(The reason for this is that we have many applications running and if some problems arise we don't need to stop the whole Container/Server)
    I tried different solutions:
    - create a new domain --> Port has to be not the same
    - create an instance --> Port has to be not the same
    - create a virtual server --> domain name has to change
    i also thought about a special config for http listners
    but didn't get to a point jet.
    pls help me -- i'm sure it is possible
    greetings
    maty

    Hi Maty,
    To anwer you questions from previous posting:
    1. Yes you have to deploy all of your apps on all instances known to the loadbalancer. This is becasue all of the request comming to the load balancer can be routed to any of these instances.
    2. To insure that you don't run two different versions of you application in the cluster you can quiese single appserver instance or any given application before update. See following doc for more info.
    http://docs.sun.com/source/819-0216/ha_as_overview.html#wp1046921
    One additional note: To upgrade you application in Sun AS8.1 you don't need to shut it down as it supporst dynamic application deployment. This may be all you need... that is If you don't want any of the High availability features that LB gives you .
    Regards,
    /Oleg

  • How to setup Tibco EMS as the JMS Provider

    Hi,
    Are there anyone know how to setup the app. server to use Tibco EMS (installed in a remote machine) as the JMS service? May I have the setup example?
    I put the host name and port of the EMS server on the Configuration JMS page. I ping the setting but I got the following:
    An error has occurred.
    Operation 'JMSPing' failed in 'resources' Config Mbean. Target exception message: [C4003]: Error occurred on connection creation [10.0.0.104:7222]. - cause: java.lang.NumberFormatException: For input string: "�"Any idea?
    Thanks a lot for your help in advance.
    Simon

    Hi,
    Are there anyone know how to setup the app. server to
    use Tibco EMS (installed in a remote machine) as the
    JMS service? May I have the setup example?The default jms commands [like jms-ping] are designed to be used against Sun Java System Message Queue that is bundled with the appserver. For integrating third party JMS providers like Tibco EMS, could you try out Generic RA for JMS [http://genericjmsra.dev.java.net]
    Detailed instructions on getting Sun Java System Application Server to work with Tibco EMS using Generic RA for JMS is available off
    https://genericjmsra.dev.java.net/docs/tibco-genericjmsra-integration-sample-doc/Integrating_Sun_Java_System_Application_Server_with_Tibco_JMS_using_the_Generic_Resource_Adapter_for_JMS.html
    Thanks
    --Siva.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to setup a KDC for Kerberos Authentication

    Hi,
    I am new to Kerberos. I am trying to execute the sample codes on Sun site but i am not understanding how to setup a KDC.
    Please help me.
    Regards.

    Hi Alexander,
    create the proxyauth.txt file in the roor directory of you MI Client installation and add the following paramters to the text file:
    MobileEngine.Sync.Proxyuser= Username for Proxyserver
    MobileEngine.Sync.Proxypw=Password for Proxyserver
    Regards
    Tahran

  • How to setup the From header  in fullname and email address format

    when I sent mail from the messaging express , the mail that I sent cannot show the sender in the fullname and email address format. I use webmail and other mail client . It show only email address. I don't know how to setup this . I use the SUN JES messaging server 6.0 SP1 .

    exactly so.
    in general, for any configutil setting:
    0=off=no
    1=yes=on

  • How to setup /dev/random to SSL seed no. in JDK 1.4

    In order to speed up the SSL encryption and reduce CPU resources in WebServer, pls let us how to setup/define the /dev/random for SSL seed no in JDK 1.4 on Solaris 8 (Latest Patch).
    Current Setup:
    H/W:
    + Sun V880 with 2 x 1.2GHz US-III CPU, 2GB RAM
    S/W:
    + SunOne Web Server 6.1 SP1
    + Solaris 8 (latest patch) support /dev/random
    + JDK 1.4
    Rgds,
    William

    You may get a better response posting this question to one of the security forums, specifically:
    http://forum.java.sun.com/forum.jsp?forum=2
    http://forum.java.sun.com/forum.jsp?forum=60
    You could also try the App server product forum:
    http://swforum.sun.com/jive/category.jspa?categoryID=30

  • How to Setup an ACL over a Command in solaris 2.6

    Hi all,
    Has anyone have an idea on how to setup an ACL over a command
    in solaris 2.6 . i.e: to force a user (or a group) to enter a
    password to run a command (like mount and others).
    Thanks for your help.
    haed98.
    [email protected]

    Hi head98,
    You can set ACL using setfacl commands. This way you can exclusively assign read/write/execute permissions on command that you wish. But ACL doesn't prompt for passwords or you can set passwords using ACL. One way of doing this will be to create wrapper for commands which will prompt for passwd, compare them with /etc/shadow and then execute the real command.
    Hope this helps, Thanks. SUN/DTS

  • How to setup startup script in Solaris 10

    Could anyone point me out how to setup a startup script at run level 3 or 2 in solaris 10 ?
    Any previous solaris such as 9, 8, I just write a script and put in /etc/init.d/, then link it to run level 3 or 2. But in solaris 10 is different now.
    I could not find any in the manual.
    Thanks.

    Could anyone point me out how to setup a startup
    script at run level 3 or 2 in solaris 10 ?
    Any previous solaris such as 9, 8, I just write a
    script and put in /etc/init.d/, then link it to run
    level 3 or 2. You can do the same thing in Solaris 10.
    But in solaris 10 is different now.There are alternative methods that are recommended (creating a service via a manifest file), but the old startup stuff still works just fine. You don't get the benefits of monitoring and fine-grained dependencies with the legacy startup scripts.
    I could not find any in the manual.An older doc is http://mediacast.sun.com/share/bobn/SMF-migrate.pdf. You might also check the SMF FAQ.
    http://opensolaris.org/os/community/smf/faq/ Section 4 is on manifest development.
    Darren

  • SUN AppServer PE 8.2 with Hibernate security problems

    All,
    I have an EAR (EJB + WEB) successfully deployed and working on JBoss 4.0.3SP1, IBM WebSphere, BEA Weblogic. I am currently trying to deploy it on SUN AppServer PE 8.2 and am running into lots of security issues.
    So far I had to add the following to my /home/sandeepk/apps/SUNWappserver/domains/domain1/config/server.policy file:
    grant {
    // Permission for allowing Hibernate read/write from it's configuration files.
         permission java.util.PropertyPermission "*", "read,write";
    // Permission for cglib part of Hibernate framework
    permission java.lang.RuntimePermission "getProtectionDomain";
    permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
         // Permissions to get Apache Axis to work
    permission java.lang.RuntimePermission "createClassLoader";
         permission java.lang.RuntimePermission "getClassLoader";
    grant codeBase "file:${com.sun.aas.installRoot}/domains/domain1/applications/j2ee-modules/-" {
    permission java.security.AllPermission;
    The above additions resolved Apache Axis and Hibernate SessionFactory security issues but I still get the following Exception which I am not able to figure out how to resolve.
    javax.ejb.EJBException
    at com.sun.ejb.containers.BaseContainer.processSystemException(BaseContainer.java:2807)
    at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:2713)
    at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:2521)
    at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:819)
    at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:160)
    at $Proxy174.findHelpScreenObjectsNoGuid(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:585)
    at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(Unknown Source)
    at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(Unknown Source)
    at com.adminserver.dal._HelpScreenFacadeRemote_DynamicStub.findHelpScreenObjectsNoGuid(_HelpScreenFacadeRemote_DynamicStub.java)
    at com.adminserver.utl.HibernateInitUtl.init(HibernateInitUtl.java:43)
    at javax.servlet.GenericServlet.init(GenericServlet.java:261)
    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:585)
    at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
    at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:118)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1093)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:931)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4183)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4536)
    at com.sun.enterprise.web.WebModule.start(WebModule.java:241)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1086)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:847)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1086)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:483)
    at org.apache.catalina.startup.Embedded.start(Embedded.java:894)
    at com.sun.enterprise.web.WebContainer.start(WebContainer.java:741)
    at com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:515)
    at com.sun.enterprise.web.PEWebContainerLifecycle.onStartup(PEWebContainerLifecycle.java:54)
    at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
    at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
    at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
    Caused by: java.lang.IllegalStateException: Operation not allowed
    at com.sun.ejb.containers.PMTransactionManagerImpl.suspend(PMTransactionManagerImpl.java:91)
    at org.hibernate.cache.TreeCache.suspend(TreeCache.java:101)
    at org.hibernate.cache.TreeCache.put(TreeCache.java:71)
    at org.hibernate.cache.TransactionalCache.put(TransactionalCache.java:50)
    at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:126)
    at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:530)
    at org.hibernate.loader.Loader.doQuery(Loader.java:436)
    at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:218)
    at org.hibernate.loader.Loader.doList(Loader.java:1593)
    at org.hibernate.loader.Loader.list(Loader.java:1577)
    at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:395)
    at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:271)
    at org.hibernate.impl.SessionImpl.list(SessionImpl.java:844)
    at org.hibernate.impl.QueryImpl.list(QueryImpl.java:74)
    at com.adminserver.dal.HelpScreenFacadeEJB.findHelpScreenObjectsNoGuid(HelpScreenFacadeEJB.java:112)
    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:585)
    at com.sun.enterprise.security.SecurityUtil$2.run(SecurityUtil.java:153)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.enterprise.security.application.EJBSecurityManager.doAsPrivileged(EJBSecurityManager.java:957)
    at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:158)
    at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:151)
    ... 36 more
    Any ideas?
    --Sandeep Khanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    My guess is that the hibernate code is assuming there's a fully-functional transaction manager available at "java:pm/TransactionManager". The J2EE SDK codebase has an internal TM available there but it doesn't support all TM operations, which is why it throws an exception during suspend(). The spec doesn't require that anything be available at java:pm/TransactionManager. There was a requirement for it in an early version of the EJB 2.0 spec but it was removed along with the other container/persistence-manager pluggability contracts in the final release of EJB 2.0.

  • Sun-appserv-deploy cutom Ant task

    Hi
    I wanted to use sun-appserv-deploy custom ant task in my build file to deploy an archive. But the file attribute requires EXISTING file which is constantly being deleted and recreated during development...
        <taskdef name="sun-appserv-deploy" classname="org.apache.tools.ant.taskdefs.optional.sun.appserv.DeployTask">
            <classpath refid="j2ee.classpath"/>   
        </taskdef>
        <sun-appserv-deploy
          file="webapp1.war"
          contextroot="/webapp1"
          name="webapp1WAR
          force="true"
          precompilejsp="false"
          verify="false"
          upload="true"
          user="admin"
          passwordfile="${passwordfile}"
          host="localhost"
          port="4848"
          asinstalldir="${j2ee.home}"/>
    Unless the "webapp1.war" exists the enitre build.xml file invalidates (in eclipse)
    How do I use this custom task during my development time (obviously when I run clean the WAR file is removed which invalidates my build.xml)
    Is there a workaround for this?
    Thanks
    Z...

    You have to include an additional attribute in the task:
    <sun-appserv-deploy ... generatermistubs="true" />Edited by: sjfischli on May 15, 2008 8:54 AM

  • I want to know how to setup the logicaladdress (cluster+HA+oracle)

    I want to know how to setup the logicaladdress (cluster+HA+oracle)

    Please have a look at:
    http://docs.sun.com/app/docs/doc/819-0703/6n343k6g0?q=SUNW.LogicalHostname&a=view
    for how to add a Logical Hostname Resource to a Resource Group (in that case the RG where you configrued ha oracle for).
    There is nothing special for HA oracle on that part.
    If you configure your oracle_listener resource for that specific logical hostname resource, then you should configure a dependecy from the oracle_listener to the LH.
    By default the RG will have property Implicit_network_dependencies set to true, which should be enough.
    If this property is false, I recommend adding the LH resource name to the Resource_dependencies property of the oracle_listener resource.
    For a general overview I recommend reading:
    http://docs.sun.com/app/docs/doc/819-0703/
    Greets
    Thorsten

Maybe you are looking for

  • Error While installing IDES 4.7 CJS-00081

    Hi Gurus I am trying to install SAP IDES 4.7 on my computer ,while try to install i am getting this error msg i have  posted the log file below and while in command prompt   lsnrctl status listener  command returns  error msg 1053  please advice as h

  • Fixing PATH (and MANPATH) once and for all

    I think the list of directories in PATH should be: /Users/cb/bin: /opt/local/bin: /opt/local/sbin: /usr/local/bin: /usr/bin: /bin: /usr/local/sbin: /usr/sbin: /sbin: /usr/X11R6/bin: /usr/local/teTeX/bin/powerpc-apple-darwin-current Do you agree? Comm

  • Need help in enhancing CRM datasource /extract structure

    Hello Experts, I have come across an issue with a CRM DR phase 1 report "Program Status Management report". The user wants to display Mobile number and Pager number of a contact person for the customer. Contact person is a Business Partner (Mobile no

  • Error occuring during invoice create

    Please resolve the problem database 11.1.0.7 erp12.1.1 i have done refresh clone by rman backup then occures following errors in clone during invoice create. ORA-01403: no data found An Unexpected Error-4062 has occured.An alert has been sent to the

  • Package name from classname .class

    Is there any way to know the package name of the class from its .class without using the Reflection API's since there we need to instantiate the class with its fully qualified name. Can anybody suggest a method to do it.