Sorry, I found my mistake.. oups... in the log4j.properties, I put path like
C:\Program Files\Tomcat 5.0\Tomcat_bireport\bin, but I need to put
C:\\Program Files\\Tomcat 5.0\\Tomcat_bireport\\bin
because of the way java read the \
As a result, all files were created under the bin director
Anthony,
I don't know the details of the JSPs in your project, but I think it
would help you to examine if there's a lot of code in them that could
be moved to the application layer, also if there's a lot of plain text
written directly into the JSPs that could be moved to a persistence
layer as w
Hello,
I'm using tomcat 5.0.28 on windows, and I do not obatin the logs for my
application. I probably do something wrong in my configuration, but couldn't
figure out why, even after checking tomcat doics and mailing list.
Here is my configuration:
-in my server.xml, I have the following:
I would like to refer to an example servlet where I can add fields (such as
name, staff number, etc...) to a random access file and view the file
information by accessing the field (eg. staff number). Please help. Thank you.
Yours Sincerely,
TEH
David Smith <[EMAIL PROTECTED]> wrote:
Apologies for my ignorance, but I'm new to custom tags and tag files (this is
my first app using them).
You reference the restriction that "only if no content has already been sent
to the client". Is there something different about how or when response
content gets sent to the client in the Jasp
If you set tomcatAuthentication="false" in your connector configuration
for the AJP connector, the credentials will come through. It's set to
true by default causing tomcat to ignore the REMOTE_USER header from Apache.
--David
Patrick Ward wrote:
Currently we have Apache configured to do use
Good Evening Patrick-
Look into implementing Java Authentication and Authorisation Service Realm
(JAASRealm) by following the procedures outlined here
http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html#JAASRealm
Feel free to contact me offline for any comments or questions
HTH
Martin--
Currently we have Apache configured to do user authentication and Tomcat
to run the java application. At this point, Apache is asking for
authentication but the information is not being passed on to Tomcat.
We are using the following versions:
Server version: Apache/2.2.4 (Unix)
Apache Tomcat ve
Sounds like it might be this problem:
http://issues.apache.org/bugzilla/show_bug.cgi?id=41538
There are a couple of workarounds suggested there.
--
Len
On 5/30/07, Dell'oro Marco <[EMAIL PROTECTED]> wrote:
Hi there,
I'm having problems running Apache Tomcat 6 (But the
same happens with Tomcat 5.
Thanks Leon and everybody else who replied. My problem was that I was
trying to run the pure .bin installer instead of the .bin that
decompresses to an RPM and then install the RPM. The later works fine
with no other dependencies necessary. Running the .bin installer may
work under some FC6
Hi,
After reviewing the cluster-howto [1] I have noticed a few bits I have
forgotten to configure.
Namely
# Make sure your web.xml has the element or set at
your
# Make sure that jvmRoute attribute is set at your Engine
[1] http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html
On 5/30
On 5/30/07, Johnny Kewl <[EMAIL PROTECTED]> wrote:
Yes I did see this... problem I had was trying to figure out how the code
goes into packages. That ant script pulls stuff out of jars, compiles little
bits all over the place, and assembles other jars. I'm sure all with good
reason, but it makes
- Original Message -
From: "Mark Thomas" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Tuesday, May 29, 2007 7:31 AM
Subject: Re: Tomcat Netbeans Project... WildCat
Johnny Kewl wrote:
+ One can dump the src into a Netbeans project, click compile and you
have a working Tomcat.
i don't know if it will help, but have you tried reinstalling your jvm?
On 31/05/07, domenico di leo <[EMAIL PROTECTED]> wrote:
I have the same problem, I suppose the cause is JDk 1.6 indeed I use
jdk 1.5 and Tomcat play well,
On 30/05/07, Dell'oro Marco <[EMAIL PROTECTED]> wrote:
> Hi there,
Showing error pages for tomcat means
1) set the current http status header to an error one (5xx,4xx,etc
depending on error type)
2) send in body of response a html showing error
This can *only* be done if no content has already been send to client
(because of http specification).
Th be sure your e
I have a JSP that uses several tags implemented as tag files (not classic
custom tag handlers). I want all exceptions to bubble up and be displayed on
the standard apache error page, but some exceptions are being swallowed
silently, depending on where they occur relative to the tag being invoked.
Hi guys...
As promised, the Netbeans source version of Tomcat 6.0.13 server is on the site
below.
http://coolese.100free.com/
The Tomcat server port to a plain Netbeans project is called Wild-Cat.
And yes, what I was trying to do works, not only can you place Tomcat (Wildcat)
in debug and watc
> From: Brian Olson [mailto:[EMAIL PROTECTED]
> Subject: Can Two Host-s share one Context?
> I'm able to make this happen by declaring two Host
> entries in server.xml with overlapping appBase
That sounds a bit scary unless you inhibit war unpacking. Even then I'd
be reluctant to do that.
> I
I want to have one server serve a bunch of virtual hosts, and to have
their web apps available as both
www.mybigsharedserver.com/some_vhost_site/
www.some_vhost_site.com/
I'm able to make this happen by declaring two Host entries in server.xml
with overlapping appBase and setting the root conte
do you mean like the amount of users per a pool connection instance?
I think you're stuck with configuration inside the WEB-INF level per app.
-Original Message-
From: Sorin Juco [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 30, 2007 2:41 AM
To: users@tomcat.apache.org
Subject: JDBC re
I have the same problem, I suppose the cause is JDk 1.6 indeed I use
jdk 1.5 and Tomcat play well,
On 30/05/07, Dell'oro Marco <[EMAIL PROTECTED]> wrote:
Hi there,
I'm having problems running Apache Tomcat 6 (But the
same happens with Tomcat 5.0) on a Windows XP home
computer with Sun JRE 1.6.0_
> From: Brian Bitteker [mailto:[EMAIL PROTECTED]
> Suspicions:
> Possibly the redirection of the user with the
> isapi_redirect.dll is the
> issue. Credentials are not handed off from IIS to Tomcat.
I assume (I didn't see you state, but may have misread) you're using IIS
to authenticate against
Desired State:
When users access secure J2EE apps via IIS 6.0 on port 80, they are
challenged, authenticated, authorized and presented with pages from a
secure application being served by Tomcat 5.5.15 server on port 8080
even though it appears they are still on port 80.
Problems:
Users are chal
Sorry for double posting, I realized just now that my
mail program is not working correctly...
Francesco
___
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail:
http://it.docs.yahoo.com/nowyoucan.html
I can try...the thing is, I can actually read the logs through a shared
directory. Just can't see the console to see the stack trace there.
-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 30, 2007 10:11 AM
To: Tomcat Users List
Subject: Re: Tomcat stopp
Can you get them to create a group that you and the tomcat server are
both members of? Then grant read privilege on the log directory to the
new group. Added benefit of the group plan is you can have other
support people added to the group and the network guys don't have to
mess with the fold
that was another problem that I (unfortunately!) combat daily.
I can't see the stack trace. I don't have permissions to the account under
which Tomcat runs. I can Terminal Service into the server, but only under my
profile, not that account. So I can never see the console!
And getting these net
True sreq has to be the name of an attribute of pageContext,
request, session, or servletContext.
-David
Pid wrote:
David Smith wrote:
Try this instead:
${(sreq.vrs eq 0) and (empty sreq.query) and (empty sreq.ilettera)}
Assuming that 'sreq' is a valid object...
Your use of the el
Hi again!
i find these
httpservletrequest.setAttribute("org.apache.tomcat.comet",Boolean.TRUE);
httpservletrequest.setAttribute("org.apache.tomcat.comet.support",Boolean.TRUE);
its seems, that you should set these values by hand somewhere,
otherwise it will be NOT processed as Comet request. Is
Hi there,
I'm having problems running Apache Tomcat 6 (But the
same happens with Tomcat 5.0) on a Windows XP home
computer with Sun JRE 1.6.0_01. I've installed the
same configuration on other machines with successfull
results...
the log message follows:
[2007-05-18 00:37:09] [986 prunsrv.c] [erro
Hi there,
I'm having problems running Apache Tomcat 6 (But the
same happens with Tomcat 5.0) on a Windows XP home
computer with Sun JRE 1.6.0_01. I've installed the
same configuration on other machines with successfull
results...
the log message follows:
[2007-05-18 00:37:09] [986 prunsrv.c] [erro
Hi there,
I'm having problems running Apache Tomcat 6 (But the
same happens with Tomcat 5.0) on a Windows XP home
computer with Sun JRE 1.6.0_01. I've installed the
same configuration on other machines with successfull
results...
the log message follows:
[2007-05-18 00:37:09] [986 prunsrv.c] [erro
David Smith wrote:
Try this instead:
${(sreq.vrs eq 0) and (empty sreq.query) and (empty sreq.ilettera)}
Assuming that 'sreq' is a valid object...
Your use of the el expressions needs some refinement. Specifically you
don't call methods like you would in a jsp:expression tag or in generic
Ooops... didn't see the second expression in that error report:
${((sreq.vrs eq 0) and (status.index gt 0)) or (sreq.vrs gt 0) or (not
empty sreq.query ) or (not empty sreq.ilettera)}
Keep in mind, the operators '&&', '||', '==' and '>' are valid and you
are certainly welcome to keep them.
> -Original Message-
> From: Mark Thomas [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, May 29, 2007 1:31 AM
> To: Tomcat Users List
> Subject: Re: Tomcat Netbeans Project... WildCat
>
> Johnny Kewl wrote:
> > + One can dump the src into a Netbeans project, click compile and you
> have a wor
My fault, I assumed you were on solaris.
That is odd. Is there any stack traces in the localhost log?
On 5/29/07, Propes, Barry L <[EMAIL PROTECTED]> wrote:
yeah, I didn't think there was, or that I'd had trouble with the number of
files in the directory before. Would seem absurd.
Might be on
Try this instead:
${(sreq.vrs eq 0) and (empty sreq.query) and (empty sreq.ilettera)}
Your use of the el expressions needs some refinement. Specifically you
don't call methods like you would in a jsp:expression tag or in generic
java.
someBean.getSomething() is replaced with someBean.somet
Incidently, the fact that tomcat seems to remove any space
between the ; and charset in "mimetype; charset=..."
whereas apache seems to prefer to add one is an annoying
inconsistency that has blocked a much simpler workaround
for my difficulties (one that would have used text/xml).
No matter. My
I don't understand the reason I'm getting these 2 errrors.
org.apache.jasper.JasperException: Validation error messages from
TagLibraryValidator for c in /cgi/cocktails/browse/listing.cgi9:
tag = 'if' / attribute = 'test': An error occurred while parsing custom
action attribute "test" with valu
Hi,
I'm trying to setup a cluster of two tomcats and use the
Tomcat 1 server.conf
Tomcat 2 server.conf
I configure
Hi,
as mentioned in my contribution to topic 'Web application receives
request parameters sent to another application on Tomcat 6', I sometimes
get non-recycled Request objects in a BEGIN event.
A non-recycled request object appeared in a BEGIN event if the previous
request processed by the same
With some additional logging I found out that my problem is most
probably not related to the mixed request parameters.
It is a problem of synchronizing the decisions of whether to recycle
Request/Response objects and whether to recycle the processor.
I'll send more details in another mail with top
Please, if you can.
Thank you,
Goran
On 5/30/07, Tim Lucia <[EMAIL PROTECTED]> wrote:
I wrote a webapp which displays and allows for modifying the runtime
configuration of log4j. I can send you the .war, if you'd like.
Tim
> -Original Message-
> From: Goran [mailto:[EMAIL PROTECTED
The key phrase here is "...that really suits my needs." Could you
provide more information? Your question is a rather generic one not all
that specific to java servlets.
--David
Teh Noranis Mohd Aris wrote:
Hello All,
Does anyone have an example of a servlet program that uses random a
I wrote a webapp which displays and allows for modifying the runtime
configuration of log4j. I can send you the .war, if you'd like.
Tim
> -Original Message-
> From: Goran [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 30, 2007 7:22 AM
> To: users@tomcat.apache.org
> Subject: Log4j run
Richard Kaye wrote:
> Thank you! I was using a writer and switching to a
> ServletOutputStream fixed it. I never thought of that:
> the specs say streams are intended for binary data...
They do. They also say if you use a writer Tomcat must append a
charset to the Content-Type header.
Glad this
Hello,
I have a question regarding Tomcat 5.5 and log4j (running winXP, Java =
1.5).=20
Deploying my application as .war I have a .jar inside which has a =
log4j.properties in WEB-INF/classes directory.
It works properly like I want it to, but I need a way to change the =
logging level without
Thank you! I was using a writer and switching to a
ServletOutputStream fixed it. I never thought of that:
the specs say streams are intended for binary data...
Richard
> Richard Kaye wrote:
>> Please could someone help me by posting a Hello-world
>> servlet that serves a document with this Cont
HI ROOKIE,
I probably didn't understand the question properly.
I have configured datasource with OracleDatasourceFactory and I have
expected that
DataSource.getConnection return OracleConnection and when I close this
connection it will return this connection to the pool instead of close
this con
It was contributed but never completed, so it is not working properly
Filip
ROOKIE wrote:
Hi,
Can someone please clarify if tomcat 5.5 supports replication of single-sign-on
sessions across cluster members, if so how to configure it ?
Thanks,
Vinod
- Original Message
From: ROOKIE <[
Thanx for the answers.
I just realized that what I want to do is more complex. I use Hibernate and
pass the jdbc resource to the Hibernate configuration. Oracle has a
temporary table for each session to the database in which you can store 2
varchar arguments for monitoring purposes ( in my case
Rashmi Rubdi wrote:
On 5/29/07, Berglas, Anthony <[EMAIL PROTECTED]> wrote:
Thanks for that, but I don't see how it will help. If you look below
it is the jasper2 that is causing me grief, which is essentially the
same as yours.
How long does it take to precompile the JSPs. Is it several JSP
To execute custom code while getting a connection u can extend the connection
factory and mention that class as the factory for ur resource, I dont think we
close connections using the factory, so maybe u can write a wrapper around
Connection.close() method.
- Original Message
From: S
Hi,
I use this Resource:
There is OracleDataSourceFactory in ojdbc14.jar.
Regards,
Zdenek
On 5/30/07, Sorin Juco <[EMAIL PROTECTED]> wrote:
Hello,
I want to create a JDBC resource wich represents a connection pool to an
Oracle server. By default Tomcat uses DBCP to provide the connection
Hi,
Can someone please clarify if tomcat 5.5 supports replication of single-sign-on
sessions across cluster members, if so how to configure it ?
Thanks,
Vinod
- Original Message
From: ROOKIE <[EMAIL PROTECTED]>
To: users@tomcat.apache.org
Sent: Tuesday, May 29, 2007 5:20:03 PM
Subject:
Hello,
I want to create a JDBC resource wich represents a connection pool to an
Oracle server. By default Tomcat uses DBCP to provide the connection pool
implementation. My problem is that I want to execute some custom code each
time I get a connection from the pool and also each time I release t
56 matches
Mail list logo