Problem in running WAR file developed through NetBeans Visual Web

hi all,
actually i developed a web application in JSF using IDE NetBeans Visual Web.
application is having a table which is connected to database ( MySQL ).... i dragged my database table on visual web's table and all the connections were automatically created. i m using tomcat as a web server.
application runs fine through Netbeans but wen i deployed its war file in tomcat and tried to run.....browser showed me the table but the data was not there.....infact i m getting "No items in the table" written, in my table on browser.
plz help.....thnx in advance
Pranay

Ramchow --
One suggestion is to use JDeveloper to do the deployment.
Create a connection in JDeveloper to the OC4J instance you wish to deploy to, then create a new deployment profile for your application and let JDeveloper perform the deploymnent for you.
Once it's working, you can then go and look at the OC4J configuration files and see the tags looks like to perform the deployment correctly.
Note that JDeveloper will deploy the WAR file by first wrappering it in an EAR file.
-steve-

Similar Messages

  • Problem regarding running war file in Tomcat 4.1

    i uploaded a war file in Tomcat application manager..
    Running status of application is false ...
    By pressing START in COMMANDS still it shows false in RUNNING ..
    i got error
    FAIL - Application at context path /kannan could not be started...........

    hi
    restart your system and again you deploy in tomcat manager,
    or
    better you place your .war file under webapps and restart ur tomcat server once again ..
    after u c one folder create with ur war file name,
    after u go and access
    thats it..
    i hope it will helps u

  • Netbeans visual web app design tab won't load?

    Is there anybody that has the following problem when trying to start a new visual web application in Netbeans 6? If so, could you help me fix the problem?
    Every time I try a new visual web application in Netbeans, the design tab won't load and I get an error message. I can use the Java tab and the JSP tab with no problems. It's just that the design tab says "please wait loading" but it nothing ever shows up. I can basically do everything else, except for dragging things from the palette to the design tab. The error message is:
    java.lang.NoSuchMethodError: javax.el.ExpressionFactory.newInstance()Ljavax/el/ExpressionFactory;
         at org.apache.jasper.runtime.JspApplicationContextImpl.getExpressionFactory(JspApplicationContextImpl.java:80)
         at com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:1595)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:419)
         at org.netbeans.modules.visualweb.jsfsupport.container.RaveConfigureListener.contextInitialized(RaveConfigureListener.java:93)
         at org.netbeans.modules.visualweb.jsfsupport.container.FacesContainer.initialize(FacesContainer.java:182)
         at org.netbeans.modules.visualweb.jsfsupport.container.FacesContainer.<init>(FacesContainer.java:130)
         at org.netbeans.modules.visualweb.insync.models.FacesModelSet.getFacesContainer(FacesModelSet.java:497)
         at org.netbeans.modules.visualweb.insync.models.FacesModelSet.<init>(FacesModelSet.java:403)
    Caused: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at org.netbeans.modules.visualweb.insync.ModelSet.createInstance(ModelSet.java:257)
    Caused: java.lang.RuntimeException
         at org.netbeans.modules.visualweb.insync.ModelSet.createInstance(ModelSet.java:261)
         at org.netbeans.modules.visualweb.insync.ModelSet.getInstance(ModelSet.java:242)
         at org.netbeans.modules.visualweb.insync.ModelSet$1.run(ModelSet.java:209)
    [catch] at java.lang.Thread.run(Thread.java:619)

    Hello,
    Adobe has provided these things:
    Creative Cloud Help/Troubleshoot download and install issues
    https://helpx.adobe.com/creative-cloud/kb/troubleshoot-cc-installation-download.html
    and: Creative Cloud Help/App doesn’t open; progress wheel spins continually
    http://helpx.adobe.com/creative-cloud/kb/creative-cloud-app-doesnt-open.html
    If necessary and for further questions click through http://helpx.adobe.com/contact.html and if "open" please use chat, I had the best experiences. I quote from Adobe's employee Preran: The chat button is activated as soon as there is an agent available to help.
    Please have a look there, good luck!
    Hans-Günter

  • NetBeans Visual Web + instances of users

    hi i have some problem with menages of users, maybe...;)
    so i'm creating new project in netbeans > visual web application,
    next 2 new pages,
    on first i have 1 text field (textField1) and 1 button (button1) and some action:
    public String button1_action() {
            // TODO: Process the action. Return value is a navigation
            // case name where null will return to the same page.
            String temp="";
            temp=textField1.getText().toString();
            getRequestBean1().setRValue(temp);
            getSessionBean1().setSValue(temp);
            getApplicationBean1().setAValue(temp);
            return "ok";
        }after this, we are going to next page and there, we have 1 buttom (button2)
    and 3 static texts (staticText1,staticText2,staticText3) and:
    public String button2_action() {
            // TODO: Process the action. Return value is a navigation
            // case name where null will return to the same page.
           staticText1.setText(" req: "+getRequestBean1().getRValue());
           staticText2.setText(" ses: "+getSessionBean1().getSValue());
           staticText3.setText(" app: "+getApplicationBean1().getAValue())
            return null;
    /code]
    run project> on first page im giving lets say "first person" >click button1
    on second page click button2 and i have results on staticText1..3:
    req: null
    ses: first person
    app: first person
    im opening another browser going to my project web and giving "next person">click button1 on second page click button2 and results:
    req: null
    ses: next person
    app: next person
    backing to first browser click button2 and i have the same results like in the secodn browser (but i dont wonna;))
    req: null
    ses: next person
    app: next person
    how to menage diferent instanses of application? some FacesContext? please help me, some online tutorial? thx:)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    From http://blogs.sun.com/roumen/entry/questions_at_the_sun_booth:
    Q: Does it mean that Java Studio Creator will go away?
    A: Future roadmap of Java Studio Creator is still being discussed, it is possible that it will continue to exist. By using NetBeans + Visual Web Pack you can make sure to have access to the latest and greatest features.

  • HELP!!! Can't use sql:update in Netbeans Visual Web JSP

    I use Netbeans Visual Web in my project. I use Java DB database and Sun Java System Application Server 9.
    When i run my project, there is an error "The server encountered an internal error () that prevented it from fulfilling this request."
    Here is the codes:
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui" xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:sql="http://java.sun.com/jsp/jstl/sql" >
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
    <ui:page binding="#{Page1.page1}" id="page1">
    <sql:update var="indata" dataSource="datasource">
    INSERT INTO "NBUSER"."user" ("Username") VALUES('jacky')
    </sql:update>
    <ui:html binding="#{Page1.html1}" id="html1">
    <ui:head binding="#{Page1.head1}" id="head1">
    <ui:link binding="#{Page1.link1}" id="link1" url="/resources/stylesheet.css"/>
    </ui:head>
    <ui:body binding="#{Page1.body1}" id="body1" style="-rave-layout: grid">
    <ui:form binding="#{Page1.form1}" id="form1"/>
    </ui:body>
    </ui:html>
    </ui:page>
    </f:view>
    </jsp:root>
    I can't store the data "jacky" into "Username" column in "user" table in database. Can anyone please let me know where is my mistake. Thanks.

    Maybe that SQL statement isn't valid. All those quotes look weird to me, but don't take that as meaning they are wrong. You should look in your server's logs to find out the actual error that occurred, rather than trying to guess what's wrong.

  • NetBeans Visual Web - Will be Studio Creator after that?

    I just found that Visual Web will be incorporated to NetBeans and AFAIK is JSC code/based with improved navigation tool.
    I'm glad (and may be drop eclipse) about this but question is:
    There will be a Studio Creator por will be die after the release of NB 5.5 ?
    Regards.

    From http://blogs.sun.com/roumen/entry/questions_at_the_sun_booth:
    Q: Does it mean that Java Studio Creator will go away?
    A: Future roadmap of Java Studio Creator is still being discussed, it is possible that it will continue to exist. By using NetBeans + Visual Web Pack you can make sure to have access to the latest and greatest features.

  • Problem deploying a WAR file in Weblogic 10

    I get an error trying to deploy a WAR file on WebLogic 10 on two of my co-workers computers. On my computer it works fine and on our development server running on SUSE 10 it is also fine. We are using Struts 2, Hibernate 3 and Spring 2.5. The exception says that weblogic.wsee.async.AsyncResponseBean failed to preload because weblogic.wsee.async.jaxws.OnAsyncDelivery could not be found. We are not knowingly trying to use these classes. We do not have web services. The full text of the error we get when trying to deploy is:
    <Aug 20, 2008 3:01:45 PM CDT> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application '_appsdir_pilotVacation_war'.
    weblogic.application.ModuleException: [HTTP:101216]Servlet: "weblogic.wsee.async.AsyncResponseBean" failed to preload on startup in Web application: "pilotVacation.war".
    class: weblogic.wsee.async.jaxws.OnAsyncDelivery could not be found
    at com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:272)
    at com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:566)
    at com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:513)
    at com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:358)
    at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:245)
    at com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:229)
    at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:161)
    at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:291)
    at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:315)
    at weblogic.wsee.jaxws.JAXWSServlet.registerEndpoint(JAXWSServlet.java:125)
    at weblogic.wsee.jaxws.JAXWSServlet.init(JAXWSServlet.java:64)
    at javax.servlet.GenericServlet.init(GenericServlet.java:241)
    at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:282)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Unknown Source)
    at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:63)
    at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
    at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:504)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1830)
    at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1807)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1727)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2890)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:948)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:353)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:950)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:353)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    Truncated. see log file for complete stacktrace
    class: weblogic.wsee.async.jaxws.OnAsyncDelivery could not be found
    at com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:272)
    at com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:566)
    at com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:513)
    at com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:358)
    at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:245)
    Truncated. see log file for complete stacktrace
    >

    Hey,
    From what I understand, your configuration is obviously different from your co-workers' config.
    So you've got two choices : either you make their environments work like yours, or you make the application to work anywhere !
    In order to do so, I would advise you to use a comparison tool, such as BeyondCompare (excellent) and compare your domain configurations (config directories)
    Or as James suggested it, you go hunt for unnecessary libraries in your application DD.
    Extra question : have you tried to create a new domain, and activate the Workshop extension ? Try then to deploy your application and tell us what's the result.
    If you created your application in Workshop, mind the facets : if you do not chose the correct set of facets, you'll have lots of extra libs, more annoying than helping.

  • Problem in deploying war file in weblogic application server 10

    Hi
              Thank you for reading my post.
              We are trying to deploy our application into weblogic but problem is that weblogic return an error like following one when we try to deploy the application.
              I should tell you that the following log was shown in a not well formatted way and i format it manually.
                        [HTTP:101216]Servlet: "com.wira.webservices.int.Wsti" failed to preload on startup in Web application: "wira.war". class:
              com.wira.webservices.int.jaxws.RequestResponse could not be found at
              com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:272) at
              com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:566) at
              com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:513) at
              com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:358) at
              com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:245) at
              com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:229) at
              com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:161) at
              com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:291) at
              com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:315) at
              weblogic.wsee.jaxws.JAXWSServlet.registerEndpoint(JAXWSServlet.java:125) at
              weblogic.wsee.jaxws.JAXWSServlet.init(JAXWSServlet.java:64) at
              javax.servlet.GenericServlet.init(GenericServlet.java:241) at
              weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:282) at
              weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at
              weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Unknown Source) at
              weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:63) at
              weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58) at
              weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48) at
              weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:504) at
              weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1830) at
              weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1807) at
              weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1727) at
              weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2890) at
              weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:948) at
               weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:353) at
              weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) at
              weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) at
              weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60) at
              weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at
              weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117) at
              weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) at
              weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
                        I should say you that we do not have a package and class like: com.wira.webservices.bpel.jaxws.RequestResponse and it looks like WLS is mistaken about this.
              Indeed this application works fine on Sun java application server 9 (java ee 5 certified). Can you please tell me why does it happens?
              here is source code of Wsti class
                        @WebService()
              public class Wsti {
                  @WebMethod(operationName="requestResponse")
                  public String requestResponse(@WebParam(name="request") String request) {
                      return ReflectionManager.call(WstiImp.class, request);
                                            for reflection we used standard JDK reflection stuff.
              and that call method call a method identified in request from WstiImp class.
              Thanks

    Following are the steps involved in deploying a WAR file in Oc4j.
    1. Copy the file to D:\oc4j\j2ee\home\applications where d:\oc4j is the location OC4J is installed in.
    copy mywar.war D:\oc4j\j2ee\home\applications
    2. Open the application.xml file in D:\oc4j\j2ee\home\config directory
    and add the following after the <web-module id="defaultWebApp" path="../default-web-app" />
    line:
    <web-module id="mywar" path="../applications/mywar.war" />
    3. Open the default-web-site.xml file in D:\oc4j\j2ee\home\config
    directory and add the following after the <default-web-app application="default" name="defaultWebApp" /> line:
    <web-app application="default" name="mywar" root="/mywar" />
    Hope this helps
    -Debu Panda
    Oracle

  • Problem in deploying war file

    Hi,
    I have a problem in deploying a war file in Weblogic 7. I have deployed successfully
    a jar file containing an ejb. I would like to deploy a war file which web.xml
    has an <ejb-ref> element referencing a session bean contained in the jar previously
    deployed.
    I have the following error:
    Module Name: PSSC-web, Error: weblogic.j2ee.DeploymentException: Could not setup
    environment - with nested exception:
    [weblogic.deployment.EnvironmentException: ejb-ref ejb/PSSCLdapUserEJB requires
    an ejb-link or jndi-name]
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1093)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1074)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1110)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:730)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
    >
    My configuration files are:
    weblogic-ejb-jar.xml
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>ejb/PSSCLdapUserEJB</ejb-name>
    <jndi-name>PSSCLdapUserEJB</jndi-name>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    ejb-jar.xml
    <ejb-jar>
    <display-name>Ldap User</display-name>
    <enterprise-beans>
    <session>
    <ejb-name>ejb/PSSCLdapUserEJB</ejb-name>
    <home>pssc.utils.ejb.PSSCLdapUserEJHome</home>
    <remote>pssc.utils.ejb.PSSCLdapUserEJ</remote>
    <ejb-class>pssc.utils.ejb.PSSCLdapUserEJBean</ejb-class>
    <session-type>Stateful</session-type>
    <transaction-type>Container</transaction-type>
    </session>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>ejb/PSSCLdapUserEJB</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    <ejb-client-jar>LDAPUSER</ejb-client-jar>
    </ejb-jar>
    web.xml
    <web-app>
    <ejb-ref>
    <ejb-ref-name>ejb/PSSCLdapUserEJB</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>pssc.utils.ejb.PSSCLdapUserEJHome</home>
    <remote>pssc.utils.ejb.PSSCLdapUserEJ</remote>
    </ejb-ref>
    </web-app>
    weblogic.xml
    <weblogic-web-app>
         <ejb-reference-description>
         <ejb-ref-name>
         ejb/PSSCLdapUserEJB
         </ejb-ref-name>
         <jndi-name>
         PSSCLdapUserEJB
         </jndi-name>
         </ejb-reference-description>
    </weblogic-web-app>
    Configuration files seems correct to me, but the deployment of the war is not
    working..
    Does someone have an idea of what is the problem?
    Thanks in advance,
    Giuseppe

    Hi,
    I have a problem in deploying a war file in Weblogic 7. I have deployed successfully
    a jar file containing an ejb. I would like to deploy a war file which web.xml
    has an <ejb-ref> element referencing a session bean contained in the jar previously
    deployed.
    I have the following error:
    Module Name: PSSC-web, Error: weblogic.j2ee.DeploymentException: Could not setup
    environment - with nested exception:
    [weblogic.deployment.EnvironmentException: ejb-ref ejb/PSSCLdapUserEJB requires
    an ejb-link or jndi-name]
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1093)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1074)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1110)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:730)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
    >
    My configuration files are:
    weblogic-ejb-jar.xml
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>ejb/PSSCLdapUserEJB</ejb-name>
    <jndi-name>PSSCLdapUserEJB</jndi-name>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    ejb-jar.xml
    <ejb-jar>
    <display-name>Ldap User</display-name>
    <enterprise-beans>
    <session>
    <ejb-name>ejb/PSSCLdapUserEJB</ejb-name>
    <home>pssc.utils.ejb.PSSCLdapUserEJHome</home>
    <remote>pssc.utils.ejb.PSSCLdapUserEJ</remote>
    <ejb-class>pssc.utils.ejb.PSSCLdapUserEJBean</ejb-class>
    <session-type>Stateful</session-type>
    <transaction-type>Container</transaction-type>
    </session>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>ejb/PSSCLdapUserEJB</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    <ejb-client-jar>LDAPUSER</ejb-client-jar>
    </ejb-jar>
    web.xml
    <web-app>
    <ejb-ref>
    <ejb-ref-name>ejb/PSSCLdapUserEJB</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>pssc.utils.ejb.PSSCLdapUserEJHome</home>
    <remote>pssc.utils.ejb.PSSCLdapUserEJ</remote>
    </ejb-ref>
    </web-app>
    weblogic.xml
    <weblogic-web-app>
         <ejb-reference-description>
         <ejb-ref-name>
         ejb/PSSCLdapUserEJB
         </ejb-ref-name>
         <jndi-name>
         PSSCLdapUserEJB
         </jndi-name>
         </ejb-reference-description>
    </weblogic-web-app>
    Configuration files seems correct to me, but the deployment of the war is not
    working..
    Does someone have an idea of what is the problem?
    Thanks in advance,
    Giuseppe

  • Problem in running JAR file

    Creating a mobile game using J2ME. The JAR file created by Netbeans IDE when bein run on mobile gives an error: JAR and JAD file did not match.
    Manifest file:
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.6.2
    Created-By: 1.5.0_06-b05 (Sun Microsystems Inc.)
    MIDlet-1: Maze, Maze.png, Maze
    MIDlet-Vendor: Unknown
    MIDlet-Name: Maze
    MIDlet-Version: 1.0
    MicroEdition-Configuration: CLDC-1.1
    MicroEdition-Profile: MIDP-2.0
    JAD file:
    MIDlet-1: Maze, Maze.png, Maze
    MIDlet-Jar-Size: 100
    MIDlet-Jar-URL: Maze.jar
    MIDlet-Name: Maze
    MIDlet-Vendor: Unknown
    MIDlet-Version: 1.0
    MicroEdition-Configuration: CLDC-1.1
    MicroEdition-Profile: MIDP-2.0
    Please consider the query..

    Hey I solved the problem in following order
    JLabel jbl = new JLabel(new ImageIcon(getClass().getResource("image/theme.GIF")));I have a tips to all who are absorving in this problem
    that you should check that whether the extension is in capitalletter or small letter in the jar. Follow the format in your coding
    thnx
    best regards
    tanvir

  • Problem deploying a War file to server

    Hi,
    I'm trying to deploy my war file a simple servlet program given by Google Webtookit to my Resin server v2.1.13.
    I created a war file and dropped it into the webapps folder. When I try to launch the application, I get the following error. My class is in the right directory, I am able to launch it on my local resin server on my machine. When I try to deploy it onto a 3rd party server, is when I get the error. I have checked my web.xml file and made sure they are pointing correctly to the class I want it to point to. Where am I going wrong?
    Thanks,
    Harry
    500 Servlet Exception
    javax.servlet.ServletException: Class `com.bc.server.GreetingServiceImpl'
    was not found in classpath.
    Classes normally belong in /ExGWT/WEB-INF/classes.
    at com.caucho.server.http.Application.instantiateServlet(Application.java:3198)
    at com.caucho.server.http.Application.createServlet(Application.java:3104)
    at com.caucho.server.http.Application.loadServlet(Application.java:3065)
    at com.caucho.server.http.QServletConfig.loadServlet(QServletConfig.java:435)
    at com.caucho.server.http.Application.getFilterChainServlet(Application.java:2809)
    at com.caucho.server.http.Application.buildFilterChain(Application.java:2765)
    at com.caucho.server.http.Invocation.service(Invocation.java:313)
    at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
    at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:346)
    at com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:274)
    at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
    at java.lang.Thread.run(Thread.java:595)
    Resin 2.1.13 (built Thu Apr 1 10:57:42 PST 2004)

    I am trying to deploy my application on Lunarpages. (not the best support in the world). They have Resin v 2.1.13 running on their end. I have tried everything I know, but the classpath is still an issue. I have even printed out the list of classpath through my code and everything seems to be right. I can deploy the same war file on any server Tomcat, Jetty, Resin 3.x (my local), but just not on lunarpages. I am stumped. Please help.
    Thanks
    Harry

  • Problem in Deploying war file in oc4j

    I have developed an application using struts and packaged in war file. It runs ok in tomcat server. I want to deploy it in embedded oc4j server of E-Business Suite. Please give me directions................

    AFAIK, EBS 11.5.10 doesn't come with OC4J. It uses Apache Jserv which is Servlet 2.0 and with a special JSP engine. This doesn't support J2EE WAR files. It might support Struts but I'd not bet on that.
    Having said that, you need to get an OC4J standalone version installed (minimum) and started by the standard EBS startup scripts.
    Once this is done and if your WAR is self-contained, ie contains all the libraries, it is quite easy. Just deploy it using the command-line tools (all versions) or the web admin interface of OC4J (from 10.1.3).
    Only thing you have to change is the URL in the OAF page to point to the right server...
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Error while deploying war file inOC4J through o9ias

    Dear friends
    I receive an error while deploying a war file to oracle 9i application server stating that one or more process is running, shutdown by 9iAS or by enterprise manager or use dcmctl resynInstance to free the resource.
    This error happens when one deploy is either interrupted or not deployed properly. But even after stopping the process by "dcmctl stop" or by the command "dcmctl resynInstance" i am not able to deploy any more applications. Kindly guide me

    You probably want to post this question over in the OC4J forum or in one of the 9iAS forums. ODBC is a Windows C++ & VB client API, so it doesn't have a lot to do with the Oracle application server or OC4J.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Problem deploying a WAR file

    I am new to Java and even newer to the Java System Application Server.
    I am using a training course to learn Servlets and JSP. I installed J2EE and the Application Server yesterday, and when I try to follow the course in deploying a WAR file I get the following error in the log file
    Log Entry Detail
    DetailsTimestamp: Mar 24, 2006 07:51:11.499
    Log Level: SEVERE
    Logger: javax.enterprise.system.tools.deployment
    Name-Value Pairs: _ThreadID=12;
    Record Number: 59
    Message ID: Exception occured in J2EEC Phase com.sun.enterprise.deployment.backend.IASDeploymentException
    Complete Message
    Some verifier tests failed for the given application. Aborting deployment. Please verify your application using the verifier separately for more details     at com.sun.enterprise.deployment.backend.ModuleDeployer.runVerifier(ModuleDeployer.java:931)     at com.sun.enterprise.deployment.backend.WebModuleDeployer.preDeploy(WebModuleDeployer.java:137)     at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:130)     at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:148)     at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)     at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:639)     at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:188)     at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:520)     at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:139)     at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:168)
    Diagnostic Causes
    Diagnostic Checks
    I am using the Admin console to do the deployment
    Per the training class, I am checkeing the "Verifer" box.
    Following is the general error message I get from the admin counsole:
    An error has occurred.
    Deploying application in domain failed; Some verifier tests failed for the given application. Aborting deployment. Please verify your application using the verifier separately for more details ; requested operation cannot be completed Some verifier tests failed for the given application. Aborting deployment. Please verify your application using the verifier separately for more details
    ANY HELP WOULD BE APPRECIATED.

    Can you deploy your application without verifier checkbox set? You have to remember that verifier is very strict when it comes to validating deployment descriptors.
    There are loads of applications that fail to be deployed with verifier checked but work quite well. This doesn't mean that you should just ignore verifier's errors, it means that your web application is not stricly following J2EE spec.
    What you should probably do is run verifier separately as suggested by deployer and see what it says. Check the following link for verifier usage:
    http://docs.sun.com/app/docs/doc/819-2644/6n4tumqe1?q=verifier&a=view

  • Problems In Running Executable File

    I Have A LabView Program Where The Sub VI Is a VI Tempelate,(I Already Tried Using Reentrant Function Through A VI,But I Had Some Issues<Which Caused The Program To Not Work Correctly>, Hence The *VIT)
    The Problem Is While Creating An Executable File 
    It Just Does Not Call The SUB VI
    I Tried Changing The Path Name To Inside The Application.exe But Still No Luck
    I Use Labview 2012

    Hello,
    Everyone, I guessed we meet the same issue.
    During debug mode, the main program can load vit file by vit file path, the interface and function both are ok. as soon as I build all files to exe file, the program can work well but it just means function is ok, the interface invoved vit file all couldn't be showed normally.
    I copied the original vit file to build package, there isn't any problem in Runing Executable File.
    This is just one way to solve this problem. I don't think it's the best way, who can provide a better idea?  which way is only to include vit file as other vi during build exe package, and anyone don't easy change original vit file, thanks!
    Champion

Maybe you are looking for

  • Assining a bean attribute to a jsp variable

    I am writing a struts application and am using <bean:write name="configattribute" property="name"/> to print out info on my jsp page. I was wondering if I could assign that value to a local jsp variable so I can check its value and change the colour

  • Error while calling BAPI_PARTNEREMPLOYEE_CREATE

    Hi All, I am trying to call BAPI_PARTNEREMPLOYEE_CREATE BAPI in my java application using JCO But internally this BAPI calls VAP1 screen so currently i am getting error while calling this BAPI. please suggest to overcome this error Thanks in advance,

  • How to set only one Index-group for a Search-iView as default?

    Hi Everybody, i have a lot of index ID's for searching in different folders. Is it possible to set only one index-group as default for a search iView? Until now i get all groups as default in every search. It's inconvenient for the users to use the l

  • Setting the resolution of a Pages document

    I'd be very grateful if some kind soul could tell me how to set the resolution of a new document in Pages. I want to use Pages to create an advert for inclusion in a magazine. They need artwork at 300dpi resolution and preferably in jpeg format. I've

  • Combining Column and Line charts

    I'm trying to put together a composite graph, consisting of both LineSeries and Column Series, for a financial page. I'm rendering the entire graph inside of a ColumnChart. However, when multiple points for the lineseries are close together, the mous