How to deploy a simple .jar (containing Helper classes) in Weblogic?

Hi,
I have created multiple .jar files.
1) MDB.jar containing all my MDB classes.
2) Bean.jar containing all my Session Bean classes.
3) Utility.jar containing remaining Helper,utility classes.
I had deployed MDB.jar, Bean.jar by using Weblogic Console, under 'Deployments'-> 'EJB Module'. How can i deploy Utility.jar ? First of all, do i need to deploy Utility.jar? Only EJB JARs need to be deployed?
If we do not deploy a non-EJB JARs, how this code will be available and is executed?
Thanks in advance.

I'd recommend you deploy these 3 components together in an EAR file. THe utility jar file could go in APP-INF/lib, or you could reference it via manifest class-path entries.
-- Rob
WLS Blog http://dev2dev.bea.com/blog/rwoollen/

Similar Messages

  • How to deploy a simple servlet in EP?

    Hi,
    I am new to this portal.
    Is it possible to deploy a simple servlet which extends a HttpServlet?if yes what modification i need to make for the portalapp.xml?
    Thanks
    Deepak

    hi deepak,
       it is possible to deploy servlets in AbstratPortalComponent.
      check this link ..
      http://help.sap.com/saphelp_nw2004s/helpdata/en/0a/fd2c41cf358839e10000000a1550b0/frameset.htm
       you will find example in this thread .
    thanks..
    rajesh

  • How to deploy the EJB which used Japanese word on Weblogic server

    Hi All,
    I am running a test on WIN 2K pro Japanese system. When I deploy an ejb bean with
    using Japanese character in the Java src code and also in ejb-jar.xml file, some
    exceptions were thrown.
    I am thinking that the weblogic cann’t pass ejb-jar.xml which is encoding as UTF-8
    but with Japanese character. Could you please let me know how to configure the
    Weblogic to solve the problem or to encode the ejb-jar.xml differently?
    Any suggestion will be welcome.
    Thanks,
    OUTPUT>>OUTPUT>>Invalid byte 3 of 3-byte UTF-8 sequence.
    OUTPUT>>OUTPUT>>java.io.UTFDataFormatException: Invalid byte 3 of 3-byte UTF-8
    s
    equence.
    OUTPUT>>OUTPUT>> at weblogic.apache.xerces.impl.io.UTF8Reader.invalidByte
    (UTF8Reader.java:693)
    OUTPUT>>OUTPUT>> at weblogic.apache.xerces.impl.io.UTF8Reader.read(UTF8Re
    ader.java:445)
    ===
    weblogic.management.ApplicationException:
    Exception:weblogic.management.ApplicationException: prepare failed for ejb
    Module: ejb Error: Exception preparing module: EJBModule(ejb,status=NEW)
    EJB ejb.jar ‚ð ejb.jar ‚©‚çƒfƒvƒƒC‚Å‚«‚Ü‚¹‚ñB
    EJB ‚Ђ낱 ‚ł́A‚·‚×‚Ä‚Ì cmp/cmr ƒtƒB[ƒ‹ƒh‚ª¬•¶Žš‚ÅŠJŽn‚³‚ê‚é•K—v‚ª‚ ‚è‚Ü‚·BƒtƒB[ƒ‹ƒh
    '‚È‚Ü‚¦‚P' ‚Í‚±‚ê‚É“K‡‚µ‚Ü‚¹‚ñB
    at weblogic.ejb20.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:268)
    at weblogic.ejb20.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:232)
    at weblogic.ejb20.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.java:810)
    at weblogic.ejb20.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:766)
    at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:200)
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
    at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493)
    at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:763)
    at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:701)
    at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1277)
    at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    Making application available for use ... done.
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    weblogic.ejb20.compliance.ComplianceException: EJB ‚Ђ낱 ‚ł́A‚·‚×‚Ä‚Ì cmp/cmr
    ƒtƒB[ƒ‹ƒh‚ª¬•¶Žš‚ÅŠJŽn‚³‚ê‚é•K—v‚ª‚ ‚è‚Ü‚·BƒtƒB[ƒ‹ƒh '‚È‚Ü‚¦‚P' ‚Í‚±‚ê‚É“K‡‚µ‚Ü‚¹‚ñB
            at weblogic.ejb20.compliance.EJB20EntityBeanClassChecker.checkCMPFields(EJB20EntityBeanClassChecker.java:178)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at weblogic.ejb20.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:278)
            at weblogic.ejb20.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:232)
            at weblogic.ejb20.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.java:810)
            at weblogic.ejb20.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:766)
            at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:200)
            at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
            at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
            at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493)
            at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:763)
            at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:701)
            at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1277)
            at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
            at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
            at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
            at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
            at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
            at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
            at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
            at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
            at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
            at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
            at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
            at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
            at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
            at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
            at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2556)
            at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
            at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
            at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
            at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
            at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
            at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
            at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    --------------- nested within: ------------------
    weblogic.management.ManagementException:  - with nested exception:
    [weblogic.management.ApplicationException:
    Exception:weblogic.management.ApplicationException: prepare failed for ejb
            Module: ejb     Error: Exception preparing module: EJBModule(ejb,status=NEW)
    EJB ejb.jar ‚ð ejb.jar ‚©‚çƒfƒvƒƒC‚Å‚«‚Ü‚¹‚ñB
    EJB ‚Ђ낱 ‚ł́A‚·‚×‚Ä‚Ì cmp/cmr ƒtƒB[ƒ‹ƒh‚ª¬•¶Žš‚ÅŠJŽn‚³‚ê‚é•K—v‚ª‚ ‚è‚Ü‚·BƒtƒB[ƒ‹ƒh
    '‚È‚Ü‚¦‚P' ‚Í‚±‚ê‚É“K‡‚µ‚Ü‚¹‚ñB
            at weblogic.ejb20.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:268)
            at weblogic.ejb20.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:232)
            at weblogic.ejb20.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.java:810)
            at weblogic.ejb20.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:766)
            at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:200)
            at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
            at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
            at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493)
            at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:763)
            at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:701)
            at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1277)
            at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
            at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
            at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
            at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
            at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
            at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
            at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
            at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
            at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
            at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
            at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
            at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
            at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
            at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    weblogic.ejb20.compliance.ComplianceException: EJB ‚Ђ낱 ‚ł́A‚·‚×‚Ä‚Ì cmp/cmr
    ƒtƒB[ƒ‹ƒh‚ª¬•¶Žš‚ÅŠJŽn‚³‚ê‚é•K—v‚ª‚ ‚è‚Ü‚·BƒtƒB[ƒ‹ƒh '‚È‚Ü‚¦‚P' ‚Í‚±‚ê‚É“K‡‚µ‚Ü‚¹‚ñB
            at weblogic.ejb20.compliance.EJB20EntityBeanClassChecker.checkCMPFields(EJB20EntityBeanClassChecker.java:178)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at weblogic.ejb20.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:278)
            at weblogic.ejb20.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:232)
            at weblogic.ejb20.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.java:810)
            at weblogic.ejb20.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:766)
            at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:200)
            at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
            at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
            at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493)
            at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:763)
            at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:701)
            at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1277)
            at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
            at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
            at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
            at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
            at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
            at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
            at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
            at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
            at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
            at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
            at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
            at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
            at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
            at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2491)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >

    Open your server console (eg: http://localhost:7001/console)
    Go to deployment modules
    select ejb modules
    Click deploy new ejb module
    a browse will come, browse and find the applicaiton folder where u have kept your ejb
    Select that and click deploy..
    Error msg or successful message will come in the console window.
    regards
    SHanu

  • How to Deploy a Simple Java Web service in Oracle E Business Suite Server

    Hi,
    I have created a simple Java webservice using Jdev11g.
    I am able to Test the Webservice using Jdev11g itself.
    How Can i migrate the same to Oracle E Busienss Suite( - 9iAS ) so that webservice clients connect to 9iAS instead of my local machine
    Thanks,
    Gowtam.

    Hi Sudhakar,
    If you are used to working with ant then you can very well use eclipse to deploy your web service.
    You would usually have the ant script in the source root working directory. From eclipse if you select the build file from the navigator view and right click you will see a run ant option in the pop up menu.
    Select that option and you would be able to see each targets with a checkbox select option. So define each target maybe one for wsdl2java conversion, one for compilation and one for deploying your web services. You can either make all of them run by having depends option on or you can run them individually as it takes your fancy.
    I am not sure about debugging a web service yet.
    Hope this helps
    Aviroop
    The truth is out there? Does anyone know the URL?

  • How to deploy a simple class in Tomcat 5

    Hi All,
    Need your help...
    I have just started learning Java and JSP.
    I was trying to write a simple Shopping Cart program in JSP. I have created a directory under my root context directory. But while I am invoking the JSP, I am getting a error like this:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 18 in the jsp file: /JspSessionCart/build/carts.jsp
    Generated servlet error:
        [javac] Compiling 1 source file
    C:\Program Files\Apache Software Foundation\Tomcat 5.0\work\Catalina\localhost\mycontext\org\apache\jsp\JspSessionCart\build\carts_jsp.java:64: package sessions does not exist
          sessions.DummyCart cart = null;
                  ^
    An error occurred at line: 18 in the jsp file: /JspSessionCart/build/carts.jsp
    Generated servlet error:
    C:\Program Files\Apache Software Foundation\Tomcat 5.0\work\Catalina\localhost\mycontext\org\apache\jsp\JspSessionCart\build\carts_jsp.java:66: package sessions does not exist
            cart = (sessions.DummyCart) _jspx_page_context.getAttribute("cart", PageContext.SESSION_SCOPE);
                            ^
    An error occurred at line: 18 in the jsp file: /JspSessionCart/build/carts.jsp
    Generated servlet error:
    C:\Program Files\Apache Software Foundation\Tomcat 5.0\work\Catalina\localhost\mycontext\org\apache\jsp\JspSessionCart\build\carts_jsp.java:68: package sessions does not exist
              cart = new sessions.DummyCart();
                                 ^
    An error occurred at line: 33 in the jsp file: /JspSessionCart/build/carts.jsp
    Generated servlet error:
    C:\Program Files\Apache Software Foundation\Tomcat 5.0\work\Catalina\localhost\mycontext\org\apache\jsp\JspSessionCart\build\carts_jsp.java:92: package util does not exist
    out.print(util.HTMLFilter.filter(items));
    ^
    An error occurred at line: 33 in the jsp file: /JspSessionCart/build/carts.jsp
    Generated servlet error:
    Note: C:\Program Files\Apache Software Foundation\Tomcat 5.0\work\Catalina\localhost\mycontext\org\apache\jsp\JspSessionCart\build\carts_jsp.java uses unchecked or unsafe operations.
    An error occurred at line: 33 in the jsp file: /JspSessionCart/build/carts.jsp
    Generated servlet error:
    Note: Recompile with -Xlint:unchecked for details.
    4 errors
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:127)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:351)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:415)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:458)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:553)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    I am not able to understand what to do? Do I need to set any CLASSPATH? If yes, kindly tell me what would the path for CLASSPATH.
    Kindly help me....
    Thanks.,
    Ujjal                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Ujjal wrote:
    Hi All,
    Need your help...
    I have just started learning Java and JSP.
    I was trying to write a simple Shopping Cart program in JSP. I have created a directory under my root context directory. But while I am invoking the JSP, I am getting a error like this:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 18 in the jsp file: /JspSessionCart/build/carts.jspMaybe you should look at that JSP. It's incorrect, obviously.
    Look, here's a hint:
    C:\Program Files\Apache Software Foundation\Tomcat 5.0\work\Catalina\localhost\mycontext\org\apache\jsp\JspSessionCart\build\carts_jsp.java:66: package sessions does not exist
    cart = (sessions.DummyCart) jspxpage_context.getAttribute("cart", PageContext.SESSION_SCOPE);Why isn't this a good enough guide?

  • How to deploy a sbconfig.jar of alsb in weblogic server 9.2 automatically?

    I tryed to use the %Domain_Home%\user_projects\domains\ALSBDomain\autodeploy folder, and found that it only accepts war and ear file.
    So do anyone have a solution?
    Thanks.

    sbconfig.jar is a proprietary format jar that cannot be deployed into weblogic like standard ear/war/rar files. Only OSB API will understand this jar. So you you should use http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15022/app_config.htm#i1012336 for deploying into OSB
    Thanks
    Manoj
    Edited by: Manoj Neelapu on Jun 22, 2010 11:21 AM

  • Error while deploying a simple ADF application on the Integrated weblogic..

    hi,
    I am new to ADF and have developed a simple application that interacts with the database.
    I have tried to deploy the application to the intgrated weblogic server but the deployment is not successful and throws the following error:
    [Waiting for the domain to finish building...]
    [04:14:13 PM] Creating Integrated Weblogic domain...
    [04:15:38 PM] Extending Integrated Weblogic domain...
    [04:16:10 PM] Integrated Weblogic domain processing completed successfully.
    *** Using port 7101 ***
    C:\Users\Jhansi\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\bin\startWebLogic.cmd
    [waiting for the server to complete its initialization...]
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m
    WLS Start Mode=Development
    CLASSPATH=E:\Oracle\MIDDLE~1\WLSERV~1.3\server\ext\jdbc\oracle\11g\ojdbc6dms.jar;E:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sys_manifest_classpath\weblogic_patch.jar;E:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;E:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;E:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.3.0.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;E:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;E:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;E:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar
    PATH=E:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\native;E:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;E:\Oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;E:\Oracle\MIDDLE~1\JDK160~1\jre\bin;E:\Oracle\MIDDLE~1\JDK160~1\bin;E:\OracleXE\app\oracle\product\10.2.0\server\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    java version "1.6.0_18"
    Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
    Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode)
    Starting WLS with line:
    E:\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Djavax.net.ssl.trustStore=E:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks -Dweblogic.nodemanager.ServiceEnabled=true -Xverify:none -da -Dplatform.home=E:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=E:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=E:\Oracle\MIDDLE~1\WLSERV~1.3\server -Djps.app.credential.overwrite.allowed=true -Ddomain.home=C:\Users\Jhansi\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1 -Dcommon.components.home=E:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=E:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=C:\Users\Jhansi\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1 -Doracle.server.config.dir=C:\Users\Jhansi\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.security.jps.config=C:\Users\Jhansi\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=C:\Users\Jhansi\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\Users\Jhansi\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\arisidprovider -Dweblogic.alternateTypesDirectory=E:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,E:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\Users\Jhansi\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\oracle\store\gmds -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=E:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sysext_manifest_classpath;E:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath weblogic.Server
    <Jan 20, 2011 4:16:14 PM EST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 16.0-b13 from Sun Microsystems Inc.>
    <Jan 20, 2011 4:16:14 PM EST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 >
    <Jan 20, 2011 4:16:15 PM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Jan 20, 2011 4:16:15 PM EST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Jan 20, 2011 4:16:16 PM EST> <Notice> <Log Management> <BEA-170019> <The server log file C:\Users\Jhansi\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
    <Jan 20, 2011 4:16:21 PM EST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Jan 20, 2011 4:16:29 PM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Jan 20, 2011 4:16:29 PM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Jan 20, 2011 4:16:54 PM EST> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    <Jan 20, 2011 4:17:00 PM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <Jan 20, 2011 4:17:00 PM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <Jan 20, 2011 4:17:00 PM EST> <Notice> <Server> <BEA-002613> <Channel "Default[7]" is now listening on 0:0:0:0:0:0:0:1:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Jan 20, 2011 4:17:00 PM EST> <Notice> <Server> <BEA-002613> <Channel "Default[6]" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Jan 20, 2011 4:17:00 PM EST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 192.168.1.73:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Jan 20, 2011 4:17:00 PM EST> <Notice> <Server> <BEA-002613> <Channel "Default[4]" is now listening on fe80:0:0:0:d5e4:73a9:98b0:9db7:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Jan 20, 2011 4:17:00 PM EST> <Notice> <Server> <BEA-002613> <Channel "Default[3]" is now listening on fe80:0:0:0:1c56:3208:befd:ce95:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Jan 20, 2011 4:17:00 PM EST> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on fe80:0:0:0:0:5efe:c0a8:149:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Jan 20, 2011 4:17:00 PM EST> <Notice> <Server> <BEA-002613> <Channel "Default[5]" is now listening on fe80:0:0:0:ecd9:7589:e2cd:650d:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Jan 20, 2011 4:17:00 PM EST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 2001:0:4137:9e76:1c56:3208:befd:ce95:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Jan 20, 2011 4:17:00 PM EST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
    <Jan 20, 2011 4:17:00 PM EST> <Warning> <Server> <BEA-002611> <Hostname "Jhansi-PC", maps to multiple IP addresses: 192.168.1.73, fe80:0:0:0:ecd9:7589:e2cd:650d%11, fe80:0:0:0:1c56:3208:befd:ce95%13, 2001:0:4137:9e76:1c56:3208:befd:ce95>
    <Jan 20, 2011 4:17:01 PM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Jan 20, 2011 4:17:01 PM EST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    IntegratedWebLogicServer startup time: 51406 ms.
    IntegratedWebLogicServer started.
    [Running application HRSystem on Server Instance IntegratedWebLogicServer...]
    [04:17:03 PM] ---- Deployment started. ----
    [04:17:03 PM] Target platform is (Weblogic 10.3).
    [04:17:05 PM] Retrieving existing application information
    [04:17:06 PM] Running dependency analysis...
    [04:17:06 PM] Deploying 2 profiles...
    [04:17:07 PM] Wrote Web Application Module to C:\Users\Jhansi\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\HRSystem\ViewControllerWebApp.war
    [04:17:09 PM] Wrote Enterprise Application Module to C:\Users\Jhansi\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\HRSystem
    [04:17:09 PM] Deploying Application...
    <Jan 20, 2011 4:17:10 PM EST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application HRSystem is not versioned.>
    <Jan 20, 2011 4:17:16 PM EST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1295558229417' for task '0'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
         at weblogic.jdbc.module.JDBCModule.activate(JDBCModule.java:350)
         at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:227)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:531)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:165)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.common.ResourceException: HRconnDS is already bound
         at weblogic.jdbc.common.internal.RmiDataSource.start(RmiDataSource.java:404)
         at weblogic.jdbc.common.internal.DataSourceManager.createAndStartDataSource(DataSourceManager.java:136)
         at weblogic.jdbc.common.internal.DataSourceManager.createAndStartDataSource(DataSourceManager.java:97)
         at weblogic.jdbc.module.JDBCModule.activate(JDBCModule.java:347)
         at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:227)
         Truncated. see log file for complete stacktrace
    >
    <Jan 20, 2011 4:17:16 PM EST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'HRSystem'.>
    <Jan 20, 2011 4:17:16 PM EST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'HRSystem'.>
    <Jan 20, 2011 4:17:16 PM EST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException:
         at weblogic.jdbc.module.JDBCModule.activate(JDBCModule.java:350)
         at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:227)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:531)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:165)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.common.ResourceException: HRconnDS is already bound
         at weblogic.jdbc.common.internal.RmiDataSource.start(RmiDataSource.java:404)
         at weblogic.jdbc.common.internal.DataSourceManager.createAndStartDataSource(DataSourceManager.java:136)
         at weblogic.jdbc.common.internal.DataSourceManager.createAndStartDataSource(DataSourceManager.java:97)
         at weblogic.jdbc.module.JDBCModule.activate(JDBCModule.java:347)
         at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:227)
         Truncated. see log file for complete stacktrace
    >
    [04:17:16 PM] #### Deployment incomplete. ####
    [04:17:16 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    #### Cannot run application HRSystem due to error deploying to IntegratedWebLogicServer.
    [Application HRSystem stopped and undeployed from Server Instance IntegratedWebLogicServer]
    ERROR [main] com.oracle.cie.domain.template.dependency.TemplateSelectionTarget - Template is not present in the graph: null
    Thanks,
    Jhansi

    Hi Jhansi,
    Whether u create HRconnDS in ur Weblogic server
    If not create it ...
    If yes just check it out whether u gave a correct connection string for it......
    Regards,
    Suganth.G

  • OIM 9 - How do I add a jar to the classpath in WebLogic?

    I have a custom Scheduled Task that I am trying to add and it references a 3rd party library. I placed this 3rd party lib in /ext and restarted the server, but whenever I try to save my new Task, I get a ClassNotFound error for the 3rd party task. I don't know where I can add it to the class path.
    I start OIM via the /bin/xlStartWLS.sh which has no classpath's defined. The only file that has the OIM jars is the xlStartManagedServer.sh, but I don't see where that's getting called.
    Any help would be appreciated
    Thanks
    Alex

    found the answer, in xlStartWLS.sh there is a variable called EXT_POST_CLASSPATH... adding items here will eventually get added to the actual CLASSPATH

  • Which jar contains INavigationMimeRepositoryService class

    I am reviewing the code to build my own version of a workset map.  I'm missing a jar file.  Does anyone know where I might find the jar file containing
    INavigationMimeRepositoryService?
    The code in question is
    INavigationMimeRepositoryService mimeRepositoryService = (INavigationMimeRepositoryService)PortalRuntime.getRuntimeResources().getService("com.sap.portal.navigation.mimeservice.navigation_mime_repository");
    I cannot do a build as the INavigationMimeRepositoryService cannot be resolved.
    Regards,
    Diane Fuller

    Hi,
    the jar file in question is com.sap.portal.navigation.api_mimeservice_api.jar
    You can find it under portalapps/com.sap.portal.navigation.api_mimeservice/lib/
    I recommend the use of the class locator in
    nwds:
    [http://classlocator.sourceforge.net/]
    Best regards,
    Avishai Zamir

  • Arrangement of jar containing main class

    Hello all,
    usually it is required, that that jar file (let me call it "main jar"), which contains the main class (by which the application is entered), has to be the first jar in the order of the jar files within <resources> of the jnlp file.
    Now if a patch of the "main jar" is created which doesn't contain the main class, where has this patch jar to be arranged in the jnlp file? Because it is a patch jar, usually it must be arranged in front of this main jar, that it is read before the main jar to load the patched class correctly. On the other hand it is required, that the jar with the main class has to be the first ...
    Therefore again: Where has that patch jar, described, to be arranged?
    Thanks for all good advices.
    Thomas

    The main jar does not need to be first, if you explicitly add the argument main="true":
    <jar href="jar2.jar"/>
    <jar href="jar1patch.jar" />
    <jar href="jar1.jar" main="true"/>
    the first jar is used as main only if there is no jar listed with main="true".
    /Andy

  • Where is jar containing  XMLImporter class is located ?

    Hi all,
    I am trying to use import script to import some custom region to ebs server. But I get exception of class not found.
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/jrad/tools/xml/importer/XMLImporter
    Caused by: java.lang.ClassNotFoundException: oracle.jrad.tools.xml.importer.XMLImporter
    I would like to know where is the jar file located ( and exact jar name ) containing the above mentioned classe XMLImporter and others like JPXImporter are located.
    regards

    Hi Kali,
    This the script i used (invoked from JDEV_LOCATION/jdevbin/oaext/bin ... there is no import script in jdevbin/jdev/bin ).
    ./import ../../../jdevhome/jdev/myprojects/xxmy/oracle/apps/per/selfservice/competency/profile/webui/region1.xml -rootdir ../../../jdevhome/jdev/myprojects -username apps -password apps -dbconnection "(description = (address_list = (address = (community =tcp.world)(protocol = tcp)(host =172.16.7.254)(port = 1521)))(connect_data = (sid = VIS)))"
    when run it throws exception
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/jrad/tools/xml/importer/XMLImporter
    Caused by: java.lang.ClassNotFoundException: oracle.jrad.tools.xml.importer.XMLImporter
         at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    Could not find the main class: oracle.jrad.tools.xml.importer.XMLImporter. Program will exit.
    Regards
    Edited by: user1459178 on Mar 31, 2011 1:56 AM
    Edited by: user1459178 on Mar 31, 2011 1:57 AM

  • What is the best DB for mobile?how to deploy it in mobile?

    Hi,
    i a new for BerkeleyDB,i want to know what is the best DB for mobile and how to deploy it in mobile?
    help me ..
    please...
    regard's
    mani
    Edited by: user9032602 on Jan 23, 2010 4:32 AM

    Hi,
    In order to be able to suggest you a database product, we need to know more details on what your application's needs are and on what operating system you use.
    Bogdan Coman

  • How to deploy the SDA files in PI 7.1 ?

    Hi Guys,
    I have SDA file to deploy in PI 7.1. I could not find SDM in 7.1, Is this removed, if yes then how to deploy the SDA files.
    any help would be appreciated
    Thanks,
    Srini

    Hi Stefan,
    I placed the SDA file in the JSPM inbox directory and the JSPM could not detect this file as hotfix. I am getting the following error, it looks like i need to use the Netweaver developer stuido to deploy the SDA files.
    I am getting the following error even after placing the sda file in the respective directory.
    No applicable development component(s) found for deployment in Inbox directory
    sappn5\sapmnt\trans\EPS\in.
    Thanks,
    Srini
    Edited by: srinivas kapu on Oct 7, 2008 6:57 AM

  • Jar containing com.bea.content.repo.i18n.FileRepoExceptionTextFormatter

    i am getting this error while deploying my application containing ejbs: -
    java.lang.NoClassDefFoundError: Class not found: <b>com.bea.content.repo.i18n.FileRepoExceptionTextFormatter</b>
    Can some on one please tell me which jar contains this class. Thankx.
    Regards,
    Yazad Khambata.;-)

    i got same error,expecting answer。。。。。。

  • Add helper class public parts as used DC in EJB DC

    Hi Experts,
    I have created a JAVA DC project containing the helper classes.
    For this helper classes i have created a Jar file.
    I have also created two public parts
    1) with an option Can be packaged into other build results (e.g. SDAs)
    2) with an option Provides an API for developing/compiling other DCs
    Now i want to use these public parts in my EJB DC.
    I have added the API public part in my EJB DC as build time design time and run time.
    Now when i am getting java.lang.NoClassDefFoundError: for the class defined in JAVA DC helper class.
    Can you help me in resolving this?
    Regards,
    Ashish Shah

    Hi
    I have done following things:
    1) I have a java DC containing helper classes and an EJB DC referring to it.
    2) Now to access this EJB DC, I have created a java command bean DC.
    3) And I am using this command bean Java dc in my WebDynpro application.
    4)  Now for deploying the helper class, I have created a library project.
    5)  To this library project I have added the SDA and API public part of helper class as used dc.
    6)  I have added this java library file as used DC in WebDynpro DC and in EJB DC.
    7)  I have added the library reference to the WebDynpro DC for J2ee server component library DC  As pg.comaptsc~dc_aptjl
    8)  When i checked in Visual admin i could see the Assembly (SDA) helper class jar file.
    In my helper class files, I am getting this warning.
    Checking package reservation
    Warning: Package pg.com.apt.help.cls is not reserved for DC : apt/sc/dc_apthc.
    Now in my webdynpro DC when I refer to the helper class through the EJB, I get this error.
    java.lang.NoClassDefFoundError: pg/com/apt/help/cls/TargetMarket at pg.com.atos.WebModuleProject.FetchSDCDataBean.SearchGTINTMDataEJB(FetchSDCDataBean.java:133) at pg.com.atos.WebModuleProject.FetchSDCDataObjectImpl0.SearchGTINTMDataEJB(FetchSDCDataObjectImpl0.java:119) ... 35 more ; nested exception is: java.lang.NoClassDefFoundError: pg/com/apt/help/cls/TargetMarket
    Can you please guide on what I am missing.
    Thanks in advance.
    Regards,
    Ashish Shah
    Edited by: ashish shah on Dec 18, 2007 3:23 PM

Maybe you are looking for

  • IPod touch 32 Gig "One of the USB Devices Attatched to this Computer has.."

    One of the USB Devices Attatched to this Computer has malfunctioned, and Windows does not recognized it. I've had this iPod for about a month now, with no problems until now. Infact, two days ago when I connected/charged it everything worked fine. I

  • Webutil client_host question

    Hello, I have CLIENT_HOST('cmd /c START "" "fisier.bat" ');but if that file is located oln C:\forms\4.1.1\imp_ret, how can i specify this path in that command? Thanks

  • How to avoid roundtrip to server on value select in dropdown box in ALV cel

    Dear Experts, I have WD ALV table where user edits values in the cels using dropdown by key element. Then after edit he saves whole table. When value is changed in dropdown box the roundtrip to server occurs and it takes noticable time for every cell

  • Events in maintenance view

    I was trying to put some checks through event in maintenance view. It is working while creating a new entry. But in case an exisiting entry is being modified it is not working. Pls help.

  • Services stopping every night

    Hi I´m new to ASE - testing with the purpose of migrating from SQL server... I have recently installed 4 Netweaver systemes (3 java and 1 abap) on a single Windows 2012 server. Systems are running fine - but every night for some reason the services S