Hi.
This is a beginner-like question.
I have tried to download and find this in the Servlet 2.5 Specification,
but I seem to get a series of html pages describing the API, without
telling me much about the general principles.
So just in case this is not nicely explained in English in the spec
Hi:
I have a JBOSS cluster which use Apache with mod_jk as HTTP load balancer.
In my cluster, some nodes are deployed web service, but not all. For example,
node 1 contains web servicebook_service, I can call the web service using URL
"http://www.node1.com/book_service";, but node 2 does not
André Warnier:
> I have tried to download and find this in the Servlet 2.5 Specification,
> but I seem to get a series of html pages describing the API, without
> telling me much about the general principles.
Yep, for some reason unknown to me it's unnecessarily difficult to find
the PDF with t
Hi
I am using weblogic.jar and api.jar in my project and when i try to run it
from the tomcat 6.0.14, I am getting this error in console
ile
INFO:
validateJarFile(C:\apache-tomcat-6.0.14\webapps\DinahGui\WEB-INF\lib\api.j
ar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class
Markus Schönhaber wrote:
André Warnier:
I have tried to download and find this in the Servlet 2.5 Specification,
but I seem to get a series of html pages describing the API, without
telling me much about the general principles.
Yep, for some reason unknown to me it's unnecessarily difficult
I have a site which is a mixture of html (and a bunch of images and
flash and other such stuff which came in from the web designer) and
a couple of JSPs. I have implemented this with Apache 2.2 and Tomcat
5.5, using ProxyPass statements with ajp in the Location tag.
My location block looks like:
> From: David Goodenough [mailto:[EMAIL PROTECTED]
> I have a site which is a mixture of html (and a bunch of images and
> flash and other such stuff which came in from the web designer) and
> a couple of JSPs. I have implemented this with Apache 2.2 and Tomcat
> 5.5, using ProxyPass statements wi
David Goodenough wrote:
I have a site which is a mixture of html (and a bunch of images and
flash and other such stuff which came in from the web designer) and
a couple of JSPs. I have implemented this with Apache 2.2 and Tomcat
5.5, using ProxyPass statements with ajp in the Location tag.
My
Zeke wrote:
> Hi:
> I have a JBOSS cluster which use Apache with mod_jk as HTTP load
> balancer. In my cluster, some nodes are deployed web service, but not all.
> For example, node 1 contains web servicebook_service, I can call the web
> service using URL "http://www.node1.com/book_service"
pharish2 wrote:
> Hi
> I am using weblogic.jar and api.jar in my project and when i try to run it
> from the tomcat 6.0.14, I am getting this error in console
> ile
> INFO:
> validateJarFile(C:\apache-tomcat-6.0.14\webapps\DinahGui\WEB-INF\lib\api.j
> ar) - jar not loaded. See Servlet Spec 2.3, s
java.lang.NoClassDefFoundError: weblogic/wsee/jaxrpc/ServiceImpl
java.lang.ClassLoader.defineClass1(Native Method)
java.lang.ClassLoader.defineClass(ClassLoader.java:620)
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
I am getting this exception in
pharish2 wrote:
> java.lang.NoClassDefFoundError: weblogic/wsee/jaxrpc/ServiceImpl
> java.lang.ClassLoader.defineClass1(Native Method)
> java.lang.ClassLoader.defineClass(ClassLoader.java:620)
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
>
> I am gett
The reason was that Tomcat did not serve the Flash correctly, never did
manage to get to the bottom of why but the browser did not complain - it
just left big blank spaces. With this setup at least that bit works.
David
On Wednesday 03 December 2008, Peter Crowther wrote:
> > From: David Goodeno
David Goodenough wrote:
The reason was that Tomcat did not serve the Flash correctly, never did
manage to get to the bottom of why but the browser did not complain - it
just left big blank spaces. With this setup at least that bit works.
David
My gut response is that the MIME type is wrong,
David Goodenough wrote:
[...]
Is there a way to divert just the .jsp files? I tried but
that did not seem to work - maybe I got something else wrong.
You may have more luck on the Apache users list ([EMAIL PROTECTED])
for this.
But, assuming all your other content is to be served by Apache,
Chris Wareham wrote:
David Goodenough wrote:
The reason was that Tomcat did not serve the Flash correctly, never did
manage to get to the bottom of why but the browser did not complain - it
just left big blank spaces. With this setup at least that bit works.
David
My gut response is that th
André Warnier wrote:
Chris Wareham wrote:
David Goodenough wrote:
The reason was that Tomcat did not serve the Flash correctly, never did
manage to get to the bottom of why but the browser did not complain - it
just left big blank spaces. With this setup at least that bit works.
David
My g
Hi all,
I am trying to integrate Apache server with Tomcat using mod_jk. I am
folllowing the basic tutorials on this but still cant start the Apache
server when I configure httpd.conf to load the mod_jk module. It says "The
requested operation has faiked!". I am not able to log the problem either
André Warnier:
> It appears anyway that my previous attempted logic was quite wrong.
> But I still find the spec quite confusing. There is some kind of
> mixture between "servlet" and "web application" that is not very clear,
> at least to me.
>
> As I understand it now, there are 2 steps :
>
> From: André Warnier [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat mapping of URLs -> servlets
>
> Even when you get there though, it is still difficult to download this
> thing. The proposed filename is not a valid path and must be changed..
What browser and platform are you using? (I'm askin
if its a bean make sure you
declare your attributes as having either private or protected access
in the case of attribute called size contained in class FuBar
class FuBar
{
public FuBar() { ; } //default no-arg constructor
private int Size;
//declare accessor getSize
public getSize()
{
> From: Caldarale, Charles R
> Subject: RE: Tomcat mapping of URLs -> servlets
>
> Note that the "servlet-2_5-mrel2-spec.pdf" button cannot be
> right-clicked and processed with "Save As"
I was mistaken; you can do a right-click and "Save As", without any problems.
Were you on the correct page w
Markus Schönhaber wrote:
André Warnier:
It appears anyway that my previous attempted logic was quite wrong.
But I still find the spec quite confusing. There is some kind of
mixture between "servlet" and "web application" that is not very clear,
at least to me.
As I understand it now, there
André Warnier wrote:
> Then I guess I have (at least) 2 webapps : a "/foo" webapp, and a
> "/foo/bar" webapp.
>
> Now a request comes in with the url "/foo/bar/baz/various.jsp"
>
> How does Tomcat determine that /foo/bar/baz is not itself a webapp, but
> merely a sub-dir of webapp "/foo/bar" ?
T
Martin Gainty wrote:
if its a bean make sure you
declare your attributes as having either private or protected access
in the case of attribute called size contained in class FuBar
class FuBar
{
public FuBar() { ; } //default no-arg constructor
private int Size;
//declare accessor getSize
p
The Apache Tomcat team is proud to announce the immediate availability of
Tomcat 4.1.39 stable. This build contains a small number of bug fixes and
two important, one moderate and one low severity security fixes.
Apache Tomcat is an implementation of the Java Server Pages 1.2 and Java
Servlet 2.3
Caldarale, Charles R wrote:
From: Caldarale, Charles R
Subject: RE: Tomcat mapping of URLs -> servlets
Note that the "servlet-2_5-mrel2-spec.pdf" button cannot be
right-clicked and processed with "Save As"
I was mistaken; you can do a right-click and "Save As", without any problems. Were you
Caldarale, Charles R wrote:
[...]
Forgot to add :
mine is an Official Firefox, running on an Official Windows XP.
;-)
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
Mark Thomas wrote:
André Warnier wrote:
Then I guess I have (at least) 2 webapps : a "/foo" webapp, and a
"/foo/bar" webapp.
Now a request comes in with the url "/foo/bar/baz/various.jsp"
How does Tomcat determine that /foo/bar/baz is not itself a webapp, but
merely a sub-dir of webapp "/foo/b
André Warnier wrote:
> Mark Thomas wrote:
>> André Warnier wrote:
>>> Then I guess I have (at least) 2 webapps : a "/foo" webapp, and a
>>> "/foo/bar" webapp.
>>>
>>> Now a request comes in with the url "/foo/bar/baz/various.jsp"
>>>
>>> How does Tomcat determine that /foo/bar/baz is not itself a w
> From: André Warnier [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat mapping of URLs -> servlets
>
> I was using Firefox 2.0.0.15, on a Windows XP station.
Hmmm... I haven't used Firefox 2 in a very long time - not since Firefox 3 was
in beta.
> http___cds-esd.sun.com_ESD34_JSCDL_servlet_2.5-mr
>"Mark Thomas" <[EMAIL PROTECTED]> wrote:
>Zeke wrote:
>> Hi:
>> I have a JBOSS cluster which use Apache with mod_jk as HTTP load
balancer. In my cluster, some nodes are deployed web service, but not all.
For example, node 1 contains web servicebook_service, I can call the web
service using URL
Mark Thomas wrote:
The Apache Tomcat team is proud to announce the immediate availability of
Tomcat 4.1.39 stable.
Remembering numerous exhortations on this list to upgrade, I must say
this announcement is somewhat surprising to me. So there are older
versions which are still maintained/enh
marco wrote:
>
> hi,
>
> we have the same error message.
> the problem seems to be that we have bundled our standard tag files in an
> jar library file
> and call these tagfile tags from inside another tagfile tag that is
> located in WEB-INF/tags.
> only the first tagfile tag of the jsp will
On Wed, Dec 3, 2008 at 10:30, André Warnier <[EMAIL PROTECTED]> wrote:
> Remembering numerous exhortations on this list to upgrade, I must say this
> announcement is somewhat surprising to me. So there are older versions
> which are still maintained/enhanced ?
Yes. See http://tomcat.apache.org/#A
> From: Anand HS [mailto:[EMAIL PROTECTED]
> Subject: Re: What exactly happens when I configure a different host
>
> I changed the Name and defaultHost back to
> localhost and the error vanishes.
> However, it re appears when I give a different name than localhost.
Finally had time to go chase t
Caldarale, Charles R wrote:
From: André Warnier [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat mapping of URLs -> servlets
I was using Firefox 2.0.0.15, on a Windows XP station.
Hmmm... I haven't used Firefox 2 in a very long time - not since Firefox 3 was
in beta.
http___cds-esd.sun.com_ESD
Mark Thomas wrote:
André Warnier wrote:
Mark Thomas wrote:
André Warnier wrote:
Then I guess I have (at least) 2 webapps : a "/foo" webapp, and a
"/foo/bar" webapp.
Now a request comes in with the url "/foo/bar/baz/various.jsp"
How does Tomcat determine that /foo/bar/baz is not itself a weba
Hi Zeke,
You didn't say which version of JBOSS you're using, I'm assuming its
a recent 4.x version that includes buddy-clustering. You're JBOSS
cluster will need to be reconfigured to do what you want. The JBOSS
community lists and wiki (www.jboss.org) is the best place for your
question.
> From: André Warnier [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat mapping of URLs -> servlets
>
> At deployment time thus (in my hypothetical case above when
> Tomcat starts and finds a such webapps top dir), does it
> recursively go through the webapp dirs and subdirs, to
> determine what is a
Caldarale, Charles R wrote:
From: André Warnier [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat mapping of URLs -> servlets
At deployment time thus (in my hypothetical case above when
Tomcat starts and finds a such webapps top dir), does it
recursively go through the webapp dirs and subdirs, to
de
André Warnier wrote:
> Caldarale, Charles R wrote:
>>> From: André Warnier [mailto:[EMAIL PROTECTED]
>>> Subject: Re: Tomcat mapping of URLs -> servlets
>>>
>>> At deployment time thus (in my hypothetical case above when
>>> Tomcat starts and finds a such webapps top dir), does it
>>> recursively g
> From: André Warnier [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat mapping of URLs -> servlets
>
> Except if there was, for /foo/bar, an appropriate element,
> inside a foo#bar.xml file, itself located under
> (tomcat_base)/conf/Catalina/(hostname)/
Or an [appBase]/foo#bar directory, or an [ap
Mark Thomas wrote:
> pharish2 wrote:
>> java.lang.NoClassDefFoundError: weblogic/wsee/jaxrpc/ServiceImpl
>> java.lang.ClassLoader.defineClass1(Native Method)
>> java.lang.ClassLoader.defineClass(ClassLoader.java:620)
>> java.security.SecureClassLoader.defineClass(SecureClassLoader.ja
Hi,
We are currently experiencing session issues with our customer's Tomcat
server, in a production environment. Basically what is happening is that,
despite the idle time-out being set for 20 minutes we are seeing sessions
that have been idle (have not been accessed) for over 3 hours. The net
> From: andre John Mas [mailto:[EMAIL PROTECTED]
> Subject: Session timeout related fixes between Tomcat 5.0 and
> Tomcat 5.5.x?
>
> Basically what is happening is that, despite the idle
> time-out being set for 20 minutes we are seeing sessions
> that have been idle (have not been accessed) for ov
From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
To: Tomcat Users List
Subject: RE: Session timeout related fixes between Tomcat 5.0 and Tomcat
5.5.x?
> From: andre John Mas [mailto:[EMAIL PROTECTED]
> Subject: Session timeout related fixes between Tomcat 5.0 and
> Tomcat 5.5.x?
>
> Basically
> From: andre John Mas [mailto:[EMAIL PROTECTED]
> Subject: RE: Session timeout related fixes between Tomcat 5.0
> and Tomcat 5.5.x?
> When I speak to our operations team they tell me that
> the server crashes because it is unable to create any
> more sessions
They're fudging, so you really do ne
Zeke schrieb:
> Hi: I have a JBOSS cluster which use Apache with mod_jk as HTTP load
> balancer. In my cluster, some nodes are deployed web service, but not
> all. For example, node 1 contains web servicebook_service, I can call
> the web service using URL "http://www.node1.com/book_service";, but
On Tue, Dec 2, 2008 at 7:41 PM, tuckker <[EMAIL PROTECTED]> wrote:
>
> How do I redirect all subfolders/files to the root of the link domain.com?
If it's all one context, add something like this to your web.xml:
whatever
/index.jsp
I am trying to access a REST service from within an application deployed in
Tomcat but, however, this call seems to fail:
PostMethod method = new PostMethod("http://...";);
I am able to call the same service using PostMethod from a junit test. Any
thoughts?
--
View this message in context:
htt
nitingupta183 schrieb:
> Hi all,
>
> I am trying to integrate Apache server with Tomcat using mod_jk. I am
> folllowing the basic tutorials on this but still cant start the Apache
> server when I configure httpd.conf to load the mod_jk module. It says "The
> requested operation has faiked!". I am
On Wed, Dec 3, 2008 at 11:17 PM, kpalania <[EMAIL PROTECTED]> wrote:
>
> I am trying to access a REST service from within an application deployed in
> Tomcat but, however, this call seems to fail:
>
> PostMethod method = new PostMethod("http://...";);
>
> I am able to call the same service using Po
Hello list.
I am trying to use a JDBC DataSource to connect to a PostgreSQL server
from within an Axis WebService running in Tomcat.
What confuses me is that I managed to get this to work on one server,
but now am failing miserably to do so on a second server.
The first server is a Debian Len
Hi all,
I'm having two Tomcats which are placed in a cluster.
If I stop and start a context (instead of completely stopping/restarting
Tomcat), then I see the following error in catalina.out:
ERROR: Unable to stop SimpleTcpReplicationManager
No other information is specified.
I have been Googli
this is AXIS REST code .. structure your client code as
String epr="http://MySiteIsGreatestSiteOnEarth.com";;
ServiceClient client = new ServiceClient();
Options options = new Options();
client.setOptions(options);
options.setTo(new Endp
Stefan Deitmer wrote:
Hi.
You can totally disregard this, because I am really not competent.
But just because I saw this in your post :
at java.security.AccessController.doPrivileged(Native Method)
did you compare the line
TOMCAT_SECURITY=...
in /etc/default/tomcat5.5
between your systems ?
and
Whew.. that was a problem alright..
Does that mean when we change the , we have to have a handler added in
logging.properties as well. ?
I see there are already defined for applications packaged with tomcat like
manager and host-manager.
Thanks,
Anand
On Wed, Dec 3, 2008 at 7:54 AM, Caldarale, C
> From: Anand HS [mailto:[EMAIL PROTECTED]
> Subject: Re: What exactly happens when I configure a different host
>
> Does that mean when we change the , we have to have a
> handler added in logging.properties as well. ?
Have to - no; should - probably. If you don't define one, the logging info
e
Hello,
I have a very strange issue with Tomcat 6.0.18 and I'm not sure what
information to provide to help debug further.
I have an installation of Tomcat 6.0.18 which fails to properly initialize
servlets upon restart. If I deploy a new application.war file while Tomcat is
running (even if i
I've been doing some more testing and added a bunch of "System.out.println"
statements to the "init", "init(ServletConfig)", and "doPost/doGet" methods so
that I could see what my application was doing without log4j initialized.
Basically when I restart Tomcat, it doesn't call any of the "init"
> From: Justin Randall [mailto:[EMAIL PROTECTED]
> Subject: RE: Tomcat 6.0.18 Servlet Loading/Reloading
>
> Basically when I restart Tomcat, it doesn't call any of the
> "init" methods of the Servlet
Unless you have set for the servlet in your webapp's
WEB-INF/web.xml, that is correct behavior f
We are facing very serious issues of tomcat getting stuck after using it for
some time.
I am getting scared that allocating 1.5GB of RAM for java in tomcat is
causing any problem??
There is no exception/error in log files.
I am using the following on windows 2003 std edition.
Tomcat 5.5.25
Post
> From: Kranti(tm) K K Parisa [mailto:[EMAIL PROTECTED]
> Subject: Need help : Tomcat Stuck up
>
> We are facing very serious issues of tomcat getting stuck
> after using it for some time.
What does a thread dump show? What does running with -verbose:gc show?
Try connecting to the stuck JVM with
Hi,
Thanks for the quick reply.
Could you please help me with the commands that i need to run to watch the
thread dump. and when i run java -verbose:gc its asking for options, what
can i select along with that ?
Sorry to ask you this, but all these are new things for me. So please
suggest
On Thu
Hi,
I solved the problem. Actually it was a silly mistake in the configuration.
I was using a folder name with spaces and without putting it inside a double
quote.
Now it is working fine.
Regards,
Nitin
Rainer Jung-3 wrote:
>
> nitingupta183 schrieb:
>> Hi all,
>>
>> I am trying to integrate
Hi all,
I have recently started using Apache web server with Tomcat. I need to have
something like this:
www.mydomain.com maps to something like www.mydomain.com:8080/mycontext
With the help of mod_jk i am now able to achieve www.mydomain.com/mycontext.
I want to be able to have www.mydomain.co
André Warnier schrieb:
Stefan Deitmer wrote:
Hi.
You can totally disregard this, because I am really not competent.
But just because I saw this in your post :
at java.security.AccessController.doPrivileged(Native Method)
did you compare the line
TOMCAT_SECURITY=...
in /etc/default/tomcat5.5
be
Hi,
There's something confusing in your post but i think you 've forgotten to
specify the port number userd by postgres
-Message d'origine-
De : Stefan Deitmer [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 4 décembre 2008 08:35
À : Tomcat Users List
Objet : Re: Unable to connect to DB using D
69 matches
Mail list logo