EJB +BORLAND ENTERPRISE SERVER PLEASE HELP

Hi
I'm am trying to launch my app I made in jbuilder 8 with borland enterprise server but I cant get it to work. I have only used wizards to make a test app, before I begin with my real app but i have failed getting it working.
-- Initializing bean access. javax.naming.NameNotFoundException. Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0 at org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read(NotFoundHelper.java:72) at org.omg.CosNaming._NamingContextExtStub.resolve(_NamingContextExtStub.java:406) at com.sun.jndi.cosnaming.CNCtx.callResolve(CNCtx.java:440)-- Failed initializing bean access. at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:492) at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:470) at javax.naming.InitialContext.lookup(InitialContext.java:347) at javax.naming.InitialContext.lookup(InitialContext.java:347) at tp.SecurityTestClient.initialize(SecurityTestClient.java:42) at tp.SecurityTestClient.<init>(SecurityTestClient.java:27) at tp.SecurityTestClient.main(SecurityTestClient.java:244) This is the errormessage I get and I don't know what to do about it, since i only used wizards i thought it would work but??
Anyone got an idea?
Please tell me what I'am doing wrong
THANKS

Thanks for reply,I'm a newbie to this and I don't really know where to look my ejb-jar.xml looks like this
<br>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd">
<ejb-jar>
<enterprise-beans>
<entity>
<ejb-name>Order1</ejb-name>
<home>m.Order1Home</home>
<remote>m.Order1</remote>
<ejb-class>m.Order1Bean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>java.lang.String</prim-key-class>
<reentrant>False</reentrant>
<cmp-field>
<field-name>name</field-name>
</cmp-field>
<primkey-field>name</primkey-field>
<resource-ref>
<res-ref-name>jdbc/DataSource</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</entity>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>Order1</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
And my ejb-inprise.xml like this
<br>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE inprise-specific PUBLIC "-//Inprise Corporation//DTD Enterprise JavaBeans 1.1//EN" "http://www.borland.com/devsupport/appserver/dtds/ejb-inprise.dtd">
<inprise-specific>
<enterprise-beans>
<entity>
<ejb-name>Order1</ejb-name>
<bean-home-name>Order1</bean-home-name>
<resource-ref>
<res-ref-name>jdbc/DataSource</res-ref-name>
<jndi-name>DataSource</jndi-name>
</resource-ref>
<cmp-info>
<database-map>
<table>order1</table>
<column-map>
<field-name>name</field-name>
<column-name>name</column-name>
<column-type>varchar</column-type>
</column-map>
</database-map>
<finder>
<method-signature>findAll()</method-signature>
<where-clause />
<load-state>True</load-state>
</finder>
</cmp-info>
</entity>
</enterprise-beans>
<datasource-definitions>
<datasource>
<jndi-name>DataSource</jndi-name>
<url>jdbc:mySql://localhost/trade</url>
<username />
<password />
<driver-class-name>com.mysql.jdbc.Driver</driver-class-name>
</datasource>
</datasource-definitions>
</inprise-specific>
My test client like this (one part)
<br>
try {
//get naming context
Context context = new InitialContext();
//look up jndi name
Object ref = context.lookup("Order1");
//look up jndi name and cast to Home interface
order1Home = (Order1Home) PortableRemoteObject.narrow(ref, Order1Home.class);
If I change the order1 name the compiler complains the thehome's jndi name must be specified in the xml deployment descriptor so i guess the names are right but I don't really know?<br>
You have any idea?<br>
Thanks again

Similar Messages

  • Borland Enterprise Server and TopLink

    Hi,
    I've made an object model persistent using JDO. A client uses the objects via a stateful session bean (SessionFacade) which is deployed to a Borland Enterprise Server. The bean initializes the TopLinkProject (a java-export of the workbench) the following way:
    Session session = (new TopLinkProject()).createDatabaseSession();
    // Build a JDO PersistenceManagerFactory using the session.
    JDOPersistenceManagerFactory factory =
    new JDOPersistenceManagerFactory(session);
    // Get the PersistenceManager. this will login to the database.
    setManager(factory.getPersistenceManager());
    // Enable logging
    ( (JDOPersistenceManager) getManager()).getSession().logMessages();
    Connection works fine, retrieving objects from database too. But when I try to make a newly created object of the model persistent (getManager().makePersistent(object)), I recieve a ClassCastException:
    java.rmi.ServerException: java.rmi.RemoteException: null; nested exception is:
         java.lang.ClassCastException
         at com.inprise.ejb.EJBHome$RemoteStrategyImpl.getSystemException(EJBHome.java:851)
         at com.inprise.ejb.Dispatcher.doInvoke(Dispatcher.java:1407)
         at com.inprise.ejb.Dispatcher.invokeSecurityCheck(Dispatcher.java:1023)
         at com.inprise.ejb.Dispatcher.invoke(Dispatcher.java:816)
         at com.inprise.ejb.Dispatcher.invoke(Dispatcher.java:595)
         at com.inprise.ejb.EJBHome.dispatcherInvokeBeanMethod(EJBHome.java:55)
         at com.inprise.ejb.EJBHome$ComponentInterfaceMethodCache.invokeDispatcherMethod(EJBHome.java:1460)
         at com.inprise.ejb.EJBHome.invokeDispatcherMethod(EJBHome.java:34)
         at com.inprise.ejb.Dispatcher.invoke(Dispatcher.java:416)
         at com.semture.pdm.sessionserver.beans.SessionFacadePOAInvokeHandler.createPart(SessionFacadePOAInvokeHandler.java:182)
         at com.semture.pdm.sessionserver.beans.SessionFacadePOAInvokeHandler.createPart(SessionFacadePOAInvokeHandler.java:283)
         at com.semture.pdm.sessionserver.beans.SessionFacadePOA._invoke(SessionFacadePOA.java:144)
         at com.semture.pdm.sessionserver.beans.SessionFacadePOA._invoke(SessionFacadePOA.java:53)
         at com.inprise.vbroker.poa.POAImpl.invoke(POAImpl.java:2693)
         at com.inprise.vbroker.poa.ActivationRecord.invoke(ActivationRecord.java:109)
         at com.inprise.vbroker.poa.ServerInterceptorManager$ARWrapper.invoke(ServerInterceptorManager.java:110)
         at com.inprise.vbroker.GIOP.GiopProtocolAdapter.doRequest(GiopProtocolAdapter.java:824)
         at com.inprise.vbroker.IIOP.ServerProtocolAdapter.doRequest(ServerProtocolAdapter.java:68)
         at com.inprise.vbroker.GIOP.GiopProtocolAdapter.dispatchMessage(GiopProtocolAdapter.java:1106)
         at com.inprise.vbroker.orb.TPDispatcherImpl$TPDispatcher.run(TPDispatcherImpl.java:106)
         at com.inprise.vbroker.orb.ThreadPool$PoolWorker.run(ThreadPool.java:76)
    Caused by: java.lang.ClassCastException
         at oracle.toplink.internal.indirection.TransparentIndirectionPolicy.buildBackupClone(Unknown Source)
         at oracle.toplink.internal.indirection.TransparentIndirectionPolicy.backupCloneAttribute(Unknown Source)
         at oracle.toplink.mappings.ForeignReferenceMapping.buildBackupClone(Unknown Source)
         at oracle.toplink.internal.descriptors.ObjectBuilder.buildBackupClone(Unknown Source)
         at oracle.toplink.publicinterface.UnitOfWork.synchronizeAndResume(Unknown Source)
         at oracle.toplink.publicinterface.UnitOfWork.commitAndResume(Unknown Source)
         at oracle.toplink.jdo.JDOTransaction.commit(Unknown Source)
         at oracle.toplink.jdo.JDOPersistenceManager.makePersistent(Unknown Source)
         at com.semture.pdm.sessionserver.persistence.TopLinkAdapter.storeObject(TopLinkAdapter.java:150)
         at com.semture.pdm.sessionserver.persistence.PersistenceManager.makePersistent(PersistenceManager.java:97)
         at com.semture.pdm.sessionserver.persistence.PersistentObject.makePersistent(PersistentObject.java:49)
         at com.semture.pdm.sessionserver.cm.Version.init(Version.java:97)
         at com.semture.pdm.sessionserver.bo.Factory.initBusinessObject(Factory.java:68)
         at com.semture.pdm.sessionserver.bo.Factory.createPart(Factory.java:25)
         at com.semture.pdm.sessionserver.beans.SessionFacadeBean.createPart(SessionFacadeBean.java:212)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.inprise.ejb.ConcreteMethod.invoke(ConcreteMethod.java:32)
         at com.inprise.ejb.EJBContext.invoke(EJBContext.java:166)
         at com.inprise.ejb.Dispatcher.doInvoke(Dispatcher.java:1301)
    Outside the BES all works fine, including object creation. Could it be, that Toplink uses a wrong ClassLoader inside the BES? It would be great if anybody can help.
    TIA
    STeffen

    It doesn't seem to be a class loader issue, at least directly, seems to be related to usage of transparent indirection.
    What is the state of the object that you are making persistent, how is it related to other objects. Does makePersistent work for simple objects? Try switching the 1-m from transparent no no-indirection or valueholders to see if it fixes the problem.

  • I have a big problem :( why is it i cant update my ipod touch 2g into ios 4! im using the latest version of itunes and everytime i click "update" it stucks on the "contacting server" please help :( i want to update it now

    i have a big problem why is it i cant update my ipod touch 2g into ios 4! im using the latest version of itunes and everytime i click "update" it stucks on the "contacting server" please help i want to update it now

    Maybe here:
    iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server

  • Wlserver.exe error occur while start the web logic server-please help

    hi
    Iam getting wlserver.exe error when I start the web logic server-please help. and I cant able to start the web logic server.
    Thannks in Advance,
    Cheers,
    bala...

    Could you please mail the errors and the WLS Version and service pack as well.
    - Ramkumar

  • I'm trying to set up my new iPhone 5s from a backup of my previous iPhone, when trying to enter my Facebook login info in settings I keep getting the following error message : error signing in could not communicate with server, please help !

    I'm trying to set up my new iPhone 5s from a backup of my previous iPhone, when trying to enter my Facebook login info in settings I keep getting the following error message : error signing in could not communicate with server, please help !

    Can you access other apps? Can you acess the internet? Can you access applications that use internet besides facebook?
    If answer is yes to all of these; contact Facebook.

  • Getting EJB spec violation error - please help

    I'm getting following error while trying to deploy my stateless SB.
    17:13:30,399 WARN [verifier] EJB spec violation:
    Bean : UnifiedMsg
    Method : public abstract UnifiedMsg create() throws CreateException, RemoteExcep
    tion
    Section: 7.10.6
    Warning: The method return values in the home interface must be of valid types f
    or RMI/IIOP.
    17:13:30,399 ERROR [MainDeployer] could not create deployment: file:/C:/AddOnPkg
    /jboss-3.2.5/server/all/deploy/webmail_ejb_session_umm.jar
    org.jboss.deployment.DeploymentException: Verification of Enterprise Beans faile
    d, see above for error messages.
    at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:517)
    at org.jboss.deployment.MainDeployer.create(MainDeployer.java:790)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:644)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)
    at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    I've double check the section 7.10.6 requiremnts and do not find anything wrong. Stuck at this from many days,PLEASE HELP
    SB home interface is as follow:
    import java.util.*;
    import javax.ejb.*;
    import java.rmi.*;
    public interface UnifiedMsgHome extends EJBHome {
    public UnifiedMsg create() throws CreateException, RemoteException;

    Hai,
    My dear friends, I am getting some problem. In my system only. mean. I am getting from the CVS and as our batch file i am deploying. I thing, this problem i am only getting in my team. By givein this error. i repleace the JBoss server from my backup softwares. Even it is giving same error. three of our team also check the bug, but not able to resolve. Let me know any external errors instemd of ejb method errors. because it is working in the other systems.
    the bug details:
    14:20:56,717 INFO [EARDeployer] Init J2EE application: file:/D:/jboss-4.0.2/server/default/deploy/matrix.ear
    14:21:02,530 WARN [verifier] EJB spec violation:
    Bean : AddressManagerSessionBean
    Section: 22.2
    Warning: The Bean Provider must specify the fully-qualified name of the Java class that implements the enterprise bean's busines
    Info : Class not found on 'uk.ses.matrix.address.bean.AddressManagerSessionBean': Unexpected error during load of: uk.ses.matr
    14:21:02,530 WARN [verifier] EJB spec violation:
    Bean : ADMCustomerSessionBean
    Section: 22.2
    Warning: The Bean Provider must specify the fully-qualified name of the Java class that implements the enterprise bean's busines
    Info : Class not found on 'uk.ses.matrix.address.bean.ADMCustomerSessionBean': Unexpected error during load of: uk.ses.matrix.
    14:21:02,530 WARN [verifier] EJB spec violation:
    Bean : ADMServicePointSessionBean
    Section: 22.2
    14:21:02,608 ERROR [MainDeployer] could not create deployment: file:/D:/jboss-4.0.2/server/default/tmp/deploy/tmp17389matrix.ear
    org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
    at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:553)
    at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
    at org.jboss.deployment.MainDeployer.create(MainDeployer.java:910)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
    at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    please give suggestions to solve this.

  • Report Server (Please help ! )

    Hello!
    I have installed infrastructure and AS onsame machine. In startthe default report server (rep_myserver) performe very well but after about 60 reports it went to down. Now when i try to start it from AS Home page it start and immidiatly stoped.
    Log files are showing only start and stop time without any other details. Trace files are also empty.
    Please help me to solve this problem. Is it a configration problem or i need a patch to solveit.
    Thanks
    UsmanRana

    Hi UsmanRana,
    Make sure your rep_myserver.conf file has the following line in it and that it isn't commented out:
    <trace traceOpts="trace_all">
    Then restart your report server and look in the "logs" subdirectory for the rep_myserver.trc file. It should show you what happened that caused the report server to shut down.
    regards,
    Stewart

  • Connecting to a wireless print server, please help!!!

    i have a canon mp500 connected to a network through a wireless printserver and wireless router. the printer works when directly connected to my macbook, but not when connected to the print server. i contacted linksys and they sent a docment on how to set the printer up using it's ip address. still didn't work (the instructions were for 10.1 and 10.2). i have downloaded and installed the current mac os x drivers from the canon website with no luck. please help

    I'm no expert, but I was able setup HP printer connected wirelessly to AEBS by using Apple's Printer Setup Utility and Bonjour. I was, however, able to install the HP drivers using the software that came with the printer, but it sounds like you could not do so with Canon?
    Anyway, here are Apple's help files for adding an IP printer:
    "Connecting to an IP printer
    An IP printer is a network printer that uses TCP/IP protocols (such as LPD/LPR, IPP, or Socket or Jet Direct) to communicate with your computer. If the IP printer you want to use is not listed when you print, you can add it to your list of available printers.
    To add an IP printer, you need to know its IP address or DNS name. See your network administrator for assistance.
    Open the document to print, and choose File > Print.
    Choose Add Printer from the Printer pop-up menu, and click IP Printer in the dialog that appears.
    Choose the appropriate printing protocol from the Protocol pop-up menu.
    Type the IP address or DNS name for the printer in the Address field.
    If your printer requires it, type the queue name for your printer in the Queue Name field. If you don't know the queue name, see your network administrator for assistance.
    Enter a name and location for the printer, so you can identify it in the Printer pop-up menu.
    If the Print Using pop-up menu does not display the name of your printer's model, choose the item appropriate for your printer from the Print Using pop-up menu, and then select your printer in the Model Name list.
    Click Add.
    Usually, your computer can detect whether a printer has special accessories installed, such as additional paper trays, extra memory, or a duplex unit. If it can't, a dialog appears that lets you specify them. Make sure the settings in that dialog accurately reflect your printer's installed accessories so you can take full advantage of them."

  • Cant get into same game server please help

    just got a wrt54g v6 and  updated firmware i have 1 pc wired 2 pc wireless and a lap top wireless.when playing call of duty 2 i cant join the same server that another pc on my network is in.i can join a different 1 but not the same.when i try to join the same server the game is interrupted on the other pc and mine says server disconnected.i have ports 28960,20500,20510 open. also ive enabled the dmz and the same thing happens.before i got the router i had all pcs but the lap top networked thru my pc and we never had this problem.im i missing a port? are my settings wrong?please help

    I have also had this problem.
    However I managed to "Fix" mine a slightly different way.
    I had set up my router and correctly configured port forwarding to my gaming PC, but when a friend came round and played on my laptop the same thing would happen.
    We got around this by REMOVING the port forwarding completely. The NAT can then redirect the correct packets to the correct PC. However this will only work if the COD 2 server has not had its default setting changed (as an admin can change whether or not to allow multiple simultaneous connections from the same IP) So if this still doesn't work try speaking to the admin of the server you want to play on and let him know your problem

  • How to deploy oracle forms on weblogic server - please help

    Hi,
    I have installed weblogic server(10.3.1) and fussion middleware 11g forms & reports on windows 2003 server.
    I want to deploy and test oracle forms in weblogic server.
    Please help me.
    Thanks & Regards,

    Hi,
    thanks for your information.
    where can i found the document for testing the report server?
    Thanks & Regards,

  • HT204053 I have come across following error when accessing my icloud account " icloud encountered an error while trying to connect to the server" please help...

    Please help with below error...
    I have been trying to access my icloud account in laptop with windows 7 operating, but I couldn't able to log in to icloud which show following error " icloud encountered an error while trying to connect to the server".
    I have icloud icloud control panel.
    But I can access my same icloud account in another laptop with windows xp operating.

    My recommendation is to download Apple’s Safari version 5.1.7 for Windows to access iCloud.com. It consistently works for me!!!! To make things easier with Safari, I made iCloud.com its Homepage. I’m using it to access iCloud.com from all of my PCs.
    On my Windows 7 systems it appears that some add-ons are causing problems when you try to access iCloud.com with the 32-bit version of IE9, but the 64-bit version seems to work fine, more than likely because there are few add-ons that are 64-bit and the 64-bit version of IE9 can't be the default browser in Windows 7.

  • Setting up iCal on the Mac OS X Server - please help if you can!

    Trying to set up an iCal on our Mac OSX Server for just four of us at my small business. I spent all of yesterday trying to figure this out (i'm fairly novice), and I've had no luck. This is what I have done so far:
    I created an open directory on our server, went into server admin -> services and checked iCal, open directory, and DNS (is this right?)
    Then I created a group in workgroup manager and added the clients to the group.
    I opened iCal and went to add an account. If i didn't put anything in the server details section it would just say that I don't have any configured principals - what does this mean??
    Typed in the user information and copied a million different combinations of this in the account url spot:
    http://my.server.com:8008/principals/groups/groupshortname/. typing things like
    http://(my ip address here):8008/principals/groups/groupshortname/.
    http://(what i think is my server address here):8008/principals/groups/groupshortname/ical.
    and then it says server refused, or address could not be found, etc.
    i do not know what to do. please help.
    thanks,
    ryan

    Hello ryankarolak, and Welcome to the AppleBoards,
    Setting up iCal Server is a little complicated in that you need to do several things in the right order. If you don't have DNS from another source you'll need good DNS set-up for many of the OS X Server services to function correctly. But I'm a little unsure of what your next move is since you didn't give any details about your server set-up or your office network lay-out.
    You should be aware that there is an entire group dedicated to iCal Server here: http://discussions.apple.com/forum.jspa?forumID=1234
    This other board is really the best place to search and find previous threads and post questions with the best chance of getting knowledgeable eyes on them. This forum is really for Xserve specific questions and isn't the best place to get OS X Server services questions answered - people will help out if they can but dedicated groups exist for some of the more complicated issues.
    Good luck,
    =Tod

  • Error when starting j2ee server, please help

    JMS expert,
    I am using j2sdkee1.3 with jdk1.3.1_01 over NT system. When I started JMS provider by "j2ee -verbose", I got an exception saying "TCP/IP ports(1050) in use by another process". Then I tried other port numbers like 1051 and 1061, the same error kept coming. What is the best port number I should use or whatelse I should do to solve this problem? Thanks.
    C:\j2sdkee1.3\jms_execise>c:\j2sdkee1.3\bin\j2ee -verbose
    J2EE server listen port: 1081
    org.omg.CORBA.INTERNAL: minor code: 1398079697 completed: No
    at com.sun.corba.ee.internal.iiop.GIOPImpl.createListener(GIOPImpl.java:256)
    at com.sun.corba.ee.internal.iiop.GIOPImpl.getEndpoint(GIOPImpl.java:205)
    at com.sun.corba.ee.internal.iiop.GIOPImpl.initEndpoints(GIOPImpl.java:140)
    at com.sun.corba.ee.internal.POA.POAORB.getServerEndpoint(POAORB.java:488)
    at com.sun.corba.ee.internal.POA.POAImpl.pre_initialize(POAImpl.java:154)
    at com.sun.corba.ee.internal.POA.POAImpl.<init>(POAImpl.java:112)
    at com.sun.corba.ee.internal.POA.POAORB.makeRootPOA(POAORB.java:110)
    at com.sun.corba.ee.internal.POA.POAORB$1.evaluate(POAORB.java:128)
    at com.sun.corba.ee.internal.core.Future.evaluate(Future.java:21)
    at com.sun.corba.ee.internal.corba.ORB.resolveInitialReference(ORB.java:2421)
    at com.sun.corba.ee.internal.corba.ORB.resolve_initial_references(ORB.java:2356)
    at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:193)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:913)
    java.lang.RuntimeException: Unable to create ORB. Possible causes include TCP/IP ports in use by another process
    at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:203)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:913)
    java.lang.RuntimeException: Unable to create ORB. Possible causes include TCP/IP ports in use by another process
    at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:203)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:913)
    java.lang.RuntimeException: Unable to create ORB. Possible causes include TCP/IP ports in use by another process
    at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:350)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:913)
    J2EE server reported the following error: Unable to create ORB. Possible causes include TCP/IP ports in use by another process
    Error executing J2EE server ...
    ****************************************************************

    Hello.,
    Did you get a resolution to this error ? I get the same error, odd thing is that i had it working for several days and now it won;t start ?
    JMS expert,
    I am using j2sdkee1.3 with jdk1.3.1_01 over NT system.
    When I started JMS provider by "j2ee -verbose", I got
    an exception saying "TCP/IP ports(1050) in use by
    another process". Then I tried other port numbers like
    1051 and 1061, the same error kept coming. What is
    the best port number I should use or whatelse I should
    do to solve this problem? Thanks.
    C:\j2sdkee1.3\jms_execise>c:\j2sdkee1.3\bin\j2ee
    -verbose
    J2EE server listen port: 1081
    org.omg.CORBA.INTERNAL: minor code: 1398079697
    completed: No
    at
    at
    at
    t
    com.sun.corba.ee.internal.iiop.GIOPImpl.createListener(
    IOPImpl.java:256)
    at
    at
    at
    t
    com.sun.corba.ee.internal.iiop.GIOPImpl.getEndpoint(GIO
    Impl.java:205)
    at
    at
    at
    t
    com.sun.corba.ee.internal.iiop.GIOPImpl.initEndpoints(G
    OPImpl.java:140)
    at
    at
    at
    t
    com.sun.corba.ee.internal.POA.POAORB.getServerEndpoint(
    OAORB.java:488)
    at
    at
    at
    t
    com.sun.corba.ee.internal.POA.POAImpl.pre_initialize(PO
    Impl.java:154)
    at
    at
    at
    t
    com.sun.corba.ee.internal.POA.POAImpl.<init>(POAImpl.ja
    a:112)
    at
    at
    at
    t
    com.sun.corba.ee.internal.POA.POAORB.makeRootPOA(POAORB
    java:110)
    at
    at
    at
    t
    com.sun.corba.ee.internal.POA.POAORB$1.evaluate(POAORB.
    ava:128)
    at
    at
    at
    t
    com.sun.corba.ee.internal.core.Future.evaluate(Future.j
    va:21)
    at
    at
    at
    t
    com.sun.corba.ee.internal.corba.ORB.resolveInitialRefer
    nce(ORB.java:2421)
    at
    at
    at
    t
    com.sun.corba.ee.internal.corba.ORB.resolve_initial_ref
    rences(ORB.java:2356)
    at
    at
    at
    t
    com.sun.enterprise.server.J2EEServer.run(J2EEServer.jav
    :193)
    at
    at
    at
    t
    com.sun.enterprise.server.J2EEServer.main(J2EEServer.ja
    a:913)
    java.lang.RuntimeException: Unable to create ORB.
    Possible causes include TCP/IP ports in use by another
    process
    at
    at
    at
    t
    com.sun.enterprise.server.J2EEServer.run(J2EEServer.jav
    :203)
    at
    at
    at
    t
    com.sun.enterprise.server.J2EEServer.main(J2EEServer.ja
    a:913)
    java.lang.RuntimeException: Unable to create ORB.
    Possible causes include TCP/IP ports in use by another
    process
    at
    at
    at
    t
    com.sun.enterprise.server.J2EEServer.run(J2EEServer.jav
    :203)
    at
    at
    at
    t
    com.sun.enterprise.server.J2EEServer.main(J2EEServer.ja
    a:913)
    java.lang.RuntimeException: Unable to create ORB.
    Possible causes include TCP/IP ports in use by another
    process
    at
    at
    at
    t
    com.sun.enterprise.server.J2EEServer.run(J2EEServer.jav
    :350)
    at
    at
    at
    t
    com.sun.enterprise.server.J2EEServer.main(J2EEServer.ja
    a:913)
    J2EE server reported the following error: Unable to
    create ORB. Possible causes include TCP/IP ports in
    use by another process
    Error executing J2EE server ...

  • ClassCastException calling EJB from EJB (diff  EARs) Urgent please help !!

    Hi,
    I�m trying to call a Remote EJB ( in jdev BBEAN.prj ) from another EJB (in jdev ABEAN.prj) located in a different EAR.
    In JDEVELOPER (oc4j 9.0.3) I also considered BBEAN as a libreary which is included in the ABEAN project.
    So that the ABEAN JAR contains the class definition for the Home and remote interface.
    From the ABEAN bean I call this code:
    DO ()
    private static Context getInitialContext() throws NamingException
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
    env.put(Context.SECURITY_PRINCIPAL, "admin");
    env.put(Context.SECURITY_CREDENTIALS, "manager");
    env.put(Context.PROVIDER_URL, "ormi://GSARNO-1/BBean");
    return new InitialContext(env);
    BBeanHome BBeanHome = (BBeanHome)PortableRemoteObject.narrow(context.lookup("BBean"), BBeanHome.class);
    BBean bBean;
    ������������..
    After having deployed both projects I then run a client (Calling the Do function).
    Doing so I keep receiving the following error when calling narrow.
    java.lang.ClassCastException
    java.lang.Object com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(java.lang.Object, java.lang.Class)
    PortableRemoteObject.java:296
    java.lang.Object javax.rmi.PortableRemoteObject.narrow(java.lang.Object, java.lang.Class)
    PortableRemoteObject.java:137
    java.lang.String mypackage1.impl.MySessionEJBBean.Do()
    MySessionEJBBean.java:39
    java.lang.String MySessionEJB_StatelessSessionBeanWrapper6.Do()
    MySessionEJB_StatelessSessionBeanWrapper6.java:85
    java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[])
    native code
    void com.evermind.server.rmi.RMICallHandler.run(java.lang.Thread)
    RMICallHandler.java:119
    void com.evermind.server.rmi.RMICallHandler.run()
    RMICallHandler.java:48
    void EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run()
    PooledExecutor.java:803
    void java.lang.Thread.run()
    Thread.java:484
    Can anyone help ?
    What should I do to call remote e/o local interfaces located on different EARs ?
    I�m using OC4J 9.0.3

    Hi Giuseppe,
    If both EAR files are in the same OC4J instance you do not have to use RMIInitialContextFactory to invoke the EJB. You have to do the following:
    In OC4J
    1) Make the BBEAN as the parent for ABEAN application defined in the server.xml as follows:
    application name="ABEAN" path="../applications/abean.ear" parent="BBEAN" auto-start="true" />
    2)
    You can define ejb-ref or ejb-local-ref in the deployment descriptor of your application
    3) You can use the default InitialContext to lookup your EJB as if both EJBs are in the same application
    regards
    Debu

  • Problem in starting RMI server, please help!

    Hi , all:
    I am learning RMI from SUN's tutorial. I set all of program packages as same as the tutorial, compiled all of programs . and built all of the jar files, the server classes and the client classes.When I run the server, ComputeEngine, it did not work ,and the following messages were showed at command lines:
    C:\RMI\doc>java -Djava.rmi.server.codebase=file:/c:\rmi\ann\public_html\classes/
    -Djava.rmi.server.hostname=localhost -Djava.security.policy=java.policy eng
    ine.ComputeEngine
    ComputeEngine exception: access denied (java.net.SocketPermission 127.0.0.1:1099
    connect,resolve)
    java.security.AccessControlException: access denied (java.net.SocketPermission 1
    27.0.0.1:1099 connect,resolve)
    at java.security.AccessControlContext.checkPermission(AccessControlConte
    xt.java:272)
    at java.security.AccessController.checkPermission(AccessController.java:
    399)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
    at java.lang.SecurityManager.checkConnect(SecurityManager.java:1044)
    at java.net.Socket.<init>(Socket.java:262)
    at java.net.Socket.<init>(Socket.java:100)
    at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirect
    SocketFactory.java:25)
    at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMaster
    SocketFactory.java:120)
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:499)
    at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:190
    at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:174)
    at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:318)
    at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
    at java.rmi.Naming.rebind(Naming.java:160)
    at engine.ComputeEngine.main(ComputeEngine.java:25)
    Please give helps .
    Thanks!

    Thank.
    Thank.
    I have put them at the same directory, but is deos not work.
    Something I am not sure.
    On the SUN's tutorial , the follows is given:
    Win32:
    java -Djava.rmi.server.codebase=file:/c:\home\ann\public_html\classes/
    -Djava.rmi.server.hostname=zaphod.east.sun.com
    -Djava.security.policy=java.policy
    engine.ComputeEngine
    I changed hostname = localhost
    I also changed the code of the server class given by tutorial :
    String name = "//host/Compute" ;
    to:
    String name = "//localhost/Compute";
    Should I make such changes?
    Here is the server class given by the tutorial:
    package engine;
    import java.rmi.*;
    import java.rmi.server.*;
    import compute.*;
    public class ComputeEngine extends UnicastRemoteObject
    implements Compute
    public ComputeEngine() throws RemoteException {
    super();
    public Object executeTask(Task t) {
    return t.execute();
    public static void main(String[] args) {
    if (System.getSecurityManager() == null) {
    System.setSecurityManager(new RMISecurityManager());
    String name = "//host/Compute";
    try {
    Compute engine = new ComputeEngine();
    Naming.rebind(name, engine);
    System.out.println("ComputeEngine bound");
    } catch (Exception e) {
    System.err.println("ComputeEngine exception: " +
    e.getMessage());
    e.printStackTrace();

Maybe you are looking for

  • Storage Array (EqualLogic) Status: Not Responding in VMM

    We have a customer running SCVMM 2012 SP1, using 2 nodes and the underlying storage is an EqualLogic box. Worked fine for a while, but a couple of weeks ago their SCVMM started complaining about failed jobs regarding the storage provider. The error m

  • Images no longer display properly in Firefox

    I use ancestry.com where they have a lot of images of documents - not PDFs - and this morning they no longer display, but instead seem to show underlying html or other code. I noticed in the google home page, the icon for the google apps no longer ap

  • Unable to install Itunes or quicktime

    I was installing Itunes back on my computer after installing a new ard drive and operating system, it took quicktime ok but hung on Itunes. Tried add remove on quicktime because itunes said it require quicktime and it was missing even though it had b

  • Separate subpixel rendering for each monitor

    Hi, is it possible to configure separate subpixel rendering for each monitor? I use a multi monitor setup with 2 additional inverted screens (via xrandr). Each screen has a RGB subpixel mapping. The font rendering on the inverted screens looks odd, b

  • User in CTSDEPLOY RFC getting locked frequently

    Hello All, We have been observing that the user in RFC destination CTSDEPLOY getting locked frequently whenever we transport a rerquest from development to quality in our PI system. The transport would go fine, if we unlock that user. The user we are