War file not loading - Offending class: javax/servlet/Servlet.class

Hello;
I've got a war file for an app that I've been building for the past several weeks. I created a new version and uploaded it to the server and received a 404 error when trying to call a servlet in the war. The catalina.out file had the following message:
WebappClassLoader: validateJarFile(/usr/local/apache/tomcat/webapps/optintelligence/WEB-INF/lib/j2ee.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
I've not changed my libraries at all and I don't see any conflict with another appliacation. The war file works on my local windows machine but has this error on a RedHat server. Both are running tomcat 4.x
I would appreciate any information on this problem.
Thanks;
Marshall

You might still get the warning when you start Tomcat:
WebappClassLoader: validateJarFile(/usr/local/apache/tomcat/webapps/optintelligence/WEB-INF/lib/j2ee.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
That's because you have the j2ee.jar as part of the web application. The servlet specficiation forbids a web application trying to override core java, j2ee classes. Thererfore Tomcat prints the warning message that the particular jar could not be loaded as it is trying to override a core java-j2ee class.
If you remove the j2ee.jar from the web app WEB-INF/lib folder, the warning will disappear.

Similar Messages

  • Could not load resource adapate even though the class exists

    <ResultItem type='error' status='error'>
    <ResultError throwable='com.waveset.util.WavesetException'>
    <ErrorMessage severity='fatal' id='com.waveset.adapter.RAMessages:RESBASE_LOAD_CLASS_FAILED'>
    <String>com.ge.fleet.idm.adapters.SiteMinderResourceAdapter</String>
    </ErrorMessage>
    <StackTrace>com.waveset.util.WavesetException: Could not load Resource Adapter class: 'com.ge.fleet.idm.adapters.SiteMinderResourceAdapter'.&#xA;==> java.lang.ClassNotFoundException: com.ge.fleet.idm.adapters.SiteMinderResourceAdapter&#xA;&#x9;at com.waveset.adapter.ResourceAdapterBase.getAdapter(ResourceAdapterBase.java:461)&#xA;&#x9;at com.waveset.adapter.ResourceAdapterBase.getAdapter(ResourceAdapterBase.java:408)&#xA;&#x9;at com.waveset.adapter.ResourceAdapterBase.getAdapterProxy(ResourceAdapterBase.java:373)&#xA;&#x9;at com.waveset.view.AccountInfoViewer.getAccountView(AccountInfoViewer.java:1796)&#xA;&#x9;at com.waveset.view.AccountInfoViewer.getView(AccountInfoViewer.java:2202)&#xA;&#x9;at com.waveset.view.UserViewConverter.addAccountInfoView(UserViewConverter.java:579)&#xA;&#x9;at com.waveset.view.UserViewConverter.getView(UserViewConverter.java:635)&#xA;&#x9;at com.waveset.view.UserViewer.assembleView(UserViewer.java:901)&#xA;&#x9;at com.waveset.view.UserViewer.getView(UserViewer.java:794)&#xA;&#x9;at com.waveset.object.ViewMaster.getView(ViewMaster.java:549)&#xA;&#x9;at com.waveset.server.InternalSession.getView(InternalSession.java:1960)&#xA;&#x9;at com.waveset.object.WSUserUtil.getUserViewArgs(WSUserUtil.java:415)&#xA;&#x9;at com.waveset.object.WSUserUtil.getRuleDrivenObjectRefs(WSUserUtil.java:305)&#xA;&#x9;at com.waveset.security.authz.AccessPolicy.getEndUserPrincipal(AccessPolicy.java:513)&#xA;&#x9;at com.waveset.security.authz.AccessPolicy.createSubjectPrincipals(AccessPolicy.java:2341)&#xA;&#x9;at com.waveset.security.authz.AccessPolicy.getSubjectPrincipals(AccessPolicy.java:2404)&#xA;&#x9;at com.waveset.server.SubjectAuthCache.setSubject(SubjectAuthCache.java:296)&#xA;&#x9;at com.waveset.server.AuthCache.getCache(AuthCache.java:341)&#xA;&#x9;at com.waveset.server.InternalSession.<init>(InternalSession.java:291)&#xA;&#x9;at com.waveset.server.InternalSession.getAuthenticatedContext(InternalSession.java:2042)&#xA;&#x9;at com.waveset.object.LighthouseContextWrapper.getAuthenticatedContext(LighthouseContextWrapper.java:222)&#xA;&#x9;at com.waveset.workflow.WorkflowExecutor.execute(WorkflowExecutor.java:235)&#xA;&#x9;at com.waveset.task.TaskThread.run(TaskThread.java:132)&#xA;Caused by: java.lang.ClassNotFoundException: com.ge.fleet.idm.adapters.SiteMinderResourceAdapter&#xA;&#x9;at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:289)&#xA;&#x9;at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:262)&#xA;&#x9;at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)&#xA;&#x9;at java.lang.ClassLoader.loadClass(ClassLoader.java:306)&#xA;&#x9;at java.lang.ClassLoader.loadClass(ClassLoader.java:251)&#xA;&#x9;at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:161)&#xA;&#x9;at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:35)&#xA;&#x9;at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)&#xA;&#x9;at java.lang.Class.forName0(Native Method)&#xA;&#x9;at java.lang.Class.forName(Class.java:164)&#xA;&#x9;at com.waveset.adapter.ResourceAdapterBase.getAdapter(ResourceAdapterBase.java:456)&#xA;&#x9;... 22 more&#xA;Wrapped exception:&#xA;java.lang.ClassNotFoundException: com.ge.fleet.idm.adapters.SiteMinderResourceAdapter&#xA;&#x9;at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:289)&#xA;&#x9;at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:262)&#xA;&#x9;at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)&#xA;&#x9;at java.lang.ClassLoader.loadClass(ClassLoader.java:306)&#xA;&#x9;at java.lang.ClassLoader.loadClass(ClassLoader.java:251)&#xA;&#x9;at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:161)&#xA;&#x9;at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:35)&#xA;&#x9;at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)&#xA;&#x9;at java.lang.Class.forName0(Native Method)&#xA;&#x9;at java.lang.Class.forName(Class.java:164)&#xA;&#x9;at com.waveset.adapter.ResourceAdapterBase.getAdapter(ResourceAdapterBase.java:456)&#xA;&#x9;at com.waveset.adapter.ResourceAdapterBase.getAdapter(ResourceAdapterBase.java:408)&#xA;&#x9;at com.waveset.adapter.ResourceAdapterBase.getAdapterProxy(ResourceAdapterBase.java:373)&#xA;&#x9;at com.waveset.view.AccountInfoViewer.getAccountView(AccountInfoViewer.java:1796)&#xA;&#x9;at com.waveset.view.AccountInfoViewer.getView(AccountInfoViewer.java:2202)&#xA;&#x9;at com.waveset.view.UserViewConverter.addAccountInfoView(UserViewConverter.java:579)&#xA;&#x9;at com.waveset.view.UserViewConverter.getView(UserViewConverter.java:635)&#xA;&#x9;at com.waveset.view.UserViewer.assembleView(UserViewer.java:901)&#xA;&#x9;at com.waveset.view.UserViewer.getView(UserViewer.java:794)&#xA;&#x9;at com.waveset.object.ViewMaster.getView(ViewMaster.java:549)&#xA;&#x9;at com.waveset.server.InternalSession.getView(InternalSession.java:1960)&#xA;&#x9;at com.waveset.object.WSUserUtil.getUserViewArgs(WSUserUtil.java:415)&#xA;&#x9;at com.waveset.object.WSUserUtil.getRuleDrivenObjectRefs(WSUserUtil.java:305)&#xA;&#x9;at com.waveset.security.authz.AccessPolicy.getEndUserPrincipal(AccessPolicy.java:513)&#xA;&#x9;at com.waveset.security.authz.AccessPolicy.createSubjectPrincipals(AccessPolicy.java:2341)&#xA;&#x9;at com.waveset.security.authz.AccessPolicy.getSubjectPrincipals(AccessPolicy.java:2404)&#xA;&#x9;at com.waveset.server.SubjectAuthCache.setSubject(SubjectAuthCache.java:296)&#xA;&#x9;at com.waveset.server.AuthCache.getCache(AuthCache.java:341)&#xA;&#x9;at com.waveset.server.InternalSession.<init>(InternalSession.java:291)&#xA;&#x9;at com.waveset.server.InternalSession.getAuthenticatedContext(InternalSession.java:2042)&#xA;&#x9;at com.waveset.object.LighthouseContextWrapper.getAuthenticatedContext(LighthouseContextWrapper.java:222)&#xA;&#x9;at com.waveset.workflow.WorkflowExecutor.execute(WorkflowExecutor.java:235)&#xA;&#x9;at com.waveset.task.TaskThread.run(TaskThread.java:132)&#xA;</StackTrace>
    <ResultError throwable='java.lang.ClassNotFoundException'>
    <Message>
    <Text>com.ge.fleet.idm.adapters.SiteMinderResourceAdapter</Text>
    </Message>
    <StackTrace>java.lang.ClassNotFoundException: com.ge.fleet.idm.adapters.SiteMinderResourceAdapter&#xA;&#x9;at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:289)&#xA;&#x9;at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:262)&#xA;&#x9;at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)&#xA;&#x9;at java.lang.ClassLoader.loadClass(ClassLoader.java:306)&#xA;&#x9;at java.lang.ClassLoader.loadClass(ClassLoader.java:251)&#xA;&#x9;at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:161)&#xA;&#x9;at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:35)&#xA;&#x9;at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)&#xA;&#x9;at java.lang.Class.forName0(Native Method)&#xA;&#x9;at java.lang.Class.forName(Class.java:164)&#xA;&#x9;at com.waveset.adapter.ResourceAdapterBase.getAdapter(ResourceAdapterBase.java:456)&#xA;&#x9;at com.waveset.adapter.ResourceAdapterBase.getAdapter(ResourceAdapterBase.java:408)&#xA;&#x9;at com.waveset.adapter.ResourceAdapterBase.getAdapterProxy(ResourceAdapterBase.java:373)&#xA;&#x9;at com.waveset.view.AccountInfoViewer.getAccountView(AccountInfoViewer.java:1796)&#xA;&#x9;at com.waveset.view.AccountInfoViewer.getView(AccountInfoViewer.java:2202)&#xA;&#x9;at com.waveset.view.UserViewConverter.addAccountInfoView(UserViewConverter.java:579)&#xA;&#x9;at com.waveset.view.UserViewConverter.getView(UserViewConverter.java:635)&#xA;&#x9;at com.waveset.view.UserViewer.assembleView(UserViewer.java:901)&#xA;&#x9;at com.waveset.view.UserViewer.getView(UserViewer.java:794)&#xA;&#x9;at com.waveset.object.ViewMaster.getView(ViewMaster.java:549)&#xA;&#x9;at com.waveset.server.InternalSession.getView(InternalSession.java:1960)&#xA;&#x9;at com.waveset.object.WSUserUtil.getUserViewArgs(WSUserUtil.java:415)&#xA;&#x9;at com.waveset.object.WSUserUtil.getRuleDrivenObjectRefs(WSUserUtil.java:305)&#xA;&#x9;at com.waveset.security.authz.AccessPolicy.getEndUserPrincipal(AccessPolicy.java:513)&#xA;&#x9;at com.waveset.security.authz.AccessPolicy.createSubjectPrincipals(AccessPolicy.java:2341)&#xA;&#x9;at com.waveset.security.authz.AccessPolicy.getSubjectPrincipals(AccessPolicy.java:2404)&#xA;&#x9;at com.waveset.server.SubjectAuthCache.setSubject(SubjectAuthCache.java:296)&#xA;&#x9;at com.waveset.server.AuthCache.getCache(AuthCache.java:341)&#xA;&#x9;at com.waveset.server.InternalSession.<init>(InternalSession.java:291)&#xA;&#x9;at com.waveset.server.InternalSession.getAuthenticatedContext(InternalSession.java:2042)&#xA;&#x9;at com.waveset.object.LighthouseContextWrapper.getAuthenticatedContext(LighthouseContextWrapper.java:222)&#xA;&#x9;at com.waveset.workflow.WorkflowExecutor.execute(WorkflowExecutor.java:235)&#xA;&#x9;at com.waveset.task.TaskThread.run(TaskThread.java:132)&#xA;</StackTrace>
    </ResultError>
    </ResultError>
    </ResultItem>
    Any help would be appreciated, I have checked the class exisits, its an intermittent issue that happens since the request sometimes succeed. This is on Weblogic 9.2

    Hi ,
    by any chance are you having multiple weblogic servers in your farm that have different version of idm war files deployed ? may be one without the class or with a class that is having an incompatible byte code version ?
    Thanks,
    Balu

  • How do a client access the WAR file at loading a URL?

    I would like to apprehend that how do a client access the WAR file at loading a URL?
    Actually a web containter,for example,servlet container can have the software tool such as iPlanet[tm] Application server to deploying the servlet classes and JSP files by containing the WEB-INF directory.
    how could the process of request and reponse be done by employing the WAR file..plz steer me....

    clients don't access a war file. that's just a package for the container to deal with.
    when the WAR is deployed, the container unpackages the contents and deploys the app. From that point forward clients use the deployed stuff. the unpackaged servlets handle requests from then on.
    your question makes little sense to me.
    %

  • Imported Jar file not loaded at run time ORA-105100

    Oracle 9iDS forms Version 9.0.2.9.0
    Oracle 9iAS Release 2
    I have imported java classes from a jar file into my form. I have it working in client server. Added the entries to the classpath in the default.env and system environment variable for development of the form and for execution.
    Moved the jar file, form and testing html to the application server. Modified the classpath in the default.env file. Tested the form. Got the ORA-105100 error. MetaLink note 261650.1 states that error frm-40735 When-Button-Pressed triger raised exception ORA-105100 if calling a java function from a jar file. Cause: Jar file not loaded at run time. Solution: add in your default.env CLASSPATH parameter your jar file including the whole directory of the jar file location. That has been done and the OC4J has been restarted. Still get error.
    Oracle support has not been able to give me much help as of yet. Does anyone have any further ideas, or documentation that I can read to help get this working?
    Thanks in advance for any assistance that is offered.

    Hey people any clues?

  • Xml file not loading from different server

    Hi,
    I have a simple flash banner that is pulling a number from an xml file on a different server. When it gets to the frame where the number should be it just says "transferring data from eckul.com" and will not actually pull in the number. Unfortunately I can't put the files on the same servers. Any help would be much appreciated, below are the links and the xml code I'm using followed by the action script. Cheers
    http://www.sainters.net/newsletters/2010/flash_test_membership2.html
    http://www.eckul.com/number.xml
    <?xml version="1.0"?>
    <inventors>
        <person>
            <name>892</name>
            </inventors>
    function loadXML(loaded) {
    if (loaded) {
    _root.inventor = this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;
    _root.comments = this.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue;
    name_txt.text = _root.inventor;
    comment_txt.text = _root.comments;
    } else {
      trace("file not loaded!");
    xmlData = new XML();
    xmlData.ignoreWhite = true;
    xmlData.onLoad = loadXML;
    xmlData.load("http://www.eckul.com/number.xml");

    so, in frame 1 of your fla before you execute that cross-domain load method, use:
    System.security.loadPolicyFile("http:www.yourcrossdomain.com/subdirectoriesIfNeeded/crossd omain2.xml");
    where the following (crossdomain.xml) is in www.yourcrossdomain.com's root (IF you want to allow allow subdirectory policy files):
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
    <site-control permitted-cross-domain-policies="all"/>
    </cross-domain-policy>
    and in the subdirectory (and its descendents) that you want to allow access put crossdomain2.xml:
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
      <allow-access-from domain="www.thedomainthatstryingtoloadcrossdomaindata.com" />
    </cross-domain-policy>

  • Troubles with xmp files not loading...

    I'm having troubles with xmp files not loading with images but are present in the image folders. does anyone know why this is happening and if there is a way to fix this. Also when trying to load the xmp individually they are grayed out and unable to load. I have tried this on different machines (Macs) and still no luck. Any help would be greatly appreciated in this issue.

    > The information contained in the XMP file is stored in the DNG file so there is no need for a separate file.
    Aww, yuck!! That's a real drag...
    When editing lots of files (yesterday's shoot produced 8GB) I back everything up to off-line storage and then, after doing all my edits and crops in ACR, I only have to copy over the small XMP files which takes no time at all.
    So if I re-edit the DNG with ACR I have to re-copy ALL the files again to the off-line storage.
    I used to sometimes even save 2 versions of the xmp files when I needed 2 different crops of the same images, such as doing a wide screen 'cinema' crop for a corporate client's Intranet presentation of their event, as well as more standard crops to be used for their newsletters.
    Guess I won't be using DNG any more..
    Thanks for the help Kees :-)
    Russell

  • Dreamweaver widget spry .js files not loading

    Problem with spry .js files not loading on index.html whats wierd is it works on other servers but not on other one, is there any js restrictions on the server, links the same, Is it;
    1. useing site root to lnk .js? buggered if I know! But really need to fix this, and all other widgets I have on the site are fine.
    2. Some one suggested there should also be a SpryWidgetBase ? whats that about?
    3.Is my DOCTYPE  ok?
    As I said here it is fine http://www.tompriceshs.wa.edu.au/Publish/ and its the exact same copy! as http://www.tompriceshs.com.au/ but not working here as you will see.
    Your greatness is required yet again! Please.
    Skip

    These are the first lines of the working SpryWidget.js
    // SpryWidget.js - version 0.16 - Spry Pre-Release 1.7
    // Copyright (c) 2009. Adobe Systems Incorporated.
    // All rights reserved.
    // Redistribution and use in source and binary forms, with or without
    // modification, are permitted provided that the following conditions are met:
    //   * Redistributions of source code must retain the above copyright notice,
    //     this list of conditions and the following disclaimer.
    //   * Redistributions in binary form must reproduce the above copyright notice,
    //     this list of conditions and the following disclaimer in the documentation
    //     and/or other materials provided with the distribution.
    //   * Neither the name of Adobe Systems Incorporated nor the names of its
    //     contributors may be used to endorse or promote products derived from this
    //     software without specific prior written permission.
    // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
    // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    // POSSIBILITY OF SUCH DAMAGE.
    (function() { // BeginSpryComponent
    and this is the same for the not working JS
    / SpryWidget.js - version 0.16 - Spry Pre-Release 1.7//// Copyright (c) 2009. Adobe Systems Incorporated.// All rights reserved.//// Redistribution and use in source and binary forms, with or without// modification, are permitted provided that the following conditions are met:////   * Redistributions of source code must retain the above copyright notice,//     this list of conditions and the following disclaimer.//   * Redistributions in binary form must reproduce the above copyright notice,//     this list of conditions and the following disclaimer in the documentation//     and/or other materials provided with the distribution.//   * Neither the name of Adobe Systems Incorporated nor the names of its//     contributors may be used to endorse or promote products derived from this//     software without specific prior written permission.//// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE// POSSIBILITY OF SUCH DAMAGE.(function() { // BeginSpryComponent     if (typeof Spry == "undefined" ||
    My guess is that the latter has been cottupgwd on the way up. Sorry, corrupted.
    To prove the theory, simply link SpryWidget.js from ..wa.edu.au to ..com.au as in
    <script type='text/javascript' src='http://www.tompricehs.wa.edu.au/Publish/Spry-UI-1.7/includes/SpryWidget.js'></script>
    Gramps

  • 4917 license file not loaded

    Hi for all ,
         I have problem with call manager version 6.1 , we upgrade from 4.x to 6.x  , after that when i access
    there massege ( warning license .......)  and when i try to add or delete phone i recevied this massege add phone  ( add failed .[4917 ] license file
    not loaded ) ,  delete phone ( error occured one or more record did not get delete. [4917] license file not loaded ) .
        Please can you help me to solve this problem and how i can solve .
    Thanks ,

    https://supportforums.cisco.com/thread/296808
    i got this link its worth reading or not???

  • Oracle lite message file not loaded

    Hi..
    I'm not getting the proper error messages listed for the POI - error messages. It throws out "message file not loaded". do I have to run/update any scripts manually. please throw me some light

    Hmmm...
    is Your olite40.msb file missing somehow?
    You need it since all error messages for the POL Error Numbers can be found in there.
    I think it has to be in Your PATH.

  • Class File Not Loaded (MainJNI)

    I am Calling .FMX file in my HTML code
    but i found error that they not load
    oracle.forms.engine.MainJNI not loaded but i defined the classpath varaible.
    What Should be the steps.

    oh and it is not swing ...jdk 1.4 only using AWT

  • Can I deploy a war file with the mixture of JSP and servlet?

    I have a project, which the JSP has been created for view page, and the servlet was created to retrieve the database, but we have trouble to pass the session variable from servlet back to JSP, it is NULL, with different session ID.
    Now, I try to add the servlet into the same JSP project, and deploy them as one war file, so, it will be called under the same subdirectory (Tomcat).
    It failed to call the servlet, with the error message
    Servlet FirstServlet is not available
    I wonder whether this is valid, if it is, what I may lost, if it is not, how to pass the session variable between them.
    Thanks.

    I double checked the web.xml file, the FirstServlet was defined as servlet class, and the FirstServlet class was found under WEB-INF/classes/FirstServletPackage directory.
    Here it is the web.xml file
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
    <servlet>
    <servlet-name>FirstServlet</servlet-name>
    <servlet-class>FirstServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>FirstServlet</servlet-name>
    <url-pattern>/FirstServlet</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>
    30
    </session-timeout>
    </session-config>
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
    </web-app>
    and here it is the message from Tomcat log
    May 28, 2009 5:09:43 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Allocate exception for servlet FirstServlet
    java.lang.ClassNotFoundException: FirstServlet
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1094)
    at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:808)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:595)
    I will try to rename it, then test it again.

  • GIF files not loading from jar in Netscape

    Hi,
    I have a jar file that contains my applet code(class files) and a bunch of gif files. I load the image using the URL returned from getCodeBase() method. The images load fine in Explorer but they do not show up in Netscape. The class files and gif files are not in separate directories and getCodeBase is returning the correct URL of my server(Example: http://www.myserver.com). Does anyone know how to fix this? I also noticed that download time did not improve on either browser when I bundled all the gif file in the jar rather than place them outside the jar file. Isn't bundling them in the jar supposed to save multiple requests back to the server to get the gifs and thus reduce download time? Thanks in advance.

    There the sample from Netscape: http://developer.netscape.com/docs/technote/java/getresource/getresource.html#classloader

  • XML file not loading in FF from server

    I've created a web page that loads an external XML file and
    then uses javascript code to parse the file for requested
    information. I know it's not the best way to do this, but I'm
    trying to get this working before I move on to "better" methods.
    When I run the page using the "Preview/Debug in browser"
    funtionality of DW everything works great both in IE and FF. But
    when I load the page to the server and then load the page in a
    browser, it works in IE but not in FF. It looks as though FF is
    just not loading the XML file. I can't figure out why the page
    would work if launched from DW, but not work if the page is loaded
    on the server and then run from there, and only in FF.
    The code I'm using to load the XML file is supposed to be
    cross-browser compatible. I've seen many versions like from various
    sources, so it should be OK. I'm pretty new to all of this so I'm
    hoping that I'm just missing something simple. Does anyone have any
    idea why this is behaving this way?
    Thanks for any help.

    so, in frame 1 of your fla before you execute that cross-domain load method, use:
    System.security.loadPolicyFile("http:www.yourcrossdomain.com/subdirectoriesIfNeeded/crossd omain2.xml");
    where the following (crossdomain.xml) is in www.yourcrossdomain.com's root (IF you want to allow allow subdirectory policy files):
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
    <site-control permitted-cross-domain-policies="all"/>
    </cross-domain-policy>
    and in the subdirectory (and its descendents) that you want to allow access put crossdomain2.xml:
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
      <allow-access-from domain="www.thedomainthatstryingtoloadcrossdomaindata.com" />
    </cross-domain-policy>

  • Mafia Wars can not load completely because you are missing a plugin, pop up is too small to see the missing pluging, how do I find out what it is?

    Yesterday, while playing Mafia Wars, I kept getting a bar notification that "The game can not load completely because you are missing a plugin? When I clicked on the box I got an 1/2" popup, which probably contains the information I need but it is too small to find out what it is. You can not maximize it. The is nothing visible to click on. Flash and Java are all up to date, as well as all other plugins. No plugins are disabled. How can I find what I am missing?

    Try a program such as Disk Inventory X or OmniDiskSweeper.
    (50778)

  • Flash file not loading first time but loads on refresh

    I have a problem where a flash program is not loading when
    the webpage is first visited, it will get stuck on the loading
    screen. Now for this file to finish loading, it needs to load in
    another file. Once that file is done loading then the program will
    continue. But like I said the first time the program gets stuck on
    the loading screen and never continues. If you hit refresh in the
    browser then the program will continue past the loading screen.
    I've checked the code and everything seems fine there. Could
    this be a security issue? The two files are on the same domain. Or
    if anyone has any insight into this problem, it would be
    appreciated.

    "Dusarn" <[email protected]> wrote in
    message news:e3b9i7$qup$[email protected]..
    >I have a problem where a flash program is not loading
    when the webpage is first
    > visited, it will get stuck on the loading screen. Now
    for this file to finish
    > loading, it needs to load in another file. Once that
    file is done loading then
    > the program will continue. But like I said the first
    time the program gets
    > stuck on the loading screen and never continues. If you
    hit refresh in the
    > browser then the program will continue past the loading
    screen.
    >
    > I've checked the code and everything seems fine there.
    Could this be a
    > security issue? The two files are on the same domain. Or
    if anyone has any
    > insight into this problem, it would be appreciated.
    That is almost always caused by a faulty preloader code. Post
    your preloader code or a link to the website so it can be checked.
    tralfaz

Maybe you are looking for