In custom context.xml, you can define the ressource, that is mainly
Datasources that are linked with jndi. Just define a datasource and
store your config in the database. Or if you want more complicated
things, store other tyes of objects in your jndi, by defining them in
your context.xml.
Hello there,
I'm struggling on running JSP files.
I've got some JSP files containing Java codes. When I try to run those
files, I get an error number 500.
When I run JSP files not containing any Java code at all, Everything works.
It seems like the problem comes from Java files.
I know that I've
Could you post the error in your logs corresponding to the 500 error?
Also would be helpful to know tomcat, os, and java versions.
--David
Joly M wrote:
Hello there,
I'm struggling on running JSP files.
I've got some JSP files containing Java codes. When I try to run those
files, I get an
the log says it can't load the class for JSP
2007/12/21, Pid [EMAIL PROTECTED]:
Joly M wrote:
Hello there,
I'm struggling on running JSP files.
I've got some JSP files containing Java codes. When I try to run those
files, I get an error number 500.
When I run JSP files not
Joly M wrote:
Hello there,
I'm struggling on running JSP files.
I've got some JSP files containing Java codes. When I try to run those
files, I get an error number 500.
When I run JSP files not containing any Java code at all, Everything works.
It seems like the problem comes from Java
Hello David,
I'm using
-Windows XP
-Tomcat 6.0
I don't know what Java Version is installed on my computer as I'm currently
at work, but I will let you know as soon as possible.
Could be the Java Version the trigger of the error ?
There is the error message :
Etat HTTP 500 -
type Rapport
Hi Rainer,
I have successfully test new mod_jk 1.2.26-dev with MacOS X Tiger
10.4.11 (Intel) and Leopard 10.5.1 PPC64.
At all my test cases I see now the uri maps from all vhosts and the
new JkMountCopy All also work well.
The only mapping that we don't present is the jkstatus mappings! The
In my experience, there is almost always another error before this one
where the jsp is compiled to a .java file before it's compiled to a
.class file. If what you posted is really the first error message
related to the request: stop tomcat, empty tomcat's work directory,
start tomcat, and
Hi Peter,
Peter Rossbach wrote:
I have successfully test new mod_jk 1.2.26-dev with MacOS X Tiger
10.4.11 (Intel) and Leopard 10.5.1 PPC64.
At all my test cases I see now the uri maps from all vhosts and the new
JkMountCopy All also work well.
The only mapping that we don't present is the
I'm having problems trying to set up a DataSource in META-INF/context.xml
If I specify the Resource within a Context in server.xml it works fine.
Similarly, if I put it into conf/Catalina/localhost/myapp.xml it's fine, but
putting it in myapp/META-INF/context.xml does not work.
I also found that
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello Andrew,
your 'context' tag is missing the attributes 'docbase' and 'path'.
It should look like this:
Context docbase=webapps/myapp.war path=/myapp
!-- Db connection --
Resource
name=jdbc/wdcc
auth=Container
[...]
This should
From: Sebastian Gerdes
[mailto:[EMAIL PROTECTED]
Subject: Re: Using META-INF/context.xml
your 'context' tag is missing the attributes 'docbase' and 'path'.
Thank you for posting completely incorrect information. Properly placed
Context elements should never have either the path or
Hi Tim,
Tim Whittington wrote:
There's one in particular that we feel is very useful that hasn't been
accepted though, which is the addition of chunked encoding support to the
ISAPI Redirector, which allows IIS to use HTTP keep alives between the
browser and IIS - we've found this has major
From: Andrew Connick [mailto:[EMAIL PROTECTED]
Subject: Using META-INF/context.xml
Similarly, if I put it into conf/Catalina/localhost/myapp.xml
it's fine, but putting it in myapp/META-INF/context.xml does
not work.
I also found that if I put completely invalid xml in
This mailing list is always so helpful and I REALLY appreciate it.
Mainly I enjoy your responses Chuck because they include such helpful
links, commentary, and almost always the right answer. But you're such
a hard ass about it! Always makes me laugh like crazy. Thanks bud!
Sorry for
this sounds like you maybe haven't properly imported the necessary class
packages into your JSP file with @page declarative statement, like so for
example:
% @ page import=java.util.*,%
just a guess, but probably a sound one in this case.
-Original Message-
From: Joly M [mailto:[EMAIL
Hi, I'm new to the list though I've been developing on Tomcat and JBoss
for a few years now. Presented below are two classes I'd like feedback
on. Anything is appreciated but I'm hoping for feedback mostly on the
ideas behind the implementation more than particular bug fixes (that can
come if
Hi, I'm new to the list though I've been developing on Tomcat and JBoss
for a few years now. Presented below are two classes I'd like feedback
on. Anything is appreciated but I'm hoping for feedback mostly on the
ideas behind the implementation more than particular bug fixes (that can
come if
TOP SOFTWARE PRODUCT COMPANY OFFERS TALENTED JAVA WEB DEVELOPERS
A UNIQUE OPPORTUNITY TO BUILD LARGE SCALE WEB APPLICATIONS
Company: Fredhopper, Location: Amsterdam or Sofia, Position: Full-time
Do you have a talent for seeing a problem and immediately contemplating the
likely solution? Are
On Dec 21, 2007, at 9:56 AM, Rainer Jung wrote:
Hi Tim,
Tim Whittington wrote:
There's one in particular that we feel is very useful that hasn't
been accepted though, which is the addition of chunked encoding
support to the ISAPI Redirector, which allows IIS to use HTTP keep
alives
Merry Christmas to one and all (and especially the list maintainers and
committers who sometimes take considerable abuse to keep the discussions
lively, informative and accurate)
in 82 a BAL programming course on a sperry-rand machine..whatever became of
sperry-rand or burroughs???
Martin--
P.S.
In a web application that loads resources expecting them to be available on
the classpath (e.g. ResourceBundle.getInstance(resource)), is there a way
to alter what locations the web context classloader includes?
I'd like to add a URL to the search path of the web context classloader, so
that in
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: Re: Merry Christmas Chuck
in 82 a BAL programming course on a sperry-rand
machine..whatever became of sperry-rand or burroughs???
http://en.wikipedia.org/wiki/UNIVAC
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR
all,
We are running tomcat 6.0.14 (jdk 1.6.03) on Windows server with NIO
connector. After some time, one of the thread starts using 50% of the cpu and
that thread never stops serving.I was able to match the thread id from process
explorer with nid of jstack thread dump and this is the
maybe you're lacking a jar file required? Maybe servlet jar file or other?
-Original Message-
From: Joly M [mailto:[EMAIL PROTECTED]
Sent: Friday, December 21, 2007 1:30 PM
To: Tomcat Users List
Subject: Re: how to run a simple jsp file
well,
the thing is i'm just trying to run
well,
the thing is i'm just trying to run examples provided by Tomcat 6 and
located in the example directory.
normally those files already contain such things(% @ page import=
java.util.*,%)
i have added some and it doesn't change anything.
actually all import routines are already contained in
Please Display
jsp and
accompanying web.xml
Thanks
M-
- Original Message -
Wrom: MQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGV
To: Tomcat Users List users@tomcat.apache.org
Sent: Friday, December 21, 2007 2:36 PM
Subject: RE: how to run a simple jsp file
maybe you're lacking a jar file
What exactly do you mean by 'never stops serving' - do you mean that the
page GET never completes? The browser just hangs at that page? Or that
you have observed a stream of data.
Regards
Alan Chaney
daniel steel wrote:
all,
We are running tomcat 6.0.14 (jdk 1.6.03) on Windows server
Hi,
We have to retrieve the userid of the remote user when
the user logs on. But request.getRemoteUser() is
returning null in Tomcat 6. Authentication is done
through LDAP.
It works fine in Tomcat 5 and 4.
Any suggestion?
Thanks,
Natalie
i haven't got a chance to look at the client end but when i log on to tomcat
manager / status, i see a jsp that has been running for a long time with S (
service) as stage.
thanks
dan
Alan Chaney [EMAIL PROTECTED] wrote: What exactly do you mean by 'never
stops serving' - do you mean
Natalie Wang wrote:
Hi,
We have to retrieve the userid of the remote user when
the user logs on. But request.getRemoteUser() is
returning null in Tomcat 6. Authentication is done
through LDAP.
It works fine in Tomcat 5 and 4.
Any suggestion?
Thanks,
Natalie
This me be an issue with the
It does not work either.
Thanks,
Natalie
--- Gabe Wong [EMAIL PROTECTED] wrote:
Natalie Wang wrote:
Hi,
We have to retrieve the userid of the remote user
when
the user logs on. But request.getRemoteUser() is
returning null in Tomcat 6. Authentication is done
through LDAP.
It
*JSP content:*
*html
!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version
Tim,
Have you had experience testing your version of the ISAPI redirector DLL
with IIS 6.0? What specific IIS configuration settings take the fullest
advantage of the persistent HTTP connections that your version offers?
Also, I've seen zero discussion thus far on whether version 1.2.25 of the
It appears that my problem with IIS losing its link with Tomcat was
actually an application problem, as several of you suggested. The JMX thread
dump (very helpful over terminal services) indicated that 100 threads were
locked up with Hibernate trying to get a database connection from DBCP. Upon
Travis-
Since this is a tomcat users list
could you give us a quick definition on the delta between
worker process isolation mode
and
IIS 5 isolation mode
Thanks/
M--
- Original Message -
From: Travis Haagen [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Friday,
Natalie Wang wrote:
It does not work either.
Thanks,
Natalie
--- Gabe Wong [EMAIL PROTECTED] wrote:
Natalie Wang wrote:
Hi,
We have to retrieve the userid of the remote user
when
the user logs on. But request.getRemoteUser() is
returning null in Tomcat 6.
lightbulb432 [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
In a web application that loads resources expecting them to be available
on
the classpath (e.g. ResourceBundle.getInstance(resource)), is there a
way
to alter what locations the web context classloader includes?
Not
38 matches
Mail list logo