From Tomcat to Iplanet6

Hello All,
To start with my problem is, I cannot get my servlet ("helloworld" servlet not a hi-fi one) to work on Iplanet. Even though I could make it to run on Tomcat5.0.12. This is what I did in tomcat :-
I made a simple "HelloWorld.java" file which is a servlet. Compiled it and placed it in
"C:\jakarta-tomcat-5.0.12\webapps\ROOT\WEB-INF\classes" directory.
And I could access my servlet with an URL, "http:\\localhost\servlet\HelloWorld".
I was happy. So I took the next step, as I had to develop the application which is supposed to run on Iplanet. I thought of doing the same with Iplanet.
So I read the documentation on Iplanet. Where it says, I can deploy my web apps through WAR filesand its way of doing things. So
I turned back to my PC, created a directory heirarchy with files as
C:
..|----HelloWorld
...........|-------------index.html (a simple file with a welcome msg)
...........|
...........|-------------WEB-INF(directory)
...................................|------------web.xml(file --- I will give the contents of my web.xml below)
...................................|------------classes(dir)
...................................|...................|---------------HelloWorld.class
...................................|------------lib(dir - empty dir, but I still made it to stick to principles)
The contents of my "web.xml" file are :-
<?xml version = '1.0' encoding = 'windows-1252'?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2
ee/dtds/web-app_2_2.dtd">
<web-app>
.....<servlet>
............<servlet-name>HelloWorld</servlet-name>
............<servlet-class>HelloWorld</servlet-class>
.....</servlet>
.....<servlet-mapping>
..............<servlet-name>HelloWorld</servlet-name>
..............<url-pattern>/HelloWorld</url-pattern>
.....</servlet-mapping>
.....<welcome-file-list>
..............<welcome-file>index.html</welcome-file>
.....</welcome-file-list>
</web-app>
Next I made a war file of all these files, so that I could get it to Iplanet and deploy it on Iplanet.
So the first thing I did on iplanet was create a test directory, "samalTst1" under which I deployed the war file. And it infact gave me a msg saying webapp successfully deployed. And I did check the contents of "samalTst1" directory. It had the same directory structure as I have given above with one more directory added parellelly to "WEB-INF", called "META-INF" ,which I think is normal as the jar application does it for you.
Now after deploying my war file when I try to access the servlet on Iplanet by prividing this URL,
"http://myunixbox/samalTst1/HelloWorld" -> it says file not found.
where as if I just say ->
"http://myunixbox/samalTst1" -> it displays the welcome file i.e. index.html.
neither does this url work,
"http://myunixbox/HelloWorld" -> it also says file not found.
-----------Now my questions are
1. Where am I going wrong or what am I missing ? (I checked the web-apps.xml file, there is an entry for the war I am trying to deploy and the URI is set to "samalTst1", So is my naming convention wrong, should I name the directory in unix where I am trying to deploy my webapp also "HelloWorld", well I tried that, that also didn't help.)
2. Is there any online document which would guide me through deploying my first test servlet on Iplanet?
( Because the accompanying Iplanet documentation is not very helpful , in the sense, they just come up with magic words in there documentation which I totally could not comprehend.)
Any help or suggestion would be greatly appreciated.
-Samal:)

Folks,
......... I wanted to add one more thing,. That is I could get the servlet to work in the default virtual (legacy) server in Iplanet. So if you are suggesting me to try that option, I have already tried that:). I wanted to know how I could get it work with virrtual webservers.
-Samal

