No such domain/application: "orabpel"

Hello, I am using a web application to call a bpel process, but when the application tries to do the lookup it launches this exception:
Caused by: java.lang.Exception: Fallo al crear el bean "ejb/collaxa/system/DeliveryBean"; la excepción mostrada es: "javax.naming
.NamingException: Lookup error: javax.naming.AuthenticationException: No such domain/application: "orabpel"; nested exception is:
javax.naming.AuthenticationException: No such domain/application: "orabpel" [Root exception is javax.naming.AuthenticationException
    : No such domain/application: "orabpel"]
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.rmi.RMIClientContext.lookup(RMIClientContext.java:64)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:279)
at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:250)
at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:174)
at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:149)
at com.heinsohn.runt.web.server.PreregistroServiceImpl.iniciar(PreregistroServiceImpl.java:116)
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.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:528)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:265)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:187)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher
.java:711)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher
.java:368)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler
.java:866)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler
.java:448)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor
.java:303)
at java.lang.Thread.run(Thread.java:595)
What can i do?, thanks.

Right - when signing on to the BPEL Console this error is most commonly the database not being up but you are not doing that. Besides, your error points to authentication.
"Root exception is javax.naming.AuthenticationException"
It might be the same issue as discussed in this thread.
Re: Call a BPEL process as non oc4jadmin user
Heidi.

