Handler Thread Problem : java.lang.NullPointerException

2000-12-27 Thread Koen Maes \(BE-day.com\)




Hi,

I upgraded to Tomcat 3.2 because I'm getting 
Handler Thread Problem : java.lang.NullPointerException
I thought it was caused by the virtual hosts, so I 
tried using the new HOST directive for server.XML
You can see my config files below.
When I surf to: http://www.garages.be this redirects to http://212.100.172.240/park/index.jsp
and gives the error Handler Thread Problem : 
java.lang.NullPointerException
When I simply type http://212.100.172.240/park/index.jspeverything 
works fine.
The index.jsp is completely stripped 
to
%@ page language="java" 
import="com.kmoware.register.servlets.*" errorPage="error.jsp" 
%htmlheadbodyURLFORWARDING 
TEST/body/html
Getting desperate !!!

Thx,
Koen






* HTTPD.CONF

[]

VirtualHost 
10.0.1.201 ServerAdmin [EMAIL PROTECTED] 
ServerAlias be-day.com ServerAlias 192.168.1.254 # reached 
via internal IP ServerAlias www.be-day.com 
DocumentRoot /var/tomcat/webapps/register ServerName 
be-day.com ErrorLog 
logs/www.be-day.com-error_log CustomLog 
logs/www.be-day.com-access_log combined ApJServMount 
/register/servlet /register Alias /register 
/var/tomcat/webapps/register Directory 
"/var/tomcat/webapps/register" Options 
FollowSymLinks /Directory 
Location /register/WEB-INF/  AllowOverride 
None deny from all 
/Location/VirtualHost

VirtualHost 
10.0.1.201 ServerAlias * 
DocumentRoot /var/tomcat/webapps/park ServerName 
park.be-day.com ErrorLog 
logs/park.be-day.com-error_log CustomLog 
logs/park.be-day.com-access_log combined ApJServMount 
/park/servlet /park Alias /park 
/var/tomcat/webapps/park Directory 
"/var/tomcat/webapps/park" Options 
FollowSymLinks /Directory 
Location /park/WEB-INF/  AllowOverride 
None deny from all 
/Location/VirtualHost[]

SERVER.XML
[]
 Host 
name="be-day.com" Context 
path="/register" docBase="webapps/register" debug="0" 
reloadable="true" 
/Host

 Host 
name="park.be-day.com" 
Context path="/park" docBase="webapps/park" debug="0" 
reloadable="true" 
/Host[]

 smime.p7s


Handler Thread Problem : java.lang.NullPointerException ?HELP?

2000-12-27 Thread Koen Maes \(BE-day.com\)





Hi,

I upgraded to Tomcat 3.2 because I'm getting 
Handler Thread Problem : java.lang.NullPointerException
I thought it was caused by the virtual hosts, so I 
tried using the new HOST directive for server.XML
You can see my config files below.
When I surf to: http://www.garages.be this redirects to http://212.100.172.240/park/index.jsp
and gives the error Handler Thread Problem : 
java.lang.NullPointerException
When I simply type http://212.100.172.240/park/index.jspeverything 
works fine.
The index.jsp is completely stripped 
to
%@ page language="java" 
import="com.kmoware.register.servlets.*" errorPage="error.jsp" 
%htmlheadbodyURLFORWARDING 
TEST/body/html
Getting desperate !!!

Thx,
Koen






* HTTPD.CONF

[]

VirtualHost 
10.0.1.201 ServerAdmin [EMAIL PROTECTED] 
ServerAlias be-day.com ServerAlias 192.168.1.254 # reached 
via internal IP ServerAlias www.be-day.com 
DocumentRoot /var/tomcat/webapps/register ServerName 
be-day.com ErrorLog 
logs/www.be-day.com-error_log CustomLog 
logs/www.be-day.com-access_log combined ApJServMount 
/register/servlet /register Alias /register 
/var/tomcat/webapps/register Directory 
"/var/tomcat/webapps/register" Options 
FollowSymLinks /Directory 
Location /register/WEB-INF/  AllowOverride 
None deny from all 
/Location/VirtualHost

VirtualHost 
10.0.1.201 ServerAlias * 
DocumentRoot /var/tomcat/webapps/park ServerName 
park.be-day.com ErrorLog 
logs/park.be-day.com-error_log CustomLog 
logs/park.be-day.com-access_log combined ApJServMount 
/park/servlet /park Alias /park 
/var/tomcat/webapps/park Directory 
"/var/tomcat/webapps/park" Options 
FollowSymLinks /Directory 
Location /park/WEB-INF/  AllowOverride 
None deny from all 
/Location/VirtualHost[]

SERVER.XML
[]
 Host 
name="be-day.com" Context 
path="/register" docBase="webapps/register" debug="0" 
reloadable="true" 
/Host

 Host 
name="park.be-day.com" 
Context path="/park" docBase="webapps/park" debug="0" 
reloadable="true" 
/Host[]



