Package org.apache.axis.message not found in import.

Hi,
I am using axis to give response to another bpel process after any operation is completed of a BPEL process.I am using JDeveloper to deploy my bpel process.It has succesfully deployed process without any error but when bpel server is unpacking it and deploying it to oc4j,it get error:
Package org.apache.axis.message not found in import.
06/02/08 12:40:40 import org.w3c.dom.Element;import java.util.Calendar;import java.util.Date;import com.collaxa.cube.engine.ext.process;
import com.oracle.services.bpel.task.*;import com.oracle.bpel.client.BPELFault;import com.collaxa.cube.xml.schema.XMLSchemaUtils;import com.
oracle.bpel.client.util.WhereCondition;import com.oracle.bpel.client.Locator;import com.oracle.bpel.client.delivery.IDeliveryService;import
com.oracle.bpel.client.NormalizedMessage;import com.oracle.bpel.client.IInstanceHandle;import com.oracle.bpel.client.ServerException;import
com.oracle.services.bpel.Process.*;import org.apache.axis.message.*;import javax.xml.soap.Name;
I have manually copied all axis jars to
1)OraBPEL\integration\orabpel\system\appserver\oc4j\j2ee\home\applib
2)OraBPEL\integration\orabpel\lib
But no use.
Can anybody help!

I've put a lot og jar files in the bpel-inf/lib but it looks as if they are not in the class path when I need them. The result is a ClassNotFoundException? Do I have to specify anything else? I've put a class in the bpel-inf/classes and it looks to me as if it is found by the BPM.

