Just started from beginning with trying the servlet example and ant from
within eclipse.

First there was a problem with missing jar files for ant and missing jar
file in my build.xml.

Second there was a problem with eclipse java.home configuration. On Windows
I had
to add a directory C:/Program Files/Java/lib and put tools.jar into it. On
Mac OS X this
was not necessary.

The example is working!

Right now testing my application the tomcat does not come up correctly, I
think. Got debug messages like

[cactus] Checking if server is up ...
[cactus] Failed to connect to
http://localhost:8080/dpst-cactified/ServletRedirector?Cactus_Service=RUN_TE
ST (null)

and a bind exception

[cactus] -----------------------------------------------------------------
   [cactus] Running tests against Tomcat 5.0.28
   [cactus]
-----------------------------------------------------------------
   [cactus] Deleting 765 files from
C:\DOCUME~1\DPEE105\LOCALS~1\Temp\cactus\tomcat5x
   [cactus] Deleted 125 directories from
C:\DOCUME~1\DPEE105\LOCALS~1\Temp\cactus\tomcat5x
   [cactus] log4j:WARN No appenders could be found for logger
(org.apache.catalina.startup.Embedded).
   [cactus] log4j:WARN Please initialize the log4j system properly.
   [cactus] StandardServer.await: create[8005]: java.net.BindException:
Address already in use: JVM_Bind
   [cactus] java.net.BindException: Address already in use: JVM_Bind
   [cactus] at java.net.PlainSocketImpl.socketBind(Native Method)
   [cactus] at java.net.PlainSocketImpl.bind(Unknown Source)
   [cactus] at java.net.ServerSocket.bind(Unknown Source)
   [cactus] at java.net.ServerSocket.<init>(Unknown Source)
   [cactus] at
org.apache.catalina.core.StandardServer.await(StandardServer.java:496)
   [cactus] at org.apache.catalina.startup.Catalina.await(Catalina.java:619)
   [cactus] at org.apache.catalina.startup.Catalina.start(Catalina.java:579)
   [cactus] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   [cactus] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   [cactus] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
   [cactus] at java.lang.reflect.Method.invoke(Unknown Source)
   [cactus] at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
   [cactus] at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)

-----Original Message-----
From: Felgenhauer, Florian / DPEE extern
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 02, 2004 2:17 PM
To: '[EMAIL PROTECTED]'
Subject: Parsing of web.xml deployment descriptor failed

Even with this simple descriptor
 
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd";>
 
<web-app>
</web-app>
 
I got 
 
Parsing of web.xml deployment descriptor failed
 
Thanks in advance for any help

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to