RE: Handler Thread Problem : java.lang.NullPointerException

2000-12-27 Thread Adam Le



How 
about trying this for your index.jsp:

--- Begin Code --

 !-- Put your imports here 
--
 %@ page import="java.io.*,java.util.* 
%
 html
 body
 % response.sendRedirect 
("http://212.100.172.240/park/index.jsp"); 
%
 /body
 /html

!-- End Code --

Just a 
thought

Adam


  -Original Message-From: Koen Maes (BE-day.com) 
  [mailto:[EMAIL PROTECTED]]Sent: Wednesday, December 27, 2000 11:02 
  AMTo: [EMAIL PROTECTED]Subject: Handler 
  Thread Problem : java.lang.NullPointerException
  
  Hi,
  
  I upgraded to Tomcat 3.2 because I'm getting 
  Handler Thread Problem : java.lang.NullPointerException
  I thought it was caused by the virtual hosts, so 
  I tried using the new HOST directive for server.XML
  You can see my config files below.
  When I surf to: http://www.garages.be this redirects to http://212.100.172.240/park/index.jsp
  and gives the error Handler Thread Problem : 
  java.lang.NullPointerException
  When I simply type http://212.100.172.240/park/index.jspeverything 
  works fine.
  The index.jsp is completely stripped 
  to
  %@ page language="java" 
  import="com.kmoware.register.servlets.*" errorPage="error.jsp" 
  %htmlheadbodyURLFORWARDING 
  TEST/body/html
  Getting desperate !!!
  
  Thx,
  Koen
  
  
  
  
  
  
  * HTTPD.CONF
  
  []
  
  VirtualHost 
  10.0.1.201 ServerAdmin [EMAIL PROTECTED] 
  ServerAlias be-day.com ServerAlias 192.168.1.254 # 
  reached via internal IP ServerAlias www.be-day.com 
  DocumentRoot /var/tomcat/webapps/register ServerName 
  be-day.com ErrorLog 
  logs/www.be-day.com-error_log CustomLog 
  logs/www.be-day.com-access_log combined ApJServMount 
  /register/servlet /register Alias /register 
  /var/tomcat/webapps/register Directory 
  "/var/tomcat/webapps/register" Options 
  FollowSymLinks /Directory 
  Location /register/WEB-INF/  AllowOverride 
  None deny from all 
  /Location/VirtualHost
  
  VirtualHost 
  10.0.1.201 ServerAlias * 
  DocumentRoot /var/tomcat/webapps/park ServerName 
  park.be-day.com ErrorLog 
  logs/park.be-day.com-error_log CustomLog 
  logs/park.be-day.com-access_log combined ApJServMount 
  /park/servlet /park Alias /park 
  /var/tomcat/webapps/park Directory 
  "/var/tomcat/webapps/park" Options 
  FollowSymLinks /Directory 
  Location /park/WEB-INF/  AllowOverride 
  None deny from all 
  /Location/VirtualHost[]
  
  SERVER.XML
  []
   
  Host name="be-day.com" 
  Context path="/register" docBase="webapps/register" debug="0" 
  reloadable="true" 
  /Host
  
   
  Host 
  name="park.be-day.com" 
  Context path="/park" docBase="webapps/park" debug="0" 
  reloadable="true" 
  /Host[]
  


HANDLER THREAD PROBLEM : java.lang.NullPointerException

2000-12-26 Thread Koen Maes

Hi

I've got my website uprunning http://www.be-day.com and it is
completely running using Tomcat. We are selling domainnames for .BE
(Belgium) Everything works fine but our latest feature : URL Forwarding.

Tomcat always reports : HANDLER THREAD PROBLEM :
java.lang.NullPointerException

We configured apache to take any unknown URL entering to one specific
virtual host which has an index.jsp file ready.
In case the customer configured URL Forwarding, I query the database and

turn the index.jsp page into a forwarding page to forward to the
configured URL. If no URL Forwarding is configured by the customer in
the database, I just turn the index.jsp page into a "parked domain"
page.
If I access the index.jsp page directly I get no problems. I just type :

www.myserver.be/park/index.jsp and Tomcat responds properly. But if I
enter with www.mycustomerdomain.be, then apache takes this URL to
www.myserver.be/park/index.jsp but Tomcat responds with HANDLER THREAD
PROBLEM : java.lang.NullPointerException The parked pages and the rest
of the website run in the same Tomcat context. I already tried to fix
this
by separating the contexts. No luck.

Thx for your time  patience,

Pls CC: [EMAIL PROTECTED]
Koen







HANDLER THREAD PROBLEM: java.lang.NullPointerException

2000-12-22 Thread Shahed Ali



I get these errors sometimes, can cant figure out what the 
problem is.
Can someone tell me where should I start looking 
?

Thanks
Shahed

HANDLER THREAD PROBLEM: 
java.lang.NullPointerExceptionERROR: can't find default error handler or 
error in default error page