Hi

This is my first mailing to this group. I have tried searching the archives before 
posting this question, but to no avail.

Environment
Java:         JDK 1.4.1
Turbine:    TDK 2.2a2
OS:           Win2K


Problem
I installed all the components needed for sample application.
Initially I got the following problem with "ant init"

BUILD FAILED
file:C:/app/tdk/webapps/newapp/WEB-INF/build/build.xml:199: Failed to copy C:\ap
p\tdk\webapps\newapp\WEB-INF\src\java\org\mycompany\newapp\om\BaseRdf.java to c:
\app\tdk\webapps\newapp\WEB-INF\build\BaseRdf.java due to null

but from some advice I got on other mailing lists, I commented out the following 
seciton from my build.xml file
<!-- 
    <format-source>
      <fileset dir="${src.dir}/${targetDirectory}">
        <include name="**/*.java"/>
      </fileset>
    </format-source>
-->

This allowed me to continue and the application was created properly.

I started up the Tomcat Server and hit the following URL
http://localhost:8009/newapp/servlet/newapp
and received the following error

Sep 29, 2003 6:01:11 PM org.apache.jk.common.MsgAjp processHeader
SEVERE: BAD packet signature 18245
47 45 54 20 00 00 00 00 00 00 00 00 00 00 00 00  | GET ............
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................

Sep 29, 2003 6:01:11 PM org.apache.tomcat.util.log.CommonLogHandler log
SEVERE: Caught exception executing [EMAIL PROTECTED]
, terminating thread
java.lang.NullPointerException
        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
va:543)
        at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:638)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:533)
        at java.lang.Thread.run(Thread.java:536) 

Any ideas ?
Thankyou in Advance

Don O'Leary

Reply via email to