session trakking in jsp or in Bean

2006-01-12 Thread marju jalloh
 Hi
  I want to track a session of an input a user enter in my jsp page.The  jsp 
page is using a bean to execute sql queries.That works wel.
  
  My question is it advisable to track the session in the jsp page or in the 
Bean.Which is better
  
  Thanks in advance
  


-
Yahoo! Photos
 Got holiday prints? See all the ways to get quality prints in your hands ASAP.

RE: session trakking in jsp or in Bean

2006-01-12 Thread marju jalloh
Thanks
  I know all about java session.What I mean is implementing session in jsp or 
in bean which one is advisable

Fredrik Rubensson [EMAIL PROTECTED] wrote:   

 Marju wrote:
  I want to track a session of an input a user enter in my jsp page.The
jsp page 
is using a bean to execute sql queries.That works wel.
  
  My question is it advisable to track the session in the jsp page or
in the 
Bean.Which is better

I am not sure I follow you here. There is a session object you can get
from the request that makes it possible tostore data through several
request in the same session. request.getSession().setAttribute(akey,
anObject) to set session attributes.
request.getSession().getAttribute(akey) to get attributes. If you have
users that log in and out you probably should set some user identifying
info in the session and a filter to makes sure that the user is logged
in for certain requests. 

Regards,
Fredrik

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





-
Yahoo! Photos
 Ring in the New Year with Photo Calendars. Add photos, events, holidays, 
whatever.

error Ljavax/servlet/http/HttpServletRequest

2006-01-11 Thread marju jalloh
 I `m calling a bean  from a jsp page that return HttpServletRequest 
 snippet
  
 HttpServletRequest req= myBean.getMessage();
   out.write(req.getParameter(mess));
   where mess is a variable that was set in the bean
 
 My problem jsp can`t compile I got the following errors
 
javax.servlet.ServletException: 
com.MyBean.getMessage()Ljavax/servlet/http/HttpServletRequest;
java.lang.NoSuchMethodError: 
com.MyBean.getMessage()Ljavax/servlet/http/HttpServletRequest;

can anyone help
Thanks in advance


 



-
Yahoo! Photos – Showcase holiday pictures in hardcover
 Photo Books. You design it and we’ll bind it!

Re: problem calling request.getParameter(myparameter) in jsp

2006-01-10 Thread marju jalloh
I see 
 %!   String query = request.getParameter(display) ;  %
 is declared in the init()  of the servlet.I changed it but now I`m getting

org.apache.jasper.JasperException
java.lang.NullPointerException which should not execute the query

Can anyone throw licht on this

Thanks



marju jalloh [EMAIL PROTECTED] wrote:  Hi everyone
I  `m writing a bean application to execute sql query.The query properties in 
the Bean works perfect.I have a jsp with textArea where the user can enter 
query.The query is the required parameter that the Bean should execute.

snippet
...

   
[input] 



%!   String query = request.getParameter(display) ;  %

%  
if(!query.equals() || !query.equals(null))
  {
  String selector = (query.substring(0,6)).trim();
  out.write(selector);
  if(selector.equals(SELECT)){
   out.write(myBean.getData());
  }else
if(selector.equals(INSERT)){
   myBean.setData(query) ;
}else
if(selector.equals(DELETE)){
  myBean.setDelete(query);
}
else
   out.write(nothing is entered);
}
%
...
My problem is when the jsp page is requested for the first time
 I got this error:
cannot find symbol variable request.
I know I should have null for  request.getParameter(display)  at first access 
and that is caugt.If I  submit the form then the content of the textarea should 
be 
request.getParameter(display) .That was what I was expecting.

Can anyone help
Thanks in advance



   
-
Yahoo! Photos
 Got holiday prints? See all the ways to get quality prints in your hands ASAP.


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: problem calling request.getParameter(myparameter) in jsp

2006-01-10 Thread marju jalloh
I got it. HttpRequest throws an exception by enclosing 
String query = request.getParameter(display) in a try and catch block 
everything was fine
marju jalloh [EMAIL PROTECTED] wrote: I see 
 %!   String query = request.getParameter(display) ;  %
 is declared in the init()  of the servlet.I changed it but now I`m getting

org.apache.jasper.JasperException
java.lang.NullPointerException which should not execute the query

Can anyone throw licht on this

Thanks



marju jalloh  wrote:  Hi everyone
I  `m writing a bean application to execute sql query.The query properties in 
the Bean works perfect.I have a jsp with textArea where the user can enter 
query.The query is the required parameter that the Bean should execute.

snippet
...

   
[input] 



%!   String query = request.getParameter(display) ;  %

%  
if(!query.equals() || !query.equals(null))
  {
  String selector = (query.substring(0,6)).trim();
  out.write(selector);
  if(selector.equals(SELECT)){
   out.write(myBean.getData());
  }else
if(selector.equals(INSERT)){
   myBean.setData(query) ;
}else
if(selector.equals(DELETE)){
  myBean.setDelete(query);
}
else
   out.write(nothing is entered);
}
%
...
My problem is when the jsp page is requested for the first time
 I got this error:
cannot find symbol variable request.
I know I should have null for  request.getParameter(display)  at first access 
and that is caugt.If I  submit the form then the content of the textarea should 
be 
request.getParameter(display) .That was what I was expecting.

