newbei

2005-03-03 Thread VTR Ravi Kumar
Hello all,
I am getting a error message as follows
2005-03-03 14:26:51 StandardWrapperValve[action]: Servlet action is 
currently unavailable
2005-03-03 14:27:25 StandardWrapperValve[action]: Servlet action is 
currently unavailable
2005-03-03 14:27:30 StandardWrapperValve[action]: Servlet action is 
currently unavailable
2005-03-03 14:28:17 StandardWrapperValve[action]: Servlet action is 
currently unavailable
2005-03-03 14:28:30 StandardWrapperValve[action]: Servlet action is 
currently unavailable
2005-03-03 14:28:33 StandardWrapperValve[action]: Servlet action is 
currently unavailable
2005-03-03 14:28:34 StandardWrapperValve[action]: Servlet action is 
currently unavailable
2005-03-03 14:28:36 StandardWrapperValve[action]: Servlet action is 
currently unavailable
2005-03-03 14:28:36 StandardWrapperValve[action]: Servlet action is 
currently unavailable
2005-03-03 14:28:36 StandardWrapperValve[action]: Servlet action is 
currently unavailable
2005-03-03 14:28:37 StandardWrapperValve[action]: Servlet action is 
currently unavailable
2005-03-03 14:30:30 StandardWrapperValve[action]: Servlet action is 
currently unavailable
2005-03-03 14:35:08 StandardWrapperValve[action]: Servlet action is 
currently unavailable

I am trying to execute a small struts example given in Mastering tomcat 
developement by Perter Harrison.
/ListDepartmentsAction**/
package action;
import bean.Dept;
import org.apache.struts.action.*;
import javax.servlet.http.*;


public class ListDepartmentsAction extends Action {
   public ActionForward execute(ActionMapping mapping,
   ActionForm form,HttpServletRequest request,
   HttpServletResponse response) throws Exception{
  
   request.setAttribute(departments,Dept.getDepartments());
   return mapping.findForward(listing);
   }
  
}

My jsp
%@ taglib uri=logic prefix=logic%
%@ taglib uri=bean prefix=bean%
html
body bgcolor=yellow
table
logic:iterate id=dept name=departments
trtdbean:write name=dept /Herro/td/tr
/logic:iterate
/ body
/html
Any help in this regard will be greatly helpful..
thanks
--
---
VTR Ravi Kumar, Sr.Engineer,ITX, BHEL, Hardwar - 249403, India
Fax no. 0091-1334 - 223948, Ph. No. 0091-1334-285260 / 285405
---

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

Re: newbei

2005-03-03 Thread VTR Ravi Kumar
Yes
I have put struts.jar in the WEB-INF\lib and also added the mapping for 
action in web.xml
I had downloaded the jakarta-struts-1.2.4-lib.tar.gz but it did not 
contain any blank application as you have mentioned.
Please tell me where i can find the blank application 

vtr
Antony Paul wrote:
You put the struts.jar and related files in WEB-INF\lib directory of
your application ?. Added mapping in web.xml for ActionServlet ?.
Better you you use Struts blank application which is bundled with
Struts download.
rgds
Antony Paul
On Thu, 03 Mar 2005 14:43:46 +0530, VTR Ravi Kumar [EMAIL PROTECTED] wrote:
 

Hello all,
I am getting a error message as follows
2005-03-03 14:26:51 StandardWrapperValve[action]: Servlet action is
currently unavailable
2005-03-03 14:27:25 StandardWrapperValve[action]: Servlet action is
currently unavailable
2005-03-03 14:27:30 StandardWrapperValve[action]: Servlet action is
currently unavailable
2005-03-03 14:28:17 StandardWrapperValve[action]: Servlet action is
currently unavailable
2005-03-03 14:28:30 StandardWrapperValve[action]: Servlet action is
currently unavailable
2005-03-03 14:28:33 StandardWrapperValve[action]: Servlet action is
currently unavailable
2005-03-03 14:28:34 StandardWrapperValve[action]: Servlet action is
currently unavailable
2005-03-03 14:28:36 StandardWrapperValve[action]: Servlet action is
currently unavailable
2005-03-03 14:28:36 StandardWrapperValve[action]: Servlet action is
currently unavailable
2005-03-03 14:28:36 StandardWrapperValve[action]: Servlet action is
currently unavailable
2005-03-03 14:28:37 StandardWrapperValve[action]: Servlet action is
currently unavailable
2005-03-03 14:30:30 StandardWrapperValve[action]: Servlet action is
currently unavailable
2005-03-03 14:35:08 StandardWrapperValve[action]: Servlet action is
currently unavailable
I am trying to execute a small struts example given in Mastering tomcat
developement by Perter Harrison.
/ListDepartmentsAction**/
package action;
import bean.Dept;
import org.apache.struts.action.*;
import javax.servlet.http.*;
public class ListDepartmentsAction extends Action {
  public ActionForward execute(ActionMapping mapping,
  ActionForm form,HttpServletRequest request,
  HttpServletResponse response) throws Exception{
  request.setAttribute(departments,Dept.getDepartments());
  return mapping.findForward(listing);
  }
}
My jsp
%@ taglib uri=logic prefix=logic%
%@ taglib uri=bean prefix=bean%
html
body bgcolor=yellow
table
logic:iterate id=dept name=departments
trtdbean:write name=dept /Herro/td/tr
/logic:iterate
/ body
/html
Any help in this regard will be greatly helpful..
thanks
--
---
VTR Ravi Kumar, Sr.Engineer,ITX, BHEL, Hardwar - 249403, India
Fax no. 0091-1334 - 223948, Ph. No. 0091-1334-285260 / 285405
---
-
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]
 


