>> Taking the whole of the message above, it would look as if the new guy
>> wasn't too sure about how to set up SVN & SSL under Tomcat, and chose to set
>> it up on a front-end Apache instead. (Which, in the principle, is also how I
>> would set it up, since I have no idea if there exists an SVN-
> We'd like to be able to tell apart database sessions from the 15 or so
> tomcat applications we have running on our web-servers. Most of them
> use similar logins, so we can't query the username from gv$session. We
> were hoping to instead query to program field to tell them apart.
>
> We were a
Chris,
> You can use the following in the connectionInitSqls to make sure a suitable
> variable it set
>
> exec dbms_application_info.set_action('INSERTING');
>
> The site http://psoug.org/reference/sys_context.html references a bucket
> load of different context parameters that can be set - CLI
We have some working tomcat 6 instances that we'd like to identify
>>>
>>>
>>> Can you use the combination of machine and schema name to identify the
>>> instance? You didn't detail your environment, but if you have a cluster,
>>> then the machine name would uniquely identify the instance. I
> Hello all...
>
> We have some working tomcat 6 instances that we'd like to identify by
> querying the v$session.program field the oracle database they connect
> to. While there are no errors on startup for the tomcat instance, and
> we can connect to the database, nothing gets populated in v$ses
>> I'm developing an web application on Eclipse Helios, WTP, Tomcat 6.0.29(and
>> just upgraded to 6.0.30).
>>
>> I suffer from ClassNotFoundException a lot of times on both 6.0.29/30.
>> It's not about usual classes or jar. It's about JSP generated java class.
>>
>> For example, when I request
> I'm developing an web application on Eclipse Helios, WTP, Tomcat 6.0.29(and
> just upgraded to 6.0.30).
>
> I suffer from ClassNotFoundException a lot of times on both 6.0.29/30.
> It's not about usual classes or jar. It's about JSP generated java class.
>
> For example, when I request /jsps/t
Hi Konstantin,
> BTW, you can put those names in an external file and use it in the
> server.xml as an XML entity. Like the example in
> http://wiki.apache.org/tomcat/FAQ/Password
Inspired by this thread and having a similar issue in maintaining virtual host
aliases I edited my server.xml as fol
was
> a regular Multics user myself, on MIT's Honeywell machines (with drum
> disks), as well as an assembler programmer on PDP-1, 4 and 9. The 4 had a
> 125 kHz clock speed. I vaguely remember the PIC OS, but haven't googled it
> yet.
>
> -Allen
>
>> -
You could modify the RequestDumpFilter to only dump the request for that ip
address.
Regards,
Dave
Sent from my iPhone
On Nov 7, 2010, at 12:28 PM, Assaf wrote:
> A filter to block is good. But then I would not be able to see him doing it
> again and then find out the issue.
>
> Assaf
>
>
>>> ok, i revoke my "nevermind" message, even after I removed
>>> JreMemoryLeakPreventionListener
>>> I still get the warning. Even weirder:
>>>
>>> Oct 28, 2010 3:50:55 PM org.apache.catalina.core.StandardService stop
>>> INFO: Stopping service Catalina
>>> Oct 28, 2010 3:50:55 PM org.apache.cata
Hi,
I was just playing with the correct jmx properties. My purpose is to see what
are the maximum requests and watch the health of my servers.
MBeanServerConnection mbs = jmxpool.getConnection(host);
ObjectName query = new
ObjectName("Catalina:type=RequestProcessor,worke
>> PL/1 was a nice break from extending FORTRAN IV with BAL (Assembler).
>>
>> Wow real pointers and character strings!
>>
>> I seem to recall there was a version on the Prime minicomputers - IRC
>> they had a version of the PIC OS.
>>
>> Primos came out of the Boston area, was a son of Multics
PL/1 was a nice break from extending FORTRAN IV with BAL (Assembler).
Wow real pointers and character strings!
I seem to recall there was a version on the Prime minicomputers - IRC they had
a version of the PIC OS.
Primos came out of the Boston area, was a son of Multics and a brother OS to
Un
You can use something like gmane.org:
http://dir.gmane.org/gmane.comp.jakarta.tomcat.user
On Sep 23, 2010, at 5:33 PM, Brian wrote:
> But what if you just want to receive responses to your question, instead of
> receiving all the emails that is being writen?
> Mail lists are an old method. Web
>>> Mark Thomas wrote:
>>> ...
>> If you want to start down this path and see how it goes, I am happy to
>> talk you through step by step.
>>
> I may (hem, probably will) need that at some point.
> But let me try following the basic steps you outlined, first.
>
>>> quotin
There should be one or more devices inserted in (a)
> client browser (port 2345) --(a)--> (port 80) apache ---(b)---> mod_jk (port
> 1234) ---(c)---> (port 8109) tomcat --> DB
There should be a firewall, or who knows what a hacker may have inserted.
There might be a load balancer.
If either o
Hi Andre,
> So I am not objecting to using 3000 MB of Heap, I am just curious.
> If someone like Eric Robinson can run a non-trivial multi-user Tomcat
> application with an average 64 MB of Heap and you can do pretty much the
> same, then I am curious as to which Tomcat application (or situation
>> Hi,
>>
>> Maybe I should not ask, but why post with the text as an attachment?
>
> You're using Outlook Express, maybe the problem is at your end.
Your PGP signature is an attachment.
--enig2B65BBFD3FC6C4840C488F3D
Content-Disposition: attachment;
filename=signature.asc
C
If you look at catalina.sh you will see that stop does not include
CATALINA_OPTS:
"$_RUNJAVA" $JAVA_OPTS \
-Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" -classpath "$CLASSPATH" \
-Dcatalina.base="$CATALINA_BASE" \
-Dcatalina.home="$CATALINA_HOME" \
-Djava.io.tmpdir="$CATALINA_TMPDI
I've found that you cannot always rely on the shutdown script closing tomcat
quickly. If you have a thread that is not properly managed maybe not at all.
In my restart scripts I find the PID of the tomcat process, run the shutdown
script, sleep 10 seconds, test if the PID is still active and if
Robedan,
I recall that we started doing the following in Tomcat 4.1:
In the webapps WEB-INF/web.xml we inserted the following right before
:
Entire Application
/*
CONFIDENTIAL
This forced http:// reques
That is pretty much what i do, but I recommend that you adopt an overlay
approach. It will make it easy for you to take new versions of Tomcat when they
are available.
Here is how I currently deploy to Solaris.
(1) I use a blessed tomcat distribution from
http://tomcat.apache.org/download-60.c
You will want to do this:
response.setContentType("application/pdf");
response.setHeader("Content-disposition", "inline");
For an attachment / download you will want to do:
response.setContentType("application/pdf");
response.setHeader("Content-disposi
Hi Rainer,
Thank you for your reply - it really has helped out today in several ways.
>> I've got myself in a situation where I need a stopgap quick fix - until we
>> can respond correctly.
It turns out I was overreacting and we have other better tools to fix the
troubles - no need to discuss
Hi All,
I've got myself in a situation where I need a stopgap quick fix - until we can
respond correctly.
I have the following workers file:
# define the worker list
worker.list=LoadBalancer
# Define the LB worker
worker.LoadBalancer.type=lb
worker.LoadBalancer.balance_workers=webprod1,webprod
Hi All,
Over here from POI where I helped Jorge track things down in Tomcat. I
suggested he come over here for help, but he seems to have started at the
beginning and is getting the exact same initial questions that were asked on
POI User.
Here's what was determined. One of the webapps on his
Hi Chris,
Current architecture is to share a jar in shared/lib between the main
webapps, an admin webapps and a localhost only management webapps.
This
was originally in Tomcat 3. New architecture will separate each, drop
the management webapps and we'll control contexts via multicasting,
j
Hi Chris,
public class UniverseLoader extends HttpServlet {
protected long timeLoaded;
public void init() throws ServletException {
new Thread(new LoadUniverseTask()).start();
}
public void doGet(HttpServletRequest request, HttpServletResponse
response) throws ServletExcept
You could launch each webapps initialization code in a separate thread.
Here is what we do. Our load is very heavy and our servers are
responsive after restart much sooner using this technique.
UniverseLoader.java:
package com.example;
import javax.servlet.http.HttpServlet;
import javax.serv
Christopher Schultz wrote:
I'm surprised that nobody else has noticed that the control
characters
in question were already posted by Itay... it's just that nobody
bothered to read the error message properly :)
And we are quite flabbergasted that you did not peruse the thread
carefully, or y
So you have multiple contexts on a host, each of which needs separate,
persistent storage?
If you don't want to keep track of a property files, you could write
a bean
with a method that takes a HttpRequest as a argument, and returns a
file
path based on the info in the request. You would ha
Solaris 10 can turn off ports at the OS level. Your sysadmin may have
those ports turned off. You may need to talk to the sysadmin of the box.
Regards,
Dave
On Aug 21, 2009, at 8:18 AM, Malladi, Sasikanth wrote:
No, no forwarding problems, as I can access the original instance at
http://myh
On Jul 23, 2009, at 4:00 AM, Mark Thomas wrote:
Konstantin Kolinko wrote:
2009/7/22 Rémy Maucherat :
On Wed, Jul 22, 2009 at 2:37 PM, Mark Thomas
wrote:
You'll need to provide more details. Nothing stands out from the
security pages.
Please provide step by step instructions to reproduce f
I've been investigating Oracle configuration myself - this page was
helpful to me for Oracle 10g -
http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/htdocs/readme_10201.html
It contains a reference to the following bug -
BUG-3209390
JDBC OCI Driver's TAF functionality will not wor
Rainer -
Wouldn't this type of dynamics occur if your workers were in a cloud?
Or if you needed a lot more very quickly for peak processing?
Am I correct to think that if someone is being so "dynamic" with their
worker's DNS configuration then they should automate using the status
worker
An interesting discussion. Since I am about to configure such a load
balancer and we prefer to use DNS, understanding this type of detail
is critical.
The OP said that the reason that the DNS did not resolve was that the
machine had been moved off the network. That may have been an event
Hi Charles,
I have multiple domains hosted, and I name each as
Aliases in the Host in server.xml.
If you only have one element, aliases are unnecessary. You
only need elements when multiple s are configured and
you want Tomcat to route more than one domain to them.
Exactly. We started
Can anybody offer any guidance or advice on how I can set up some
virtual
hosts for my application that has multiple skins.
I want to be able to go to http://flavour1 instead of having to
type in
http://longhostname/service/program.jsp?skins=flavour1, and similar
for
flavour2, flavour3, et
Hi,
You'll still get the annoying UAC box, but that can't be avoided
unless the program is digitally signed.
A suggestion here - the Apache Tomcat project should start signing
windows binaries. That way once the user trusts the source the UAC
crap ought to disappear (or not be as ugly.)
When I had to deal with p3p policy then I simply put a directory
called "w3c" in my webapps and dropped in a "p3p.xml" and
"policy.xml". Afterwards my webapp on a different url in tomcat could
be opened in an iframe by our partners IIS served ASP application.
w3c/p3p.xml
w3c/policy.xml
Is
Just noticed the following on an Apple MacOSX 10.5 Security Update:
Tomcat
CVE-ID: CVE-2007-6286, CVE-2008-0002, CVE-2008-1232,
CVE-2008-1947, CVE-2008-2370, CVE-2008-2938, CVE-2007-5333,
CVE-2007-5342, CVE-2007-5461
Available for: Mac OS X Server v10.5.5
Impact:
Hi,
Just a thought, but you might want to check the permissions on the jar
files. I've gotten errors like that when I lacked permission to read.
Regards,
Dave
On Sep 30, 2008, at 6:54 AM, AlexM3 wrote:
Hello,
Firt of all thanks for your fast answer.
- My Java versión is jdk1.5.0_06, it'
Martin,
3) If the software is not independent of Office 2007, is it
compatible
with it? If not, what is the compatible version and what are the
costs
involved in upgrading?
MG>the way TC handles Microsoft Compound Documents such as XLS and
DOC files are thru POI Apache interface
MG>http:/
Mark,
Interesting but shouldn't the getDate method be slightly different:
if ((systime - currentDate.getTime()) > 1000) {
In this line if currentDate is at millisecond 900 then the next second
starts with the millisec and that is 100 ms later.
long cachedtime = currentDate
:mm:ss");
HTH
Dave
On Sep 16, 2008, at 2:27 PM, Jonathan Mast wrote:
Ah, but %D is the time taken to process the request in ms. It's not
the
timestamp.
On Tue, Sep 16, 2008 at 3:14 PM, David Fisher
<[EMAIL PROTECTED]>wrote:
It is. The docs are here:
http://tomcat.apa
It is. The docs are here:
http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org/apache/catalina/valves/AccessLogValve.html
I use
className="org.apache.catalina.valves.AccessLogValve"
directory="logs" prefix="unity_access."
suffix=".log" pattern="%h %v %t
It now points to http://tomcat.apache.org/tomcat-4.1-doc/config/logger.html
That's perfect for me.
Thank you very much,
Dave
On Jun 24, 2008, at 3:30 PM, Mark Thomas wrote:
David Fisher wrote:
(3) On the logger FAQ page the Configuration link is dead! http://tomcat.apache.org/tomcat-5.
(This must be national logging questions month :-)
More like International logging month - everyone upgrading to tomcat
5.5 or better is forced to confront this issue, many are under a lot
of pressure, and they don't all read English. The differences are
subtle and lost in translation.
Incrementally try larger buffer sizes.
byte[] bbuf = new byte[1024];
byte[] bbuf = new byte[2048];
byte[] bbuf = new byte[4096];
byte[] bbuf = new byte[8192];
byte[] bbuf = new byte[16834];
Then narrow in on the
Hi Chuck,
These threads have clarified things for me as well. Thanks.
From: Jamie [mailto:[EMAIL PROTECTED]
Subject: Re: logging with multiple web applications
Ok. I currently have the log4j-1.2.14.jar file in the WEB-INF/lib
directory. I will remove it.
No, that's where it's supposed to be;
Hi Andre,
I tried, but I'm not finding it.
Am I the only one in that situation ?
No, I've tried to read both the log4j docs and the tomcat logging
docs. Nowhere is there a good working example that describes some real
world situations. My trouble is different from yours, but I believe we
Alvaro,
You certainly can easily use a Filter with your JSPs.
Take a look at the jsp-examples webapps included with tomcat. If you
look at WEB-INF/web.xml and the structure of WEB-INF/classes/ you
should see how to use the example that Jim provided.
For example RequestDumper:
In web.xml
Hi Chris,
David,
David Fisher wrote:
| Maybe you should try changing the redirect port for TC2 to 8444.
Why?
| There should not be a redirect port for AJP/1.3
Why not?
I agree that the OP should really simplify his or her configuration,
but
you seem to be stabbing in the dark with
Hi -
I'm a bit of a hacker with server.xml, but your problem is with
duplicate ports so look at ALL port usage in both server.xml files.
Maybe you should try changing the redirect port for TC2 to 8444.
There should not be a redirect port for AJP/1.3
Do you define an HTTPS connector? If not,
Jeez, give the guy a break, if you don't want to read his posts then
don't read them. His name appears next to them, it's easy to ignore
if
you want to.
I don't know 'Johnny' personally and I agree he can be a bit
ebulliant
I don't mind ebullient as long as he knows what he's talking abou
Hi,
Probably you should refer to it as "shared/test.js" without the
leading "/"
Regards,
Dave
On May 13, 2008, at 6:21 PM, John Buchholz wrote:
Hi,
I am looking for the recommended solution for when multiple webapps
need to use the same sets or javascript, css, and image files. I
hav
We know you think your stuff is so kewl, but would you please stop
leading all your email with an evangelical tag line.
That would be so cool of you.
Thanks,
Regards,
Dave
On May 13, 2008, at 3:14 PM, Johnny Kewl wrote:
--
I think what the experts are saying is that even if your webapps is
started it could be dependent on a large startup operation.
Take for example Apache Roller which can take several minutes to
rebuild its persistence state and while "up" will reject requests.
The only way to know if the web
On May 9, 2008, at 1:43 PM, Caldarale, Charles R wrote:
From: Robert Koberg [mailto:[EMAIL PROTECTED]
Subject: RE: logging catalina.out and localhost-##.log - don't append
I am starting/stopping from a console with ./bin/startup.sh
So modify the script (or wrapper it) to do "rm -f ./logs/*" a
derstood with help of
--- David Fisher <[EMAIL PROTECTED]> schrieb:
Henry doesn't say if these are text files or
binary
files.
If these are binary files like PDF, PPT and XLS
files then a servlet
will be needed - not a jsp.
We use variations like the following in both
Tomcat
ne this
since Tomcat 3.0.3.
Pretty simple.
It is up to you if you need to obfuscate your file pathnames.
Glad to help.
Regards,
Dave
i understood with help of
--- David Fisher <[EMAIL PROTECTED]> schrieb:
Henry doesn't say if these are text files or binary
files.
If these are
Henry doesn't say if these are text files or binary files.
If these are binary files like PDF, PPT and XLS files then a servlet
will be needed - not a jsp.
We use variations like the following in both Tomcat 4.1.31 and Tomcat
5.5.26
public class OpenFileServlet extends HttpServlet{
p
On Apr 28, 2008, at 9:59 AM, Alan Chaney wrote:
David Smith wrote:
No, I have at most 20 idle connections, that's goes right, but my
boss want
less idle connections to avoid to overload the database server. So
there
isn't way to close an idle connection to remove the relative
process
Seconded.
DIGLLOYD said the following:
From what I can find by googling, redirects have a slew of issues of
their own. But I'm a newbie at this, so I might be misunderstanding.
The only trouble I've had with redirects is when you redirect to a
page which redirects to a page which redirects
Hi,
Look carefully at the LD_LIBRARY_PATH man page.
At least under Solaris, if you are sudo'ing in some way to root then
it will not reset LD_LIBRARY_PATH. This is a security measure.
You may need to configure the root to include these libraries.
This was 7 years ago that we encountered thi
I think you are correct. We manage our Oracle connections ourselves
using classes12 and a ConnectionPool. I have no need to restart tomcat
after an Oracle "bounce". I do restart my Tomcats much more often than
Oracle - every day. It has been almost a year since we restarted Oracle.
It could
ler, but I haven't tried.
I haven't yet gone to Apache in front of Tomcat for load balancing
yet. It is on my road map to replace ancient expensive, but elegant
Resonate, giving me the scalability I hope to need.
Dave
Lasana
- Original Message ----
From: David Fisher &l
Hi -
There can be three cases (at least)
(1) Your blog software insists on a folder name - a weblog id.
Having played with Roller 4 and Tomcat, I was defeated in trying to
get what you want. They are working on it in their next version, and
people have reported how to do it. If you are usin
Hi,
You want to look at this page: http://www.apache.org/licenses/exports/
You'll need some time to understand it. I did this a couple of years
ago.
When I last I checked HTTPS support is the only encryption that
Tomcat does. I don't believe that HTTPS is subject to ECCN, but I'm
not a l
From: Peter Crowther [mailto:[EMAIL PROTECTED]
Subject: [OT] Smalltalk (was RE: Tomcat multithread question
on externalapplication)
Smalltalk is still the fastest prototyping environment for
some classes of problem that I've used - but I'd prefer
something with a few more safety belts for product
Hi,
PayPal has free solutions that work:
https://www.paypal.com/us/cgi-bin/webscr?cmd=_profile-comparison
I use "Website Payments Standard" with an IPN back-end without
trouble for over 5 years on Tomcat 4s, no trouble with recent upgrade
to 5.5/
We save the shopping cart on the server si
PermGen Space is where classes live.
One of the links on the FAQ should get you on track:
http://opensource.atlassian.com/confluence/spring/pages/
viewpage.action?pageId=2669
You are likely doing something seemingly innocent, but there is
actually a problem.
I got similar errors to yours
Both webapps use a resource or class that only allows a single use?
Do you install any jars in any place other than your webapps' WEB-INF/
lib?
Have you set up any logging? If log4j, where did you put it?
Regards,
Dave
On Mar 18, 2008, at 12:12 PM, sol42020 wrote:
Most people would think
I don't know about BIRT (other than it is a project to generate Excel
reports), but I do know that in Apache POI when you read and write an
Excel spreadsheet everything is done in memory, and a large amount of
memory needs to be available if your spreadsheet is large.
I add the following to
75 matches
Mail list logo