Can anyone help
Thanks in advance



   
-
Yahoo! Photos
 Got holiday prints? See all the ways to get quality prints in your hands ASAP.


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



-
Yahoo! Photos
 Got holiday prints? See all the ways to get quality prints in your hands ASAP.

jsp cannont find my bean class

2006-01-09 Thread marju jalloh
 Hi everyone
  I`m using Tomcat 4.1.* on Linux .All my servlet and jsp work fine including 
the interaction with mysql database.
  
  Now I want to test a simple Bean but my jsp cannont find the Bean.
  Where to place the jsp file?
  How to direct the jsp file where to find the bean?
jsp:useBean id=stringBean class=Hello /
  I used this but it did not find the bean
  
  Can anyone help
  
  Thanks in advance
  
  
  


-
Yahoo! Photos – Showcase holiday pictures in hardcover
 Photo Books. You design it and we’ll bind it!

Re: jsp cannont find my bean class

2006-01-09 Thread marju jalloh
I understand what you mean but where the jsp file should be

Edoardo Panfili [EMAIL PROTECTED] wrote:  marju jalloh ha scritto:
  Hi everyone
   I`m using Tomcat 4.1.* on Linux .All my servlet and jsp work fine including 
 the interaction with mysql database.
   
   Now I want to test a simple Bean but my jsp cannont find the Bean.
   Where to place the jsp file?
   How to direct the jsp file where to find the bean?
 
   I used this but it did not find the bean
I am using 5.x and I have no problem with the beans.

Put the class in WEB-INF/classes
if the fully qualified name is com.try.Bean
put it in WEB-INF/classes/com/try/

then in JSP use


it works for me
Edoardo


-- 
[EMAIL PROTECTED]
AIM: edoardopn
Jabber: [EMAIL PROTECTED]
tel:075 9142766

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





-
Yahoo! Photos
 Ring in the New Year with Photo Calendars. Add photos, events, holidays, 
whatever.

RE: jsp cannont find my bean class

2006-01-09 Thread marju jalloh
I don`t know what is going wrong
  
  I place my compiled bean in mywabapps/WEF-INF/classes/com
  and my jsp file in mywebapps and my path is
  jsp:useBean id=stringBean class=com.mybean /
  
  when access I got two error
  1. 
  
javax.servlet.ServletException: com/mybean (wrong name: mybean
  2.   
java.lang.NoClassDefFoundError: com/mybean (wrong name: mybean)
  
  can someone help
  Thanks
Fredrik Rubensson [EMAIL PROTECTED] wrote:  Hi,

   Where to place the jsp file? 

It can be in any directory under you webapp. Typically you place it in
the root directory of your app. So if your app is called mygoodapp the
jsp can be placed in /webapps/mygoodapp/ or any
subdirectory. If it is called jsppage.jsp you can access it with
http://localhost:8080/mygoodapp/jsppage.jsp assuming that you have a
default installation of tomcat.

Regards,
Fredrik Rubensson

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




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

how to execute javascript file in jsp

2006-01-06 Thread marju jalloh
 Hi everyone,
I`m using tomcat 4.1.* on Linux (serge) but find it diffecult to include 
javascript file in my jsp.I did it with
%@ page import=myjavascript.js*% 
but it could not find the file.Also with  
jsp:include page=myjavascript.js flush=true/.
It compile but the scriptcould not execute


Can anyone help me
Thanks in advance



-
 Yahoo! DSL Something to write home about. Just $16.99/mo. or less

Re: how to execute javascript file in jsp

2006-01-06 Thread marju jalloh
I did what you said 

script language=javascript src=myjavascript.js
type=text/javascript/script

it compile with no error but the script 
did not execute.Still no solution

Thanks



Charl Gerber [EMAIL PROTECTED] wrote: 
type=text/javascript




--- marju jalloh  wrote:

  Hi everyone,
 I`m using tomcat 4.1.* on Linux (serge) but find it
 diffecult to include javascript file in my jsp.I did
 it with
 %@ page import=myjavascript.js*% 
 but it could not find the file.Also with  
 .
 It compile but the scriptcould not execute
 
 
 Can anyone help me
 Thanks in advance
 
 
   
 -
  Yahoo! DSL Something to write home about. Just
 $16.99/mo. or less


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





-
Yahoo! Photos
 Ring in the New Year with Photo Calendars. Add photos, events, holidays, 
whatever.

erro jdbc connection with mysql

2006-01-05 Thread marju jalloh
Hi everyone,

I`m trying to connect to mysql from jdbc but I freequently get this errror

 ...java.sql.SQLException: Data source rejected establishment of connection,  
message from server: Host 'localhost.localdomain' is not allowed to connect to 
this MySQL server...

env
linux debian(serge)
jdbc driver
tomcat 4.1.*

can anyone tell me what causes the error and possible solution
Thanks in advance
mysql 4.0.24



-
Yahoo! Photos
 Ring in the New Year with Photo Calendars. Add photos, events, holidays, 
whatever.

Re: tomcat servles tutorial

2005-12-27 Thread marju jalloh
for servlet this is the best http://pdf.coreservlets.com/
and for tomcat google tomcat tutorial

