Unclear Deployment Exception in App Server PE 9

Hello,
try to deploy a J2EE application EDMProjectEAR in Sun App Server PE9 with Netbeans 5.5 The application uses entity and session beans and JSF components. No JMS at all. The deployment process fails mention that some queue is not set correctly (according to my knowledge). The whole stack trace of deployment exception below. Any hints what can be the reason? Is that really related to JMS components?
Any support would be great.
Thanks!
Best regards, Maik
com.sun.enterprise.deployment.backend.IASDeploymentException: Error loading deployment descriptors for module [EDMProjectEAR] -- This ejb has no message destination refernce by the name queue
     at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:362)
     at com.sun.enterprise.deployment.backend.AppDeployerBase.loadDescriptors(AppDeployerBase.java:327)
     at com.sun.enterprise.deployment.backend.AppDeployer.explodeArchive(AppDeployer.java:332)
     at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:182)
     at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:129)
     at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:169)
     at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
     at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:871)
     at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:266)
     at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:739)
     at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:174)
     at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:210)
Caused by: java.lang.IllegalArgumentException: This ejb has no message destination refernce by the name queue
     at com.sun.enterprise.deployment.WebBundleDescriptor.getMessageDestinationReferenceByName(WebBundleDescriptor.java:796)
     at com.sun.enterprise.deployment.node.runtime.MessageDestinationRefNode.setElementValue(MessageDestinationRefNode.java:86)
     at com.sun.enterprise.deployment.node.SaxParserHandler.endElement(SaxParserHandler.java:408)
     at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)
     at com.sun.org.apache.xerces.internal.impl.dtd.XMLNSDTDValidator.endNamespaceScope(XMLNSDTDValidator.java:260)
     at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:2059)
     at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:932)
     at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(XMLNSDocumentScannerImpl.java:719)
     at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
     at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
     at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
     at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
     at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
     at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
     at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
     at com.sun.enterprise.deployment.io.DeploymentDescriptorFile.read(DeploymentDescriptorFile.java:279)
     at com.sun.enterprise.deployment.archivist.Archivist.readRuntimeDeploymentDescriptor(Archivist.java:514)
     at com.sun.enterprise.deployment.archivist.ApplicationArchivist.readRuntimeDeploymentDescriptor(ApplicationArchivist.java:387)
     at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:320)
     ... 11 more

Maik,
If this is still a problem, could you please post the descriptors from the EAR?
Are you using any annotations?
- Tim

