Need Help

2004-09-03 Thread Venu
Hello Guru's

Im using the my application outside the webapps in server.xml i have confiured the 
following
but still my jsp's & servlets doenst executes at the server side..

Here is my Server.xml file.









  
  
  
  

  
  








  
factory
org.apache.catalina.users.MemoryUserDatabaseFactory
  
  
pathname
conf/tomcat-users.xml
  


  

  

  
  

































  
  

  
  

  

  
  

  
  

  

  

  

  


 

 
www.domainname.com



 
  

  


  

  

  




Any help is most appreiciated.

Best Regard's

Venu


Re: Need Urgent Help

2004-09-03 Thread Venu
sorry
both the ways i have tried dosent work

here my server.xml









  
  
  
  

  
  








  
factory
org.apache.catalina.users.MemoryUserDatabaseFactory
  
  
pathname
conf/tomcat-users.xml
  


  

  

  
  

































  
  

  
  

  

  
  

  
  

  

  

  

  


 

 
www.domainname.com



 
  

  


  

  

  





- Original Message - 
From: "Bedrijven.nl" <[EMAIL PROTECTED]>
To: "'Venu'" <[EMAIL PROTECTED]>
Sent: Friday, September 03, 2004 6:53 PM
Subject: RE: Need Urgent Help