Marju
WJ van Zyl [EMAIL PROTECTED] wrote: Hi there.

Bit new to Tomcat and Servles

Do anyone know of a great tutotial explaining everything.

Thanks.
W

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




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: Please Help! Error in using Packages

2005-12-20 Thread marju jalloh
What is your enviroment,which version are you using.
  Have you made context for myfirstwebapp in server.xml
  
  -Marju

Teh Noranis Mohd Aris [EMAIL PROTECTED] wrote:  Hi,
I'm learning to use packages from a book example to
create my own servlet instead of putting the code in
the examples webapp. However the following error
occurs:

HTTP Status 404 -
/ch03/servlet/com.wrox.projsp.ch03.myfirstwebapp.MyFirstServlet

type Status report
message
/ch03/servlet/com.wrox.projsp.ch03.myfirstwebapp.MyFirstServlet
description The requested resource
(/ch03/servlet/com.wrox.projsp.ch03.myfirstwebapp.MyFirstServlet)
is not available.

Apache Tomcat/4.1.31

How can I fix the error? I'm sure that the servlet is
in the correct directory and I've put the web.xml in
the WEB-INF directory. Did I miss anything? Please
help. Thanks.

Yours Sincerely,
TEH

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: Re: problem with stopping Tomcat

2005-12-20 Thread marju jalloh
Warren I have solved it. The server.xml and web.xml were currupt.I replace them 
with the original server.xml and web.xml  configuration file and rebooted no 
error message and its working perfact.

Advice for everyone.Always backup the original config file or the last working 
config file so that you can fall on it when the need arises

Thanks Warren for your concern
Marju

Warren Pace [EMAIL PROTECTED] wrote: mariju,
This is puzzling.  At this point, I would do exactly what you're planning.  
Good thing you saved the original files . . . after that, I'm at a loss short 
of removing the app and re-installing with apt.
 
 From: marju jalloh 
 Date: 2005/12/19 Mon PM 02:18:22 EST
 To: Tomcat Users List 
 Subject: Re: Re: problem with stopping Tomcat
 
 no I did not use apt. It was working but now on rebooting I got the following 
 error
 INFO: Initializing Coyote HTTP/1.1 on http-8080
 ServerLifecycleListener: createMBeans: MBeanException
 java.lang.Exception: ManagedBean is not found with Ajp13Connector
 at org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:180)
 at 
 org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecycleListener.java:355)
 at 
 org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecycleListener.java:807)
 at 
 org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecycleListener.java:781)
 at 
 org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecycleListener.java:325)
 at 
 org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEvent(ServerLifecycleListener.java:179)
 at 
 org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:2136)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:463)
 at org.apache.catalina.startup.Catalina.execute(Catalina.java:350)
 at org.apache.catalina.startup.Catalina.process(Catalina.java:129)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)
 Starting service Tomcat-Standalone
 Apache Tomcat/4.1.31
 Sep 9, 2005 1:07:28 AM org.apache.commons.digester.Digester fatalError
 SEVERE: Parse Fatal Error at line 2 column 83: The system identifier must 
 begin with either a single or double quote character.
 org.xml.sax.SAXParseException: The system identifier must begin with either a 
 single or double quote character.
 at 
 org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown 
 Source)
 
 I am now tryinh to sutituted my server.xml and web.xml fiel with the original 
 and see if it would work
 
 thanks
 Marju
 
 Warren Pace  wrote: Did you originally install Tomcat using apt?  The Debian 
 package configures Tomcat to listen on port 8180.  
  
  From: marju jalloh 
  Date: 2005/12/18 Sun PM 04:52:50 EST
  To: Tomcat Users List 
  Subject: Re: problem with stopping Tomcat
  
  Sorry that I did`nt include these information
  I`m using Tomcat 1.4.27  on linux Debian(serge). Tomcat start authomatic at 
  startup.But during development I use shutdown.sh and startup.sh in the 
  TOMECAT_HOME/bin directory
  eg
  shutdown.shto stop tomcat
  startup.sh to start tomcat
  
  Thanks,
  Byfour
  
  Steve Dodge  wrote: What's you environment? What version of Tomcat?  What 
  command are you 
  using to start it?
  
  marju jalloh wrote:
  
   Hi everyone
  I havae problem with stopping tomcat.When I start it it show no sign of 
  error but I can`t get to my http:localhost:8080/ page if I tried to 
  restart Tomcat by sotpping and the starting I got thefollowing error 
  during stopping
  
  Catalina.stop: java.net.ConnectException: Connection refused
  java.net.ConnectException: Connection refused
  at java.net.PlainSocketImpl.socketConnect(Native Method)
  at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
  at 
   java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
  at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
  at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
  at java.net.Socket.connect(Socket.java:507)
  at java.net.Socket.connect(Socket.java:457)
  at java.net.Socket.(Socket.java:365)
  at java.net.Socket.(Socket.java:178)
  at org.apache.catalina.startup.Catalina.stop(Catalina.java:532)
  at org.apache.catalina.startup.Catalina.execute(Catalina.java:352)
  at org.apache.catalina.startup.Catalina.process(Catalina.java:129)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method

problem with stopping Tomcat

2005-12-18 Thread marju jalloh
 Hi everyone
I havae problem with stopping tomcat.When I start it it show no sign of error 
but I can`t get to my http:localhost:8080/ page if I tried to restart Tomcat by 
sotpping and the starting I got thefollowing error during stopping

