Newbie question - NullPointerException when doing RequestDispatcher.forward(..)

2002-07-18 Thread Maya Vayner

Hi,
I have the NullPointerException thrown by forward method of RequestDispatcher object. 

Code line that does that:
   
 // value of page parameter is /view/errors/paramErrors.jsp
 getServletContext().getRequestDispatcher(page).forward(request, response);  

Basically, it is inside of a method that has to forward HttpServletRequest and 
HttpServletResponse to some jsp page. The Excpetion is thrown when executing forward 
method.
Please, let me know what you think can fix this.
Thank you.
Maya Vayner




_
Supercharge your e-mail with a 25MB Inbox, POP3 Access, No Ads
and NoTaglines -- LYCOS MAIL PLUS.
http://www.mail.lycos.com/brandPage.shtml?pageId=plus 

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




Fw: Tomcat 4.0.1 - weird performance issue

2002-07-15 Thread Maya Vayner

Newbie question. 

Please, help!

In short, Tomcat slows down every time an updated jar file is loaded (replacing old 
one) to lib directory in WEB-INF of the application. Everything else stays the same. 
The change in jar file can be one method call change or three classes, doesn't matter.

 Anybody had Tomcat slow down for the jar upload reason?

Thanks.
Maya

--

On Fri, 12 Jul 2002 22:14:31  
 Maya Vayner wrote:
Hi,

Please, help me with this if you can.

Did anyone ever have this kind of problem with Tomcat 4.0.1 on linux machine? 

Here is what is happening:

after upgrading(replacing old with new version) myapplicationname.jar in 
webapps/myapplicationname/WEB-INF/lib directory and restarting Tomcat, the site seems 
to slo-o-o-o-ow down to 5 minutes of a 1 simple jsp page loading time. 

We tried to test the new myapplicationname.jar by creating a test app under webapps 
on that machine and running the copy of the site from that app with new jar file, and 
it did a great job. 
But whenever we take that jar file and place it into live app, the site slows down 
for some weird reason (why?).

Any advices/ideas/suggestions will be greatly appreciated. Thank you.
--
Maya 


_
Supercharge your e-mail with a 25MB Inbox, POP3 Access, No Ads
and NoTaglines -- LYCOS MAIL PLUS.
http://www.mail.lycos.com/brandPage.shtml?pageId=plus 

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




_
Supercharge your e-mail with a 25MB Inbox, POP3 Access, No Ads
and NoTaglines -- LYCOS MAIL PLUS.
http://www.mail.lycos.com/brandPage.shtml?pageId=plus 

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




Tomcat 4.0.1 - weird performance issue

2002-07-12 Thread Maya Vayner

Hi,

Please, help me with this if you can.

Did anyone ever have this kind of problem with Tomcat 4.0.1 on linux machine? 

Here is what is happening:

after upgrading(replacing old with new version) myapplicationname.jar in 
webapps/myapplicationname/WEB-INF/lib directory and restarting Tomcat, the site seems 
to slo-o-o-o-ow down to 5 minutes of a 1 simple jsp page loading time. 

We tried to test the new myapplicationname.jar by creating a test app under webapps on 
that machine and running the copy of the site from that app with new jar file, and it 
did a great job. 
But whenever we take that jar file and place it into live app, the site slows down for 
some weird reason (why?).

Any advices/ideas/suggestions will be greatly appreciated. Thank you.
--
Maya 


_
Supercharge your e-mail with a 25MB Inbox, POP3 Access, No Ads
and NoTaglines -- LYCOS MAIL PLUS.
http://www.mail.lycos.com/brandPage.shtml?pageId=plus 

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




Is it possible to restart NT-based Tomcat 4.0 remotely?

2002-05-20 Thread Maya Vayner

Hi guys,
I am trying to figure out ways to restart Tomcat 4.0 which is running on NT, and to 
ahich
I don't have access locally. Only over the Internet.
I've found such things as Manager application and 
org.apache.catalina.core.StandardServer
which allows to run SHUTDOWN command through TCP/IP8005 port, but there is no way to
start Tomcat, after it has been shutdown that way.  
Anybody uses Manager or found a better way to reload an application? Or just restart 
the
whole Tomcat server?
Any ideas?
Thank you very much.
Maya Vayner 

__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

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




How can I change outgoing email server port number from default to something else?

2002-05-13 Thread Maya Vayner

Hello,

My outgoing smtp server is using non-default port number to get emails through. It is 
not
25, which is by default set by tomcat. I tried to find the answer but it seems that no
one ever had to use other port number but 25. 
Can anyone suggest a solution?

hostname:2525 did not work when I set it to that in the server.xml mail.smtp.host
resource property.

Thank you. 

Maya Vayner

__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

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




Re: How can I change outgoing email server port number from default to something else?

2002-05-13 Thread Maya Vayner

Yes, this works: 
mail.smtp.port
Thank you, Xinji.
Maya
--- Xinji Gu [EMAIL PROTECTED] wrote:
 Is there a mail.smtp.port as in stand alone JavaMail application?
 
 Jim
 
 - Original Message -
 From: Maya Vayner [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Monday, May 13, 2002 4:06 PM
 Subject: How can I change outgoing email server port number from default to
 something else?
 
 
  Hello,
 
  My outgoing smtp server is using non-default port number to get emails
 through. It is not
  25, which is by default set by tomcat. I tried to find the answer but it
 seems that no
  one ever had to use other port number but 25.
  Can anyone suggest a solution?
 
  hostname:2525 did not work when I set it to that in the server.xml
 mail.smtp.host
  resource property.
 
  Thank you.
 
  Maya Vayner
 
  __
  Do You Yahoo!?
  LAUNCH - Your Yahoo! Music Experience
  http://launch.yahoo.com
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 


__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

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