--
---
VTR Ravi Kumar, Sr.Engineer,ITX, BHEL, Hardwar - 249403, India
Fax no. 0091-1334 - 223948, Ph. No. 0091-1334-285260 / 285405
---

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

predlude coda

2005-02-07 Thread VTR Ravi Kumar
I am not able to use this .
I have the following in my web.xml
- # jsp-config
- # jsp-property-group
 descriptionSpecial property group for JSP Configuration JSP 
example./description
 display-nameJSPConfiguration/display-name
 url-pattern/login.jsp/url-pattern
 el-ignoredtrue/el-ignored
 page-encodingISO-8859-1/page-encoding
 scripting-invalidtrue/scripting-invalid
 include-preludeprelude.jspf/include-prelude
 include-codacoda.jspf/include-coda
 /jsp-property-group
 /jsp-config

and have copied the prelude.jspf and coda.jspf
I get to see nothing in the login.jsp
Any help in this regard will be greatly welcomed...
VTR Ravi Kumar

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


Re: Tomcat Freezes unexpectedly

2005-01-27 Thread VTR Ravi Kumar
This might be something related to number of simultaneous users 
increasing some threshold.

Similar thing happens in our intranet server also and at that time a 
message like Internal Server Error. Your servlet container is bing 
upgraded ... appears.

VTR Ravi Kumar.

Diego Espada wrote:
Hi,
we are having a serious problem with Tomcat 5.0.27. We have a web 
server in production that is supposed to be 7x24, but it keeps hanging 
after a few hours with no apparent cause. We have to keep restarting 
it. One time, Tomcat logged that it was running out of threads (150), 
so I changed this value to 2000 in the xml server config file and only 
seemed to make things worse... now it hangs more often that before, 
probably twice a day or more.

The hangup does not follow any pattern... it can be at any moment in 
the day, some days it doesn't hang and some days it hangs three or 
four times.

The log doesn't say anything useful. It seems that Tomcat just stops 
logging after the hang up occurs.

My Tomcat is deployed on a Windows 2000 Server with jdk 1.4.2_05 as a 
service. It is not using the server jvm yet.
Any configurations I should look ? any optimizations ? any clues ?

Thanks
-
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: Please help me

2004-12-13 Thread VTR Ravi Kumar
I dont think u would have to shut down the server to upload files.
The context must be reloadable ie., set the reloadable = true in the context 
using the
admin page

VTR
BHEL haridwar
- Original Message - 
From: Rajesh [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 13, 2004 2:25 PM
Subject: Please help me


Hai all,
i have a doubt please help me.
in my tomcat server, am developing a online shopping site.
the site is live,
i periodically upload updated pages, when uploading i donot want to down 
the server,

i use a way that creating 2 webapps, one will run, i upload the updated 
pages to webapp 2 afteruploading i go to webapp1 and point it to webapp2 
when i need to upload second time ill upload to webapp 1 and i will make 
point from webapp2 to webapp 1 .

is there any way to do this affectively ??
Please reply
Rajesh
-
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]


admin not working in tomcat 5.5.4

2004-12-10 Thread VTR Ravi Kumar




hi all,

I recently downloaded Tomcat 5.5.4 and installed it 
in my windows machine.

When I tried this http://localhost:8080/adminI got a 
message that the admin is not provided and i have to download it 
seperately
I downloaded the zip file for the admin and it had 
two folders conf and server
whose content i copied in the respective folders in 
my tomcat home. 

I get the same message even now and am unable to 
access my admin What am i missing .

Any help in this regard will be greatly 
welcomed

regards


  
  
VTR Ravi Kumar,

  
Engineer, ITX
  
BHEL, Haridwar, India
  
Phone : 91-9319022456.
  
 
  


Re: Tomcat Administration Application

2004-12-10 Thread VTR Ravi Kumar
Dear friends,

I too face the similar problem and one more thing i noted that
inside the admin contect all folders except the WEB-INF seem to be empty
probably there is some mistake in the files kept for download or so...

VTR
- Original Message -
From: Kelly, Steve [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Saturday, December 11, 2004 1:16 AM
Subject: RE: Tomcat Administration Application


 Yeah. Restarted tc. Users created but I don't even get as far as it
 asking me to login as an admin user before I get the message telling me
 to download and install the admin package, which I already did.

 -Original Message-
 From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
 Sent: 10 December 2004 17:26
 To: Tomcat Users List
 Subject: RE: Tomcat Administration Application


 Hi,
 Did you restart Tomcat after unzipping the admin distro?  Did you set up
 a user for the admin app in tomcat-users.xml?

 Yoav Shapira http://www.yoavshapira.com


 -Original Message-
 From: Kelly, Steve [mailto:[EMAIL PROTECTED]
 Sent: Friday, December 10, 2004 12:10 PM
 To: [EMAIL PROTECTED]
 Subject: Tomcat Administration Application
 
 I've just installed Tomcat 5.5.4. I also downloaded the separate Tomcat

 Administration application. But when I click the Tomcat Administration
 button I still get the message saying the web application is no longer
 installed by default. From the Tomcat manager it says that application
 'admin' is running. What else do I need to do to get into it ?
 
 TIA,
 
 Steve.



 This e-mail, including any attachments, is a confidential business
 communication, and may contain information that is confidential,
 proprietary and/or privileged.  This e-mail is intended only for the
 individual(s) to whom it is addressed, and may not be saved, copied,
 printed, disclosed or used by anyone else.  If you are not the(an)
 intended recipient, please immediately delete this e-mail from your
 computer system and notify the sender.  Thank you.


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