Catalina.stop: java.net.ConnectException: Connection refused
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
at java.net.Socket.connect(Socket.java:507)
at java.net.Socket.connect(Socket.java:457)
at java.net.Socket.init(Socket.java:365)
at java.net.Socket.init(Socket.java:178)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:532)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:352)
at org.apache.catalina.startup.Catalina.process(Catalina.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)


I googled to no avail. from ps -aux there is no tomcat process running.

Can anyone help


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: Re: problem with stopping Tomcat

2005-12-18 Thread marju jalloh
Warren Pace there is no applicatio running on port 8080. Tomcat was working  
good but after mistakinly  editting the server.xml file while tomcat was 
running the problem started.So I decided to stop and start it noway.I rebooted 
also no way

Warren Pace [EMAIL PROTECTED] wrote: And one other question - is any other 
app listening in on port 8080?  I seem to remember the Debian distributions 
using that port for another app . . .
 
 From: Steve Dodge 
 Date: 2005/12/18 Sun PM 04:39:00 EST
 To: Tomcat Users List 
 Subject: Re: problem with stopping Tomcat
 
 What's you environment? What version of Tomcat?  What command are you 
 using to start it?
 
 marju jalloh wrote:
 
  Hi everyone
 I havae problem with stopping tomcat.When I start it it show no sign of 
 error but I can`t get to my http:localhost:8080/ page if I tried to restart 
 Tomcat by sotpping and the starting I got thefollowing error during stopping
 
 Catalina.stop: java.net.ConnectException: Connection refused
 java.net.ConnectException: Connection refused
 at java.net.PlainSocketImpl.socketConnect(Native Method)
 at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
 at 
  java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
 at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
 at java.net.Socket.connect(Socket.java:507)
 at java.net.Socket.connect(Socket.java:457)
 at java.net.Socket.(Socket.java:365)
 at java.net.Socket.(Socket.java:178)
 at org.apache.catalina.startup.Catalina.stop(Catalina.java:532)
 at org.apache.catalina.startup.Catalina.execute(Catalina.java:352)
 at org.apache.catalina.startup.Catalina.process(Catalina.java:129)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)
 
 
 I googled to no avail. from ps -aux there is no tomcat process running.
 
 Can anyone help
 
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com 
   
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


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




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: problem with stopping Tomcat

2005-12-18 Thread marju jalloh
)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1141)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:316)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2143)
at org.apache.catalina.startup.Catalina.start(Catalina.java:463)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:350)
at org.apache.catalina.startup.Catalina.process(Catalina.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)
ServerLifecycleListener: destroyMBeans: Throwable
javax.management.InstanceNotFoundException: 
Catalina:type=Valve,sequence=9045316,path=/test,host=localhost,service=Tomcat-Standalone
at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1010)
at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.unregisterMBean(DefaultMBeanServerInterceptor.java:354)
at 
com.sun.jmx.mbeanserver.JmxMBeanServer.unregisterMBean(JmxMBeanServer.java:527)
at org.apache.catalina.mbeans.MBeanUtils.destroyMBean(MBeanUtils.java:2242)
at 
org.apache.catalina.mbeans.ServerLifecycleListener.destroyMBeans(ServerLifecycleListener.java:883)
at 
org.apache.catalina.mbeans.ServerLifecycleListener.destroyMBeans(ServerLifecycleListener.java:1118)
at 
org.apache.catalina.mbeans.ServerLifecycleListener.destroyMBeans(ServerLifecycleListener.java:1067)
at 
org.apache.catalina.mbeans.ServerLifecycleListener.destroyMBeans(ServerLifecycleListener.java:1249)
at 
org.apache.catalina.mbeans.ServerLifecycleListener.destroyMBeans(ServerLifecycleListener.java:1221)
at 
org.apache.catalina.mbeans.ServerLifecycleListener.destroyMBeans(ServerLifecycleListener.java:826)
at 
org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEvent(ServerLifecycleListener.java:207)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2172)
at org.apache.catalina.startup.Catalina.start(Catalina.java:494)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:350)
at org.apache.catalina.startup.Catalina.process(Catalina.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)
Stopping service Tomcat-Standalone
Catalina.stop: LifecycleException:  Coyote connector has not been started
LifecycleException:  Coyote connector has not been started
at org.apache.coyote.tomcat4.CoyoteConnector.stop(CoyoteConnector.java:1296)
at org.apache.catalina.core.StandardService.stop(StandardService.java:499)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2178)
at org.apache.catalina.startup.Catalina.start(Catalina.java:494)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:350)
at org.apache.catalina.startup.Catalina.process(Catalina.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)

can anyone help,
Marju

Steve Dodge [EMAIL PROTECTED] wrote: Well, if 8080 is not accepting 
connections and there is no process on 
the machine, tomat is probably starting then immediatly stopping.  Do 
you have a catalina.out, and or a catalina.log, I'd check in both of 
those to see what's failing.

marju jalloh wrote:

Sorry that I did`nt include these information
I`m using Tomcat 1.4.27  on linux Debian(serge). Tomcat start authomatic at 
startup.But during development I use shutdown.sh and startup.sh in the 
TOMECAT_HOME/bin directory
eg
shutdown.shto stop tomcat
startup.sh to start tomcat

Thanks,
Byfour

Steve Dodge  wrote: What's you environment? What version of Tomcat?  What 
command are you 
using to start it?

marju jalloh wrote:

  

Hi everyone
I havae problem with stopping tomcat.When I start it it show no sign of error 
but I can`t get to my http:localhost:8080/ page if I tried to restart Tomcat 
by sotpping and the starting I got thefollowing error during stopping