Similar Messages

  • Access EJB 3.0 (deployed on Glassfish v3) from Tomcat 6.0.20 (Netbeans 6.8)

    Hi all,
    I'm a newbie (of java EE and Sun forum).
    I have a problem.
    I followed this tutorial: http://technology.amis.nl/blog/1368/connecting-to-an-ejb-30-remote-sessionbean-from-tomcat
    using Netbeans 6.8, Tomcat 6.0.20, Glassfish v3.
    The deploy of EJB on Glassfish is OK.
    The deploy of WebApp on Tomcat is OK.
    But when I access to the servlet using the browser I receive this exception.
    javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.enterprise.naming.SerialInitContextFactory [Root exception is java.lang.ClassNotFoundException: com.sun.enterprise.naming.SerialInitContextFactory]
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.<init>(InitialContext.java:197)
    at web.MyServlet.processRequest(MyServlet.java:51)
    at web.MyServlet.doGet(MyServlet.java:75)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    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:293)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
    at java.lang.Thread.run(Thread.java:619)
    I know that I must copy *.jar files in Tomcat dir and App libraries (https://glassfish.dev.java.net/javaee5/ejb/EJB_FAQ.html#Step_3._Include_appserv-rt.jar_and), but it doesn't work.
    What are my mistakes?
    Thank you for your help.
    Servlet code:
    package web;
    import java.io.IOException;
    import java.io.PrintWriter;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import java.util.Properties;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import testbean.MySessionBeanRemote;
    * @author Stefano
    public class MyServlet extends HttpServlet {
    * Processes requests for both HTTP <code>GET</code> and <code>POST</code> methods.
    * @param request servlet request
    * @param response servlet response
    * @throws ServletException if a servlet-specific error occurs
    * @throws IOException if an I/O error occurs
    protected void processRequest(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    response.setContentType("text/html;charset=UTF-8");
    PrintWriter out = response.getWriter();
    Properties props = new Properties();
    props.setProperty("java.naming.factory.initial", "com.sun.enterprise.naming.SerialInitContextFactory");
    props.setProperty("java.naming.factory.url.pkgs", "com.sun.enterprise.naming");
    props.setProperty("java.naming.factory.state", "com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl");
    props.setProperty("org.omg.CORBA.ORBInitialHost", "localhost");
    props.setProperty("org.omg.CORBA.ORBInitialPort", "3700");
    try {
    out.println("<html>");
    out.println("<head>");
    out.println("<title>Servlet MyServlet</title>");
    out.println("</head>");
    out.println("<body>");
    out.println(MySessionBeanRemote.class.getName());
    try {
    InitialContext ic = new InitialContext(props);
    MySessionBeanRemote mySessionRemote = (MySessionBeanRemote) ic.lookup("pippo");
    out.println(mySessionRemote.getOK());
    } catch (NamingException ex) {
    ex.printStackTrace();
    out.println("</body>");
    out.println("</html>");
    } finally {
    out.close();

    Yes, I did.
    I'm not sure about the right actions to do.
    For example: the Glassfish FAQ told me to add gf-client*.jar to the Tomcat folder, not appserv-rt.jar , with v3.
    I tried with both files. I restarted Tomcat, but nothing work :-(

  • Problems moving app from tomcat 321 to 4.0

    I have serious problems moving an old app from tomcat 321 to 4.0. I tried just moving the entire webapps/<myApp> to the new server, and also using a war-file, but I get a message saying that one of my Beans doesn't exist.
    Its a bean in the /WEB-INF/classes subdir, so its in an annonymous package. The jsp-page accessing it uses the
    <jsp:useBean id="dateBean" class="DateBean" scope="session" />
    tag.
    Error message from jsp-page says: org.apache.jsp.DateBean not found.
    Seems my tomcat4 doesn�t use the web-inf/classes in its classpath???
    regards
    Markus

    I don't believe the current Servlet specs allow for anonymous packages. Try moving your class into its own package (under WEB-INF/classes/packagename/) and see if that fixes the problem. Also be sure to change the <jsp:useBean> tag to give the full classname in the class attribute.

  • How to call Sun server from Tomcat

    Hi
    I have EJB running on SUN J2EE server on different machine. I want to access EJB from Tomcat running on my machine through JSP page.
    Properties p = new Properties();
    p.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.cosnaming.CNCtxFactory");
         p.put(Context.PROVIDER_URL, "iiop://remote_machine:3700#ejb/ConnEJBBean");
    Context ctx = new InitialContext(p);
    Object objRef = ctx.lookup("ejb/ConnEJBBean");
    %>
    objRef type is: <%=objRef.getClass().getName()%>
    <%
    // Do something with object reference...
    ConnEJBRemoteHome conEjbRemoteHome = (ConnEJBRemoteHome)PortableRemoteObject.narrow(objRef, ConnEJBRemoteHome.class);
    ConnEJBRemote myConEjb = conEjbRemoteHome.create();
    %>
    This call rerurn an object of com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1
    althought I am expecting of conEjbRemoteHome Stub. Thus it throwas error on line:
    ConnEJBRemoteHome conEjbRemoteHome = (ConnEJBRemoteHome)PortableRemoteObject.narrow(objRef, ConnEJBRemoteHome.class);
    Which throuws an exception:
    java.lang.ClassCastException at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:293) at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:134)
    ANy help would be great...
    Thanks in advance
    Bhuwan

    Couple of suggestions. First double-check that you actually have the RMI-IIOP stubs. Which version of SUN Appserver are you using. With versions 8.x or later, there are no RMI-IIOP stubs generated by default. You'd need to explicitly request that they be generated during deployment of the ejb app ( e.g. by setting the --generatermistubs option when running asadmin deploy).  
    Also double-check that the stubs are indeed visible within the classpath of your web application. The most common reason for the ClassCastException during PortableRemoteObject.narrow is that the stubs were not found.
    --ken                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Problem loading applet from tomcat

    I am facing a problem loading the batik applet from tomcat. I have placed all the jar files of batik in ROOT directory in tomcat. Along with the folder containing the batik applet. Still i receive the following exception when trying to load the html page containing batik applet.
    Applet tag in html page is:
    <applet codebase = "." code="batik_applet.BatikApplet.class" name="myApplet" width="1600" height="1200" hspace="0" vspace="0" align="middle" archive="batik-swing.jar,batik-gvt.jar,batik-bridge.jar,xml-apis-ext.jar,batik-css.jar,batik-util.jar,batik-dom.jar,batik-svg-dom.jar,batik-anim.jar,batik-awt-util.jar,batik-codec.jar,batik-ext.jar,batik-extension.jar,batik-gui-util.jar,batik-parser.jar,batik-script.jar,batik-svggen.jar,batik-transcoder.jar,batik-xml.jar,js.jar,pdf-transcoder.jar,xalan-2.6.0.jar,xerces_2_5_0.jar,xml-apis.jar">
    </applet>
    I already have a folder named batik_applet containing BatikApplet.class in the ROOT directory.
    ========Exception===========
    network: Connecting http://localhost:8080/servlet/batik_applet/BatikApplet.class with proxy=DIRECT
    network: Connecting http://localhost:8080/servlet/batik_applet/BatikApplet.class with cookie "JSESSIONID=1A75299B77372108560B4DF8DC65A3A6"
    network: Connecting http://localhost:8080/servlet/batik_applet/BatikApplet/class.class with proxy=DIRECT
    network: Connecting http://localhost:8080/servlet/batik_applet/BatikApplet/class.class with cookie "JSESSIONID=1A75299B77372108560B4DF8DC65A3A6"
    load: class batik_applet.BatikApplet.class not found.
    java.lang.ClassNotFoundException: batik_applet.BatikApplet.class
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 more
    basic: Exception: java.lang.ClassNotFoundException: batik_applet.BatikApplet.class
    Any help would be appreciated.

    Assuming that your applet is not in a jar file (don't see a value for archive)
    you have a file callsed ProcessStatus.class in a folder WEB-INF\classes relative to
    the location of the jsp file.
    So if the jsp file is in
    myJSPFileFolder
    the class should be in:
    myJSPFileFolder\WEB-INF\classes
    If you want to see when the jre is trying to load and where it it trying to load it from you
    can inspect a full trace, to turn the full trace on (windows) you can start the java console, to be found here:
    C:\Program Files\Java\j2re1.4...\bin\jpicpl32.exe
    In the advanced tab you can fill in something for runtime parameters fill in this:
    -Djavaplugin.trace=true -Djavaplugin.trace.option=basic|net|security|ext|liveconnect
    if you cannot start the java console check here:
    C:\Documents and Settings\userName\Application Data\Sun\Java\Deployment\deployment.properties
    I think for linux this is somewhere in youruserdir/java (hidden directory)
    add or change the following line:
    javaplugin.jre.params=-Djavaplugin.trace\=true -Djavaplugin.trace.option\=basic|net|security|ext|liveconnect
    for 1.5:
    deployment.javapi.jre.1.5.0.args=-Djavaplugin.trace\=true -Djavaplugin.trace.option\=basic|net|security|ext|liveconnect
    The trace is here:
    C:\Documents and Settings\your user\Application Data\Sun\Java\Deployment\log\plugin...log
    I think for linux this is somewhere in youruserdir/java (hidden directory)
    The trace should show something like :
    Caused by: java.io.FileNotFoundException: http://server/location/filename.class (The system cannot find the path specified)

  • How to download midlet in SDK from tomcat server on localhost

    how to download midlet OVER THE AIR in Java ME SDK 3 from tomcat server running on localhost
    THANKS!

    Hi,
    The most important thing is that you need to ensure that WebLogic is start the Java command with debugging options. This is in the JDev documentation in the topic "Starting a Java Process in Debug Mode".
    If you have JSP's and servlets you have other steps as well. I have included the generic steps for any application server. We have plans to post a 'How to remote debug JSP's deployed on Weblogic' in the near future. Keep posted.
    1. You need to replace WebLogic's JSP engine with OJSP and you need to
    setup debugging parameters for OJSP. This is not specifically in the JDev documentation, but you may be able to apply the information found in the topic "Remote Debugging in OC4J".
    Here are some tips:
    A. You'll probably need to specify the following jars in some WebLogic config file. The jar files are all located in <jdev_install>/lib/
    xmlparserv2.jar
    ojc.jar
    jdev-rt.jar
    ojsp.jar
    ojsputil.jar
    B. Add these jar files to the VM's classpath
    C. The OJSP class name is oracle.jsp.runtimev2.JspServlet. You will need to specify this class where you configure your JSP engine information.
    D. You need to pass the following debug parameters. Again this is set up in the app server configuration file(s):
    debu[i]Long postings are being truncated to ~1 kB at this time.

  • Upgraded from Tomcat 3.3.1 to Tomcat 4.0.4 receiving Stack

    I moved my war file into my new Tomcat 4.0.4 webapps directory since I
    need to upgrade in order to use some 'other' tags and I'm receiving
    the following stacktrace when I try to hit the first page in my
    application....
    Any ideas as to why this is occurring?
    StackTrace Below:
    Application Error
    javax.servlet.ServletException: Invalid request - request handler
    "VoyagerLogin"
    not found
    at
    com.iplanet.jato.ApplicationServletBase.onRequestHandlerNotFound(Appl
    icationServletBase.java:1153)
    at
    com.iplanet.jato.ApplicationServletBase.fireRequestHandlerNotFoundEve
    nt(ApplicationServletBase.java:977)
    at
    com.iplanet.jato.ApplicationServletBase.getViewBeanInstance(Applicati
    onServletBase.java:717)
    at
    com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationSer
    vletBase.java:429)
    at
    com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase
    .java:312)
    at
    com.iplanet.jato.ApplicationServletBase.doGet(ApplicationServletBase.
    java:282)
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:247)
    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:193)
    at
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:243)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
    .java:566)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:472)
    at
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:190)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
    .java:566)
    at
    org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve
    .java:246)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
    .java:564)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:472)
    at
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at
    org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
    2347)
    at
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:180)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
    .java:566)
    at
    org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
    rValve.java:170)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
    .java:564)
    at
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:170)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
    .java:564)
    at
    org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
    468)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
    .java:564)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:472)
    at
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:174)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
    .java:566)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:472)
    at
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at
    org.apache.catalina.connector.http.HttpProcessor.process(HttpProcesso
    r.java:1027)
    at
    org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.ja
    va:1125)
    at java.lang.Thread.run(Thread.java:536)

    There's definitely something wrong with my application directory or
    the .war file because I can run the JatoSample and the JatoTutorial
    applications fine from within Tomcat-4.0.4.....
    --- In SunONE-JATO@y..., "Craig V. Conover" <craig.conover@s...>
    wrote:
    Send me the war file with source. I'll see if I can run it on mymachine
    or figure out what the issue is.
    send to: craig.conover@s...
    craig
    chubbykidd wrote:
    Total disaster. My application will not work. I've closed all
    instances of Netscape and even logged off the SunRay I'm working on
    and I still get the same error. I then took your advice and
    downloaded
    Resin and installed it. Now when I hit the following URL...
    http://localhost:8080/Voyager/voyagermodule/VoyagerLogin I receivean
    'Application Error' page which states "Invalid request - request
    handler VoyagerLogin not found"
    I don't know what to do, I'm running out of possiblities...
    Help :-/
    --- In SunONE-JATO@y..., "Craig V. Conover" <craig.conover@s...>
    wrote:
    This will happen if the browser was already running, but you say
    you
    closed your browsers first. Make sure all instances of the browser
    are
    closed. For IE, when you launch one IE instance from another
    (Ctrl-N),
    they share the same process space.
    For Netscape, all instances always share the same process space.
    This
    includes the Mail client, so be sure all of them have been closed.
    I might suggest test running in Resin from Caucho (www.caucho.com)
    to
    make sure it's not a Tomcat bug or setup/install issue. Resin
    installs
    with just an unzip, and drop the war file in the webapps dir, and
    start
    the server.
    c
    chubbykidd wrote:
    I deleted my jakarta-tomcat-3.3.1 directory and now I'm getting a
    different error when I try to hit the first page in my
    application:
    >>>>
    The URL of my app is:
    http://localhost:8080/Voyager/voyagermodule/VoyagerLogin
    StackTrace below.... I've restarted tomcat after this stack was
    thrown
    and I've also closed my browsers and started over and I keep
    getting
    the same outcome....
    javax.servlet.ServletException: This session has timed out
    at
    com.iplanet.jato.ApplicationServletBase.onSessionTimeout(ApplicationServletBas\
    e.java:1075)
    >>>
    >>>
    at
    com.iplanet.jato.ApplicationServletBase.fireSessionTimeoutEvent(ApplicationSer\
    vletBase.java:941)
    >>>
    >>>
    at
    com.iplanet.jato.ApplicationServletBase.fireSessionEvents(ApplicationServletBa\
    se.java:649)
    >>>
    >>>
    at
    com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.\
    java:427)
    >>>
    >>>
    at
    com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase.java:312\
    >>>
    >>>
    at
    com.iplanet.jato.ApplicationServletBase.doGet(ApplicationServletBase.java:282)
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFi\
    lterChain.java:247)
    >>>
    >>>
    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChai\
    n.java:193)
    >>>
    >>>
    at
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java\
    :243)
    >>>
    >>>
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566\
    >>>
    >>>
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java\
    :190)
    >>>
    >>>
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566\
    >>>
    >>>
    at
    org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246\
    >>>
    >>>
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564\
    >>>
    >>>
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at
    org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
    at
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566\
    >>>
    >>>
    at
    org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.ja\
    va:170)
    >>>
    >>>
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564\
    >>>
    >>>
    at
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564\
    >>>
    >>>
    at
    org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564\
    >>>
    >>>
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:1\
    74)
    >>>
    >>>
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566\
    >>>
    >>>
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at
    org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:10\
    27)
    >>>
    >>>
    at
    org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
    at java.lang.Thread.run(Thread.java:536)
    [85] wb138834@s...:
    --- In SunONE-JATO@y..., Todd Fast <Todd.Fast@S...> wrote:
    This error means the page/ViewBean you requested was not found.
    What is the
    URL you are using? Also make sure everything is compiled.
    Todd
    ----- Original Message -----
    From: "chubbykidd" <bacon33@o...>
    Sent: Thursday, August 29, 2002 11:13 AM
    Subject: [SunONE-JATO] Upgraded from Tomcat 3.3.1 to Tomcat
    4.0.4
    >>>>>
    >>>>>
    >>>>>
    >>>>>
    receiving
    Stack
    I moved my war file into my new Tomcat 4.0.4 webapps directory
    since I
    need to upgrade in order to use some 'other' tags and I'm
    receiving
    the following stacktrace when I try to hit the first page in my
    application....
    Any ideas as to why this is occurring?
    StackTrace Below:
    Application Error
    javax.servlet.ServletException: Invalid request - request
    handler
    "VoyagerLogin"
    not found
    at
    com.iplanet.jato.ApplicationServletBase.onRequestHandlerNotFound(Appl
    icationServletBase.java:1153)
    at
    com.iplanet.jato.ApplicationServletBase.fireRequestHandlerNotFoundEve
    nt(ApplicationServletBase.java:977)
    at
    com.iplanet.jato.ApplicationServletBase.getViewBeanInstance(Applicati
    onServletBase.java:717)
    at
    com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationSer
    vletBase.java:429)
    at
    com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase
    .java:312)
    at
    com.iplanet.jato.ApplicationServletBase.doGet(ApplicationServletBase.
    java:282)
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:247)
    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:193)
    at
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:243)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
    .java:566)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:472)
    at
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:190)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
    .java:566)
    at
    org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve
    .java:246)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
    .java:564)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:472)
    at
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at
    org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
    2347)
    at
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:180)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
    .java:566)
    at
    org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
    rValve.java:170)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
    .java:564)
    at
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:170)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
    .java:564)
    at
    org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
    468)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
    .java:564)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:472)
    at
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:174)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
    .java:566)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:472)
    at
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at
    org.apache.catalina.connector.http.HttpProcessor.process(HttpProcesso
    r.java:1027)
    at
    org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.ja
    va:1125)
    at java.lang.Thread.run(Thread.java:536)
    To download the latest version of JATO, please visit:
    http://www.sun.com/software/download/developer/5102.html
    For more information about JATO, please visit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp
    To download the latest version of JATO, please visit:
    http://www.sun.com/software/download/developer/5102.html
    For more information about JATO, please visit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp
    To download the latest version of JATO, please visit:
    http://www.sun.com/software/download/developer/5102.html
    For more information about JATO, please visit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp

  • Migrating application from tomcat 3 to tomcat 5

    Hello everybody,
    Does anyone have information about some kind of manual or tutorial with steps to migrate applications from Tomcat 3 to Tomcat 5??
    Thanks a lot,
    Johnny

    What issues are you having? There have been some important changes between the Servlet and JSP specs between the two but most of these have been additions - nothing that will be too hard to handle.
    Does your application use a database? If so there have been configuration changes between Tomcat 3 and 5 but for that the Tomcat 5 docs are very good at telling you what you need.
    I would start by trying it and see where you get problems. I think it will be easier than you think, depending on how complicated your app is.

  • What are the steps to Migrate a Web Service from Tomcat to JBoss

    Hi,
    I am totally new to JBoss and need some help. I mostly worked on BEA and Oracle. I have a web service deployed on Tomcat that needs to be now migrated to JBoss. What are the steps in moving a web service from Tomcat to JBoss.
    Is there some step by step tutorial on developing and deploying a web service on JBoss along with sample build script.
    Any help is really appreciated.
    Thanks

    R u using axis. If you want to stick with axis and don't want to use JBossWS there is nothing else you need to do. Move all the axis to Jboss. If you plan to reimplement all ur services in JBossWS here it is:
    http://jbws.dyndns.org/mediawiki/index.php?title=Quick_Start
    http://jbws.dyndns.org/mediawiki/index.php?title=User_Guide
    Let me know if you need anything else.

  • Migrating WebServices app from Tomcat to Glassfish...

    Hello!
    I've a WebService app. which now runs on Tomcat 5.5.23 and was written using JAX-WS. I've install Sun Java System App. Server 9.0 and I intend to migrate our app. here.
    The application is delivered as a war file which I've already deployed in glassfish using admin GUI of asadmin. I can see our app. at WebApplications section but I can't see it under WebServices section, although it seems at a first view that the application works and respond to client's request.
    I'd like to ask you if I need to use a special tool for migrating our aplication or what I did is enough and there is no need for other changes.
    Thank you very much
    With best regards,
    Sorin

    If I understand correctly, you are trying to load a few properties files on WLS that is specific to an application that you are migrating from tomcat to WLS. If that is the case, then as per my understanding we have the following options:
    a. Add all the properties in a jar file and add the same to the classpath or place the same in the lib directory of the server which can be picked at the server start-up.
    b. Place the properties file in the domain home which should help.
    Refer: loading a new properties file without restarting the managed server
    c. Else place the properties files in the web-inf of the application, that should help.

  • JSPX Migration from Tomcat to OC4J

    We are migrating the web tier of our application from Tomcat 5 to OC4J 10.1.3.0.0. We are having a problem in our jspx files. The code below works in Tomcat but not in oc4j.
    <gc3:viewFieldText name="invoice/invoice_xid" valueIndicator="invoice/indicator">
    <jsp:attribute name="label">
    <x:when select="$mainNode/invoice_type = 'B'">field.invoice/bill_xid</x:when>
    <x:otherwise>field.invoice/invoice_xid</x:otherwise>
    </x:choose>
    </jsp:attribute>
    </gc3:viewFieldText>
    We are trying to dynamically set the label attribute of one of our custom tags using <jsp:attribute> and the jstl xtags. mainNode is a variable bound in the request and based on the result of the XPath expression, we want to dynamically set the label attribute. The XPath expression is correctly evaluated, however instead of passing the text within the x:when or x:otherwise to our custom tag, it just writes it out to the screen.
    If I remove the xtags from the code and hard code the label it works as shown below.
    <gc3:viewFieldText name="invoice/invoice_xid" valueIndicator="invoice/indicator">
    <jsp:attribute name="label">
    field.invoice/bill_xid
    </jsp:attribute>
    </gc3:viewFieldText>
    Let me know if you need any further information.

    Chad,
    10.1.3.0.0 was buggy.
    Try 10.1.3.1.0 or the latest: 10.1.3.2.0
    (Just a suggestion.)
    Good Luck,
    Avi.

  • From Tomcat-Apache to OC4J

    I4m migrating an application from Tomcat-Apache to OC4J. I have a problem whith a taglib in a Servlet call a JSP that use a taglib.
    In the JSP call a taglib whith:
    <%@ taglib uri="/oficios" prefix="portalOficios"%>
    <jsp:useBean id="resultado" scope="session" class="com.npevolution.util.SQLResult" />
    <portalOficios:iteracion nombres="codigo" tipo="String" group="<%= resultado%>">
    <% String campoCodProv = (String)pageContext.getAttribute("campo0");%>
    <%String campoNombProv =(String)pageContext.getAttribute("campo1");%>
    </portalOficios:iteracion>
    thank you;
    Esther

    I looked at the code after a jsp compiled to a servlet. The
    jspService method of "EditTmpForm.jsp" is about 801 KB. But for another jsp "EditOperation.jsp", the  jspService method is about 236 KB.
    Both are much greater than 64 K, but why it runs okay for "EditOperation.jsp" but gives me error for "EditTmpForm.jsp"?
    Furthermore, since the HTML form is long, so the HTML code itself is bigger than 64 K, how can you prevent your _jspService method so that is is shorter than 64K?
    Thanks for your help!
    James

  • Urgen - refer external jars from tomcat container

    Hey guys,
    can any one help me how to refer external jars from tomcat.
    In other words, one of the webapps is need external jar. However, we should not copy that jar into web-inf\lib rather we should refer that jar which is located in the same machine.
    Appreciate your help.
    Thank you,
    Prithvi.

    I am not sure if either of my suggestions will be helpful but you could put the jar files into tomcats shared\lib if that is appropriate. Another option is that you could put your jar files into some directory and then reference them in your WEB-INF\lib directories using symbolic links.

  • How to migrate application server from Tomcat to WebSphere?

    Hi,
    I installed BO XI 3.1 32 bit in environment:
    - AIX 5.3 64 bit
    - Deployed Tomcat 5.5 from installing BO
    - Oracle client 10G
    I need to migrate application server from Tomcat to WebSphere 6.1 and WebSphere 6.1 Server 32 bit in Windows platform.
    Could you someone give detail steps
    Many thanks in advance and best regards,

    I tried manually to deploy web applications, but not successful. This is my deployment step following:
    AIX 5.3: BOE XI 3.1 :
    Copy all <INSTALLDIR>/bobje/enterprise120/java/applications/  to Windows Websphere D:\BO_WAS
    WebSphere 6.1 location & IP (windows) :
    C:\Program Files\IBM\WebSphere\AppServer1\
    IP: 192.168.69.10
    Log in to WebSphere Applicaton Server Administrative http://192.168.69.10:9060/admin
    1. Under the Applications heading of the console navigation menu, click
    Enterprise Applications on the left navigational pane.
    2. Click the Install button and navigate to the location of the WAR file to
    deploy. If deploying from a remote file system, select the Remote File
    System option.
    3. Enter a context root for the WAR file (e.g. /CmcApp for CmcApp.war)
    (this format (/CmcApp) for Unix OS, have different in Windows ? Could you give me fully path?)
    and
    press the Next button, followed by Continue.
    4. In "Step 1", give a unique name for your web application and proceed to
    "Step 2".
    5. Highlight the server you created (or highlight server1 if you didn't create
    your own) from the Clusters and Servers and enable the Select
    checkbox. Proceed to "Step 3".
    6. Select the virtual host you created (or default_host if you didn't create
    your own) from the Virtual Host drop-down list. Proceed to "Step 4".
    7. Review the summary page, and press Finish when done.
    8. Click Save to Master Configuration.
    9. Click the Save link, then the Save button.
    Finally the output is not available.
    Many thanks in advance and best regards

  • How to Migrate Crystal Report Server 2008 from Tomcat to Websphere.

    Hi Experts,
    Is there any documents or notes describ how to migrate CRS2008 from Tomcat to Webshere.
    Thanks.

    Hi,
    Have a look at the Web Application Deployment guides which comes in two versions, one for Windows and one for Unix.
    You can find them at help.sap.com and they are named xi31_sp3_webappd_win_en.pdf and xi31_sp3_webappd_unix_en.pdf respectively.
    But to summarise it a bit, you will use wdeploy to manually deploy the WAR files to your existing web application server. It is not too complex, but if you are not familiar with running commands in prompt and with your web application server then I suggest that you get someone to assist you.
    Cheers,
    Josh