Similar Messages

  • Error msg "package org.apache.xmlrpc does not exist ... "

    Hi everybody,
    I am new to java. While creating build through cruise control Error Msg comes
    BUILD FAILED
    Ant Error Message:      C:\Program Files\CruiseControl\projects\Myproject\build.xml:47: Compile failed; see the compiler error output for details.
    C:\Program Files\CruiseControl\projects\Myproject\src\org\xtpl\admin\common\CallBack.java:9: package org.apache.xmlrpc does not exist
    import org.apache.xmlrpc.*;
    C:\Program Files\CruiseControl\projects\Myproject\src\org\xtpl\admin\common\CallBack.java:18: cannot find symbol
    symbol : class XmlRpcClient
    location: class org.xtpl.admin.common.CallBack
    XmlRpcClient rpcClient = new XmlRpcClient();
    Can anyone help me out!
    Thanks,
    Sunil Braroo

    check your classpath.

  • Package org.apache.soap does not exist

    Hi,
    I'm trying to deploy a webservice made out of stateless session bean.
    When i run the service by invoking its method through browser then I get an exception as
    Servlet error: Cannot generate Class:
    package org.apache.soap does not exist
    import org.apache.soap.Header;
    -- It seems that the oc4j is not loading soap.jar under soap/lib
    But when I add soap.jar to WEB-INF/lib then I get an exception as
    java.lang.LinkageError: Class org/apache/soap/rpc/SOAPContext violates loader constraints
    Which means soap.jar is loaded previosuly
    The required classes are present in soap.jar
    Can you please help me on this
    Regards
    ~Anil

    Yippee... problem solved... classpath setting problem

  • Package com.sun.java.swing not found in import

    I'm trying to show graphic information but the swing package does not load up don't know what is going on Any help is welcome
    THIS IS THE LINE I GET WHEN I TRY TO IMPORT SWING
    Package com.sun.java.swing not found in import

    I'm trying to show graphic information but the swing
    package does not load up don't know what is going on
    Any help is welcome
    THIS IS THE LINE I GET WHEN I TRY TO IMPORT SWING
    Package com.sun.java.swing not found in importThat's an old package reference. Try javax.swing

  • Org.apache.axis.types.URI$MalformedURIException: No scheme found in URI

    Hi,
    We are running PI 7.11 and we installed Axis libraries icluding addressing-1.1.1.jar. The following refers to Receiver SOAP adapter with Axis protocol.
    Before we had the addressing capabilities, we used the handler type "java:com.sap.aii.axis.soap.HeaderInsertionHandler" to include the <wsa:Action> and <wsa:To> tags on the header of the web service call, and it was working fine. Now, with the addressing libraries, we are using handler type "java:org.apache.axis.message.addressing.handler.AddressingHandler" so that those tags can be inserted automatically, but we get the error:
    Axis: error in invocation: org.apache.axis.types.URI$MalformedURIException: No scheme found in URI.
    It seems that this handler is not inserting the correct URL. Or is it something else? Do we need to add any more lines to the Module Configuration, or the handler type for the Addressing Handler should be enough?
    Thanks for your help,
    Miguel
    Edited by: Miguel Chaves on Oct 4, 2010 4:59 PM

    Hi Yza,
    Thanks for the response. Actually I didn't think it could be the soap action. The soap action is simply GetFile, that's what I have on the communicatoin channel configuration when I get the error . And when I use the Header Insertion Handler instead of the Addressing Handler, this is what I insert on the module configuration:
    <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">GetFile</wsa:Action>
    And this works.
    What do you mean by valid URI value? Isn't GetFile a valid URI value? What should I put on the SOAP action field of the communication channel configuration, then, if this is the SOAP action that comes in the WSDL?
    Another question: Where can I get the stack trace?
    Thanks,
    Miguel

  • Package not found in import

    Hello, I�m trying to run a webapplication but I get an Error 500-message in the browser(IE 5): Package not found in import. It is an webapplication with JSPs and an controlling servlet. Does anyone know how to fix that problem?
    Using: Windows 2000, Tomcat 3.2.1 as NT-service, JavaTM 2 SDK, Enterprise Edition, JavaTM 2 SDK, Standard Edition
    Tomcat/webapps/projektverwaltung.war
    Error: 500
    Location: /projektverwaltung/projektverwaltung/JSP/Menue.jsp
    Internal Servlet Error:
    org.apache.jasper.JasperException: Unable to compile class for JSPC:\Tomcat\work\localhost_8080%2Fprojektverwaltung\_0002fprojektverwaltung_0002fJSP_0002fMenue_0002ejspMenue_jsp_0.java:15: Package de.zebulon.projektverwaltung.projekttool not found in import.
    import de.zebulon.projektverwaltung.projekttool.*;
    ^
    1 error
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:254)
         at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462)
         at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
         at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:152)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:164)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
         at org.apache.tomcat.core.Handler.service(Handler.java:286)
         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
         at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
         at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
         at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
         at java.lang.Thread.run(Thread.java:484)
    CLASSPATH: .;C:\;C:\jesdkee1.3\lib\j2ee.jar;C:\jdk1.3.0_01\lib\tools.jar;C:\Tomcat\lib\servlet.jar;C:\de\zebulon\projektverwaltung\projekttool;
    J2EE_CLASSPATH:
    C:\mysql\JDBC_MySQL_mm\mm.mysql-2.0.4-bin.jar;C:\mysql\JDBC_MySQL_Resin\caucho-jdbc-mysql-0.2.2.jar;C:\mysql\JDBC_MySQL_twz\twz1\jdbc\mysql\htdocs\twz1jdbcForMysql.jar;
    J2EE_HOME:
    C:\j2sdkee1.3;
    JAVA_HOME:
    C:\jdk1.3.0_01;
    TOMCAT_HOME:
    C:\tomcat;
    Path:
    C:\PROGRA~1\Borland\Delphi5\Projects\Bpl;C:\PROGRA~1\Borland\Delphi5\Bin;C:\PROGRA~1\BORLAND\CBUILD~1\BIN;C:\PERL\BIN;"%PATH%";%SYSTEMROOT%;%SYSTEMROOT%\system32;%SYSTEMROOT%\system32\WBEM;C:\jdk1.3.0_01\bin;C:\j2sdkee1.3\bin;C:\j2sdkee1.3\lib\j2ee.jar;C:\mysql\bin;
    Server.xml entry:
    <Context path="/projektverwaltung"
    docBase="webapps/projektverwaltung"
    defaultSessionTimeOut="30"
    debug="9">
    </Context>
    Web.xml:
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE web-app PUBLIC
    "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app>
    <display-name>Projektverwaltung Zebulon</display-name>
    <description>Interne Projektverwaltung Fa. Zebulon</description>
    <welcome-file-list>
    <welcome-file>menue.jsp</welcome-file>
    </welcome-file-list>
    <servlet>
    <servlet-name>ProjektServlet</servlet-name>
    <display-name>ProjektServlet</display-name>
    <description>Servlet das die Applikation kontrolliert</description>
    <servlet-class>de.zebulon.projektverwaltung.projekttool.ProjektServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <url-pattern>/Projekttool</url-pattern>
    <servlet-name>ProjektServlet</servlet-name>
    </servlet-mapping>
    <session-config>
    <session-timeout>30</session-timeout>
    </session-config>
    </web-app>

    Hello, I try copy C:\de\zebulon\projektverwaltung\projekttool\*.class in
    location that contain file _002fprojektverwaltung_0002fJSP_0002fMenue_0002ejspMenue_sp_0.java.

  • ?? can not create an instance of org.apache.axis.client.Service

    hi,
    firstly, i should introduce what i am doing now.
    I want to write a Jeanbean, which can invoke 2 web services.
    I found in tomcat, when I submitted the parameters from a web page form, there was Internal Server Error.
    The problem is I can not created an instance of org.apache.axis.client.Service, or an instance of org.apache.axis.client.AxisClient.
    But very stange, I tried to create an instance of org.apache.axis.client.Transport, which should exist in the same package with Service and AxisClien, there was no exceptions.
    can anyone give me some hints?

    Is it a "class not found" error? Have you tried viewing the jar file that you think org.apache.axis.client.Service is in to be sure that it's really in there?
    jar tvf <filename>

  • Error: 'enum' is a keyword in jdk 1.5 org.apache.axis.enum package

    Hello
    I got an error when i am using jdk1.5 .
    Error: 'enum' is a keyword in org.apache.axis.enum package
    Please any one give a hint to solve this problem.
    Thanks
    Ramki

    rename all references in your generated code from
    org.apache.axis.enum
    to
    org.apache.axis.constants
    The types have been replicated in the constants package.
    Now if I could only get my damn eclipse soap tool to stop using org.apache.axis.enum

  • I can not load my yahoo email. I get the following message: "Not Found The requested URL /mc/showMessage was not found on this server. Apache/2.2.9 (Debian) mod_jk/1.2.26 PHP/5.2.6-1+lenny4 with Suhosin-Patch etc... (too many characters for your ? page

    Can't log into yahoo email. I get the following message: "Not Found The requested URL /mc/showMessage was not found on this server.

    OK here is the problem I am having with this.. It might be related to my own machine but I need help where to look..
    on the command line using mintty on XP I have this:
    $ nslookup us.mg6.mail.yahoo.com
    Non-authoritative answer:
    Server: Wireless_Broadband_Router.home
    Address: 192.168.1.1
    Name: any-ycpi-uno.aycpi.b.yahoodns.net
    Addresses: 98.136.145.155, 216.115.101.178, 216.115.110.119, 216.115.101.179
    98.136.145.157, 98.136.145.154, 216.115.110.118, 98.136.145.156
    Aliases: us.mg6.mail.yahoo.com, geoycpi-uno-deluxe.gycpi.b.yahoodns.net
    geoycpi-uno.gycpi.b.yahoodns.net
    HOwever when I look in firebug for where the ip for the above domain is this is what I get:
    66.115.130.31 clearly not listed above..
    Let's check the aliases
    $ nslookup geoycpi-uno-deluxe.gycpi.b.yahoodns.net
    Non-authoritative answer:
    Server: Wireless_Broadband_Router.home
    Address: 192.168.1.1
    Name: any-ycpi-uno.aycpi.b.yahoodns.net
    Addresses: 216.115.110.118, 98.136.145.156, 98.136.145.155, 216.115.101.178
    216.115.110.119, 216.115.101.179, 98.136.145.157, 98.136.145.154
    Aliases: geoycpi-uno-deluxe.gycpi.b.yahoodns.net
    geoycpi-uno.gycpi.b.yahoodns.net
    nope
    $ nslookup geoycpi-uno.gycpi.b.yahoodns.net
    Non-authoritative answer:
    Server: Wireless_Broadband_Router.home
    Address: 192.168.1.1
    Name: any-ycpi-uno.aycpi.b.yahoodns.net
    Addresses: 98.136.145.156, 98.136.145.155, 216.115.110.118, 216.115.101.179
    98.136.145.157, 216.115.101.178, 98.136.145.154
    Aliases: geoycpi-uno.gycpi.b.yahoodns.net
    nope
    where is this 66.115.130.31 ip comming from.. why isn't firefox using native DNS lookup?
    When I do a reserve lookup on that ip it points to nationalnet.com as the top SOA..
    any ideas?

  • Method invokeMethod(java.lang.String, org.w3c.dom.Element) not found

    I am calling a Web Service that returns an XML-file. The XML-file should be passed to a method that puts the xml into a table in my database.
    I will upload the 3 files that are being used for this.
    When I rebuild my files I get the following error in CustomerCO.java:
    Error(78,38): method invokeMethod(java.lang.String, org.w3c.dom.Element) not found in interface oracle.apps.fnd.framework.OAApplicationModule
    Line 78 reads as follows:
    String Status = (String)am.invokeMethod("initSaveXml", wsXml);
    Any suggestions?
    PS: I am a newbie to java and framework :-(
    Here are my files:
    CustomerCO.java:
    /*===========================================================================+
    | Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA |
    | All rights reserved. |
    +===========================================================================+
    | HISTORY |
    +===========================================================================*/
    package xxcu.oracle.apps.ar.customer.server.webui;
    import java.io.Serializable;
    import java.lang.Exception;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import org.w3c.dom.Element;
    import xxcu.oracle.apps.ar.customer.ws.LindorffWS;
    * Controller for ...
    public class CustomerCO extends OAControllerImpl implements Serializable
    public static final String RCS_ID="$Header$";
    public static final boolean RCS_ID_RECORDED =
    VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
    * Layout and page setup logic for a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    * Procedure to handle form submissions for form elements in
    * a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    * 2009.07.09, Roy Feirud, lagt til for å utføre spørring
    if (pageContext.getParameter("Search") != null)
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    //Setter søkekriteriene til LindorffWS
    String Name = pageContext.getParameter("SearchName");
    String Address = pageContext.getParameter("SearchAddress");
    String Zip = pageContext.getParameter("SearchZipCode");
    String City = pageContext.getParameter("SearchCity");
    String Born = pageContext.getParameter("SearchBorn");
    String Phone = pageContext.getParameter("SearchPhoneNo");
    Serializable[] param = { Name, Address, Zip, City, Born, Phone };
    //Bygger søkestrengen
    String SearchString = (String)am.invokeMethod("initBuildString", param );
    //Initialiserer LindorffWS
    LindorffWS WsConnection = new LindorffWS();
    try
    //Kaller Web Sevice fra Lindorff
    Element wsXml = (Element)WsConnection.XmlFulltextOperator(SearchString);
    String Status = (String)am.invokeMethod("initSaveXml", wsXml);
    catch(Exception WsExp)
    // WsConnection = new LindorffWS();
    System.out.println("Kall til LindorffWS feilet!");
    am.invokeMethod("initQueryCustomer");
    CustomerAMImpl.java:
    package xxcu.oracle.apps.ar.customer.server;
    import java.io.Serializable;
    import java.sql.CallableStatement;
    import java.sql.SQLException;
    import java.sql.Types;
    import oracle.apps.fnd.common.MessageToken;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
    import oracle.apps.fnd.framework.server.OADBTransaction;
    import oracle.apps.fnd.framework.server.OAExceptionUtils;
    import org.w3c.dom.Element;
    // --- File generated by Oracle Business Components for Java.
    public class CustomerAMImpl extends OAApplicationModuleImpl implements Serializable
    * This is the default constructor (do not remove)
    public CustomerAMImpl()
    * Sample main for debugging Business Components code using the tester.
    public static void main(String[] args)
    launchTester("xxcu.oracle.apps.ar.customer.server", "CustomerAMLocal");
    * Container's getter for CustomerVO1
    public CustomerVOImpl getCustomerVO1()
    return (CustomerVOImpl)findViewObject("CustomerVO1");
    * 2009.07.09, Roy Feirud, Lagt til for å utføre spørring.
    public void initQueryCustomer()
    CustomerVOImpl vo = getCustomerVO1();
    if (vo!=null)
    vo.initQuery();
    * 2009.08.31, Roy Feirud, Lagt til for å bygge opp input til WebService hos Lindorff.
    public String initBuildString(String Name
    ,String Address
    ,String Zip
    ,String City
    ,String Born
    ,String Phone)
    String ws_string = null;
    CallableStatement cs = null;
    try
    String sql= "BEGIN ISS_WS_LINDORFF_PKG.BUILD_STRING (?,?,?,?,?,?,?); END;";
    OADBTransaction txn = getOADBTransaction();
    cs = txn.createCallableStatement(sql,1);
    cs.setString(1,Name);
    cs.setString(2,Address);
    cs.setString(3,Zip);
    cs.setString(4,City);
    cs.setString(5,Born);
    cs.setString(6,Phone);
    cs.registerOutParameter(7,Types.VARCHAR);
    cs.execute();
    OAExceptionUtils.checkErrors (txn);
    ws_string = cs.getString(7);
    cs.close();
    catch (SQLException sqle)
    String Prosedyre = "ISS_WS_LINDORFF_PKG.BUILD_STRING";
    String Errmsg = sqle.toString();
    MessageToken[] tokens = {new MessageToken("PROSEDYRE", Prosedyre), new MessageToken("ERRMSG", Errmsg)};
    throw new OAException("ISS", "ISS_PLSQL_ERROR",tokens,OAException.ERROR, null);
    return ws_string;
    public String initSaveXml(Element WsXml)
    String Status = "Error";
    CallableStatement cs = null;
    try
    String sql= "BEGIN ISS_XML2TABLE_PKG.ISS_AR_CUSTOMERS_TMP (?,?); END;";
    OADBTransaction txn = getOADBTransaction();
    cs = txn.createCallableStatement(sql,1);
    cs.setObject(1,WsXml);
    cs.registerOutParameter(2,Types.VARCHAR);
    cs.execute();
    OAExceptionUtils.checkErrors (txn);
    Status = cs.getString(2);
    cs.close();
    catch (SQLException sqle)
    String Prosedyre = "ISS_XML2TABLE_PKG.ISS_AR_CUSTOMERS_TMP";
    String Errmsg = sqle.toString();
    MessageToken[] tokens = {new MessageToken("PROSEDYRE", Prosedyre), new MessageToken("ERRMSG", Errmsg)};
    throw new OAException("ISS", "ISS_PLSQL_ERROR",tokens,OAException.ERROR, null);
    return Status;
    LindorffWS.java:
    package xxcu.oracle.apps.ar.customer.ws;
    import oracle.soap.transport.http.OracleSOAPHTTPConnection;
    //import org.apache.soap.encoding.soapenc.BeanSerializer;
    import org.apache.soap.encoding.SOAPMappingRegistry;
    //import org.apache.soap.util.xml.QName;
    import java.util.Vector;
    import org.w3c.dom.Element;
    import java.net.URL;
    import org.apache.soap.Body;
    import org.apache.soap.Envelope;
    import org.apache.soap.messaging.Message;
    import oracle.jdeveloper.webservices.runtime.WrappedDocLiteralStub;
    * Generated by the Oracle9i JDeveloper Web Services Stub/Skeleton Generator.
    * Date Created: Fri Jul 10 10:37:21 CEST 2009
    * WSDL URL: http://services.lindorffmatch.com/Search/Search.asmx?WSDL
    public class LindorffWS extends WrappedDocLiteralStub
    public LindorffWS()
    m_httpConnection = new OracleSOAPHTTPConnection();
    public String endpoint = "http://services.lindorffmatch.com/Search/Search.asmx";
    private OracleSOAPHTTPConnection m_httpConnection = null;
    private SOAPMappingRegistry m_smr = null;
    public Element XmlFulltextOperator(String xmlString) throws Exception
    URL endpointURL = new URL(endpoint);
    Envelope requestEnv = new Envelope();
    Body requestBody = new Body();
    Vector requestBodyEntries = new Vector();
    String wrappingName = "XmlFulltextOperator";
    String targetNamespace = "http://services.lindorffmatch.com/search";
    Vector requestData = new Vector();
    requestData.add(new Object[] {"xmlString", xmlString});
    requestBodyEntries.addElement(toElement(wrappingName, targetNamespace, requestData));
    requestBody.setBodyEntries(requestBodyEntries);
    requestEnv.setBody(requestBody);
    Message msg = new Message();
    msg.setSOAPTransport(m_httpConnection);
    msg.send(endpointURL, "http://services.lindorffmatch.com/search/XmlFulltextOperator", requestEnv);
    Envelope responseEnv = msg.receiveEnvelope();
    Body responseBody = responseEnv.getBody();
    Vector responseData = responseBody.getBodyEntries();
    return (Element)fromElement((Element)responseData.elementAt(0), org.w3c.dom.Element.class);
    _______________________________________________________________________________________________________________________________

    Hi,
    Create an Interface to your application Module then from interface call your method,
    refer http://www.oraclearea51.com/oracle-technical-articles/oa-framework/oa-framework-beginners-guide/213-how-to-call-am-methods-from-controller-without-using-invokemethod.html for creating Interface for AM and calling it in controller.
    Regards,
    Reetesh Sharma

  • Jdev: method invokeMethod(java.lang.String, org.w3c.dom.Element) not found

    I am calling a Web Service that returns an XML-file. The XML-file should be passed to a method that puts the xml into a table in my database.
    I will upload the 3 files that are being used for this.
    When I rebuild my files I get the following error in CustomerCO.java:
    Error(78,38): method invokeMethod(java.lang.String, org.w3c.dom.Element) not found in interface oracle.apps.fnd.framework.OAApplicationModule
    Line 78 reads as follows:
    String Status = (String)am.invokeMethod("initSaveXml", wsXml);
    Any suggestions?
    PS: I am a newbie to java and framework
    Here are my files:
    CustomerCO.java:
    /*===========================================================================+
    Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA
    All rights reserved.
    ===========================================================================
    HISTORY
    +===========================================================================*/
    package xxcu.oracle.apps.ar.customer.server.webui;
    import java.io.Serializable;
    import java.lang.Exception;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import org.w3c.dom.Element;
    import xxcu.oracle.apps.ar.customer.ws.LindorffWS;
    * Controller for ...
    public class CustomerCO extends OAControllerImpl implements Serializable
    public static final String RCS_ID="$Header$";
    public static final boolean RCS_ID_RECORDED =
    VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
    * Layout and page setup logic for a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    * Procedure to handle form submissions for form elements in
    * a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    * 2009.07.09, Roy Feirud, lagt til for å utføre spørring
    if (pageContext.getParameter("Search") != null)
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    //Setter søkekriteriene til LindorffWS
    String Name = pageContext.getParameter("SearchName");
    String Address = pageContext.getParameter("SearchAddress");
    String Zip = pageContext.getParameter("SearchZipCode");
    String City = pageContext.getParameter("SearchCity");
    String Born = pageContext.getParameter("SearchBorn");
    String Phone = pageContext.getParameter("SearchPhoneNo");
    Serializable[] param = { Name, Address, Zip, City, Born, Phone };
    //Bygger søkestrengen
    String SearchString = (String)am.invokeMethod("initBuildString", param );
    //Initialiserer LindorffWS
    LindorffWS WsConnection = new LindorffWS();
    try
    //Kaller Web Sevice fra Lindorff
    Element wsXml = (Element)WsConnection.XmlFulltextOperator(SearchString);
    String Status = (String)am.invokeMethod("initSaveXml", wsXml);
    catch(Exception WsExp)
    // WsConnection = new LindorffWS();
    System.out.println("Kall til LindorffWS feilet!");
    am.invokeMethod("initQueryCustomer");
    CustomerAMImpl.java:
    package xxcu.oracle.apps.ar.customer.server;
    import java.io.Serializable;
    import java.sql.CallableStatement;
    import java.sql.SQLException;
    import java.sql.Types;
    import oracle.apps.fnd.common.MessageToken;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
    import oracle.apps.fnd.framework.server.OADBTransaction;
    import oracle.apps.fnd.framework.server.OAExceptionUtils;
    import org.w3c.dom.Element;
    // --- File generated by Oracle Business Components for Java.
    public class CustomerAMImpl extends OAApplicationModuleImpl implements Serializable
    * This is the default constructor (do not remove)
    public CustomerAMImpl()
    * Sample main for debugging Business Components code using the tester.
    public static void main(String[] args)
    launchTester("xxcu.oracle.apps.ar.customer.server", "CustomerAMLocal");
    * Container's getter for CustomerVO1
    public CustomerVOImpl getCustomerVO1()
    return (CustomerVOImpl)findViewObject("CustomerVO1");
    * 2009.07.09, Roy Feirud, Lagt til for å utføre spørring.
    public void initQueryCustomer()
    CustomerVOImpl vo = getCustomerVO1();
    if (vo!=null)
    vo.initQuery();
    * 2009.08.31, Roy Feirud, Lagt til for å bygge opp input til WebService hos Lindorff.
    public String initBuildString(String Name
    ,String Address
    ,String Zip
    ,String City
    ,String Born
    ,String Phone)
    String ws_string = null;
    CallableStatement cs = null;
    try
    String sql= "BEGIN ISS_WS_LINDORFF_PKG.BUILD_STRING (?,?,?,?,?,?,?); END;";
    OADBTransaction txn = getOADBTransaction();
    cs = txn.createCallableStatement(sql,1);
    cs.setString(1,Name);
    cs.setString(2,Address);
    cs.setString(3,Zip);
    cs.setString(4,City);
    cs.setString(5,Born);
    cs.setString(6,Phone);
    cs.registerOutParameter(7,Types.VARCHAR);
    cs.execute();
    OAExceptionUtils.checkErrors (txn);
    ws_string = cs.getString(7);
    cs.close();
    catch (SQLException sqle)
    String Prosedyre = "ISS_WS_LINDORFF_PKG.BUILD_STRING";
    String Errmsg = sqle.toString();
    MessageToken[] tokens = {new MessageToken("PROSEDYRE", Prosedyre), new MessageToken("ERRMSG", Errmsg)};
    throw new OAException("ISS", "ISS_PLSQL_ERROR",tokens,OAException.ERROR, null);
    return ws_string;
    public String initSaveXml(Element WsXml)
    String Status = "Error";
    CallableStatement cs = null;
    try
    String sql= "BEGIN ISS_XML2TABLE_PKG.ISS_AR_CUSTOMERS_TMP (?,?); END;";
    OADBTransaction txn = getOADBTransaction();
    cs = txn.createCallableStatement(sql,1);
    cs.setObject(1,WsXml);
    cs.registerOutParameter(2,Types.VARCHAR);
    cs.execute();
    OAExceptionUtils.checkErrors (txn);
    Status = cs.getString(2);
    cs.close();
    catch (SQLException sqle)
    String Prosedyre = "ISS_XML2TABLE_PKG.ISS_AR_CUSTOMERS_TMP";
    String Errmsg = sqle.toString();
    MessageToken[] tokens = {new MessageToken("PROSEDYRE", Prosedyre), new MessageToken("ERRMSG", Errmsg)};
    throw new OAException("ISS", "ISS_PLSQL_ERROR",tokens,OAException.ERROR, null);
    return Status;
    LindorffWS.java:
    package xxcu.oracle.apps.ar.customer.ws;
    import oracle.soap.transport.http.OracleSOAPHTTPConnection;
    //import org.apache.soap.encoding.soapenc.BeanSerializer;
    import org.apache.soap.encoding.SOAPMappingRegistry;
    //import org.apache.soap.util.xml.QName;
    import java.util.Vector;
    import org.w3c.dom.Element;
    import java.net.URL;
    import org.apache.soap.Body;
    import org.apache.soap.Envelope;
    import org.apache.soap.messaging.Message;
    import oracle.jdeveloper.webservices.runtime.WrappedDocLiteralStub;
    * Generated by the Oracle9i JDeveloper Web Services Stub/Skeleton Generator.
    * Date Created: Fri Jul 10 10:37:21 CEST 2009
    * WSDL URL: http://services.lindorffmatch.com/Search/Search.asmx?WSDL
    public class LindorffWS extends WrappedDocLiteralStub
    public LindorffWS()
    m_httpConnection = new OracleSOAPHTTPConnection();
    public String endpoint = "http://services.lindorffmatch.com/Search/Search.asmx";
    private OracleSOAPHTTPConnection m_httpConnection = null;
    private SOAPMappingRegistry m_smr = null;
    public Element XmlFulltextOperator(String xmlString) throws Exception
    URL endpointURL = new URL(endpoint);
    Envelope requestEnv = new Envelope();
    Body requestBody = new Body();
    Vector requestBodyEntries = new Vector();
    String wrappingName = "XmlFulltextOperator";
    String targetNamespace = "http://services.lindorffmatch.com/search";
    Vector requestData = new Vector();
    requestData.add(new Object[] {"xmlString", xmlString});
    requestBodyEntries.addElement(toElement(wrappingName, targetNamespace, requestData));
    requestBody.setBodyEntries(requestBodyEntries);
    requestEnv.setBody(requestBody);
    Message msg = new Message();
    msg.setSOAPTransport(m_httpConnection);
    msg.send(endpointURL, "http://services.lindorffmatch.com/search/XmlFulltextOperator", requestEnv);
    Envelope responseEnv = msg.receiveEnvelope();
    Body responseBody = responseEnv.getBody();
    Vector responseData = responseBody.getBodyEntries();
    return (Element)fromElement((Element)responseData.elementAt(0), org.w3c.dom.Element.class);
    _______________________________________________________________________________________________________________________________

    Hi,
    wrong forum. If this is a problem related to the use of OA framework, please use the OA framework forum here on OTN
    Frank

  • Jakarta Tomcat error - 'Package MyUtils not found in import.'

    Jakarta Tomcat - 'Package MyUtils not found in import.'
    Can anyone help with this error please?
    My JSP code P6.jsp contains :-
    <%@page import="MyUtils.* ,java.util.*"%>
    But, the package MyUtils with class file NameStore.class is not found.
    The actual error at JSP translation time is:-
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
    C:\jdk1.4\jakarta-tomcat-4.0.1\work\Standalone\localhost\lab06\P6$jsp.java:3: Package MyUtils not found in import.
    import MyUtils.* ;
    ^
    My directory structure is listed below:-
    %CATALINA_HOME/webapps/lab06( contains P6.jsp)/web-inf/classes/MyUtils/NameStore.class
    Can anyone help please?
    Thanks,John Withington

    put your package in your WEB-INF directory!

  • Error with  org/apache/axis/AxisFault

    Hello Hi:
    I have server over Linux Red Hat Enterprise. and other server in local the if connect with the other server the servers are weblogic but need a create a webservice the that need the .jar axis.jar but not find the class AxisFault, and generate the next error.
    java.lang.NoClassDefFoundError: org/apache/axis/AxisFault
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at com.saident.bea.es.epcps.EPCWebServiceCaller.checkIt(EPCWebServiceCaller.java:64)
         at jsp_servlet._custom._corp.__imprimirepc._jspService(__imprimirepc.java:205)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.hphis.corp.hibernate.filter.HibernateSessionFilter.procesarPeticion(HibernateSessionFilter.java:203)
         at com.hphis.corp.hibernate.filter.HibernateSessionFilter.sessionPerRequest(HibernateSessionFilter.java:181)
         at com.hphis.corp.hibernate.filter.HibernateSessionFilter.doFilter(HibernateSessionFilter.java:65)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.hphis.corp.filters.login.LoginFilter.doFilter(LoginFilter.java:259)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.hphis.corp.filters.logueo.LogueoFilter.doFilter(LogueoFilter.java:66)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.hphis.corp.filters.gzip.GZipFilter.doFilter(GZipFilter.java:56)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3212)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1983)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1890)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1344)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

    Hi,
    Unable to access workspace. I have tried reconfiguring web server also it has not worked.
    If i try the work space using URL "http://<Server Name>:19000/workspace/" it throws the following error:-
    ==================
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
    ===================
    Can you please advise
    Regards,
    Ramachandran J

  • Org.apache.axis.enum.Style.ENCODED

    Write a java program using JDK1.5 which should use �enum� as variable
    I am getting a big Problem while using org.apache.axis.enum.Style.ENCODED constant in the program it is giving error while compiling that
    enum is the keyword U can not use it as identifier
    Give me the suggestion Immediatel

    rename all references in your generated code from
    org.apache.axis.enum
    to
    org.apache.axis.constants
    The types have been replicated in the constants package.
    Now if I could only get my damn eclipse soap tool to stop using org.apache.axis.enum

  • Help - Tomcat - Package not found in import

    Error: 500
    Location: /htmltest/login.jsp
    Internal Servlet Error:
    org.apache.jasper.JasperException: Unable to compile C:\jdk1.3.1\jakarta-tomcat-3.3a\work\DEFAULT\htmltest\login_1.java:5: Package usingjsp not found in import.
    import usingjsp.*;
    ^
    1 error
         at org.apache.tomcat.facade.JasperLiaison.javac(Unknown Source)
         at org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown Source)
         at org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown Source)
         at org.apache.tomcat.core.ContextManager.processRequest(Unknown Source)
         at org.apache.tomcat.core.ContextManager.internalService(Unknown Source)
         at org.apache.tomcat.core.ContextManager.service(Unknown Source)
         at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown Source)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:484)
    Above is the error I encounter when running my JSP and Servlets combination under Tomcat3.3a
    Can anyone pls tell me basically what error is that?
    The path for my package "usingjsp" is c:\jdk13~1.1\jakart~1.3a\webapps\examples\web-inf\classes\usingjsp
    I put my package under that directory because to my knowledge Tomcat requires all servlet to be put under there by default.
    The path for my JSP file is c:\jdk13~1.1\jakart~1.3a\webapps\htmltest.
    NOTE: I had modified the XML file.
    Under that folder there is 2 classes named LoginServlet and UserDataTable.
    Below are my codes:
    1. logintest.html
    <html>
    <body>
    <form action="login.jsp" method="post">
    <table>
    <tr><td>Username: <td><input type="text" name="username">
    <tr><td>Password: <td><input type="password" name="password">
    </table>
    <input type="submit" value="SUBMIT">
    </form>
    </body>
    </html>
    2. login.jsp
    <%@ page language="java" import="java.util.*" %>
    <%@ page import="usingjsp.*" %>
    <html>
    <body bgcolor="#a3355f">
    <%
         String userName = request.getParameter("username");
         String password = request.getParameter("password");
         String userKey = UserDataTable.createUserData();
         Hashtable userData = UserDataTable.getUserData(userKey);
         userData.put("username", userName);
    %>
    <form action="/examples/servlet/LoginServlet" method="post">
    <input type="hidden" name="userKey" value="<%userKey%>">
    <input type="submit" value="SUBMIT">     
    </form>
    </body>
    </html>
    3. LoginServlet.java
    //package usingjsp;
    import javax.servlet.*;
    import java.io.*;
    import java.util.*;
    public class LoginServlet extends GenericServlet {
         public void service(ServletRequest req, ServletResponse res) throws IOException {
              res.setContentType("text/html");
              PrintWriter out = res.getWriter();
              String userKey = req.getParameter("userKey");
              Hashtable userData = new Hashtable();
              UserDataTable temp = new UserDataTable();
              userData = temp.getUserData(userKey);
              if (userData == null) {
                   out.println("<html>");
                   out.println("<body>");
                   out.println("<h1>SORRY<h1>");
                   out.println("</body>");
                   out.println("</html>");
                   return;
              String userName = (String)userData.get("username");
                   out.println("<html>");
                   out.println("<body>");
                   out.println("<h1>" + userName + "<h1>");
                   out.println("</body>");
                   out.println("</html>");
    4. UserDataTable.java
    //package usingjsp;
    import java.util.*;
    public class UserDataTable {
         protected static Hashtable userData = new Hashtable();
         protected static Random keyGenerator = new Random();
         public static String createUserData() {
              String userKey = "" + keyGenerator.nextLong();
              userData.put(userKey, new Hashtable());
              return userKey;
         public static Hashtable getUserData(String userKey) {
              if (userKey == null) return null;
                   return (Hashtable) userData.get(userKey);
         public static void clearUserData(String userKey) {
              if (userKey == null) return;
                   userData.remove(userKey);
    }Pls let me know if you need more info. Thanks!

    1. login.jsp
    <%@ page language="java" import="java.util.*" %>
    <%@ page import="classes.servlets.*" %>
    <html>
    <body bgcolor="#a3355f">
    <%
         String userName = request.getParameter("username");
         String password = request.getParameter("password");
         String userKey = UserDataTable.createUserData();
         Hashtable userData = UserDataTable.getUserData(userKey);
         userData.put("username", userName);
    %>
    <form action="/classes/servlet/LoginServlet" method="post">
    <input type="hidden" name="userKey" value="<%userKey%>">
    <input type="submit" value="SUBMIT">     
    </form>
    </body>
    </html>
    2. UserDataTable.java
    package classes.servlets;
    import java.util.*;
    public class UserDataTable {
         protected static Hashtable userData = new Hashtable();
         protected static Random keyGenerator = new Random();
         public static String createUserData() {
              String userKey = "" + keyGenerator.nextLong();
              userData.put(userKey, new Hashtable());
              return userKey;
         public static Hashtable getUserData(String userKey) {
              if (userKey == null) return null;
                   return (Hashtable) userData.get(userKey);
         public static void clearUserData(String userKey) {
              if (userKey == null) return;
                   userData.remove(userKey);
    3. LoginServlet.java
    package classes.servlets;
    import javax.servlet.*;
    import java.io.*;
    import java.util.*;
    public class LoginServlet extends GenericServlet {
         public void service(ServletRequest req, ServletResponse res) throws IOException {
              res.setContentType("text/html");
              PrintWriter out = res.getWriter();
              String userKey = req.getParameter("userKey");
              Hashtable userData = new Hashtable();
              UserDataTable temp = new UserDataTable();
              userData = temp.getUserData(userKey);
              if (userData == null) {
                   out.println("<html>");
                   out.println("<body>");
                   out.println("<h1>SORRY<h1>");
                   out.println("</body>");
                   out.println("</html>");
                   return;
              String userName = (String)userData.get("username");
                   out.println("<html>");
                   out.println("<body>");
                   out.println("<h1>" + userName + "<h1>");
                   out.println("</body>");
                   out.println("</html>");
    }I had added CLASSPATH=c:\jdk13~1.1\jakart~1.3a\webapps\internet\web-inf into autoexec.bat.
    I had been able to compile UserDataTable.java and LoginServlet.java.
    Path for UserDataTable = c:\jdk13~1.1\jakart~1.3a\webapps\internet\web-inf\classes\servlets\UserDataTable.java
    Path for LoginServlet = c:\jdk13~1.1\jakart~1.3a\webapps\internet\web-inf\classes\servlets\UserDataTable.java
    server.xml<?xml version="1.0" encoding="ISO-8859-1"?>
    <Server>
        <!-- You can add a "home" attribute to represent the "base" for
             all relative paths. If none is set, the TOMCAT_HOME property
             will be used, and if not set "." will be used.
             webapps/, work/ and log/ will be relative to this ( unless
             set explicitely to absolute paths ).
          -->
        <ContextManager workDir="work" >
          <!-- ==================== Global modules ==================== -->
            <LoaderInterceptor11  useApplicationLoader="true" />
            <TrustedLoader />
            <LogSetter name="tc_log" timestamps="true"
                 verbosityLevel="INFORMATION"  />
            <LogEvents enabled="false" />
            <!-- Backward compat: read the Context declarations from server.xml-->
            <ContextXmlReader config="conf/server.xml" />
            <!-- Separated Context -->
            <ContextXmlReader config="conf/apps.xml" />
            <AutoDeploy source="modules" target="modules"
                  redeploy="true" />
            <AutoWebApp dir="modules" host="DEFAULT" trusted="true"/>
            <AutoDeploy source="webapps" target="webapps" />
            <AutoWebApp dir="webapps" host="DEFAULT" />
            <PolicyLoader securityManagerClass="java.lang.SecurityManager"
                    policyFile="conf/tomcat.policy" />
            <SimpleMapper1 />
            <SessionExpirer checkInterval="60" />
            <!-- For development you can use randomClass="java.util.Random" -->
            <SessionIdGenerator randomClass="java.security.SecureRandom"
                                randomFile="/dev/urandom" />
            <!-- ========== context processing modules ========== -->
            <!-- This will be the "default" profile
                 ( all except the "global" modules can be set per context )
              -->
            <LogSetter name="servlet_log"
                 timestamps="true"
                 verbosityLevel = "INFORMATION"
                 path="logs/servlet-${yyyyMMdd}.log"
                 />
            <LogSetter  name="JASPER_LOG"
                 timestamps="true"
                 path="logs/jasper-${yyyyMMdd}.log"
                 verbosityLevel = "INFORMATION"  />
            <WebXmlReader validate="true" />
            <ErrorHandler showDebugInfo="true" />
            <WorkDirSetup cleanWorkDir="false" />
            <Jdk12Interceptor />
            <!-- Non-standard invoker, for backward compat. ( /servlet/* ) -->
            <InvokerInterceptor />
            <!-- you can add javaCompiler="jikes" -->
            <JspInterceptor keepGenerated="true"
                   largeFile="false"
                   useJspServlet="false"
                   />
            <StaticInterceptor listings="true" />
            <ReloadInterceptor fullReload="true" />
            <SimpleSessionStore maxActiveSessions="-1" />
            <AccessInterceptor />
            <CredentialsInterceptor />
            <SimpleRealm  filename="conf/users/global-users.xml" />
           <!-- UnComment the following and comment out the
                above to get a JDBC realm.
                Other options for driverName:
                  driverName="oracle.jdbc.driver.OracleDriver"
                  connectionURL="jdbc:oracle:thin:@ntserver:1521:ORCL"
                  connectionName="scott"
                  connectionPassword="tiger"
                  driverName="org.gjt.mm.mysql.Driver"
                  connectionURL="jdbc:mysql://localhost/authority"
                  connectionName="test"
                  connectionPassword="test"
                "connectionName" and "connectionPassword" are optional.
            -->
            <!--
            <JDBCRealm
                debug="99"
             driverName="sun.jdbc.odbc.JdbcOdbcDriver"
             connectionURL="jdbc:odbc:TOMCAT"
             userTable="users"
                userNameCol="user_name"
                userCredCol="user_pass"
             userRoleTable="user_roles"
                roleNameCol="role_name" />
            -->
            <LoadOnStartupInterceptor />
            <Servlet22Interceptor />
            <!-- Tag pooling support.
                 To enable the reuse of tag handlers as described in
                 the JSP spec, uncomment the following.  If your pages
                 use a lot of custom tags, you should see a nice performance
                 gain.
                 Note that placing the interceptor here will enable
                 Tag pooling for all of the web applicatitions loaded -
                 this may be a bad thing if all tags are not coded to
                 handle reuse. To enable pooling only for specific web
                 applications i.e. Contexts, place the interceptor inside of
                 the Context's definition.
                 To view information about tag usage uncomment the tag
                 LogSetter. Set verbosityLevel to DEBUG to see everytime
                 a tag is obtained and released.
            -->
            <!--
            <LogSetter  name="tag_pool_log" timestamps="true"
                path="logs/tagpool-${yyyyMMdd}.log"
                verbosityLevel="INFORMATION" />
            <TagPoolManagerInterceptor />
            -->
            <!-- Request processing -->
            <DecodeInterceptor />
            <SessionId cookiesFirst="true" noCookies="false" />
            <!-- Automatic config generation
                 Set noRoot="false" if you wish to have Tomcat try to take
                   control of the external web server's root context.
                   Additonal configuration of the external web server may be
                   required for this to be successful.
                 Note: Configuration files are not written as part of the
                   default startup behvior.  Append "jkconf" to the startup
                   command to have Tomcat initialize, write the config files,
                   then exit. This may be done while Tomcat is running.
              -->
            <ApacheConfig noRoot="true" />
            <IISConfig noRoot="true" />
            <NSConfig noRoot="true" />
             <!-- Uncoment for apache-style logs
                  Attributes: logFile, flush, format
            <AccessLogInterceptor/>
              -->
          <!-- ==================== Connectors ==================== -->
           <!-- new http adapter. Attributes:
                   secure - use SSL ( https )
                   keystore, keypass - certs for SSL
                   port
                   reportedname - Server name to send back to browser
                                  by default report Tomcat Web Server ...
                                  set an empty string to avoid sending server header
            -->
            <Http10Connector   port="8080"
                      secure="false"
                      maxThreads="100"
                      maxSpareThreads="50"
                      minSpareThreads="10" />
            <!--
                Uncomment this for SSL support. You _need_ to set up a
                server certificate if you want this to work, and you
                need JSSE. See tomcat-ssl-howto.html for more detailed
                instructions.
                1. Make the JSSE jars available to Tomcat, either by making
                   them an installed extension or by adding them to the
                   Tomcat CLASSPATH.
                2. Do: keytool -genkey -alias tomcat -keyalg RSA
                   RSA is essential to work with Netscape and IIS.
                   Use "changeit" as password. ( or add keypass attribute )
                   You don't need to sign the certificate.
             -->
            <!--
            <Http10Connector  port="8443" secure="true" />
            -->
            <!--
                 JNI connector. It assumes the library is located in
                 TOMCAT_HOME/bin/native/jni_connect.[dll, nlm, so]. or in LD_LIBRARY_PATH.
                 For different paths set "nativeLibrary" parameter.
                 The JniConnector will be self-enable only if JNI mode is detected.
             -->
            <JniConnector />
            <!-- Apache AJP12 support. This is also used to shut down tomcat.
                 Parameter "address" defines network interface this Interceptor
                 "binds" to. Add it if you want to "bind" to just "127.0.0.1".
                 address="127.0.0.1"
                 Parameter "tomcatAuthentication", controls if Tomcat honors
                 ( and uses ) auth done in HTTP Server or not, when true Tomcat does
                 not use in any way auth information provided by the HTTP Server.
                 true is the default.
                 tomcatAuthentication="false"
              -->
            <Ajp12Connector      port="8007" />
            <!-- Apache AJP13 support (mod_jk)
                 Parameter "address" defines network interface this Interceptor
                 "binds" to. Add it if you want to "bind" to just "127.0.0.1".
                 address="127.0.0.1"
                 Parameter "tomcatAuthentication", controls if Tomcat honors
                 ( and uses ) auth done in HTTP Server or not, when true Tomcat does
                 not use in any way auth information provided by the HTTP Server.
                 true is the default.
                 tomcatAuthentication="false"
              -->
            <Ajp13Connector port="8009" />
          <!--
               Context definitions can be placed here ( not recommended ) or
               in separate files. The ContextXmlReader will read all context
               definitions ( you can customize the "base" filename ).
               The default is conf/apps-[name].xml.
               See conf/apps-examples.xml and conf/apps-admin.xml 
           -->
    <Context path="/internet"
    docBase="webapps/internet"
    crossContext="true"
    debug="0"
    reloadable="true"
    trusted="false" >
    </Context>
        </ContextManager>
    </Server>The directory structure is:
    <c:\>
        <jdk13~1.1>
            <jakart~1.3a>
                <webapps>
                    <internet>
                        <jsp>
                        <web-inf>
                            <classes>
                                <servlets>
                                <beans>P/S: Actually, I would want to add c:\jdk13~1.1\jakart~1.3a\webapps into CLASSPATH, so that I can use the package as internet.web-inf.classes.servlet (instead of current version of classes.servlet).
    However, the compiler would not let me compile because it says ";" expected at web-inf (I think the hyphen is not allowed). Is there any other solution?
    Thanks and sorry to bother you again!

Maybe you are looking for

  • Import JPG w/ LR. - Export it (no change at all & same colorspace) - Different image???

    As the title reads: I import a JPG with lightroom, do nothing on it. Then I export it. The output JPG colorspace is sRGB, same as input one. I do not allow the 'sharpen for screen' option in the export menu. Under preferences I do not allow auto tone

  • Attachments (SOAP-Exception)

    !! HELP !!! It is Tomcat 5.5, Axis, JUnit, Xerces, JAF I use the Stub for client, java2wsdl, wsdl2java; My servlet-client writted me: java.lang.ClassCastException: org.apache.axis.message.SOAPBodyElement at org.apache.axis.encoding.ser.JAFDataHandler

  • Select last ten records

    How can I retrieve the last 10 records in a table

  • Is there any downside to writing plain old log files?

    Hi all; We have our web & worker roles using log4net to write log files to disk. It works great where we then remote desktop in and go to the folder where they are and we've got exactly what we want - a daily log file for each worker. Is there any do

  • 10.5.2 STILL only allows one e-mail adr per OD WGM account

    I'm getting REALLY tired of Server in several areas. So much for thinking that the .2 update would solve the, ahem, undocumented features. In this case, I have one WGM account with a bazillion e-mail addresses, many addresses per domain for several d