External servlets cannot find initialize

I'm trying to get the Portal to execute servlets for external providers and I'm having difficulties.
The instructions from the provider had me change the zone.properties to include an alias for the servlet and init parameters for the alias
servlet.webexportlet.code=oracle.portal.provider.v1.http.HttpProvider
servlet.webexportlet.initArgs=provider_root=<path to directory containing provider.xml>,sessiontimeout=180000
When I go to test the portlet, I get an exception in jserv.log
(ERROR) ajp12: Servlet Error: ClassNotFoundException: oracle.portal.provider.v1.http.HttpProvider
It couldn't find the HttpProvider class
Found a directory path ..../oracle/portal/provider/v1 that contained a provider.jar file. This may not be the correct one though. It's path doesn't seem to relate to the portal.
Created wrapper.classpath=<above path to provider.jar file > in jserv.properties.
Then when I test it, it seems to find the HttpProvider class. I then get the following error.
webexportlet/oracle.portal.provider.v1.http.HttpProvider: init
(ERROR) ajp12: Servlet Error: Initialization error while loading the servlet: No Provider class defined via this servlet's initArgs
The first line of the provider.xml file in the directory pointed to as the provider_root in the initArgs contains the following:
<provider class="oracle.portal.provider.v1.http.DefaultProvider" session="true">
so it does look like the provider class is defined. May not be finding it in provider.jar file though. Not sure. Certain it's not a typo in the path to the provider.xml file.
There are three different servlets we're trying to add with the provider.xml file in different directories and they all give the same error.
Stuck from here. Any help you can provide will be a great assistance.

what version of the portal are you using?
What version of the JPDK are you using?

