You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Don O'Leary <do...@delads.com> on 2003/09/30 03:06:34 UTC

Errors in Sample Application

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 org.apache.jk.common.SocketConnection@187c55c
, 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

Re: Errors in Sample Application

Posted by Don O'Leary <do...@delads.com>.
Thanks Jurgen

The problem I was having is, my CATALINA_BASE was pointing to the incorrect
location, thus the server was picking up the incorrect server.xml.
There was no listener being set up on port 8080.

Once I fixed this issue, it seems to work ok,
Thanks

Don




----- Original Message -----
From: "Jürgen Hoffmann" <jh...@byteaction.de>
To: "'Turbine Users List'" <tu...@jakarta.apache.org>
Sent: Tuesday, September 30, 2003 12:33 AM
Subject: AW: Errors in Sample Application


Hi,

Try connecting to your app using this links

http://localhost:8080/newapp/servlet/newapp

Kind regards

Jürgen Hoffmann


-----Ursprüngliche Nachricht-----
Von: Don O'Leary [mailto:don@delads.com]
Gesendet: Dienstag, 30. September 2003 03:07
An: turbine-user@jakarta.apache.org
Betreff: Errors in Sample Application


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.ja
va 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
org.apache.jk.common.SocketConnection@187c55c
, 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



---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


Re: Errors in Sample Application

Posted by Don O'Leary <do...@delads.com>.
Thanks Jurgen

The problem I was having is, my CATALINA_BASE was pointing to the incorrect
location, thus the server was picking up the incorrect server.xml.
There was no listener being set up on port 8080.

Once I fixed this issue, it seems to work ok,
Thanks

Don




----- Original Message -----
From: "Jürgen Hoffmann" <jh...@byteaction.de>
To: "'Turbine Users List'" <tu...@jakarta.apache.org>
Sent: Tuesday, September 30, 2003 12:33 AM
Subject: AW: Errors in Sample Application


Hi,

Try connecting to your app using this links

http://localhost:8080/newapp/servlet/newapp

Kind regards

Jürgen Hoffmann


-----Ursprüngliche Nachricht-----
Von: Don O'Leary [mailto:don@delads.com]
Gesendet: Dienstag, 30. September 2003 03:07
An: turbine-user@jakarta.apache.org
Betreff: Errors in Sample Application


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.ja
va 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
org.apache.jk.common.SocketConnection@187c55c
, 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



---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org



AW: Errors in Sample Application

Posted by Jürgen Hoffmann <jh...@byteaction.de>.
Hi,

Try connecting to your app using this links

http://localhost:8080/newapp/servlet/newapp

Kind regards
 
Jürgen Hoffmann


-----Ursprüngliche Nachricht-----
Von: Don O'Leary [mailto:don@delads.com] 
Gesendet: Dienstag, 30. September 2003 03:07
An: turbine-user@jakarta.apache.org
Betreff: Errors in Sample Application


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.ja
va 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
org.apache.jk.common.SocketConnection@187c55c
, 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



---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


AW: Errors in Sample Application

Posted by Jürgen Hoffmann <jh...@byteaction.de>.
Hi,

Try connecting to your app using this links

http://localhost:8080/newapp/servlet/newapp

Kind regards
 
Jürgen Hoffmann


-----Ursprüngliche Nachricht-----
Von: Don O'Leary [mailto:don@delads.com] 
Gesendet: Dienstag, 30. September 2003 03:07
An: turbine-user@jakarta.apache.org
Betreff: Errors in Sample Application


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.ja
va 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
org.apache.jk.common.SocketConnection@187c55c
, 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