Maybe you are looking for

  • Report distribution/bursting error

    Hi All, Ive created a distribution.xml file and a report file test.rdf both of which were placed in the approp directory. The content of the xml file is as follows: <destinations> <!-- Generate a file for each warehouse --> <foreach> <file id="MyFile

  • No more data to read from socket only in 2nd and 3rd database

    Hi, I'm developing an application for a client with three independent login modes, each one with an independent database. I'm using the following products: Oracle 9i database (9.2.0.6.0) Oracle Content Management SDK 10g (9.0.4.0.0) Oracle Workflow (

  • How to get database server IP address?

    I have Php backend website, where i have a text area to run sql queries against underlying Oracle 10g/solaris database. I have ca 10 such Backend web sites, and 10 underlying Oracle databases for each website. Each Backend website lives different com

  • Encrypted data stream ?

    We have a bunch of data we want to send to a flash app on Pocket PC, Windows, or Mac OS X over an encrypted channel. It's binary data and we need to keep it secure. Is the flash media server good for this ? How do we get the data into the flash media

  • MacBook won't wake up, just installed lion update

    I just installed a Mountain Lion update and as it was finishing, I heard the computer make a short beeping sound and then the screen went black. I tried pressing some keys but the screen remained black, despite the power light and fan remaining on. A