tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Turner, John" <JTur...@AAS.com>
Subject RE: Problem compiling JSP in Tomcat
Date Fri, 20 Sep 2002 11:59:09 GMT

There is a specific process to use when an app is developed with OC4J and
then moved to Tomcat.  Developing with OC4J is not transparently portable to
Tomcat.

Check the Oracle JDeveloper site for the documentation on what to do when
you want to deploy an app developed within JDeveloper/OC4J to Tomcat...it's
there, but I don't have the URL bookmarked.

This may or may not resolve your errors, but I can tell you that it will be
easier to debug your errors if you verify first that you've followed
Oracle's recommended steps for deploying to Tomcat.

John


> -----Original Message-----
> From: Giancarlo Gallardo [mailto:ggallardo@vworld-tech.com]
> Sent: Thursday, September 19, 2002 6:16 PM
> To: tomcat-user@jakarta.apache.org
> Subject: Problem compiling JSP in Tomcat
> Importance: High
> 
> 
> Hi guys!
> I was working developing an intranet application using 
> JDeveloper 9.0.2,
> everything worked fine at testing (It works with the OC4J application
> server). Now I've tried to move the app to Tomcat 4 and 
> everything goes
> absolutely wrong!!!!! Servlets work fine, but JSP's don't! 
> They can't even
> compile!
> I have no clue about it.  Now, I'm trying to compile the 
> JSP's on Forte4j
> (CE 4 but using JDK 1.3.1, and an internal Tomcat server) and 
> I get this
> error:
> 
> JSP/Administracion/MisProyectos.jsp [-1:-1]
> Errors compiling MisProyectos.
> 
> 
> How is possible to get a position -1:-1 for an error?????
> Here is the header of MisProyectos.jsp
> 
> <%@ page contentType="text/html"
> import="org.dai.infogeneral.databean.*,java.util.*,java.net.*,
> org.dai.comun.
> *" %>
> <%@ taglib uri="/WEB-INF/webdai.tld" prefix="webdai"%>
> 
> when I get out the taglib (line 2), It compiles, but It's 
> useless without
> the tags!!!(obviously tags inside don't work)
> My Web.xml file is alright I think, just like the webdai.tld so I'm in
> really big problems!!! Any help please!!!!!
> 
> web.xml (reduced!)
> 
> <?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>
>   <servlet>
>     <servlet-name>administracion</servlet-name>
> 
> <servlet-class>org.dai.administracion.accion.Administracion</s
> ervlet-class>
>     <load-on-startup>10</load-on-startup>
>   </servlet>
>   <session-config>
>     <session-timeout>30</session-timeout>
>   </session-config>
>   <welcome-file-list>
>     <welcome-file>index.jsp</welcome-file>
>   </welcome-file-list>
>   <taglib>
>     <taglib-uri>/WEB-INF/webdai.tld</taglib-uri>
>     <taglib-location>/WEB-INF/webdai.tld</taglib-location>
>   </taglib>
> </web-app>
> 
> and my webdai.tld (reduced also)
> 
> <?xml version="1.0" encoding="UTF-8" ?>
> <!DOCTYPE taglib
>         PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag 
> Library 1.2//EN"
>         "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
> <taglib>
>     <tlib-version>1.0</tlib-version>
>     <jsp-version>1.2</jsp-version>
>     <short-name>webdai</short-name>
>     <uri>/WEB-INF/webdai.tld</uri>
>     <display-name>webdai</display-name>
>     <description>webdai taglib</description>
>    <tag>
>       <name>errores</name>
>         <tag-class>org.dai.comun.tags.TagErrores</tag-class>
>         <body-content>EMPTY</body-content>
>         <description>Maneja los errores capturados</description>
>    </tag>
> </taglib>
> 
> 
> 
> thanks in advance!!!
> 
> regards
> gianca
> 
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message