Similar Messages

  • EJB Deployment in J2EE Apps Server

    Hi,
    Can any one please help me in deploying EJB in J2EE Apps server?I have installed J2EE Apps Server 9 in my machine.Can any one please suggest me a document regarding EJB deployment in J2EE apps server or help me regarding this?
    Thanks in advance,
    Aravindhan.C

    Go to https://j2ee-sdk.dev.java.net/ and checkout "Methods of deploying applications" under the recent articles section; The tutorial link present in this page (under the references section) will also be useful. The samples bundle has reference samples which will also be useful

  • Communication between two web applications deployed on same app server

    I need to update the war file of one application(say Application A) from another application(say application B). Actually application B is the admin application of application A.
    In order to achieve this, I need to get the ServletContext of A from B. How can I do that?
    P.S: Both the applications will be deployed on the same app server and they are app server independent.

    from the JavaDocs:
    http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletContext.html
    getContext
    public ServletContext getContext(java.lang.String uripath)
    Returns a ServletContext object that corresponds to a specified URL on the server.
    This method allows servlets to gain access to the context for various parts of the server, and as needed obtain RequestDispatcher objects from the context. The given path must be begin with "/", is interpreted relative to the server's document root and is matched against the context roots of other web applications hosted on this container.
    In a security conscious environment, the servlet container may return null for a given URL.
    Parameters:
    uripath - a String specifying the context path of another web application in the container.
    Returns:
    the ServletContext object that corresponds to the named URL, or null if either none exists or the container wishes to restrict this access.
    See Also:
    RequestDispatcher

  • Deployment to Oracle App server 10.1.2

    Hi All,
    I have developed a application using ADF BC, Jsf and Oracle 10g database using Jdev 10.1.3
    Application is on my local laptop tested using local embedded server. I have linked the applcation in Oracle portal server as follows:
    <iframe
    src="http://129.217.159.23:4395/GeminiLogin-ViewController-context-root/faces/login.jsp"
    width="980"
    height="500"
    frameborder="0">
    </iframe>
    I am going to view this application in Oracle portal.
    I want to achieve two tasks:
    1> What are the steps to deploy this application in App server 10.1.2 ?? (What could be potential hurdles now since I am moving from embedded server to Full fledge app server ?/
    2> And, once deployed, How do I reference the application from my portal ?? Still use the IFRAME and src url shown above ??
    thanks,
    pp

    Hi,
    Inorder to deploy in Oracle Portal server you have to do the following.
    1. Create a .deploy file using the web.xml in your JDeveloper.
    2. After creating select the .deploy file and create an .ear file.
    3. In the Oracle Portal server try to deploy in OC4J_Portal component in the Middle tier.
    4. Access the URL for the index.jsp page.
    5. Register the provider in the oracle portal server using the URL.
    6. Then you can include the jsp you have developed into your portal page as portlets.
    Regards,
    Vijay.B

  • Process Modelling in Aris, generating BPEL & deployment to Oracle App Serve

    Hi
    We are considering using Aris to model some business process and using its functionality to generate BPEL for its deployment onto a Service Oriented Architecture i.e. Oracle App Server with BPEL Process Manager. Has anyone had any specific exposure to Aris and its BPEL deployment onto the Oracle App Server.
    - Is there an approach (methodology) from previous experience that someone can recommend.
    - How seamless/complex is the generation and deployment of the BPEL onto the Oracle BPEL Process Manager.
    - Are there any issues or lessons learnt from people using Aris to generate BPEL to the Oracle BPEL Process Manager?
    thanks

    Hi,
    I am dealing with the same problems. I did already some testings using the EPCs of ARIS and tried to establish the link with the BPEL Process Manager. Still it doesn't work seamlessly, maybe with the new realease of ARIS the link will be possible. I am not aware of any methodology in that context, it means we need to develop one.
    Looking forward to hearing from you.
    Best regards,
    TMT

  • Class path issue with spring when deploy in oracle app server

    Hi there,
    i am using spring in an web application using jdeveloper. it is working perfectly for me in jdeveloper. when i trying to deploy it in appserver ( oracle enterprise manager 10g) i am getting following error,
    Failed to deploy web application "china". Failed to deploy web application "china". . Nested exception
    Resolution:
    Base Exception:
    com.evermind.server.rmi.OrionRemoteException
    Class not found: org.springframework.beans.factory.access.BootstrapException; nested exception is:
    java.lang.ClassNotFoundException: org.springframework.beans.factory.access.BootstrapException. Class not found: org.springframework.beans.factory.access.BootstrapException; nested exception is:
    java.lang.ClassNotFoundException: org.springframework.beans.factory.access.BootstrapException
    i guess the problem is with classpath of these xml,
    <!-- j2ee parent config file-->
    <context-param>
    <param-name>locatorFactorySelector</param-name>
    <param-value>/resources/beanRefContext.xml</param-value>
    </context-param>
    <!-- parent context key defined in the config file -->
    <context-param>
    <param-name>parentContextKey</param-name>
    <param-value>servicelayer-context</param-value>     
    </context-param>
    i don know how to fix this issue. it is working fine in local jdeveloper. does any one have some idea please help me out..
    Regards,
    A.

    Hi,
    do you deploy the Spring classes with the application ? I suggest to try the OracleAs forum as well to ensure this has to be in a specific path to be loaded. A list of forums is available from here
    http://forums.oracle.com/forums/index.jspa?categoryID=84
    Frank

  • Changes on application not visible when deployed to weblogic apps server

    Hi all,
    I have an ADF-faces application that is running on a weblogic server.
    Application is working fine, but I added some functionality on some pages.
    I tested it with Jdeveloper and the build in weblogic server, that is working fine.
    Now I deployed my application (Trough the menu application->deploy) to the weblogic server.
    When I open the application now I don't see the changes I made!!
    In the menu I did run Build->Make and Build->Rebuild but that did not help.
    What is causing this behavior?
    Thanks is advance.

    Hi Timo,
    Thanks for your quick reaction. deleting the application first solved my issue.
    I never had this issue before, but good to know how to fix it :)

  • EntityBean Deployment settings Sun App Server. (j2ee1.3.1) problem

    I am getting following error:
    ERROR: while generating SQL.
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.RemoteException: Error connecting to database; nested exception is:
    javax.naming.NameNotFoundException: sqlServer__pm not found
    Please make sure the database name/user/password is valid
    and the J2EE server and database are running.

    Well, the obvious questions are: a) is your database running? b) if so, did you configure the Application Server to correctly connect to your database server?
    The latest version of J2EE is 1.4, by the way. Unless you have a particular reason for using J2EE 1.3, I'd suggest installing the 1.4 SDK.
    -Ian Evans

  • Web service deployment on oracle app server, need help

    Hi All..,
    When I deploy a web service on the Oracle Application Server (10.1.3.3) the WSDL that is generated from JDeveloper and package with the EAR file is overwritten at deployment time. The parameter names for the method calls for the web service are change from actually parameter names to generic ones. For example, “amount” is changed to “param0” or “vendorId” is changed to “param1”. Is there a way to not let this happen ??
    TIA
    Krishan

    Did you got the solution for the issue you had?

  • Local Session Bean Call Exception in App Server

    I have been having trouble calling a Local Session bean in Glassfish.
    I set up an example to show the exception I am having:
    MainBeanLocal
        package com.test;
        import javax.ejb.Local;
        @Local
        public interface MainBeanLocal {
             void testCall();
    MainBean:
        package com.test;
        import javax.ejb.Stateless;
         * Session Bean implementation class MainBean
        @Stateless(mappedName = "ejb/MainBean")
        public class MainBean implements MainBeanLocal {
             @Override
             public void testCall() {
                  System.out.println("Test Call Succeeded");
    RemoteBeanRemote:
        package com.test;
        import javax.ejb.Remote;
        @Remote
        public interface RemoteBeanRemote {
             public void callMainBean();
    RemoteBean:
        package com.test;
        import javax.ejb.Stateless;
        import javax.naming.InitialContext;
        import javax.naming.NamingException;
         * Session Bean implementation class RemoteBean
        @Stateless(mappedName = "ejb/RemoteBean")
        public class RemoteBean implements RemoteBeanRemote {
             @Override
             public void callMainBean() {
                  try {
                       InitialContext ctx = new InitialContext();
                       MainBeanLocal mb = (MainBeanLocal) ctx.lookup("ejb/MainBean");
                       mb.testCall();
                  } catch (NamingException e) {
                       // TODO Auto-generated catch block
                       e.printStackTrace();
    Test Code:
        package com.test;
        import javax.naming.InitialContext;
        import javax.naming.NamingException;
        public class BeanTester {
             public static void main(String[] args){
                  try {
                       InitialContext ctx = new InitialContext();
                       RemoteBeanRemote remote = (RemoteBeanRemote) ctx.lookup("ejb/RemoteBean");
                       remote.callMainBean();
                  } catch (NamingException e) {
                       // TODO Auto-generated catch block
                       e.printStackTrace();
    Output Trace:
        INFO: deployed with moduleid = TestEJB
        INFO: **RemoteBusinessJndiName: ejb/RemoteBean; remoteBusIntf: com.test.RemoteBeanRemote
        INFO: LDR5010: All ejb(s) of [TestEJB] loaded successfully!
        WARNING: javax.naming.NameNotFoundException: MainBean not found
             at com.sun.enterprise.naming.TransientContext.doLookup(TransientContext.java:216)
             at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.java:188)
             at com.sun.enterprise.naming.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:74)
             at com.sun.enterprise.naming.LocalSerialContextProviderImpl.lookup(LocalSerialContextProviderImpl.java:111)
             at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:409)
             at javax.naming.InitialContext.lookup(InitialContext.java:392)
             at com.test.RemoteBean.callMainBean(RemoteBean.java:19)
             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
             at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:597)
             at com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1011)
             at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:175)
             at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2920)
             at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4011)
             at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:203)
             at com.sun.ejb.containers.EJBObjectInvocationHandlerDelegate.invoke(EJBObjectInvocationHandlerDelegate.java:117)
             at $Proxy71.callMainBean(Unknown Source)
    ...What am I doing wrong when calling **MainBeanLocal**? I would like to avoid dependency injection, as if the MainBeanLocal was being called from a POJO.
    Note: I have no trouble calling the RemoteBean.. I want to be able to call the local bean from the remote bean.

    Maik,
    If this is still a problem, could you please post the descriptors from the EAR?
    Are you using any annotations?
    - Tim

  • ADF application deployment on Oracle Apps server?

    OAFramework is used to create and deploy oracle application pages...can ADF framework be used instead of OAFramework and be deployed and accessed in Oracle Applications? or as both OAF and ADF have different structures/framework they are for different purposes?
    Thanks,
    Tanveer
    Message was edited by:
    Tanveer

    As of R12, OAF can only be used for Oracle Applications development/extensions.
    Oracle ADF is an end-to-end J2EE framework. ADF is currently not used for Oracle Apps. Development / extensions. It is expected to be the case in Fusion and is a part of the Oracle Fusion Middleware.
    Hope this clarifies.

  • Can i develop applications on JSC2update1 and deploy on other app server

    I am working on JSF web application. I have developed one application in sun java studio creator and i dont want to run my applications in that one, because it is always showing error like Deployment error: server timed out after 240 secs. so is there any possiblity to download the application server individually and deploy onto that. if it is possible then please send me the alternate options with full description.
    I have downloaded Tomcat and Appserver 8(sun microsystems) individually. Which one is better to use it .Please suggest me a good and better one.
    Thanking You.

    Hi!
    List of supported application servers You can find here:
    http://developers.sun.com/prodtech/javatools/jscreator/sysreqs/depservers.jsp
    About deployment to different application servers You can read here:
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/appserverdeploy.html
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/webserverdeploy.html
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/weblogicdeploy.html
    Thanks,
    Roman.

  • I get the following error when I deploy to oracle app server 10.1.3

    \jdevstudio10131\jdev\mywork\spneeds1\spneeds1\deploy\ejb3.ear
    Uploading file ejb3.ear ...
    Application Deployer for ejb3 STARTS.
    Copy the archive to /oracle/j2ee1013/j2ee/home/applications/ejb3.ear
    Initialize /oracle/j2ee1013/j2ee/home/applications/ejb3.ear begins...
    Unpacking ejb3.ear
    Done unpacking ejb3.ear
    Initialize /oracle/j2ee1013/j2ee/home/applications/ejb3.ear ends...
    Starting application : ejb3
    Initializing ClassLoader(s)
    Initializing EJB container
    Loading connector(s)
    Starting up resource adapters
    Processing EJB module: ejb3.jar
    application : ejb3 is in failed state
    Operation failed with error:
    @PersistenceContext annotation can only be used when a javax.spi.PersistenceProvider is installed.
    Deployment failed
    Elapsed time for deployment: 4 seconds

    A similar question is posted in jdev forums
    please find answer to this question thier

  • We want to deploy Servlet/JSP in JServ and call the EJB's deployed in iPlanet App Server 6.0 SP2. How do we make the getInitialContext Call be able to access the EJB's.

    Additionally what configurations do we need to make sure we have on JServ (Third party Servlet container) to make sure that the iPlanet EJB's can be accessed.

    Let me preface my instructions with the comment that this isn't a good idea. Although the J2EE specification allows you seperate your web container from your EJB container, in practical deployments it is a bad idea. The overhead of doing RMI/IIOP calls to an external container as opposed to making inter-JVM calls means that you can expect roughly an order of magnitude less performance than if you colocate your web and EJB containers. (This is why all EJB containers are also web containers, or at least have the provision to install themselves in the same JVM as a web container.)
    That said, if you do not have the option to move the servlets to iAS, you can access EJB's in iAS from JServ the same way that you would from any remote client. Take a look at the following information for more detail:
    Chapter 9 of the developer's guide ( this shows you what changes you need to make to the remote JVM (at JServ) and in the EJB's that you are exposing).
    The RMI/IIOP sample application. This gives you an example of how to access EJB's from outside the container.
    (To answer your direct question, the following code will get the initial context. But if you don't take all of the other configuration steps, this code won't work:
    env.put("java.naming.factory.initial", "com.sun.jndi.cosnaming.CNCtxFactory");
    env.put("java.naming.provider.url", "iiop://" + host + ":"+port);
    Context initial = new InitialContext(env);
    I'd also suggest that you approach the task with the following approach. (Assuming that I haven't managed to convince you that this is a really bad idea.)
    1. Get your EJB's working on iAS. Test them with servlet harnesses running on iAS.
    2. Get your servlets working on JServ, if they aren't already.
    3. Create a simple standalone Java application as a test harness for EJB's. Follow the RMI/IIOP instructions until you get this test harness working.
    4. Create a simple servlet test harness in JServ to access your EJb's. Follow the JVM setup instrucitons until you get this working.
    5. Actually integrate the EJB's with your production application.
    I say this because there are about five trillion things that can go wrong in this process. Although the troubleshooting steps in the docs are helpful, I find that it helps to get one thing working at a time. It's very frustrating to spend a day trying to resolve JNDI issues only to find out that you have your CXS configured improperly.

  • Deployment of Flex app to web and app server

    Hi
    I'm working on putting a Flex front-end on an existing J2EE
    app which gets deployed as an ear file. The architecture consists
    of web server, app server and database server. Is the following
    approach to deployment possible / recommended?
    My Flex app will be deployed to the web server. The J2EE ear
    file will be deployed to the app server (Weblogic). BlazeDS will be
    bundled within the ear file as a war file. Remote Objects will be
    configured in my BlazeDS configuration files to enable me to access
    the code in my J2EE app. In the compiler options of my Flex app,
    I'll be setting the server root folder and server root URL to point
    to the BlazeDS war file on my app server.
    At present I'm at the stage where I can run my Flex app
    directly from Flex builder on my development PC and it's able to
    connect tto the J2EE app, which is running on the app server
    (Weblogic) also on my development PC. I can't find documentation
    explaining how to extend this to work on a multi-tier architecture.
    Thanks
    David

    Hi,
    I replied to your post in FDS forum. Please visit the URL
    below for the response.
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=583&threadid=1373523
    Hope this helps.

Maybe you are looking for

  • Syncing thumbnails in library with deletion of photos from disk?

    After I delete some photos directly from the disk, iPhoto's thumbnails still remain the same. Only when I try to open an image do I get a black alert box, implying that the original file is missing. Is there a way to automatically sync the library to

  • OS X 10.5.8 TO 10.6.8

    I have the Mac OS X 10.5.8 and when I try to update my software it says that it is up to date. I recently bought the iPhone 5 but I can't connect it to my itunes because I need the 10.6.8 version. How can I download it ?

  • Delete a numbers template

    Does anyone know how to delete templates from the template chooser ?

  • How to generate barcode name in scripts

    hi,    how to generate barcode name in scripts.what is the procedure tell me brief with example.what is the use of barcodes

  • WRT54G SIGNAL IS ON-OFF-ON-OFF....

    A little help?..I set up the new router and 2 computers. Worked fine for about 20 minutes. Then the "WLAN" light on the front of the router started to bilnk off and on every 10 seconds and I had a connection and then I did'nt! Off and on...connected