Hi,
I want to deploy a servlet jar file without using the manager
application.
From reading context.xml, I understand that is possible to re-start an
application by modifying the files that are listed in it e.g.
WEB-INF/web.xml
But it doesn't work for me. How can I get it to work?
Has anybody
> From: Stanczak Group [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat 5 on VPS service stops
>
> Error occurred during initialization of VM
> Could not reserve enough space for object heap
> Could not create the Java virtual machine.
>
> I thought when Tomcat ran out of ram it left a log entry?
This drives me crazy, too.
I can't comment on .war file deployment directly because I am not
using it. But I want to help you anyway, suggesting the approach I
would take.
I would forget manager for a moment. A basic servlet engine (these
things have been around for 10 years or more, remember Sun
Thank you for your suggestions. I will give them a shot. It's even
stranger when you set the server to not unpack wars. You might find it
interesting so I'll give you a brief description of what I found in my
tests to get tomcat to redeploy without a restart.
Let's say I have a war called com_m
On Fri, 2005-03-18 at 11:25 +0530, Joy Kenneth Harry wrote:
> Hi,
> I have a webapp in tomcat. I am using a separate Log4j.xml for it, in
> its WEB-INF classes folder.
>
> I've also put a Log4j.xml in TOMCAT_HOME/ common/classes and set it to
> false so that I do not get the general Tomcat logs.
>
Just out of curiousity what this line means ?
StandardWrapperValve[UserPurchase]:
Also this line looks strange
.servlet.HandleRequest.showMessage(HandleRequest.java:203)
On Fri, 18 Mar 2005 00:34:18 -0600, Caldarale, Charles R
<[EMAIL PROTECTED]> wrote:
> > From: Barclay, Lachlan [mailto:[EM
HI!
I am having problem in production deployment. I am using Tomcat 4.1.24 .
It's working fine in Win 2k UAT machine , same is working fine in Linux 2.1
UAT machine. While same is fine in production machine as well.
But I change server.xml in all the three machine, it works fine in both UAT
machine
That give me another question. Why on this RH Linux system when issuing
the java command I get:
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
That's why I put the -Xmx64m. Now I just changed it to this:
/usr/ja
> From: Barclay, Lachlan [mailto:[EMAIL PROTECTED]
> Subject: tomcat throwing exceptions
>
> But then if I quicken the delays to about 20ms, I start to
> get these exceptions. It looks like Tomcat is thinking that
> a request is part of a previous request, and then something
> goes wrong.
Odds ar
Hi everyone,
I'm currently getting a tomcat exception showing up in my logs - I'm not
sure
if this is a Tomcat problem or not, so any suggestions would be great.
(I am using Tomcat 4.1.10, can't use 5 because of
what is running in production)
The exception is:
2005-03-18 17:15:19 StandardWrap
Hi,
I have a webapp in tomcat. I am using a separate Log4j.xml for it, in
its WEB-INF classes folder.
I've also put a Log4j.xml in TOMCAT_HOME/ common/classes and set it to
false so that I do not get the general Tomcat logs.
But even then my project logs are getting mixed with the TOMCAT logs.
I
> From: samsher khan [mailto:[EMAIL PROTECTED]
> Subject: RE: Tomcat 5 on VPS service stops
>
> But I don't think memory is any problem I have more
> than 500 mb ram on my system
But by setting -Xmx64m, you're limiting the Java heap to only 64 MB, and that
has to be partitioned into eden space,
Thanks Chuck for the reply
But I don't think memory is any problem I have more
than 500 mb ram on my system
--- "Caldarale, Charles R"
<[EMAIL PROTECTED]> wrote:
> > From: Stanczak Group
> [mailto:[EMAIL PROTECTED]
> > Subject: Tomcat 5 on VPS service stops
> >
> > I start the service with -Xmx64m
> From: Stanczak Group [mailto:[EMAIL PROTECTED]
> Subject: Tomcat 5 on VPS service stops
>
> I start the service with -Xmx64m -server and I'm using
> jdk 1.5.0_01.
That's not much memory for Tomcat to play with. You might want to set
-verbose:gc to see if you've fallen into a continuous GC mo
Hi
I am able to run the jsp in the tomcat 5.0 but when I
try to run a war file containing servlets instead of
executing it the IE try's to download it as zip file.
I have web.xml file web-inf folder also.If I just give
only the servlet path in the IE then the server say
requested resource not avai
Basically we have to make tomcat 5.5 connectors listen to non-http request,
Especially telnet to any of the port.
Yes one thing more there is no apache, so tomcat is acting as web server as
well as servlets container.
Can any custom built non-http connector is provided
Plz advice me in this matter
I'm having a strange issue with my Tomcat 5 server. I have two instances
of Tomcat 5 running on my VPS system I pay for. For some reason just the
Tomcat services just stop. I can't find any errors that tell me why it
just stops. This is the fifth time I've re-started them today. The
systems are
Hi Torrey,
I can't comment on .war file deployment directly because I am not
using it. But I want to help you anyway, suggesting the approach I
would take.
I would forget manager for a moment. A basic servlet engine (these
things have been around for 10 years or more, remember Sun's Java
Server)
Thanks Dan for your reply. Your suggestion is very much appreciated.
Running multiple instances as a workaround for this may be fine for a
handful of virtual hosts, but if you have 50 or 100? How much memory
and CPU or even how many physical machines do I need for that?
I would also find it error
Dear all,
I am using Tomcat 4.1. I am confused by one problem, basically I cannot view
the servlet in the
http://localhost:8080/tomcat-docs/appdev/sample/web/index.html. The file refers
to the servlet using servlet, where the web.xml has defined
this servlet as
HelloServlet
HI!
I am having problem in production deployment. I am using Tomcat 4.1.24 .
It's working fine in Win 2k UAT machine , same is working fine in Linux 2.1
UAT machine. While same is fine in production machine as well.
But I change server.xml in all the three machine, it works fine in both UAT
machi
Not sure what your need or frequency is for routine adding/deleting of a
virtual host is, but have you considered running multiple instances of
Tomcat and connecting them each over different jk port? Perhaps, one
instance runs your stable virtual hosts - another runs your dynamic set of
virtua
I have a similar problem in 5.5 when deploying my .war files. If I go to
the manager and undeploy a webapp that was deployed from a war it only
deletes the .war file and not the exploded directory. If I want to
deploy an update I have to stop tomcat and start it again for it to
pickup the chang
Hi again!
I am currently developoing a web application and whenever I change my
project (jsp file or java classes) I have to deploy and undeploy the
application again. Which take a lot of time and it drives me crazy!!!
Do you know how can I foce tomcat to deploy my build directory and
whenever I
Hi,
I would like to hear opinions from users or developers who have a
little more experience with mod-jk/Tomcat then me.
With multiple virtual hosts, I would like to add and delete virtual
hosts on a routine basis.
This is achieved by re-starting both httpd and tomcat after
re-configuration (I d
Is it possible to see the full stack trace of an exception in the browser?
If yes, how can I enable it?
thank you in advance kostas.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Thu, Mar 17, 2005 at 04:24:57PM -0800, brian wrote:
: Please let me know your experiences about a good book to for
: servlet programming. (shall be using Tomcat primarily)
1/ "Inside Servlets," by Dustin Callaway. I tried a few other servlet
books, but this is the one that really worked for me
I like the WROX book JSP 2nd Edition. It's not purely a servlet book but it
covers just about everything you might want to do. Namely filters,
servlets, JSPs, MVC frameworks, XML/XSLT, custom tags and tag libraries,
JDBC, and EJB. It's a little old so it doesn't cover some other important
things
I highly recommend "Java Server Pages" 3rd edition, by Hans Bergsten
(O'Reilly). It covers servlets, JSP and struts. Many examples and easy to
read and understand. I own all three editions.
-Original Message-
From: brian [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 17, 2005 4:25 PM
T
I need a book for servlet programming-
there are some good reviews for the Jason (O'Reilly) book.
and also for Goodwill's Servlet programming.
Please let me know your experiences about a good book to for
servlet programming. (shall be using Tomcat primarily)
references to some tutorials with to
Hi,
How can I start Tomcat with jsvc so that the jsvc command returns
control to the command prompt or script exactly after the
"Daemon started successfully" ?
I would like it to behave in the same way as other services such as
Apache httpd so I can cod success and failure messages in the script.
Thank-you, that worked famously.
Regards,
Jimmy Ray
--- "Ramu, Vinod" <[EMAIL PROTECTED]> wrote:
> Use XML element (under node) in
> your web.xml. Then
> dispatch the request to this resource using
>
ServletContext.getNamedDispatcher("nameoftheresource").
> If you use this
> method there is no n
Use XML element (under node) in your web.xml. Then
dispatch the request to this resource using
ServletContext.getNamedDispatcher("nameoftheresource"). If you use this
method there is no need to use any path. It identifies the resources
based on the name that you pass.
Vinod
-Original Messag
I have several JSP that I want to be able to forward
to from servlets. Right now I stick my JSP in
WEB-INF/jsp for security reasons. I guess I need a
way to include a JSP mapping in the web.xml so that my
request dispatcher call does not include the WEB-INF
directory in its path. Anyone know the
> From: Lee Hammond [mailto:[EMAIL PROTECTED]
> Subject: System ClassLoader problem on Linux running Hipergate on Tomcat?
>
> Well, I've got J2EE in it's default place /opt/ and Tomcat 5.0.30
> in /opt too and everything is now working fine.
Tomcat doesn't need the J2EE download, and, in some sit
There is no way for Tomcat to do this 'out of the box'. But don't despair!
Check out:
http://www.zlatkovic.com/httpredirectfilter.en.html
The author has released it under a very free license. I have been using the
filter and can personally recommend it. The site seems to be down right now, so
I have been trying to get really serious about log4j in web apps.
I note that Tomcat (thanks to commons-logging) uses java.util.logging
*except* for loggers created while my web app's classloader is the
current contextual classloader -- at which point it suddenly uses log4j
(since my web app does)
Roland,
You might want to add yourself to the cc list of this bug:
Normal startup causes server error 500
http://issues.apache.org/bugzilla/show_bug.cgi?id=34050
It might be in the area of your interest.
Regards,
Bernard
On Thu, 17 Mar 2005 11:02:57 +0100, you wrote:
>Hi,
>
>To reload,
Apologies, I've put a lot in this email so that hopefully my rescuer won't
have to in theirs...
This is probably such a dumb problem I deserve to be shot, but I'm stuck and
I have no support and I'm desperately trying to migrate one machine in this
office so that we don't have to shell out for mor
Set a hostname up in etc/hosts and access it.
-Original Message-
From: QM <[EMAIL PROTECTED]>
Sent: Mar 17, 2005 12:31 PM
To: Tomcat Users List
Subject: Re: localhost ok - how I set up in a real host?
On Thu, Mar 17, 2005 at 05:24:12PM -0300, [EMAIL PROTECTED] wrote:
: I succesfully exec
On Thu, Mar 17, 2005 at 05:24:12PM -0300, [EMAIL PROTECTED] wrote:
: I succesfully executed a tutorial form servlet in the computer. Now I want to
try it on a web host.
: But, I am using a free host (beplaced.com) that I don't know if accepts java
servlets. Questions:
:
: 1) How do I know if the
Hi
I succesfully executed a tutorial form servlet in the computer. Now I want to
try it on a web host.
But, I am using a free host (beplaced.com) that I don't know if accepts java
servlets. Questions:
1) How do I know if the server accepts java servlets?
2) I imagine if they do they have to run
Thanks for the Idea Vinod, unfortunately I don't have control of the jsp
content, so that rather elegant solution won't work. However I'm definitely
tucking that away in my mental rolodex. Thanks for the tip!!!
Does anyone else know if there's a way to redirect to a different host I was
looki
You may have to use JSTL in your page.
JSTL provides a tag called "import" that has the capability to import
contents from other site to your page. So you may built a page that
looks like
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %>
http://shoppingcarthost:8080/shopping"/>
Whe
1. Which platform and crond are you on? Is the crontab format correct for
your environment?
00 22 * * * root /PATH/TO/JAKARTA/bin/shutdown.sh
vs. 00 22 * * * /PATH/TO/JAKARTA/bin/shutdown.sh
2. You may want to see if shutdown.sh works as root.
3. You can also try
00 22 * * * /PATH/TO/
Is there anyway to configure Tomcat (without using apache) to redirect
requests for a particular context to a new url (and host)
Here's the scenario on the main page there is a link to a shopping cart
context. This webapp does not run on this machine, it's running on a totally
separate system,
I am having the following problem
I can't get to website by typing https://serveripaddress, however, if I type
https://serveripaddrress/root it takes me there. I am assuming that some
setting isn't pointing in the right direction.
Thanks in advance for any help.
Shane
-Original Message---
Is there a way I can change the default web root in Tomcat 5.5? If so, how?
Hi,
Maybe this can help:
In Tomcat 5.5, the file context.xml in the server's conf directory
allows for watched resources, which when touched, cause an application
reload:
It looks like this:
WEB-INF/web.xml
META-INF/context.xml
I am trying to not include th
Caldarale, Charles R wrote:
From: Robert r. Sanders [mailto:[EMAIL PROTECTED]
Subject: mod_jk + ssl on a virtual host.
When connecting, I can access the web application via HTTPS;
however Tomcat seems unaware that the connection is secure
Have you set secure="true" in the connector entry in s
We are using form-based authentication. We changed to the
DataSourceRealm last weekend and it appears (so far) to have solved the
problem (again with TC 5.5.7 plus session replication patch).
- Richard
Darren Govoni wrote:
> I had similar problems, and was forced to revert back to Tomcat 5.0.x.
What wasn't working was the POST was not sending any
parameters to the servlet. In this servlet, I combine
the doGet and doPost and only a GET was providing the
servlet parameters from the web form. The issue
seemed to be tied to the NTLM authentication that the
jcifs lib performed. Once my sess
> From: Robert r. Sanders [mailto:[EMAIL PROTECTED]
> Subject: mod_jk + ssl on a virtual host.
>
> When connecting, I can access the web application via HTTPS;
> however Tomcat seems unaware that the connection is secure
Have you set secure="true" in the connector entry in server.xml that you're
1/ Sorry having replied to an unrelated message.
2/ Yes Tomcat always run as root.
3/ I am newbie, so I will get info about 'wapper script'.
4/ uhmmm a newbie question : Where can I find these logs . sorry :s
QM wrote:
On Thu, Mar 17, 2005 at 05:24:59PM +0100, C?dric Buschini wrote:
: I'd like
Thanks.
I think the client lied when he told me it did show a while ago :)
With a WML enabled browser everything is ok.
Nick
-Original Message-
From: Lionel Farbos [mailto:[EMAIL PROTECTED]
Sent: donderdag 17 maart 2005 17:23
To: Tomcat Users List
Cc: [EMAIL PROTECTED]
Subject: Re: Serv
On Thu, Mar 17, 2005 at 05:24:59PM +0100, C?dric Buschini wrote:
: I'd like to stop and start my tomcat using cron so I added this in the
: root's crontab and /etc/crontab :
: 00 22 * * * root /PATH/TO/JAKARTA/bin/shutdown.sh
: 02 22 * * * root /PATH/TO/JAKARTA/bin/startup.sh
1/ please post a *ne
I had similar problems, and was forced to revert back to Tomcat 5.0.x.
Are you using HTTP or Form-based authentication to get the user
credentials?
On Tue, 2005-03-08 at 11:57 -0700, Richard Mixon (qwest) wrote:
> Has anything changed with the way that JDBCReal handles connection
> timeouts in T
Yes and it depends on your crontab version.
In my version,
the system-wide crontab seems like this :
00 22 * * * /PATH/TO/JAKARTA/bin/shutdown.sh
and the user-wide crontab seems like this :
00 22 * * * /PATH/TO/JAKARTA/bin/shutdown.sh
...
but are not executed by the same user.
On Thu, 17 Mar 2005
I have an issue with detecting HTTPS when running on a virtual server
behing mod_jk; here's my setup:
For reasons that I can't currently change I have an internal server
running as app.server.com (example url); it is aliased so that multiple
virtual hosts (name based) are running as: x.app.se
yes everything is fine.
all vars have been export. I've done a JAVA_HOME=path/to/java then
export JAVA_HOME.
Same thing for CATALINA_HOME
Robert r. Sanders wrote:
Are your JAVA_HOME and other vars defined in a global context? Other
than that I don't really know.
Cédric Buschini wrote:
Hi
Are your JAVA_HOME and other vars defined in a global context? Other
than that I don't really know.
Cédric Buschini wrote:
Hi
I'd like to stop and start my tomcat using cron so I added this in the
root's crontab and /etc/crontab :
00 22 * * * root /PATH/TO/JAKARTA/bin/shutdown.sh
02 22 * * * r
Hi
I'd like to stop and start my tomcat using cron so I added this in the
root's crontab and /etc/crontab :
00 22 * * * root /PATH/TO/JAKARTA/bin/shutdown.sh
02 22 * * * root /PATH/TO/JAKARTA/bin/startup.sh
but it does work :s
Any got ideas ???
Thk
Cedric
-
On Thu, 17 Mar 2005 16:57:04 +0100
Omar Adobati <[EMAIL PROTECTED]> wrote:
> To browse a wml file you need to use a wml browser, You can't do it
> just using Ie or Mozilla. Maybe you can find a wml browser on the
> Internet.
I think Opera do it.
>
>
> On Thu, 17 Mar 2005 16:52:30 +0100, Lionel
Hi,
I have a webapp in tomcat. I am using a separate Log4j.xml for it, in
its WEB-INF classes folder.
I've also put a Log4j.xml in TOMCAT_HOME/ common/classes and set it to
false so that I do not get the general Tomcat logs.
But even then my project logs are getting mixed with the TOMCAT logs.
Is
Hi,
I am running a Servlet on a Tomcat 5.0.30 Instance. This Servlets gets
< 500 Hits a day. After approx. 10 days Tomcat doesn't reply anymore -
the logs say:
Mar 15, 2005 6:53:11 PM org.apache.tomcat.util.threads.ThreadPool
logFull SEVERE: All threads (50) are currently busy, waiting. Increase
m
On Thu, Mar 17, 2005 at 06:45:56AM -0800, Jimmy Ray wrote:
: Tomcat 5.0.28 on HP UNIX: I was using a filter
: (jcfifs) in one of my web.xml files. I have since
: removed the filter and all code refering to it. Now
: web forms can not post to servlets in this app. GET
: methods work fine, but PO
To browse a wml file you need to use a wml browser, You can't do it
just using Ie or Mozilla. Maybe you can find a wml browser on the
Internet.
On Thu, 17 Mar 2005 16:52:30 +0100, Lionel Farbos <[EMAIL PROTECTED]> wrote:
> and, in your browser, what is the default action for this mapping ?
>
> O
Mozilla doesn't understand how to deal with wml. But you can get a plug-in:
http://wmlbrowser.mozdev.org/
Nick Wolters wrote:
In mozilla the download window says: text/vnd.wap.wml
The file itself begins with the following:
http://www.wapforum.org/DTD/wml_1.1.xml";>
.
In web.xml I fou
and, in your browser, what is the default action for this mapping ?
On Thu, 17 Mar 2005 16:19:06 +0100
"Nick Wolters" <[EMAIL PROTECTED]> wrote:
> In mozilla the download window says: text/vnd.wap.wml
>
> The file itself begins with the following:
>
>
> "http://www.wapforum.org/DTD/wml_1.1.xm
You might want to refer to this FAQ:
http://www.catb.org/~esr/faqs/smart-questions.html
The stated goal of the FAQ is:
How to ask questions of hackers in a way that makes it most likely that
you'll get a useful answer.
George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 95
yes of course i am telling it to use a different server.xml
my config looks like this
-config c:\config\server.xml
-dave
Caldarale, Charles R wrote:
From: David Gladstone [mailto:[EMAIL PROTECTED]
Subject: Tomcat 5 Service Windows
I am currently using tomcat 5.0.27 on Windows Xp and am
trying to p
maybe you need to enable tomcat to manage the wml files.
If I'm not wrong you have to chack the web.xml into yuor
TOMCAT_HOME\conf to verify that the mime mapping to use wml is not
commented or, at least, is presente.
I'm running Tomcat 5.5.7 and I already have the mime mapping enabled
and looks li
In mozilla the download window says: text/vnd.wap.wml
The file itself begins with the following:
http://www.wapforum.org/DTD/wml_1.1.xml";>
.
In web.xml I found the following:
wml
text/vnd.wap.wml
Didn't write the servlet myself though.
Nick
-Original M
I not sure whether you write a servlet code using STRUTS, at least I
have not see one because STRUTS frame work provides one. Once the
request is processed by STRUTS, it uses struts-config.xml file to
forward the response to next JSP page. XML element in
struts-config.xml file is used to forward t
What is your content type set to?
Doug
- Original Message -
From: "Nick Wolters" <[EMAIL PROTECTED]>
To:
Sent: Thursday, March 17, 2005 9:51 AM
Subject: Servlet pops up as download
Hello,
Having some issues with an ensim tomcat 4 installation.
Whenever I surf to www.mysite.com/servlet/M
Hello,
Having some issues with an ensim tomcat 4 installation.
Whenever I surf to www.mysite.com/servlet/MyServlet my browser pops up a
download dialog instead of showing the page.
It downloads MyServlet which does contain all the code it should normally
display in the browser.
I don't have much
Tomcat 5.0.28 on HP UNIX: I was using a filter
(jcfifs) in one of my web.xml files. I have since
removed the filter and all code refering to it. Now
web forms can not post to servlets in this app. GET
methods work fine, but POST does not. I am only using
Tomcat, no Apache front end. Is there
On Thu, 17 Mar 2005 14:12:06 +0100
Roland Carlsson <[EMAIL PROTECTED]> wrote:
> Hi and thanks for your answer!
>
> Do I read you correctly that there are no solution but to restart Tomcat to
> reload the context completly?
>
False.
> Lionel, the manager doesn't seem to re-read the context file
The only thing where I can find a direct writing/accesing the response is
public void doGet(HttpServletRequest request, HttpServletResponse
response) throws ServletException, IOException {
try {
if(request.getParameter("photoid")!=null){
String photoid = req
I would achieve this be configuring my web.xml. Try this piece of code
MyServlet
/webReg.jsp
MyServlet
/webReg
So when to submit a URL "http://localhost:8081/webReg"; to your container
it maps to the jsp file under the element.
Vinod
-Original Message--
On Thu, 17 Mar 2005 16:35:43 +0530
"Karanjkar, Sanjay V \(IT\)" <[EMAIL PROTECTED]> wrote:
> Hi Lionel,
>
> Thanks for your response. I tried both suggestions but no luck..
> Maybe it's something to do with the fact that I've not *installed*
> tomcat but only copied the binaries from an installe
This error is because you have a code that's trying to write response
after it's committed. If you can share the code that's causing this
error then may be we can be of some help.
Vinod
-Original Message-
From: Bedrijven.nl [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 17, 2005 8:45 AM
I saw an error in my log ive never seen before:
java.lang.IllegalStateException: Current state = FLUSHED, new state =
CODING_END
at
java.nio.charset.CharsetEncoder.throwIllegalStateException(CharsetEncoder.ja
va:933)
at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:529
On Thu, Mar 17, 2005 at 02:12:06PM +0100, Roland Carlsson wrote:
: Do I read you correctly that there are no solution but to restart Tomcat to
: reload the context completly?
That's not at all what I said. I can't provide an authoritative answer
to that question as I didn't write Tomcat. ;)
With
Hi and thanks for your answer!
Do I read you correctly that there are no solution but to restart Tomcat to
reload the context completly?
Lionel, the manager doesn't seem to re-read the context file under
/conf/Catalina/mydomain/myapp.xml and that is the one I have have to change.
Thanks in advan
On Thu, Mar 17, 2005 at 08:32:54AM +0100, Roland Carlsson wrote:
: do I force tomcat to re-load the context? Right now the only way I know
: about is to reboot tomcat witch leads to a full stop of all my web-apps
: instead of only one witch in turn leads to more complaints from my users.
Perhaps a
On Thu, Mar 17, 2005 at 11:18:00AM +0100, Rahman, Hamdur wrote:
: As tomcat provide coyote connector that is http based,
: Is there any connector available that are non-http based
: And how we can use in our project when we are using tomcat 5.5
: As both web server and servlets engine,
: Or can we
Sure,
Here is the doPost for ConvertToJspServlet
public void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException {
try {
RequestDispatcher rd = request.getRequestDispatcher(
"/jsps" + request.getPathInfo() + ".jsp");
I'm interested in your solution Allistair, can you better explane what
"my.com.ConvertToJspServlet" need to make real your idea?
Can you post a little of code as a sample?
On Thu, 17 Mar 2005 12:26:29 -, Allistair Crossley
<[EMAIL PROTECTED]> wrote:
> yes, another (more generic) solution wou
yes, another (more generic) solution would be a similar servlet mapping but
route all requests to a servlet capable of then forwarding to the request URI +
.jsp
convertToJspServlet
my.com.ConvertToJspServlet
convertToJspServlet
/*
In the ConvertToJspServlet servlet
Am Donnerstag, 17. März 2005 13:17 schrieb Omar Adobati:
> I think that he need something working not just only with welcome
> pages, or, maybe I have miss understood.
>
On re-reading the OP it seems to me that I misunderstood (and Allistair
propably too), not you.
Regards
mks
--
I think that he need something working not just only with welcome
pages, or, maybe I have miss understood.
On Thu, 17 Mar 2005 12:15:15 -, Allistair Crossley
<[EMAIL PROTECTED]> wrote:
> try the element out.
>
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECT
try the element out.
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 17 March 2005 12:05
> To: tomcat-user@jakarta.apache.org
> Subject: web.xml
>
>
> Hi there,
> i think this is a fairly easy thing to do, but i'm a newbie
> to tomcat & jsp.
>
> I am
I don't run 4 so these are only suggestions.
1. Remove the
2. Change your tomcat-user.xml to look like this
- Original Message -
From: "Karanjkar, Sanjay V (IT)" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Thursday, March 17, 2005 12:19 AM
Subject: RE: Problem with BASIC authen
you have to use the servlet mapping, something like this (each for
every mapping you need)
==
myOwnJSPPage
myOwnJSPPage
my own servlet called: myOwnJSPPage
/myJSP.jsp
myOwnJSPPage
/myJSP
==
On Thu, 17 Mar 2005 07:05:12 EST, [EMAIL PROTECTED] <[EMAIL PROTECTED]
Am Donnerstag, 17. März 2005 13:05 schrieb [EMAIL PROTECTED]:
> I am requesting the following url
> _http://localhost:8081/webReg.jsp_ (http://localhost:8081/webReg.jsp)
> which exists and dsiplays fine. However, i want to be able to request
> _http://localhost:8081/webReg_ (http://localhost:808
I apologize for posting this again - I just didn't hear anything (a
lot of sprited discussions going on at the time) and wanted to give
this one more shot here before sending to the developer list.
I opened a bug on this a couple of weeks ago, but it hasn't been
touched. Maybe other folks have se
Hi there,
i think this is a fairly easy thing to do, but i'm a newbie to tomcat & jsp.
I am requesting the following url
_http://localhost:8081/webReg.jsp_ (http://localhost:8081/webReg.jsp) which
exists and dsiplays fine. However, i want to be able to request
_http://localhost:8081/webReg_
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> But about two-five times per day, Tomcat hangs up,
> java (version is 1.5.0_01-b08) eats much cpu (up to 90%),
> and no any response from Tomcat, no warnings/errors in logs.
> I even can't stop it with shutdown.sh!
>
> Have anyone the same pro
1 - 100 of 110 matches
Mail list logo