Similar Messages

  • Servlet cannot find Bean

    I am trying to access a java bean through a servlet..
    the bean is defined in the package com.mycomp
    when i use this bean using test.jsp it works fine it finds the package com.mycomp.. but when i am using the Servlet it cannot find the package...when i am trying to compile the servlet it says it cannot resolve the symbol class ConnectionBean
    it cannot find the package com.mycomp
    your help will be appreciatied....
    here is the structure of files:
    tomcat
    webapps
    myapp
    jsp
    -test.jsp
    WEB-INF
    classes
    -PropertyServlet.java
    -PropertyServlet.class
    -ConnectionBean.java
    com
    mycomp
    -ConnectionBean.class
    I have tried importing in the servlet import com.mycomp.*; but i still get an error com.mycomp not found...
    I have also tried importing the class itself by import com.mycomp.ConnectionBean;
    I still get the package com.mycomp not found;
    is there any xml file or anything that i need to edit so servlets can read the packages located in classes folder?

    me also same problem...
    this class path is included in server itself..
    or we can set during compiling time...
    then this is my compile.bat file please check
    set classpath=%CLASSPATH%; ./WEB-INF/classes;
    @echo off
    javac -d ./WEB-INF/classes/ ./dev/beans/*.java
    javac -d ./WEB-INF/classes/ ./dev/ContentManagement/beans/*.java
    javac -d ./WEB-INF/classes/ ./dev/servlets/*.java
    and my servlet file like this below..
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import com.deploy.servlet.*;
    public class ControlServlet extends HttpServlet
         public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException,IOException
              response.setContentType("text/html");
              PrintWriter out = response.getWriter();
              out.println("Testing");
    /*          if (request.getParameter("pageName")=="CEOSpeak")
                   CEOBean CB = new CEOBean();
                   if (request.getParameter("actionType")=="add")
                   else if (request.getParameter("actionType")=="edit")
                   else if (request.getParameter("actionType")=="delete")
                        if(CB.deleteCEO(request.getParameter("CEOId")))
                             response.sendRedirect("CEO_Speaks.jsp");

  • Servlet cannot find helper class

    Hello
    Under WEB-INF/classes I put ServletExample and SingletonExample. Compiling ServletExample, that makes use of SingletonExample, works.
    In the directory WEB-INF/classes I also have another direcotry, test. And in WEB-INF/classes/test I put again ServletExample and SingletonExample.
    Here I have tried in several ways to compile the servlet, but I always get an:
    Cannot find symbol class SingletonExample.
    I tried writing package test at the top of both files, and even at the top of only one of these two.
    I even tried to make WEB-INF/classes/test/ServletExample make use of SingletonExample residing in WEB-INF/classes, but I didnt succeded.
    What happens when you have subdirectory in WEB-INF/classes/? I think this is a MUST, to have subdirectory in large webapplication, so I really dont want to put everything in the classes directory.
    Do you how to resolve this prolem? And: if Im in WEB-INF/classes/test and want to referr from a servlet residing in this direcory to a Singleton/helper class residing in WEB-INF/classes/, which approach do I have to use?
    Thanks
    Paolo

    Jeez, you aren't gonna get very far in Java like this.
    CLASSPATH is wrong - again. You're supposed to give JARs and paths where the class loader is supposed to look, not the actual .class file.
    Also, you're not telling the compiler to put the .class file in the package directory structure.
    Your example is pretty awful. Try this:
    Put this code into c:\common
    package common;
    import common.test.TestDown;  // What the hell is this?  There is no package test, but there is a package named common.test
    public class TestUp
       public void sayHello()
          System.out.println("Hello.....");
    }Put this code into c:\common\test
    package common.test;
    import common.TestUp;
    public class  TestDown
       public TestDown()
            TestUp testUp = new TestUp();
            testUp.sayHello();
       public static void main(String[] args)
            new TestDown();
    }Open a command shell and navigate to c:\, then do the following:
    Directory of c:
    07/01/2005  03:43 PM    <DIR>          .
    07/01/2005  03:43 PM    <DIR>          ..
    07/01/2005  03:45 PM    <DIR>          common
                   0 File(s)              0 bytes
                   3 Dir(s)  74,909,675,520 bytes free
    C:\>javac -d . common\*.java
    C:\>javac -d . common\test\*.java
    C:\>java -classpath . common.test.TestDown
    Hello.....Once you've got your head around this, go learn Ant and have it compile your projects properly.
    %

  • External editor cannot find files

    this issue did not happen with Lightroom beta, but does happen with 1.0 release.
    I use Photoshop 5.02 as the external editor. when I select "Edit in photoshp" from the context menu, it opens the photoshop, but photoshop says "cannot find the file". I tried some other programs as the external editor and it seems to me that the problem happens because Lightroom puts quotes around file path, e.g.
    "d:\myfolder\myfile.tif"
    instead of just
    d:\myfolder\myfile.tif
    Is there a a way to fix it? Currently, for each file I have to open it in Explorer and then open it in photoshop. It's annoying and what is most annoying that it used to work in Lightroom beta.
    any suggestions?

    I am NOT talking about "Photoshop not found" error message. BTW, this is easily fixed through the registry.
    I am writing about the message "File not found" that the photoshop itself gives. E.g. you choose "Edit with photoshop" from the context menu, lightroom prepares the tiff file, opens the photoshop and photoshop says "file not found", while the file is actually there. When I chose another program instead of Photoshop, I was able to see the path that it is trying to open.
    Currently, I use the following workaround:
    1. right-click, then "edit with photoshop". lightroom prepares the tiff file, opens the photoshop, but does not open the file;
    2. return to lightroom, right-click on the photo and choose "locate in explorer". lightroom opens the explorer with the selection on the required tiff file;
    3. right-click the file and choose "open with photoshop".
    this workaround works, but I anyway would like the problem fixed.

  • Servlet cannot find local interface

    I have created a session bean called "UsersManagementBean" and his local interface called "UsersManagement".
    After deploying the application on JBoss server i got the error "PackageName.UserManagement not bound".
    my jndi tree view shows (under global jndi namespace)-
      +- UsersManagementBean (class: org.jnp.interfaces.NamingContext)
      |   |   +- local (proxy: $Proxy85 implements interface PackageName.UsersManagement,interface org.jboss.ejb3.JBossProxy)code related from the servlet-
      @EJB
        UsersManagement mng;
        mng=(UsersManagement)context.lookup(UsersManagement.class.getName());local interface-
    @Local
    public interface UsersManagement
    {}session bean-
    @Stateless
    public class UsersManagementBean implements UsersManagement
    {}what's wrong?
    why can't he find the local interface?
    thanks in advanced.

    According to the EJB 2.0 spec:
    "A local client of an entity bean may be a session bean, a
    message-driven bean, or another entity bean."
    This is not exclusive list, servlets and JSPs also can work with local EJB interfaces. Please note that your WEB app. and EJBs should be deployed in the same EAR.
    The question is, can I use a JNDI lookup for the local
    Home and EJBObject interfaces, rather than having the
    overhead of using the RMI based remote implementationsYes you can. You will need to define local ref in web.xml descriptor:
    <ejb-local-ref>
        <ejb-ref-name>ejb/CarmichaelSessionRef</ejb-ref-name>
        <ejb-ref-type>Session</ejb-ref-type>
        <local-home>carmichaelbeans.beans.CarmichaelSessionLocalHome</local-home>
        <local>carmichaelbeans.beans.CarmichaelSessionLocal</local>
        <ejb-link>CarmichaelSession</ejb-link>
      </ejb-local-ref>lookup you bean in java:comp/env context:
    InitialContext ic = new InitialContext();
                CarmichaelSessionLocalHome home =  (CarmichaelSessionLocalHome) ic.lookup("java:comp/env/ejb/CarmichaelSessionRef");Maris Orbidans

  • Helper class invoking by servlet cannot find file.

              Hi,
              I have the following file structure in the war for my web application.
              WEB-INF/classes/com/olf/servlets/AppServlet.class
              WEB-INF/classes/com/olf/util/CommonUtil.class
              WEB-INF/classes/com/olf/util/JndiUtil.class
              WEB-INF/classes/com/olf/util/jndi.xml
              When the JndiUtil is invoked by the CommonUtil , the JndiUtil has no problem to
              locate the jndi.xml; however, when
              the JndiUtil class is invoked by the AppServlet. An exception thrown from the
              JndiUtil states that it can't locate
              the XML file from WebLogic Home directory. Does anyone know why the search is
              done on WebLogic Home or even got up there?
              Any help is greatly appreciate!
              kenny
              In AppServlet.class
              ===================
              public void init(ServletConfig config) throws ServletException
                   InitialContext ic = JndiUtil.getInstance().getInitialContext();
              In JndiUtil.class
              public final static JndiUtil getInstance()
                   SAXParserFactory factory = SAXParserFactory.newInstance();
                   SAXParser saxParser = factory.newSAXParser();
                   saxParser.parse(new File("jnid.xml"), handler);
                   catch (SAXException e){
                        e.printStackTrace();
                        System.out.println("SAXException:" + e.getMessage());
              Below is the exception thrown by the SAX parser
              org.xml.sax.SAXParseException: File "file:C:/bea/wlserver6.1/jndi.xml" not found.
              at weblogic.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1088)
              at weblogic.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument(DefaultEntityHandler.java:512)
              at weblogic.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:310)
              at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:966)
              at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:123)
              at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:125)
              at javax.xml.parsers.SAXParser.parse(SAXParser.java:346)
              at javax.xml.parsers.SAXParser.parse(SAXParser.java:286)
              at com.olf.util.JndiUtil.getInstance(JndiUtil.java:59)
              at com.olf.servlets.AppServlet.init(AppServlet.java:60)
              at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:700)
              at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:643)
              at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:588)
              at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:368)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              

    Since your class may be used by other subsystems also you can write a
              small abstract class or an interface for example
              interface ResourceHandler {
              public InputStream getStream();
              and make our method take ResourceHandler as an argument.
              which can be used as follows
              JndiUtil.someMethod(new ResourceHandler(){
              public InputStream getStream(String name){
                             return context.getResourceAsStream("name");
              u can create a new inner class to serve a different purpose..
              e.g. standalone
              JndiUtil.someMethod(new ResourceHandler(){
              public InputStream getStream(String name){
                             return new FileInputStream(name);
              hope this helps
              nagesh
              PS: ooh yes, make this method throw an IOException      
              and also you can use an abstract class if u have any
              common logic to be added to this class..
              Kenny wrote:
              >
              > Nagesh,
              >
              > Thanks for the thought! However, by using the ServletContext, the JndiUtil class
              > would be tighted to the Servlet Container because it expects the caller passing
              > in a ServletContext. I would like to make the JndiUtil class shared by other
              > components in the system instead of only serving Servlets.
              >
              > Do you know if there is a way to locate a file in the system regardless which
              > container the call is in?
              >
              > Thanks!
              > kenny
              > Nagesh Susarla <[email protected]> wrote:
              > >try using ServletContext.getResourceAsStream()
              > >
              > >Kenny wrote:
              > >>
              > >> Hi,
              > >>
              > >> I have the following file structure in the war for my web application.
              > >>
              > >> WEB-INF/classes/com/olf/servlets/AppServlet.class
              > >>
              > >> WEB-INF/classes/com/olf/util/CommonUtil.class
              > >> WEB-INF/classes/com/olf/util/JndiUtil.class
              > >> WEB-INF/classes/com/olf/util/jndi.xml
              > >>
              > >> When the JndiUtil is invoked by the CommonUtil , the JndiUtil has no
              > >problem to
              > >> locate the jndi.xml; however, when
              > >> the JndiUtil class is invoked by the AppServlet. An exception thrown
              > >from the
              > >> JndiUtil states that it can't locate
              > >> the XML file from WebLogic Home directory. Does anyone know why the
              > >search is
              > >> done on WebLogic Home or even got up there?
              > >>
              > >> Any help is greatly appreciate!
              > >> kenny
              > >>
              > >> In AppServlet.class
              > >> ===================
              > >> public void init(ServletConfig config) throws ServletException
              > >> {
              > >> ...
              > >>
              > >> InitialContext ic = JndiUtil.getInstance().getInitialContext();
              > >> ...
              > >> }
              > >>
              > >> In JndiUtil.class
              > >>
              > >> public final static JndiUtil getInstance()
              > >> {
              > >> ...
              > >>
              > >> SAXParserFactory factory = SAXParserFactory.newInstance();
              > >> SAXParser saxParser = factory.newSAXParser();
              > >> saxParser.parse(new File("jnid.xml"), handler);
              > >>
              > >> ...
              > >> catch (SAXException e){
              > >> e.printStackTrace();
              > >> System.out.println("SAXException:" + e.getMessage());
              > >> }
              > >> ...
              > >> }
              > >>
              > >> Below is the exception thrown by the SAX parser
              > >>
              > >> org.xml.sax.SAXParseException: File "file:C:/bea/wlserver6.1/jndi.xml"
              > >not found.
              > >> at weblogic.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1088)
              > >> at weblogic.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument(DefaultEntityHandler.java:512)
              > >> at weblogic.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:310)
              > >> at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:966)
              > >> at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:123)
              > >> at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:125)
              > >> at javax.xml.parsers.SAXParser.parse(SAXParser.java:346)
              > >> at javax.xml.parsers.SAXParser.parse(SAXParser.java:286)
              > >> at com.olf.util.JndiUtil.getInstance(JndiUtil.java:59)
              > >> at com.olf.servlets.AppServlet.init(AppServlet.java:60)
              > >> at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:700)
              > >> at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:643)
              > >> at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:588)
              > >> at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:368)
              > >> at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
              > >> at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
              > >> at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
              > >> at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
              > >> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              > >> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              

  • Servlet cannot find applet class.. HELP..DONT REPLY..SOLUTION FOUND

    Hi.. can anybody help me.. with this age old problem?
    I have an applet.. which generates a pie chart .. Pie.class. If i embed it in a normal HTML page.. it runs smoothly.
    Now the problem is.. in my servlet i tried to do this
    out.println("<applet code=Pie.class codebase=/mywebapp/  height=300 width=300">);etc..
    but when the servlet runs.. the applet is not initalised .. so instead of having the applet i have a 'x' sign.. .. To diagnose the problem better.. i right click on the area that is supposed to be the applet and select 'Open Java Console' . ..there i see.. a ClassNotFound Exception.
    I have kept the Pie.class in the WEB-INF -> classes Folder ( where all the other class files of the servlets are kept ).
    Can anybody help me??
    Thanks in advance
    Hi guys sorry to bother u.. i have found the soln. myslef... my mistake was to place the applet class in web-inf-> class folder.. as soon as i placed it outside the folder.. it worked superbly. Thanks anyway
    Message was edited by:
    arijit_datta

    me also same problem...
    this class path is included in server itself..
    or we can set during compiling time...
    then this is my compile.bat file please check
    set classpath=%CLASSPATH%; ./WEB-INF/classes;
    @echo off
    javac -d ./WEB-INF/classes/ ./dev/beans/*.java
    javac -d ./WEB-INF/classes/ ./dev/ContentManagement/beans/*.java
    javac -d ./WEB-INF/classes/ ./dev/servlets/*.java
    and my servlet file like this below..
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import com.deploy.servlet.*;
    public class ControlServlet extends HttpServlet
         public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException,IOException
              response.setContentType("text/html");
              PrintWriter out = response.getWriter();
              out.println("Testing");
    /*          if (request.getParameter("pageName")=="CEOSpeak")
                   CEOBean CB = new CEOBean();
                   if (request.getParameter("actionType")=="add")
                   else if (request.getParameter("actionType")=="edit")
                   else if (request.getParameter("actionType")=="delete")
                        if(CB.deleteCEO(request.getParameter("CEOId")))
                             response.sendRedirect("CEO_Speaks.jsp");

  • Servlet cannot find classes when in a EAR

              Hi
              I have a EAR that contains a EJB module and a web application module.
              The Web application module contains two servlets to be deployed. One is Action
              Servlet (struts.jar) and the other is our home-made. I am able to deploy the
              WAR and JAR separately, but when these are packaged in an EAR I get the following
              errors
              <03-Oct-2003 11:14:58 o'clock BST> <Error> <HTTP> <BEA-101254> <[ServletContext(id=6832671,name=payments-web,context-path=/payments-web)]:
              Servlet class org.apache.struts.action.ActionServlet for servlet action could
              not be handled by the classloader with classpath C:\bea2\user_projects\domains\paymentsdomain\myserver\upload\payments.ear\payments-web.war;C:\bea2\user_projects\domains\paymentsdomain\myserver\upload\payments.ear\payments-web.war\WEB-INF\classes;C:\bea2\user_projects\domains\paymentsdomain\.\myserver\.wlnotdelete\extract\myserver_payments_payments-web\jarfiles\WEB-INF\lib\struts30440.jar.
              java.lang.ExceptionInInitializerError.>
              <03-Oct-2003 11:14:58 o'clock BST> <Error> <HTTP> <BEA-101216> <Servlet: "action"
              failed to preload on startup in Web application: "payments-web".
              javax.servlet.ServletException: [HTTP:101254][ServletContext(id=6832671,name=payments-web,context-path=/payments-web)]:
              Servlet class org.apache.struts.action.ActionServlet for servlet action could
              not be handled by the classloader with classpath C:\bea2\user_projects\domains\paymentsdomain\myserver\upload\payments.ear\payments-web.war;C:\bea2\user_projects\domains\paymentsdomain\myserver\upload\payments.ear\payments-web.war\WEB-INF\classes;C:\bea2\user_projects\domains\paymentsdomain\.\myserver\.wlnotdelete\extract\myserver_payments_payments-web\jarfiles\WEB-INF\lib\struts30440.jar.
              java.lang.ExceptionInInitializerError.
              at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:822)
              at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3236)
              at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3181)
              at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3154)
              at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5637)
              at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:866)
              at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2017)
              at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2058)
              at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2624)
              at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2547)
              at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2349)
              at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2431)
              at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2343)
              at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2511)
              at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
              at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
              at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
              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)
              >
              <03-Oct-2003 11:14:58 o'clock BST> <Warning> <Deployer> <BEA-149004> <Failures
              were detected while initiating Deploy task for application payments.>
              <03-Oct-2003 11:14:58 o'clock BST> <Error> <Deployer> <BEA-149201> <Failed to
              complete the deployment task with ID 1 for the application payments.
              weblogic.management.DeploymentException:
              Exception:weblogic.management.ApplicationException: start() failed.
              Module: payments-web Error: java.lang.ExceptionInInitializerError
              My observations are
              1. The servlet has been located.
              2. Please note the <Warn> message that the ActionServlet class could not be handled
              by the classloader. What does this mean ???
              3 I also tried putting these jars in APP-INF/lib but got the same errors
              I am using WLS 8.1 SP1 on XP professional
              Thanks
              Jasmeet
              

              Just to add on to that ...
              If I put all my required/referemced application classes and dependent classes
              in System CLASSPATH, the whole deploys and runs quite nicely.
              Is that allowed ?? Would it not be better to have some application level classloading
              rather than going for the system classpath
              thanks
              jasmeet
              "jasmeet" <[email protected]> wrote:
              >
              >Hi
              >
              >I have a EAR that contains a EJB module and a web application module.
              >The Web application module contains two servlets to be deployed. One
              >is Action
              >Servlet (struts.jar) and the other is our home-made. I am able to deploy
              >the
              >WAR and JAR separately, but when these are packaged in an EAR I get the
              >following
              >errors
              >
              ><03-Oct-2003 11:14:58 o'clock BST> <Error> <HTTP> <BEA-101254> <[ServletContext(id=6832671,name=payments-web,context-path=/payments-web)]:
              >Servlet class org.apache.struts.action.ActionServlet for servlet action
              >could
              >not be handled by the classloader with classpath C:\bea2\user_projects\domains\paymentsdomain\myserver\upload\payments.ear\payments-web.war;C:\bea2\user_projects\domains\paymentsdomain\myserver\upload\payments.ear\payments-web.war\WEB-INF\classes;C:\bea2\user_projects\domains\paymentsdomain\.\myserver\.wlnotdelete\extract\myserver_payments_payments-web\jarfiles\WEB-INF\lib\struts30440.jar.
              >java.lang.ExceptionInInitializerError.>
              ><03-Oct-2003 11:14:58 o'clock BST> <Error> <HTTP> <BEA-101216> <Servlet:
              >"action"
              >failed to preload on startup in Web application: "payments-web".
              >javax.servlet.ServletException: [HTTP:101254][ServletContext(id=6832671,name=payments-web,context-path=/payments-web)]:
              >Servlet class org.apache.struts.action.ActionServlet for servlet action
              >could
              >not be handled by the classloader with classpath C:\bea2\user_projects\domains\paymentsdomain\myserver\upload\payments.ear\payments-web.war;C:\bea2\user_projects\domains\paymentsdomain\myserver\upload\payments.ear\payments-web.war\WEB-INF\classes;C:\bea2\user_projects\domains\paymentsdomain\.\myserver\.wlnotdelete\extract\myserver_payments_payments-web\jarfiles\WEB-INF\lib\struts30440.jar.
              >java.lang.ExceptionInInitializerError.
              > at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:822)
              > at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3236)
              > at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3181)
              > at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3154)
              > at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5637)
              > at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:866)
              > at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2017)
              > at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2058)
              > at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2624)
              > at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2547)
              > at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2349)
              > at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2431)
              > at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2343)
              > at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2511)
              > at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
              > at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
              > at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
              > 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)
              >>
              ><03-Oct-2003 11:14:58 o'clock BST> <Warning> <Deployer> <BEA-149004>
              ><Failures
              >were detected while initiating Deploy task for application payments.>
              ><03-Oct-2003 11:14:58 o'clock BST> <Error> <Deployer> <BEA-149201> <Failed
              >to
              >complete the deployment task with ID 1 for the application payments.
              >weblogic.management.DeploymentException:
              >Exception:weblogic.management.ApplicationException: start() failed.
              > Module: payments-web Error: java.lang.ExceptionInInitializerError
              >
              >
              >
              >My observations are
              >1. The servlet has been located.
              >2. Please note the <Warn> message that the ActionServlet class could
              >not be handled
              >by the classloader. What does this mean ???
              >3 I also tried putting these jars in APP-INF/lib but got the same errors
              >
              >
              >I am using WLS 8.1 SP1 on XP professional
              >
              >
              >Thanks
              >Jasmeet
              

  • I cannot find videos (not movies) that i have transferred to my macbook pro from an external hard drive, these files used to be on my windows PC!

    I cannot find videos (not movies) that i have transferred to my macbook pro from an external hard drive, these files used to be on my windows PC. Photos and a few of the videos came over but i am missing the majority of the videos. Help please!!! I have tried omnidisksweeper with no success in finding them.
    in my Usage it says i have over 40 gb of movies when i only have about 9gb which i can see using spotlight search. i really hope the other amount is my missing videos! these are videos of my kids as babies.

    Read this post and do the migration again, putting the library in a portable shape first if necessary.
    tt2

  • I have 2 iphoto libraries but one is lost, missing, cannot seem to find it... tried an apple care person - they were no help - we use Time Machine for external backup... but cannot find my older iPhoto library! I desperately need some help!

    I have recently had something really odd happen within iphoto.  My photos from May-Oct 2013 appeared to be missing from my primary Iphoto library.
    last night I was trying to find any additional Iphoto libraries on my Imac... I could not find them... but then somehow the May-Oct 2013 library showed up and now I cannot find the "current" primary Iphoto library.   I sought help from apple care today but no solutoin from them after 2 hours trying.  I have timemachine that backs up my Imac each day to an external hard drive.   When I open Iphoto while holding down the "option" key - it lets me choose which Iphoto library... but only (1) library comes up...  I can't figure out what happened - but it seems that I must have more than one Iphoto library because yesterday I was able to see all my photos except the "gap in dates" from May-Oct 2013.  Today - I can only open a Library called Iphoto2014... and it contains the photos from the gap in dates.  I can't "see" any other options to open photos... but just yesterday there appeared to be a different library available.
    Any advice or steps i should take to locate my missing photos - would be soooooo much appreciated.

    I have recently had something really odd happen within iphoto.  My photos from May-Oct 2013 appeared to be missing from my primary Iphoto library.
    last night I was trying to find any additional Iphoto libraries on my Imac... I could not find them... but then somehow the May-Oct 2013 library showed up and now I cannot find the "current" primary Iphoto library.   I sought help from apple care today but no solutoin from them after 2 hours trying.  I have timemachine that backs up my Imac each day to an external hard drive.   When I open Iphoto while holding down the "option" key - it lets me choose which Iphoto library... but only (1) library comes up...  I can't figure out what happened - but it seems that I must have more than one Iphoto library because yesterday I was able to see all my photos except the "gap in dates" from May-Oct 2013.  Today - I can only open a Library called Iphoto2014... and it contains the photos from the gap in dates.  I can't "see" any other options to open photos... but just yesterday there appeared to be a different library available.
    Any advice or steps i should take to locate my missing photos - would be soooooo much appreciated.

  • Since I downloaded Maverick, I cannot find my External Hard Drive in the "Finder" area. I have to unplug all the time the hard drive to be recognized by my iMac. How can I fix this problem? Thank You.

    Since I downloaded Maverick, I cannot find my External Hard Drive in the "Finder" area. I have to unplug all the time the hard drive to be recognized by my iMac. How can I fix this problem? Thank You.

    Check Finderr->Preferences->General and ensure that HDs are selected for display. If so and they still don't, Reset the NVRAM/PRAM and Reset the SMC, and see if that does the trick.

  • Cannot reinstate catalog after returning PC (Windows 7) to factory settings (because of worm infection). Catalog was backed up on external drive but not using PSE backup facility. Cannot find and *.tly file. Is this hopeless?

    Cannot reinstate catalog after returning PC (Windows 7) to factory settings (because of worm infection). Catalog was backed up on external drive but not using PSE backup facility. Cannot find and *.tly file. Is this hopeless?

    If you made backups of all of your photos and your catalog file using some third-party method (i.e. not using the PSE catalog backup command), then you should be able to restore everything.
    Step 1. Put the photos in the EXACT SAME LOCATION as before. For example, if they were in subfolders of C:\Users\<username>\Documents, then they must go into the exact same subfolders of C:\Users\<username>\Documents.
    Step 2. Move the catalog file to wherever you want it to be, and then double-click on it.

  • I have just upgraded from a Macbook to a Macbook Air. I have been using a iomega external hard drive for Time Machine, which use a Firewire. However, Macbook Air's do not have a Firewire port and i cannot find an adaptor anywhere. Can anyone help?? Thanks

    I have just upgraded from a Macbook to a Macbook Air. I have been using a iomega external hard drive for Time Machine, which use a Firewire. However, Macbook Air's do not have a Firewire port and i cannot find an adaptor anywhere. Can anyone help?? Thanks

    There has never been a reliable firewire ---> USB adapter suitable for external high speed storage.  This was a major issue when the MacBooks lost the firewire port a number of years ago (Apple subsequently brought it back).
    The only high speed port on the Air is the ThunderBolt port.  There are external ThunderBolt drive options out there, but they're somewhat more expensive than traditional USB/FireWire options.

  • I use Djay for my Apple and I would like to use TC as an external hd to access from Djay, however when I look for my external T1 drive I cannot find it in iTunes so I can load onto Djay? Any help?

    I use Djay for my Apple and I would like to use TC as an external hd to access from Djay, however when I look for my external T1 drive I cannot find it in iTunes so I can load onto Djay? Any help?

    Initially, you asked if you can hardwire your MBA to the TC. The answer is yes, by using the optional USB Ethernet adapter that Apple provides. However, in order for your MBA to access the TC's internal or USB-attached HDD, it would need to establish a network connection to it. This would be true of any NAS device on an Ethernet network. Therein, lies the problem. Your MBA cannot connect to two networks simultaneously.
    One option then, would be to have two separate iTunes Media folders; one on the MBA & the other on the TC. This way, you can download the music to your MBA when connected to the Internet at the AirPort lounge, and then use iTunes Consolidate Library feature to transfer the audio files to the TC's iTunes Media Folder location. A great program to help maintain multiple iTunes Librarys and/or Media Folders, that you may want to consider, is PowerTunes.

  • I cannot find a document I prepared yesterday. How do I locate it in the external backup disc

    I cannot find a document I prepared yesterday. How do I locate it in the external backup disc

    (1) Look in the System's Recent items, maybe it's available in this list)  [ it's in the  menu ]
    (2) Use the Finder's Search tool (cmd + F) asking it to retrieve files whose name ends with ".numbers"
    And next time, take care of what you do.
    Yvan KOENIG (VALLAURIS, France) mercredi 28 septembre 2011 23:33:42
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

Maybe you are looking for

  • Image upload using Java API

    Hi all, I am trying to upload an image into MDM repository using the Java MDM4J API. I have referred to the earlier posting in this forum for the same problem I am not able to add images into Catalog thru java API. However I am working on SP3 version

  • Oracle Validated rpm for Linux 5.9

    I am looking for the correct oracle-validate rpm for Linux 5.9. There are several out there but I dont know which is the correct one. Any help would be appreciated.

  • Requirement for Alert when outbound idocs are failing

    SAP A - IDOCS - >  SAP B We currently have a SAP A system sending outbound idocs to SAP B system via ALE. The current issue is when SAP B system is down. The outbound idocs being sent from SAP A system fail. We want to get a alert when the System B i

  • Cursor out of focus after error message

    Hi, We have build an application using forms 6i. When using the application sometimes after getting an errormessage in a form the cursor stays in a field( after acknowledging the message) and can't move to another field. Also navigating to a poplist

  • Process instructions

    Hi, I have maintained CONS_I as the Instruction category with scope of generation as 01 (for all reservation items) in customizing. When I create the process order and try to generate the control recipe I get the error that PPPI_RESERVATION_ITEM is n