Catalina.stop

implementation difference between Cookie and HttpSession

2005-12-15 Thread marju jalloh
 I want to  track the last time a user  visited my website and publish it.I 
don`t know the implementation  difference between java Cookies and HttpSession 
or is it possible to  use both.
  
  Byfour
  


-
Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping 

Tomcat JDBC connection with Mysql

2005-12-12 Thread marju jalloh
 I can`connect to my database with via  servlet. The connection works well in 
PHP but not with servlet. I have  googled but no solution.
  
  this is my error page I got
  
  java.sql.SQLException: Data source rejected establishment of  connection,  
message from server: Host 'localhost.localdomain' is  not allowed to connect 
to this MySQL server
  at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:650)
  at com.mysql.jdbc.Connection.createNewIO(Connection.java:1808)
  at com.mysql.jdbc.Connection.init(Connection.java:452)
  at 
com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:411)
  at java.sql.DriverManager.getConnection(DriverManager.java:525)
  at java.sql.DriverManager.getConnection(DriverManager.java:171)
  at Liep.doGet(Liep.java:30)
  ...
  ...
  Can anyone help or give me a pointer to a website
  
  Byfour
  


-
Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping 

RE: Tomcat JDBC connection with Mysql

2005-12-12 Thread marju jalloh
But how to Grant permission to an ip host
  

Karthik [EMAIL PROTECTED] wrote:  hI

tHE PROBLEMS IS PRESENT WITHIN THE mysql SERVER,U NEED TO GIVE PERMISSION TO
THE ip HOST U ARE USING

TRY USING THE GRANT PERMISSION AND USE THE SAME,BUT U HAVE TO FLUSH OUT ALL
acl PREVELIAGES AVALIABEL IN MYSQL DB

   USE A FRONT END LIKE MYSQL FRONT TO DO THIS



HOPE THIS HELPS.




WITH REGARS
kARTHIK



