HI guys,

 

  I am trying to deploy my app on tomcat.

 

With the basic url : 
http://localhost:8080/jcommops-ptf/WebObjects/jcommops-ptf.woa/ 
<http://localhost:8080/jcommops-ptf/WebObjects/jcommops-ptf.woa/>  , I have no 
error by empty content, here is my log in tomcat :

 

juin 17 11:55:12 JavaWebObjects[-1] DEBUG NSLog  - 
<com.webobjects.appserver._private.WOComponentDefinition> No template found for 
component Main at "null".

juin 17 11:55:12 JavaWebObjects[-1] DEBUG 
er.extensions.appserver.ERXBrowserFactory  - Factory null creating default 
browser factory. null

juin 17 11:55:12 JavaWebObjects[-1] DEBUG 
er.extensions.appserver.ERXBrowserFactory  - _incrementReferenceCounterForKey() 
- count = 1, key = Safari.533.4.5.0.Windows.{cpu = "Unknown CPU"; geckoRevision 
= "No Gecko";}

juin 17 11:55:12 JavaWebObjects[-1] DEBUG er.extensions.eof.ERXEC  - setting 
useUnlocker to true

juin 17 11:55:12 JavaWebObjects[-1] DEBUG 
er.extensions.ERXApplication.RequestHandling  - Returning, encoding: UTF-8 
response: <er.extensions.appserver.ERXResponse 
(<er.extensions.appserver.ERXResponsehttpVersion=HTTP/1.0 
headers={cache-control=[private, no-cache, no-store, must-revalidate, 
max-age=0], content-type=[text/html], date=[Thu, 17-Jun-2010 09:55:12 GMT], 
expires=[Thu, 17-Jun-2010 09:55:12 GMT], pragma=[no-cache], set-cookie=[], 
x-webobjects-loadaverage=[1]} content-length=0 cookies=() userInfo={} 
storePageInBacktrackCache=true >) status=200>

 

I don't know why my content response length is 0

 

Here is my web.xml :

 

 

 

<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web

Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>

 

<!-- This web.xml file by itself will allow you to run the corresponding

                WebObjects application in a Servlet container. If you would 
like to

                merge the WebObjects application with your existing JSP/Servlet

                application, you have to merge this web.xml with your existing 
web.xml.

                

                NOTE: This file is normally included as the template file 
'web.xml.template'.

                During the build process, the placeholders for WOROOT, 
LOCALROOT, WOAINSTALLROOT,

                WOAppMode, WOClassPath, WOApplicationClass and WOtaglib will be 
replaced

                with the appropriate values. Other parts of the template file 
may be

                customized as required.

                

                NOTE: WEBINFROOT is added to the WOClassPath at build time, but 
the replacement

                value is replaced at runtime to be the path to the WEB-INF 
directory. 

-->

 

<web-app>

                <display-name>jcommops-ptf</display-name>

                <context-param>

                               <param-name>WOJarBundle</param-name>

                               <param-value>false</param-value>

                               <description>

                                               Whether this app is a "true" 
WAR, rather than a "stub" WAR

                                               or SSDD Note that WOROOT, 
LOCALROOT, WOAINSTALLROOT,

                                               WOClassPath are ignored if this 
is true However, if this is

                                               true, WOMainBundle must be set 
to the main bundle name

                               </description>

                </context-param>

 

                <context-param>

                               <param-name>WOMainBundle</param-name>

                               <param-value>jcommops-ptf</param-value>

                               <description>

                                               Sets the name of the main 
bundle. Only used if WOJarBundle

                                               is true

                               </description>

                </context-param>

                

                

                 <context-param>

    <param-name>WOROOT</param-name>

    <param-value>C:/apple_5.4.3</param-value>

  </context-param>

 

  <!-- Indicates the root where local frameworks are installed. In Mac OS X,

       for example, these frameworks are located in the "/Library/Frameworks"

       directory; keeping in tradition, LOCALROOT is set to "/". On Windows,

       it could be "c:\Apple\Local", on Solaris, it could be "/opt/Apple/Local".

       If "-DLOCALROOT=/path/to/somewhere" is defined (in the container startup 
script,

       for example), the value indicated here is ignored. -->

  <context-param>

    <param-name>LOCALROOT</param-name>

    <param-value>C:/apple_5.4.3/Local</param-value>

  </context-param>

 

  <!-- Indicates the root where WebObjects applications are installed. In Mac 
OS X

       deployment, for example, WO applications are usually deployed in the

       "/Library/WebObjects/Applications" directory and WOAINSTALLROOT is set to

       "/Library/WebObjects/Applications". If 
"-DWOAINSTALLROOT=/path/to/somewhere"

       is defined (in the container startup script, for example), the value

       indicated here is ignored. -->

  <context-param>

    <param-name>WOAINSTALLROOT</param-name>

    <param-value>C:/apple_5.4.3/Applications</param-value>

  </context-param>

 

                

                 <context-param>

    <param-name>WOClasspath</param-name>

    <param-value>

WEBINFROOT/jcommops-ptf.woa/Contents/Resources/Java/jcommops-ptf.jar

</param-value>

  </context-param>

                

                

                

                

                

 

                <!-- Indicates if application is development or deployment 
mode. In development

                               mode, images are vended by the application 
directly from frameworks. In

                               deployment mode, images are vended by the 
webserver. -->

                <context-param>

                               <param-name>WOAppMode</param-name>

                               <param-value>development</param-value>

                </context-param>

 

                <!-- Class name of the WOApplication subclass that defines the

                               WebObjects application. -->

                <context-param>

                               <param-name>WOApplicationClass</param-name>

                               
<param-value>org.jcommops.googleEarth.ptf.Application</param-value>

                </context-param>

 

                <!-- The WebObjects Servlet that interfaces between the Servlet 
container

                               world and the WebObjects world. -->

                <servlet>

                               <servlet-name>WOServletAdaptor</servlet-name>

                               
<servlet-class>er.extensions.jspservlet.ERXServletAdaptor</servlet-class>

                               <load-on-startup>5</load-on-startup>

                </servlet>

 

                <!-- URLs starting with 'WebObjects' use the WebObjects Servlet 
adaptor. -->

                <servlet-mapping>

                               <servlet-name>WOServletAdaptor</servlet-name>

                               <url-pattern>/WebObjects/*</url-pattern>

                </servlet-mapping>

                

</web-app>

 

 

Any help really well appreciated !

 

 

Laurent Cros

Software engineer

Société CLS
8-10rue Hermès, Parc technologique du canal
31560 Ramonville Saint-Agne France
Tel. +33 5 61 393 701
Fax +33 5 61 394 750

 

 

 

<<image001.gif>>

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to