Similar Messages

  • Javax.naming.AuthenticationException: No such domain/application:

    I'm trying on JDeveloper 11g tutorial on "Build a Web Application with JDeveloper 11g Using EJB, JPA, and JavaServer Faces. I encounter this problem when try to run the simple java client created by Jdeveloper.
    javax.naming.AuthenticationException: No such domain/application: "current-workspace-app"
         at oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:120)
         at oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:70)
         at com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:720)
         at com.evermind.server.rmi.RMIClientConnection.sendLookupRequest(RMIClientConnection.java:252)
         at com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:235)
         at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:302)
         at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:64)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at mssql.HRFacadeClient.main(HRFacadeClient.java:13)
    Anyone knows what's the cause of this error? I follow exactly the steps in Jdeveloper 11g tutorial. The only difference is that my database is MS SQL database.

    Same error.
    The real application (web and ejb's) are running on the same OC4J instance. The Web client are accessing the ejb's on port 3101, so i think this is the correct rmi port.
    The server is a part of an infrastructure that are running on the same server, the server is one of two ApplicationServers that the infrastructure (farm) is controlling.
    each server has an instance name, the server i was deplying to has name instance2. Maybe i have to give a reference to to the instance?

  • JNDI lookup fails - No such domain/application

    Hi,
    I tried to perform a JNDI lookup from a stand alone Java client towards Oracle 9iAS version 9.0.3 and failed with the following error:
    javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: No such domain/application: mindejb; nested exception is:
         javax.naming.AuthenticationException: No such domain/application: mindejb
         java.lang.Object com.evermind.server.rmi.RMIContext.lookup(java.lang.String)
              RMIContext.java:134
         java.lang.Object javax.naming.InitialContext.lookup(java.lang.String)
              InitialContext.java:345
         void Samplecom.mind.ejb.stubs.AccountComplexStubClient.main(java.lang.String[])
              AccountComplexStubClient.java:21
    Below, are the JNDI settings I am using. The application by the name mindejb was deployed and is accessible using server side JSP or servlets. When I use a stand alone OC4J, the same settings (different port) work fine!
    java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory
    java.naming.provider.url=ormi://localhost:3101/mindejb
    java.naming.security.principal=admin
    java.naming.security.credentials=admin
    Thanks,
    Avi

    When you are running within an Oracle Application Server managed OC4J environment, then you should use the OPMN protocol loader we have that will insulate you from the specified ORMI port being used by OC4J.
    The OPMN port is fixed so you can always rely on it, whereas the specific ORMI port used by an OC4J instance changes depending on the startup sequence, the number of procs configured, etc.
    Here's a piece from the EJB documentation
    http://download-west.oracle.com/docs/cd/B14099_19/web.1012/b15505/access.htm#i1019709
    Location
    All ports, including the RMI port, are dynamically set by OPMN when each OC4J instance starts. When you specify the following URL in the client JNDI properties, the client-side OC4J retrieves the dynamic ports for the instance, and chooses one from the list for communication.
    java.naming.provider.url= opmn:ormi://<opmn_host>:<opmn_port>:<oc4j_instance>/<application-name>
    The OPMN host name and port number is retrieved from the opmn.xml file. In most cases, OPMN is located on the same machine as the OC4J instance. However, you must specify the host name in case it is located on another machine. The OPMN port number is optional; if excluded, the default is port 6003. The OPMN port is specified in opmn.xml.
    cheers
    -steve-

  • No such domain/application

    I'm attempting to deploy an application on version 10 of Oracle Application Server built by others and I keep getting the following error. I'm trying to find some basic information on what this error means and how to figure out the cause. Thanks.
    javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: No such domain/application: "etrace"; nested exception is:
    javax.naming.AuthenticationException: No such domain/application: "etrace" [Root exception is javax.naming.AuthenticationException: No such domain/application: "etrace"]
    at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:64)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at gov.treas.atf.firearms.tracing.app.EtraceUtil.getEtraceAuthenticatorServiceRemoteInterface(EtraceUtil.java:353)
    at gov.treas.atf.firearms.tracing.client.EtraceAuthenticatorDelegate.createServicesBean(EtraceAuthenticatorDelegate.java:90)
    at gov.treas.atf.firearms.tracing.client.EtraceAuthenticatorDelegate.loginUser(EtraceAuthenticatorDelegate.java:56)
    at gov.treas.atf.firearms.tracing.client.etrace.security.EtraceLoginAction.perform(EtraceLoginAction.java:73)
    at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1787)
    at gov.treas.atf.firearms.tracing.client.etrace.TraceActionServlet.processActionPerform(TraceActionServlet.java:90)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.naming.AuthenticationException: No such domain/application: "etrace"
    at oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:99)
    at oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:68)
    at com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:646)
    at com.evermind.server.rmi.RMIClientConnection.sendLookupRequest(RMIClientConnection.java:190)
    at com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:174)
    at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:287)
    at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)
    ... 20 more

    Looks like the app you try to deploy looks for an MBean named etrace which you don't have. This will cause the domain/application not found.
    Timo

  • Parent application (orabpel) is not found!

    Hi,
    I was trying to deploy Loan Flow Application with Human Task Created.
    But while deploying i get the following error msg.
    Can anyone come across this error " parent application (orabpel) is not found!"
    Buildfile: D:\JDev10\jdev\mywork\LoanApps\LoanFlow\build.xml
    validateTask:
    [echo]
    | Validating workflow
    [validateTask] url is file:/D:/JDev10/integration/bpm/support/files/WorkflowTaskDefinition.xsd
    [validateTask] Validation of workflow task definitions is completed without errors
    deployProcess:
    [echo]
    | Deploying bpel process LoanFlow on localhost, port 80
    [deployProcess] Deploying process D:\JDev10\jdev\mywork\LoanApps\LoanFlow\output\bpel_LoanFlow_10.4.jar
    [deployProcess] Successfully deployed the process "LoanFlow" on server "localhost" and port "80"
    deployTaskForm:
    [echo]
    | Deploying workflow form for LoanFlow on localhost, port 80
    [deployTaskForm] 07/02/06 21:01:59 Notification ==>Application Deployer for default_LoanFlow_10_4_LoanApproval STARTS.
    [deployTaskForm]
    [deployTaskForm] 07/02/06 21:02:00 Notification ==>Operation failed with error:
    [deployTaskForm] parent application (orabpel) is not found!
    [deployTaskForm]
    [deployTaskForm]
    [deployTaskForm]
    [deployTaskForm] Deploy error: Deploy error: Operation failed with error:
    [deployTaskForm] parent application (orabpel) is not found!
    [deployTaskForm]
    [deployTaskForm]
    BUILD FAILED
    D:\JDev10\jdev\mywork\LoanApps\LoanFlow\build.xml:98: Error while deploying the form on server "localhost" Error message :
    java.lang.SecurityException
         at oracle.ide.IdeCore$7.checkExit(IdeCore.java:177)
         at java.lang.Runtime.exit(Runtime.java:88)
         at java.lang.System.exit(System.java:868)
         at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.executeCommand(Oc4jAdminCmdline.java:127)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployIAS(DeployForm.java:750)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployForm(DeployForm.java:548)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployForms(DeployForm.java:814)
         at com.collaxa.cube.ant.taskdefs.DeployForm.execute(DeployForm.java:840)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         at org.apache.tools.ant.Task.perform(Task.java:364)
         at org.apache.tools.ant.Target.execute(Target.java:341)
         at org.apache.tools.ant.Target.performTasks(Target.java:369)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
         at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
         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 oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:295)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java:43)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)
    Total time: 1 minute 56 seconds

    When you redeploy the application the parent-application which is orabpel is always lost, you can adjust this by manually adding the parent-application tag to the configuration file.
    Check out my blog for more details regarding deployment of User Interfaces (such as the Worklist application) to the Bpel Proces Manager.
    This was already a problem in BPEL 10.1.2 i would have thought this would have been fixed by now? Maybe it would be better to create a Service Request for this, so Oracle will take this into consideration?

  • No Such Domain error

    Hi
    Why do I get a "No Such Domain" error page when trying to login ?
    Michael

    what are you putting in the URL when you try to login?
    michaels wrote:
    Hi
    Why do I get a "No Such Domain" error page when trying to login ?
    Michael

  • I am linking 7 express's to an extreme via ethernet cables in very large estate. Is there a specific "backbone" you recommend for use in such an application? Thank you

    I am linking 7 airport expresses to an airport extreme via ethernet cables in a large estate I maintain. Is there a specific product apple recommends to act as the "backbone" in such an application? Any information would be appreciated. Thank you

    Is there a specific product apple recommends to act as the "backbone" in such an application
    Apple does not recommend a specific product in this regard.
    In general, you would connect an Ethernet cable from one of the LAN <-> ports on the AirPort Exteme to a Gigabit Ethernet switch, then connect as many Ethernet cable runs as you want to use to remote locations around the house.
    Ethernet switches come in 5-port, 8-port, 16-port etc versions, so choose according to your needs.
    I recommend Netgear and Cisco switches, but I am sure that there are other good products from which to choose.
    Be sure to run CAT6 Ethernet cable to allow for the faster speeds coming in the next decade or so.

  • BPEL Deployment issue - parent application (orabpel) is not found!

    Hello everyone,
    I've a got a small issue while deploying the Oracle's VocationRequest BPEL project to the my BPEL Server. It produces the following output:
    --- BEGIN ---
    parent application (orabpel) is not found!
    [deployTaskForm]
    [deployTaskForm]
    BUILD FAILED
    C:\Jdeveloper10.132\jdev\mywork\HumanWorkFlow\simplewf\build.xml:98: Error while deploying the form on server "uranus" Error message :
    java.lang.SecurityException
         at oracle.ide.IdeCore$7.checkExit(IdeCore.java:177)
         at java.lang.Runtime.exit(Runtime.java:88)
         at java.lang.System.exit(System.java:868)
         at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.executeCommand(Oc4jAdminCmdline.java:127)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployIAS(DeployForm.java:750)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployForm(DeployForm.java:548)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployForms(DeployForm.java:814)
         at com.collaxa.cube.ant.taskdefs.DeployForm.execute(DeployForm.java:840)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         at org.apache.tools.ant.Task.perform(Task.java:364)
         at org.apache.tools.ant.Target.execute(Target.java:341)
         at org.apache.tools.ant.Target.performTasks(Target.java:369)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
         at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
         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 oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:295)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java:43)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)
    --- END ---
    I've been looking at other resource for help but are unable to find anything which is relevant. Your time and help is much appreciated.
    Thanks and Regards,
    John

    Advanced version is when you have created the dehydration store in a database of your choice. It also creates a separate oc4j instance (oc4j_soa).
    Basic means that it installs the dehydration store into an Oracle lite database. It also stores all deployements into the oc4j instance home.
    You can check this by going to the enterprise manager and see what oc4j instances have been created. If you see home and oc4j_soa I would sugest that you have done an advanced install. If you only see the home oc4j instance I would say that you have a basic install.
    Now to answer your question. Looking at your note you are pointing the application server to the home instance. If you look at you Integration server you point this to your application server connection. This is home. If you have done an advanced install this should be oc4j_soa.
    Plan of attack.
    Check what install you have by looking at the enterprise manager.
    If it is advanced chnage your JDev connection to oc4j_soa.
    Otherwise update the post and we will go from there.
    cheers
    James

  • Scenario of such a Application where  Flex and Flash combination is used

    Hi ,
    I am seeing this a lot in Job portals where the companys are asking for the combination of Flash and Flex . 
    Can anybody please let me know where exactly a combination of such would be required generally .(Means i need a scenario of such a Application where in Flex is used with Flash ) 
    Please help , thanks in advance .

    Hi Kiran,
              Basically flex is invented for developing rich internet applications and adobe introduced flash concepts in flex and flex will run on flashplayer.. so indirectly u are working on flash environment... any u are asking for the perticular scenario...
                           Take one example i.e u have an application that is displaying several photos slide by slide in ur website. (  with some animations and other effects that are not available in flex).. at that time u can go for flash developing.. u need to develop that in flash and import that into ur flex application
                      visit ur Tour the flex web and there in flex4 we have some realtime scenarios where adobe already developed a dashbord to display the world map and the density of adobe site users.. they are using ibm ilogix for dashbord..they developed this components in flash and they have used that component in flex ...we dont have some animations that are available in flash and also u can develop some components in flash and import them into ur flex application as swc format.and u can use them in ur application
                      i think u got my point... for this u want have glance please go through the link below
                   http://www.adobe.com/devnet/flex/tourdeflex/web/
                there u have some dash board applications developed in flex and flash.. check it out ..

  • After installation, when I try to login, I get the message "No such domain" error. Help?

    OS : solaris 2.7 with kernel patch 106541-17
    Iplanet portal server Version 3      
    All the recommended patches are installed and the iplanet portal server installation was successful and when I try to go into the login console through the port 8080/login/wtadmin , after giving the user name (root) and password , I end up getting the error message "no such domain" message.

    What is the hostname, domain name and sub domain name you gave during the install ?
    second how are you trying to reach the portal, try to reach it using fqdn instead of just the hostname ..

  • How to add app to the dock,such as applications.

    i have a g4 running 10.4.1. how can I put applications and documents icons into the dock so I can open them from dock?

    When an application is running, it will automatically show up in the Dock.  If you click and hold on the applciation in the Dock it will present you with a popup menu with some options.  Among them is Keep in Dock.   
    To add a document to the Dock, note the divider between the section that contains windows and the trash, and the applications.   You can drag between the divider and the trash any documents you want instant access to.
    If you drag folders to that section, clicking on the folder once there will reveal a hierarchical menu of that folder's contents.   
    Note all shortcuts on the Dock are just that, shortcuts, and nothing more.   Don't make the novice mistake of removing the file from the hard drive or window after putting it in the Dock.  If you do, you will never be able to access that file once in the trash, or emptied.    The dock is there for instant access.  It is NOT a data storage folder.

  • Internal domain applications through wireless LAN

    Hi.
    I have a wireless subnet set in a big campus network.
    I can do ping to everywhere and from everywhere to the subnet. Besides that, the IP telephony does work great. DHCP is being provided by the Non-Root bridge AP 1231 in bridge mode. and PC host and Ip Phones get the address and work fine.
    PCs can get in to Internet without any problem, but outlook/exchange, and intranet applications do not work, unless I use the exchange with OWA option.
    Please if somebody can help me on this, I really will appreciate it.
    Regards to all.
    Javier

    This fixed the issue for me.
    http://tools.cisco.com/Support/BugToolKit/search/getBugDetails.do?method=fetchBugDetails&bugId=CSCse34118

  • Why Java RMI client failed to invoking a mid-tier BPEL process?

    I have followed the sample code (102.InvokingProcess/rmi). I have problem invoking the same process from the mid-tier server. Here is what I got:
    [java] {java.naming.provider.url=ormi://btl-larcis5:12401/orabpel, java.nam
    ing.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory, orabpel.pl
    atform=oc4j_10g, java.naming.security.principal=admin, java.naming.security.cred
    entials=welcome}
    [java] java.lang.Exception: Failed to create "ejb/collaxa/system/DomainMana
    gerBean" bean; exception reported is: "javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: No such domain/application: orabpel; nested exception is:
    [java] javax.naming.AuthenticationException: No such domain/application: orabpel [Root exception is javax.naming.AuthenticationException: No such domain/application: orabpel]
    Here is my context.properties :
    orabpel.platform=oc4j_10g
    java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory
    java.naming.provider.url=ormi://my-mid-tier:12401/orabpel
    java.naming.security.principal=admin
    java.naming.security.credentials=welcome
    I know the problem is in the provider url. If I change the java.naming.provider.url =ormi://my-pc /orabpel then it works fine. Has anyone gotten the sample code working from a mid-tier installation? My mid-tier is on version 10.1.2.02. Port 12401 is the default port number for RMI.

    I figured it out! The reason it did not work was the port number in the provider URL was wrong. It should be 12402. It toke me a little while to figure it. Should this be documented somewhere?

  • Problem: Deploying application in OC4J

    HELP ME!!!
    I'm deploy j2ee application which is a simple SessionBean, to my OC4J container (for example, OC4J_my)
    Then I try to start this application via JDeveloper903.
    Application fails with next error:
    javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: No such domain/application: OC4J_432/ejb1; nested exception is:
         javax.naming.AuthenticationException: No such domain/application: OC4J_432/ejb1
         java.lang.Object com.evermind.server.rmi.RMIContext.lookup(java.lang.String)
              RMIContext.java:134
         java.lang.Object javax.naming.InitialContext.lookup(java.lang.String)
              InitialContext.java:350
         void Samplemypackage2.MySessionEJBClient.main(java.lang.String[])
              MySessionEJBClient.java:18

    Denis -- This sounds like maybe the RMI port that you are using to connect is the one used by the home instance. Have a look at the other instance you deployed it to and see what RMI port it is using.
    Thanks -- Jeff

  • I unable to run ejb with application client using oc4j j2ee container

    Hi,
    I have installe oracle9i (1.0.2.2) oc4j j2ee container.
    I unable to run the ejbs . please help me how to run ejbs with application client and which files are shall configure.
    See the client application is :
    public static void main (String []args)
    try {
    //Hashtable env = new Hashtable();
    //env.put("java.naming.provider.url", "ormi://localhost/Demo");
    //env.put("java.naming.factory.initial", "com.evermind.server.ApplicationClientInitialContextFactory");
    //env.put(Context.SECURITY_PRINCIPAL, "guest");
    //env.put(Context.SECURITY_CREDENTIALS, "welcome");
    //Context ic = new InitialContext (env);
    System.out.println("\nBegin statelesssession DemoClient.\n");
    Context context = new InitialContext();
    Object homeObject = context.lookup("java:comp/env/DemoApplication");
    DemoHome home= (DemoHome)PortableRemoteObject.narrow(homeObject, DemoHome.class);
    System.out.println("Creating Demo\n");
    Demo demo = home.create();
    System.out.println("The result of demoSelect() is.. " +demo.sayHello());
    }catch ( Exception e )
    System.out.println("::::::Error:::::: ");
    e.printStackTrace();
    System.out.println("End DemoClient....\n");
    When I am running client application I got this type of Exception
    java.lang.SecurityException : No such domain/application: sampledemo
    at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java : 2040)
    at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java : 1884)
    at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java : 1491)
    at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java : 323)
    at com.evermind.server.rmi.RMIContext.lookup(RMIConext.java : 106)
    at com.evermind.server.administration.LazyResourceFinder.lookup(LazyResourceFinder.java : 59)
    at com.evermind.server.administration.LazyResourceFinder.getEJBHome(LazyResourceFinder.java : 26)
    at com.evermind.server.Application.createContext(Application.java: 653)
    at com.evermind.server.ApplicationClientInitialContext.getInitialContext(ApplicationClientInitialContextFactory.java :179 )
    at javax.naming.spi.NamingManager.getInitialContext(NamingManger.java : 246)
    at javax.naming.InitialContext.getDefaultInitialCtx(InitialContext.java : 246)
    at javax.naming.InitialContext.init(InitialContext.java : 222)
    at javax.naming.InitialContext.<init>(InitialContext.java : 178)
    at DemoClient.main(DemoClient.java : 23)
    .ear file is copied into applications directory.
    I have configured server.xml file like this
    <application name="sampledemo" path="../applications/demos.ear" />
    demos.ear file Contains following files
    application.xml
    demobean.jar
    Manifest.mf
    demobean.jar file contains following files
    application-client.xml
    Demo.class
    DemoBean.class
    DemoHome.class
    ejb-jar.xml
    jndi.properties
    Mainifest.mf
    Please give me your valuable suggestions. Which are shall i configure .
    Thanks & Regards,
    Badri

    Hi Badri,
    ApplicationClientInitialContextFactory is for clients which got deployed inside OC4J container..
    For looking up EJB from a stand alone java client please use RMIInitialContextFactory..So please change ur code....
    Also please check ur server.xml
    Since you have specified your ejb domain as "sampledemo"
    you have to use that domian only for look up..But it seems that you are looking up for "Demo" domain instead of "sampledemo" domain...So change your code to reflect that..
    Code snippet for the same is :
    Hashtable env = new Hashtable();
    env.put("java.naming.provider.url", "ormi://localhost/sampledemo");
    env.put("java.naming.factory.initial", "om.evermind.server.rmi.RMIInitialContextFactory");
    env.put(Context.SECURITY_PRINCIPAL, "guest");
    env.put(Context.SECURITY_CREDENTIALS, "welcome");
    Context ic = new InitialContext (env);
    Hope this helps
    --Venky                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • HT4061 my iphone 3GS has been unable to be accessable then how could i find the serial no

    I tried to update the software for iphone but unfornately it didn't.there is a message that we are sorry that it couldn't upgrade and consult customer care in iphone it asks for launguage,country and wifi connection, where i don't have an wifi connec

  • Copy the result of Execute immediate result into a variable.

    Hi All, Is there any way to copy the result of execute immediate result into a variable. am doing following steps but am getting an error. varSQLstmt1:='select count(*) into'||vararch_ct||' from '||vararch_count; dbms_output.put_line(varSQLstmt1); ex

  • Error in execution (but it compiles)

    This is a follow up from a previous question, but I started a new thread because its a new problem. We are given a file with 99999 lines. Each line of the file represents a single node and it contains four integer: key, value, left child key, right c

  • Multiple conditions in Querey builder Help

    I'm trying to have search form provide the customer with several items to search for. I would like to for example have a url that looks like this ?zone=3,4,5&cost=9,10,11 and have those results be read by the Querey and return all the records that ha

  • /tmp partition size for Solaris 10

    Hi, We are trying to install Oracle Enterprise Manager 10G release 5 on Solaris 10 machine and install is failing. Looking at installation guide for OEM 10.2.0.5, I find /tmp requirement for AIX and HP-UX but for Solaris it is not mentioned. How to f