-Original Message-
From: marju jalloh [mailto:[EMAIL PROTECTED]
Sent: Monday, December 12, 2005 4:53 PM
To: Tomcat Users List
Subject: Tomcat JDBC connection with Mysql


 I can`connect to my database with via  servlet. The connection works well
in PHP but not with servlet. I have  googled but no solution.

  this is my error page I got

  java.sql.SQLException: Data source rejected establishment of  connection,
message from server: Host 'localhost.localdomain' is  not allowed to
connect to this MySQL server
  at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:650)
  at com.mysql.jdbc.Connection.createNewIO(Connection.java:1808)
  at com.mysql.jdbc.Connection.(Connection.java:452)
  at
com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:411)
  at java.sql.DriverManager.getConnection(DriverManager.java:525)
  at java.sql.DriverManager.getConnection(DriverManager.java:171)
  at Liep.doGet(Liep.java:30)
  ...
  ...
  Can anyone help or give me a pointer to a website

  Byfour



-
Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping


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





-
Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping 

Re: Antwort: RE: Tomcat JDBC connection with Mysql

2005-12-12 Thread marju jalloh
I went throug the permission and now I get another error
  
  java.sql.SQLException: Unable to connect to any  hosts due to exception:  
java.net.SocketException: java.net.ConnectException: Connection refused
  ** BEGIN NESTED EXCEPTION ** 
  java.net.SocketException
  MESSAGE: java.net.ConnectException: Connection refused
  STACKTRACE:
  java.net.SocketException: java.net.ConnectException: Connection refused

  I don`t know if the problem is with Tomcat of the Driver of mysql server
  This is my code
  
  ublic class Marju extends HttpServlet {
public void doGet(HttpServletRequest request,
   HttpServletResponse response)
throws ServletException, IOException {
  response.setContentType(text/html);
  PrintWriter out = response.getWriter();
  
   Connection conn = null;
  
 try
 {
 String userName = root;
 String password = ;
 String url = jdbc:mysql://l/AdressBook;
 Class.forName(com.mysql.jdbc.Driver);
  conn = DriverManager.getConnection(url, userName,password);
  out.println(Database connection established);
 }
 catch (Exception e)
 {
  out.println(Can`t connect to database server!);
  e.printStackTrace();
 }
 finally
 {
 if (conn != null)
 {
 try
 {
  conn.close ();
  System.out.println (Database connection terminated);

 }
  catch (Exception e) { /* ignore close errors */ }
 }
 }
 out.println(my first servlet);
  }
  }
  Any help would be appreciated
  
  Byfour
Jan Behrens [EMAIL PROTECTED] wrote:  look here -- 
http://dev.mysql.com/doc/refman/4.1/en/connection-access.html

rtfm ;)

marju jalloh  schrieb am 12.12.2005 13:33:54:

 But how to Grant permission to an ip host
 
 
 Karthik  wrote:  hI
 
 tHE PROBLEMS IS PRESENT WITHIN THE mysql SERVER,U NEED TO GIVE 
PERMISSION TO
 THE ip HOST U ARE USING
 
 TRY USING THE GRANT PERMISSION AND USE THE SAME,BUT U HAVE TO FLUSH OUT 
ALL
 acl PREVELIAGES AVALIABEL IN MYSQL DB
 
USE A FRONT END LIKE MYSQL FRONT TO DO THIS
 
 
 
 HOPE THIS HELPS.
 
 
 
 
 WITH REGARS
 kARTHIK
 
 
 
 -Original Message-
 From: marju jalloh [mailto:[EMAIL PROTECTED]
 Sent: Monday, December 12, 2005 4:53 PM
 To: Tomcat Users List
 Subject: Tomcat JDBC connection with Mysql
 
 
  I can`connect to my database with via  servlet. The connection works 
well
 in PHP but not with servlet. I have  googled but no solution.
 
   this is my error page I got
 
   java.sql.SQLException: Data source rejected establishment of 
connection,
 message from server: Host 'localhost.localdomain' is  not allowed to
 connect to this MySQL server
   at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:650)
   at com.mysql.jdbc.Connection.createNewIO(Connection.java:1808)
   at com.mysql.jdbc.Connection.(Connection.java:452)
   at
 
com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:411)
   at java.sql.DriverManager.getConnection(DriverManager.java:525)
   at java.sql.DriverManager.getConnection(DriverManager.java:171)
   at Liep.doGet(Liep.java:30)
   ...
   ...
   Can anyone help or give me a pointer to a website
 
   Byfour
 
 
 
 -
 Yahoo! Shopping
  Find Great Deals on Holiday Gifts at Yahoo! Shopping
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 -
 Yahoo! Shopping
  Find Great Deals on Holiday Gifts at Yahoo! Shopping 

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





-
Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping 

Re: Antwort: RE: Tomcat JDBC connection with Mysql

2005-12-12 Thread marju jalloh
yes it is right I tried it with localhost and also eith the IP address
  
  Thanks for your response
  
  Byfour

Sebastian Funk [EMAIL PROTECTED] wrote:  Hi,

I got the same error a few weeks ago. in my case, the URL was wrong.  
you use:
 jdbc:mysql://l/AdressBook
Are you sure it's right? Is 'l' really the right host? Did you tried  
it with the ip-address?

Best Regards,
Sebastian
On Dec 12, 2005, at 2:37 PM, marju jalloh wrote:

 I went throug the permission and now I get another error

   java.sql.SQLException: Unable to connect to any  hosts due to  
 exception:  java.net.SocketException:  
 java.net.ConnectException: Connection refused
   ** BEGIN NESTED EXCEPTION **
   java.net.SocketException
   MESSAGE: java.net.ConnectException: Connection refused
   STACKTRACE:
   java.net.SocketException: java.net.ConnectException:  
 Connection refused

   I don`t know if the problem is with Tomcat of the Driver of mysql  
 server
   This is my code

   ublic class Marju extends HttpServlet {
 public void doGet(HttpServletRequest request,
HttpServletResponse response)
 throws ServletException, IOException {
   response.setContentType(text/html);
   PrintWriter out = response.getWriter();

Connection conn = null;

  try
  {
  String userName = root;
  String password = ;
  String url = jdbc:mysql://l/AdressBook;
  Class.forName(com.mysql.jdbc.Driver);
   conn = DriverManager.getConnection(url,  
 userName,password);
   out.println(Database connection established);
  }
  catch (Exception e)
  {
   out.println(Can`t connect to database server!);
   e.printStackTrace();
  }
  finally
  {
  if (conn != null)
  {
  try
  {
   conn.close ();
   System.out.println (Database connection  
 terminated);

  }
   catch (Exception e) { /* ignore close errors  
 */ }
  }
  }
  out.println(my first servlet);
   }
   }
   Any help would be appreciated

   Byfour
 Jan Behrens  wrote:  look here --
 http://dev.mysql.com/doc/refman/4.1/en/connection-access.html

 rtfm ;)

 marju jalloh  schrieb am 12.12.2005 13:33:54:

 But how to Grant permission to an ip host


 Karthik  wrote:  hI

 tHE PROBLEMS IS PRESENT WITHIN THE mysql SERVER,U NEED TO GIVE
 PERMISSION TO
 THE ip HOST U ARE USING

 TRY USING THE GRANT PERMISSION AND USE THE SAME,BUT U HAVE TO  
 FLUSH OUT
 ALL
 acl PREVELIAGES AVALIABEL IN MYSQL DB