> try
> appbase="/home/httpd/vhosts/domainname.com"
> docbase="/home/httpd/vhosts/domainname.com/httpdocs"
>
> or
> try
> appbase="/home/httpd/vhosts/domainname.com"
> docbase="httpdocs"
>
>
> -Oorspronkelijk bericht-
> Van: Venu [mailto:[EMAIL PROTECTED]
> Verzonden: Friday, September 03, 2004 11:40 AM
> Aan: [EMAIL PROTECTED]
> Onderwerp: Re: Need Urgent Help
>
>
> my appbase is not installed under webapps
> which is installed at  /home/httpd/vhosts/domainname.com on the
> linux server. and docBase is "httpdocs"
>
> - Original Message -
> From: "Bedrijven.nl" <[EMAIL PROTECTED]>
> To: "'Venu'" <[EMAIL PROTECTED]>
> Sent: Friday, September 03, 2004 6:25 PM
> Subject: RE: Need Urgent Help
>
>
> > You use appBase="="/home/httpd/vhosts/domainname.com/httpdocs"??
> >
> > So appbase is the directory where yur applications are installed
(default
> > webapps)
> > And docBase is the sbdirectory for your webapplication resolving by the
> > host.
> >
> > example of mine:
> >
> >  > autoDeploy="true"
configClass="org.apache.catalina.startup.ContextConfig"
> > contextClass="org.apache.catalina.core.StandardContext" debug="0"
> > deployXML="true"
> > errorReportValveClass="org.apache.catalina.valves.ErrorReportValve"
> > liveDeploy="true"
> mapperClass="org.apache.catalina.core.StandardHostMapper"
> > name="rangerdag.nl" unpackWARs="true">
> >
> > www.rangerdag.nl
> >  > prefix="rangerdag." suffix=".log" timestamp="true"/>
> > 
> > 
> >
> >
> >
> >
> > -Oorspronkelijk bericht-
> > Van: Venu [mailto:[EMAIL PROTECTED]
> > Verzonden: Friday, September 03, 2004 11:05 AM
> > Aan: Tomcat Users List; [EMAIL PROTECTED]
> > Onderwerp: Re: Need Urgent Help
> >
> >
> > sorry i didnt get you...
> > relative to the dir on the same server
> >
> > - Original Message -
> > From: "Bedrijven.nl" <[EMAIL PROTECTED]>
> > To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> > Sent: Friday, September 03, 2004 5:59 PM
> > Subject: RE: Need Urgent Help
> >
> >
> > > yes but it;s a relative path..so relative to what??
> > >
> > > -Oorspronkelijk bericht-
> > > Van: Venu [mailto:[EMAIL PROTECTED]
> > > Verzonden: Friday, September 03, 2004 10:43 AM
> > > Aan: Tomcat Users List; [EMAIL PROTECTED]
> > > Onderwerp: Re: Need Urgent Help
> > >
> > >
> > > yes  it the dir (docBase="/home/httpd/vhosts/domainname.com/httpdocs")
> > > where i am having my jsp's & servlets
> > >
> > > - Original Message -
> > > From: "Bedrijven.nl" <[EMAIL PROTECTED]>
> > > To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> > > Sent: Friday, September 03, 2004 5:41 PM
> > > Subject: RE: Need Urgent Help
> > >
> > >
> > > > Is docBase right???
> > > >
> > > > -Oorspronkelijk bericht-
> > > > Van: Venu [mailto:[EMAIL PROTECTED]
> > > > Verzonden: Friday, September 03, 2004 10:25 AM
> > > > Aan: Tomcat Users List
> > > > Onderwerp: Need Urgent Help
> > > >
> > > >
> > > > Hello Guru's
> > > >
> > > > Im using the my application outside the webapps in server.xml i have
> > > > confiured the following
> > > >
> > > >  > > > appBase="=&quo

Re: Need Urgent Help

2004-09-03 Thread Venu
sorry i didnt get you...
relative to the dir on the same server

- Original Message - 
From: "Bedrijven.nl" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Friday, September 03, 2004 5:59 PM
Subject: RE: Need Urgent Help


> yes but it;s a relative path..so relative to what??
>
> -Oorspronkelijk bericht-
> Van: Venu [mailto:[EMAIL PROTECTED]
> Verzonden: Friday, September 03, 2004 10:43 AM
> Aan: Tomcat Users List; [EMAIL PROTECTED]
> Onderwerp: Re: Need Urgent Help
>
>
> yes  it the dir (docBase="/home/httpd/vhosts/domainname.com/httpdocs")
> where i am having my jsp's & servlets
>
> - Original Message - 
> From: "Bedrijven.nl" <[EMAIL PROTECTED]>
> To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> Sent: Friday, September 03, 2004 5:41 PM
> Subject: RE: Need Urgent Help
>
>
> > Is docBase right???
> >
> > -Oorspronkelijk bericht-
> > Van: Venu [mailto:[EMAIL PROTECTED]
> > Verzonden: Friday, September 03, 2004 10:25 AM
> > Aan: Tomcat Users List
> > Onderwerp: Need Urgent Help
> >
> >
> > Hello Guru's
> >
> > Im using the my application outside the webapps in server.xml i have
> > confiured the following
> >
> >  > appBase="="/home/httpd/vhosts/domainname.com/httpdocs"
unpackWARs="true">
> > www.domainname.com
> >
> >  >
> > directory="logs" prefix="domainname" suffix=".log" timestamp="true"/>
> >
> >  > debug="0" reloadable="true"/>
> >
> >  > allow="127.0.0.1"/>
> >
> > 
> >
> > but still my jsp's & servlets doenst executes at the server side..
> >
> > Any help is most appreiciated.
> >
> > Best Regard's
> >
> > Venu
> >
> >
> >
> >
> > -
> > 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]
>
>
> -
> 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]



Re: Need Urgent Help

2004-09-03 Thread Venu
yes  it the dir (docBase="/home/httpd/vhosts/domainname.com/httpdocs") 
where i am having my jsp's & servlets

- Original Message - 
From: "Bedrijven.nl" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Friday, September 03, 2004 5:41 PM
Subject: RE: Need Urgent Help


> Is docBase right???
> 
> -Oorspronkelijk bericht-
> Van: Venu [mailto:[EMAIL PROTECTED]
> Verzonden: Friday, September 03, 2004 10:25 AM
> Aan: Tomcat Users List
> Onderwerp: Need Urgent Help
> 
> 
> Hello Guru's
> 
> Im using the my application outside the webapps in server.xml i have
> confiured the following
> 
>  appBase="="/home/httpd/vhosts/domainname.com/httpdocs" unpackWARs="true">
> www.domainname.com
> 
>  
> directory="logs" prefix="domainname" suffix=".log" timestamp="true"/>
> 
>  debug="0" reloadable="true"/>
> 
>  allow="127.0.0.1"/>
> 
> 
> 
> but still my jsp's & servlets doenst executes at the server side..
> 
> Any help is most appreiciated.
> 
> Best Regard's
> 
> Venu
> 
> 
> 
> 
> -
> 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]



Need Urgent Help

2004-09-03 Thread Venu
Hello Guru's

Im using the my application outside the webapps in server.xml i have confiured the 
following


www.domainname.com









but still my jsp's & servlets doenst executes at the server side..

Any help is most appreiciated.

Best Regard's

Venu




Need Help

2004-09-02 Thread Venu
Hello EveryBody,

I am trying to execute my jsp's & servlets from my remote server 
from /home/httpd/vhosts/domainname.com dir

It works fine for the Html's but when try to execute my jsp's & servlets
 it is not able to execute and even doesnt displays an error page just displays 
only the html tags.

the configuration in the server.xml


www.domainname.s.com

   
 
  

Any help will be most appreciated.

Best Regard's
Tomcat Cat-User

Domain name Mapping

2004-09-02 Thread Venu
Hello Everybody,

Im very new to the tomcat.

Today i have configured tomcat4.0 on a remote linux sever.

Well when i want to test the tomcat server http://xx.xx.xx.xx:8080/ works fine for
me where it displays the default index page.

But i want to map that domain to differnt domain name as http://www.my-domain.com.
and at the same time how to map different domain names on the same tomcat server.

Any suggestions will be most appreciated.

Best Regard's
Venu

Remote Installation of Tomcat 5.0

2004-09-01 Thread Venu
Hi Group Good Morning,

I m bit confused and seaching for some information for the following 
issues 

-How to  perform Remote Installation of Tomcat5.0 on a linux machine for running 
about 30 different applications on that Server.
-Is the Tomcat5.0 is stable or Tomcat4.1 is stable?
-What are the Steps to taken in Server.xml for getting more efficency.

Best Regard's
Venu



 
 

 


Re: REG: session

2004-08-13 Thread Venu
Hello Jignesh ,
Thankx for ur reply
can u explain a bit elobrate..


- Original Message - 
From: "Jignesh Patel" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Saturday, August 14, 2004 6:15 AM
Subject: Re: REG: session


> Very simple,
> User session listener, and put your database access code in
> sessionDestroy method().
>
> -Jignesh
> On Sun, 2004-06-13 at 06:52, Venu wrote:
> > Hello EveryOne,
> >
> > I have stucked at a point well i am using mysql as database where i am
buidling a web application.
> >
> > For locking the multiusers i am using edit_status in each and every
table..
> >
> > Let say a user logged in the edit_status value for the logged in user is
"per_id" and when the user log's out the edit_Status value is going to be
"0".
> >
> > But the problem comes when the user logged in but doesnt log's out in
sense if his system hangs or powershutdown's then his record is going to be
locked and he wont able to login once again...
> >
> > is there any way which i can create a session with session time when the
user is not responding at the server (Tomcat) a bean executes release the
tables...while doing these i need to carry out the excat per_id of that
person. or else how to call another jsp inside web.xml when the session
expires
> >
> >
> > I will be very thank ful if i get any suggestions from the forum...
> >
> > Best Regard's
> > Venu
> >
> >
> >
> >


> >
>
>
> -
> 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]



REG: session

2004-08-13 Thread Venu
Hello EveryOne,

I have stucked at a point well i am using mysql as database where i am buidling a web 
application.

For locking the multiusers i am using edit_status in each and every table..

Let say a user logged in the edit_status value for the logged in user is "per_id" and 
when the user log's out the edit_Status value is going to be "0".

But the problem comes when the user logged in but doesnt log's out in sense if his 
system hangs or powershutdown's then his record is going to be locked and he wont able 
to login once again...

is there any way which i can create a session with session time when the user is not 
responding at the server (Tomcat) a bean executes release the tables...while doing 
these i need to carry out the excat per_id of that person. or else how to call another 
jsp inside web.xml when the session expires


I will be very thank ful if i get any suggestions from the forum...

Best Regard's
Venu 


  
  

 


Exception in thread "CompileThread0"

2001-09-17 Thread Venu Babu

Hi,
We are using Tomcat 3.2.3+Apache for nearly 2 months. Recently Tomcat is
dying every night with the following memory exception.
Exception in thread "CompileThread0" java.lang.OutOfMemoryError: requested
201326600 bytes

The server always has more than 2GB free memory available. Any ideas?





Tomcat stops serving requests...Please help

2001-08-15 Thread Venu Babu

Hi! 
I posted this message  couple of days back. I didn't get any response. So I
am posting again.
Please help us out.
we are using Tomcat 3.2.1 with Apache http server. We are using this
setup in production. After running 3 days, Tomcat stopped serving requests
and throws null pointer exception when tried to access any JSP. See the
exception below...

Internal Servlet Error:
java.lang.NullPointerException at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection
(Ajp13ConnectionHandler.java:160)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)

Before this happened, there were some "Connection reset by peer" errors.
Can someone please help us on this.

 



Tomcat stops serving requests...Please help

2001-08-13 Thread Venu Babu

Hi! we are using Tomcat 3.2.1 with Apache http server. We are using this
setup in production. After running 3 days, Tomcat stopped serving requests
and throws null pointer exception when tried to access any JSP. See the
exception below...

Internal Servlet Error:
java.lang.NullPointerException at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection
(Ajp13ConnectionHandler.java:160)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)

Before this happened, there were some "Connection reset by peer" errors.
Can someone please help us on this.

 



IIS tomcat configuration problem

2001-02-13 Thread Venu Vuppalapati

Hi:

I am trying to configure tomcat on IIS.
when I am setting workerprocess for JNI I am getting this error message with
"jni_connect.dll"

can someone help me in this.

this is the message I got in my jvm.stderr log file

2001-02-13 09:36:30 - Ctx(  ): IOException in: R(  + / + null) Descriptor
not a socket: socket write error
java.lang.NullPointerException
at
org.apache.tomcat.service.JNIEndpointConnector.start(JNIEndpointConnector.ja
va:110)
at org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
2001-02-13 09:36:36 - ContextManager: Adding context Ctx( /examples )
2001-02-13 09:36:36 - ContextManager: Adding context Ctx( /admin )
2001-02-13 09:36:36 - ContextManager: Adding context Ctx(  )
2001-02-13 09:36:36 - ContextManager: Adding context Ctx( /test )
2001-02-13 09:36:37 - PoolTcpConnector: Starting HttpConnectionHandler on
8080
2001-02-13 09:36:37 - PoolTcpConnector: Starting Ajp12ConnectionHandler on
8007
Failed to loadLibrary()
C:/tomcat/jakarta-tomcat-3.2.1/bin/win32/i386/jni_connect.dll
java.lang.NullPointerException
at
org.apache.tomcat.service.JNIEndpointConnector.start(JNIEndpointConnector.ja
va:110)
at org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)

Venu


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