USE A FRONT END LIKE MYSQL FRONT TO DO THIS



 HOPE THIS HELPS.




 WITH REGARS
 kARTHIK



 -Original Message-
 From: marju jalloh [mailto:[EMAIL PROTECTED]
 Sent: Monday, December 12, 2005 4:53 PM
 To: Tomcat Users List
 Subject: Tomcat JDBC connection with Mysql


  I can`connect to my database with via  servlet. The connection works
 well
 in PHP but not with servlet. I have  googled but no solution.

   this is my error page I got

   java.sql.SQLException: Data source rejected establishment of
 connection,
 message from server: Host 'localhost.localdomain' is  not allowed to
 connect to this MySQL server
   at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:650)
   at com.mysql.jdbc.Connection.createNewIO(Connection.java:1808)
   at com.mysql.jdbc.Connection.(Connection.java:452)
   at

 com.mysql.jdbc.NonRegisteringDriver.connect 
 (NonRegisteringDriver.java:411)
   at java.sql.DriverManager.getConnection(DriverManager.java:525)
   at java.sql.DriverManager.getConnection(DriverManager.java:171)
   at Liep.doGet(Liep.java:30)
   ...
   ...
   Can anyone help or give me a pointer to a website

   Byfour



 -
 Yahoo! Shopping
  Find Great Deals on Holiday Gifts at Yahoo! Shopping


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





 -
 Yahoo! Shopping
  Find Great Deals on Holiday Gifts at Yahoo! Shopping

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





 -
 Yahoo! Shopping
  Find Great Deals on Holiday Gifts at Yahoo! Shopping


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





-
Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping 

RE: Tomcat JDBC connection with MySQL

2005-12-12 Thread marju jalloh
I made it
  Thanks everyone especially jan and Kirthik
  
  Byfour

Jan Behrens [EMAIL PROTECTED] wrote:String userName = 
root;
  String password = ;
  String URL = jdbc:mysql://l/AdressBook;

Are you sure this is correct? You are connecting to a MySQL server at URL 
1 and db AdressBook as root without a password... 

you should:
- secure MySQL root with a password
- create a new user with rights limited to db AdressBook and allow this 
user to connect from % for now
- set a password for that user
- reload user table!
- change your url to the correct server, e.g. 
jdbc:mysql//localhost:3306/AdressBook
- try again

HTH, jan


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





-
Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping 

Communication between Apache an Tomcat

2005-12-08 Thread marju jalloh
 Hi everyone,
   I cannot access my servlet from Apache but I can access my jsp.I am using
  Apache 1.3.33, jk_mod1.3 en Tomcat 4.1.27 on Linux (Debian  Serge).Tomcat is 
running and I can access all my servlets and jsp via  port 8080.Apache is also 
running.I can access all my jsp via Apache  which proves thst my jk_mod is 
working but I can`t access my servlet.I  got 404 error
  
  Can anyone help me
  
  Thanks in advance
  
  Byfour
  
  


-
Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping 

Re: Communication between Apache an Tomcat

2005-12-08 Thread marju jalloh
Sorry for the long Httpd.conf file.This is the jk_mod section in the 
Httpd.config file
  IfModule mod_jk.c
JkWorkersFile /etc/tomcat4/jk/workers.properties
JkLogFile /var/log/apache/mod_jk.log
JkLogLevel info

JkMount /*.jsp ajp13
JkMount /servlet/* ajp13

Directory `/var/www`
Options Indexes FollowSymLinks
/Directory

/IfModule
  

Mirek Kopriva [EMAIL PROTECTED] wrote:  Hi,
Looks like it's the configuration of mod_jk in apache.
Not sure what is wrong (If you'd atach the configuration files it would be
easier to help you).
But my guess is the problem is setting of JkMount directive.
looks like you have: 'JkMount /*.jsp worker' only
while you should have: JkMount /your_context or /* worker or something like
that.
Hope it helps.
Cheers,
Mirek

On 12/8/05, marju jalloh  wrote:

 Hi everyone,
I cannot access my servlet from Apache but I can access my jsp.I am
 using
   Apache 1.3.33, jk_mod1.3 en Tomcat 4.1.27 on Linux
 (Debian  Serge).Tomcat is running and I can access all my servlets and jsp
 via  port 8080.Apache is also running.I can access all my jsp via
 Apache  which proves thst my jk_mod is working but I can`t access my
 servlet.I  got 404 error

   Can anyone help me

   Thanks in advance

   Byfour




 -
 Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping





-
Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping 

Re: Communication between Apache an Tomcat

2005-12-08 Thread marju jalloh
Thanks Mirek it helps and save from another 100 hr of googling
  
  Byfour

marju jalloh [EMAIL PROTECTED] wrote:  Sorry for the long Httpd.conf 
file.This is the jk_mod section in the Httpd.config file
  
JkWorkersFile /etc/tomcat4/jk/workers.properties
JkLogFile /var/log/apache/mod_jk.log
JkLogLevel info

JkMount /*.jsp ajp13
JkMount /servlet/* ajp13


Options Indexes FollowSymLinks



  

Mirek Kopriva  wrote:  Hi,
Looks like it's the configuration of mod_jk in apache.
Not sure what is wrong (If you'd atach the configuration files it would be
easier to help you).
But my guess is the problem is setting of JkMount directive.
looks like you have: 'JkMount /*.jsp worker' only
while you should have: JkMount /your_context or /* worker or something like
that.
Hope it helps.
Cheers,
Mirek

On 12/8/05, marju jalloh  wrote:

 Hi everyone,
I cannot access my servlet from Apache but I can access my jsp.I am
 using
   Apache 1.3.33, jk_mod1.3 en Tomcat 4.1.27 on Linux
 (Debian  Serge).Tomcat is running and I can access all my servlets and jsp
 via  port 8080.Apache is also running.I can access all my jsp via
 Apache  which proves thst my jk_mod is working but I can`t access my
 servlet.I  got 404 error

   Can anyone help me

   Thanks in advance

   Byfour




 -
 Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping




   
-
Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping 



-
Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping 

unale to stop Tomcat-4.1.27

2005-10-31 Thread marju jalloh
Hello

Can someone lease help.I`m using tomcat-4.1.27.When
starten its gives all indication of clean start

Using CATALINA_BASE:   /etc/tomcat4
Using CATALINA_HOME:   /etc/tomcat4
Using CATALINA_TMPDIR: /etc/tomcat4/temp
Using JAVA_HOME:   /usr/lib/j2sdk1.5-sun/
...
testing with http://localhost:8080, I got Using 
Connection refused error. when I stop tomcat I got
this error
 ./shutdown.sh
Using CATALINA_BASE:   /etc/tomcat4
Using CATALINA_HOME:   /etc/tomcat4
Using CATALINA_TMPDIR: /etc/tomcat4/temp
Using JAVA_HOME:   /usr/lib/j2sdk1.5-sun/
Catalina.stop: java.net.ConnectException: Connection
refused
java.net.ConnectException: Connection refused
at
java.net.PlainSocketImpl.socketConnect(Native Method)
at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
at java.net.Socket.connect(Socket.java:507)
at java.net.Socket.connect(Socket.java:457)
at java.net.Socket.init(Socket.java:365)
at java.net.Socket.init(Socket.java:178)
at
org.apache.catalina.startup.Catalina.stop(Catalina.java:581)
at
org.apache.catalina.startup.Catalina.execute(Catalina.java:402)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at
java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

Can someone why this catalina stop,connection refused
error due occur or link me to a site that explain this
problem.

Byfour





__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

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



Re: R�f. : unale to stop Tomcat-4.1.27

2005-10-31 Thread marju jalloh
..but it seems  tomcat/bin/startup.sh was executed.
How can I get around this problem? any help

Byfour

--- Richard Leotard [EMAIL PROTECTED] wrote:

 That's because you tomcat server is not startes I
 think
 richard
 
 
 
 
 
 
 marju jalloh [EMAIL PROTECTED]
 31/10/2005 15:01
 Veuillez répondre à Tomcat Users List
  
 Pour :  Tomcat Users List
 users@tomcat.apache.org
 cc :(ccc : Richard
 Leotard/Dev_middle/Paris/Exane)
 Objet : unale to stop Tomcat-4.1.27
 *** Ce message vous a été émis sur Internet par 

[EMAIL PROTECTED]
 / Message sent through Internet by 

[EMAIL PROTECTED]
 ***
 
 
 Hello
 
 Can someone lease help.I`m using tomcat-4.1.27.When
 starten its gives all indication of clean start
 
 Using CATALINA_BASE:   /etc/tomcat4
 Using CATALINA_HOME:   /etc/tomcat4
 Using CATALINA_TMPDIR: /etc/tomcat4/temp
 Using JAVA_HOME:   /usr/lib/j2sdk1.5-sun/
 ...
 testing with http://localhost:8080, I got Using 
 Connection refused error. when I stop tomcat I got
 this error
  ./shutdown.sh
 Using CATALINA_BASE:   /etc/tomcat4
 Using CATALINA_HOME:   /etc/tomcat4
 Using CATALINA_TMPDIR: /etc/tomcat4/temp
 Using JAVA_HOME:   /usr/lib/j2sdk1.5-sun/
 Catalina.stop: java.net.ConnectException: Connection
 refused
 java.net.ConnectException: Connection refused
 at
 java.net.PlainSocketImpl.socketConnect(Native
 Method)
 at

java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
 at

java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
 at

java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
 at

java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
 at java.net.Socket.connect(Socket.java:507)
 at java.net.Socket.connect(Socket.java:457)
 at java.net.Socket.init(Socket.java:365)
 at java.net.Socket.init(Socket.java:178)
 at

org.apache.catalina.startup.Catalina.stop(Catalina.java:581)
 at

org.apache.catalina.startup.Catalina.execute(Catalina.java:402)
 at

org.apache.catalina.startup.Catalina.process(Catalina.java:180)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke0(Native
 Method)
 at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at
 java.lang.reflect.Method.invoke(Method.java:585)
 at

org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
 
 Can someone why this catalina stop,connection
 refused
 error due occur or link me to a site that explain
 this
 problem.
 
 Byfour
 
 
 
  
  
 __ 
 Yahoo! Mail - PC Magazine Editors' Choice 2005 
 http://mail.yahoo.com
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 
 
 
   ___
 The integrity of this message cannot be guaranteed
 on the internet .Therefore EXANE cannot be
 considered responsible for the contents.
 If you are not the intended recipient of this 
 message ,please delete it and notify the sender.
 
 This message is provided for information purposes
 only and should not be construed as a solicitation
 or offer to buy or sell any securities or related
 financial instruments
 Although it may contain some elements from
 publications produced by Exane's research department
 ,this message is not research.
 Please consult our web site for important
 disclaimers and disclosures concerning Exane's
 research  (http://www.exane.com)
   ___
 
 




__ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com

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