Using Folowing to test Load Balanacing
> Os:Linux
> apache 2.2.17
> mod_jk1.2.3/ AJP 1.3
> tomcat 5.5.27
>
> with Above Setup i am able transfer load on tomcat instances.I am setting
> test bed with 3 tomcat with (Max thread 500 on each,Individual tomcat able
> to accept 400 concurent in long run
I think I have to have tomcat (.zip) rather than md5 package..just a
moment...i will get back to you...
On Sat, Apr 16, 2011 at 8:50 AM, Leo Donahue - PLANDEVX <
leodona...@mail.maricopa.gov> wrote:
>
>
> From: RAHUL RAJ [omrahulraj...@gmail.com]
> Subject
Hi Darryl,
Is the database also running on a VM? My experience with "problematic
applications on VMs" hasn't been related to the application itself (Tomcat,
BIND, Apache, etc.) but moreso whether they generate high volumes of local
storage I/O (like a database using local disks). The impact t
i was reading leos post about restarting tomcat with the same username that had
read access to the referenced database
the same idea will work for tomcat if you create your VM with same login as
PGUSER
password is stored in .pgpass file if memory serves
hth
Martin Gainty
From: RAHUL RAJ [omrahulraj...@gmail.com]
Subject: Re: Working of Tomcat with MS Access
>vista home basic.
>No, I can restart tomcat each time, by clicking the start/stop button.
Did you try any of the suggestions André or I offered?
-
I have an application (commercial) running on a virtual instance of Linux
talking to a Postgres database.
We are continually getting locks on the DB that are crashing the app.
I think it's just bad programming on the suppliers side, but the supplier has
latched onto the idea that it is because it
vista home basic.
No, I can restart tomcat each time, by clicking the start/stop button.
On Sat, Apr 16, 2011 at 2:49 AM, Leo Donahue - PLANDEVX <
leodona...@mail.maricopa.gov> wrote:
> >-Original Message-
> >From: RAHUL RAJ [mailto:omrahulraj...@gmail.com]
> >Subject: Re: Working of Tomc
I am working on windows platform. I downloaded tomcat setup, md5(.exe) and
installed it.
On Sat, Apr 16, 2011 at 3:18 AM, André Warnier wrote:
>
>> Also startup.bat is not there in the specified directory.
>>>
>>
> It is not there because you have downloaded and installed the "Tomcat
> instal
Also startup.bat is not there in the specified directory.
It is not there because you have downloaded and installed the "Tomcat installer" version,
and that one does not have a startup.bat file.
Stop your existing Tomcat service.
Go back to the Tomcat website, and download the appropriate
Hi,
Looks like this session hijacking is a jk phenomena.
If I shut down the cluster member tr66 for example and make a standalone tomcat
by teking out jvmRoute from the Engine tag and comment out the Cluster tag, and
then bring it up then I can get to the SessionExample servlet in two ways.
>-Original Message-
>From: RAHUL RAJ [mailto:omrahulraj...@gmail.com]
>Subject: Re: Working of Tomcat with MS Access
>
>you said:
>
>"You need to change that account to one that has access to your mdb.
>You
>can do that through the Services console. Or try starting Tomcat via
>the
>startup
you said:
"You need to change that account to one that has access to your mdb. You
can do that through the Services console. Or try starting Tomcat via the
startup.bat file, that should launch Tomcat with the same account you've
logged into your system with, which hopefully is the same account y
>-Original Message-
>From: RAHUL RAJ [mailto:omrahulraj...@gmail.com]
>Subject: Re: Working of Tomcat with MS Access
>
>Yes, it runs as a service. But how to know under what account does that
>service run? does it mean 'admin' or 'normal user' or 'system'?
>I made a system DSN for this...no
Hi Chris,
It does not appear like I have access to HttpServletResponse. Damn. So if I did
have access to that then I could just call response.encodeURL and everything
would seriously just auto-magically work?
Any other way, or Object, I can use in its place?
I like your idea Chris of generatin
Well that's embarrassing. Thanks Chuck!
In my own defense I had read his response and didn't really understand it so it
swiftly left my mind. Then suddenly I could access that Attribute and now in
hindsight his response makes sense to me.
Feels like half the time I'm defending myself on this fo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mathew,
On 4/15/2011 3:42 PM, Mathew Samuel wrote:
> However the exception I received back was the following:
> java.lang.ClassCastException:
> org.apache.catalina.filters.CsrfPreventionFilter$LruCache cannot be
> cast to java.lang.String
>
> Ok, n
Oh, ok, that explains it better.
I've "had to" deal w/ MS Access, more than I'd like, or out of pure cheapness
on my part sometimes, but have amply dealt with Oracle (best IMO) and SQL
Server.
And no it's usually not.
I absolutely have to have MS Access solutions here, based in our corp. world
> From: Mathew Samuel [mailto:mathew.sam...@entrust.com]
> Subject: Found org.apache.catalina.filters.CSRF_NONCE
> now I know that the org.apache.catalina.filters.CSRF_NONCE is not a String
> but something else.
Actually, Konstantin told you that several hours ago:
> > 1) ${session['org.apache
Hi,
Thanks for all the help. Looks like I was able to find
org.apache.catalina.filters.CSRF_NONCE. I was so happy I could have cried.
It was part of an HttpSession object that had an attribute of
org.apache.catalina.filters.CSRF_NONCE. Not sure why I couldn't find it before
but perhaps I was e
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Barry,
On 4/15/2011 3:11 PM, Propes, Barry L wrote:
> Oh, ok - that's good. Although I'm not familiar with it, but will
> take it under advisement.
You could think of it as Java's answer to Access, except that I
wouldn't want to be that demeaning of
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bill,
On 4/14/2011 8:11 PM, Bill Davidson wrote:
> public MyResponseWrapper( HttpServletResponse response ) throws
> IOException {
> super(response);
> myOutputStream = new MyOutputStream(response);
> Outpu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rushikesh,
On 4/15/2011 1:01 AM, Rushikesh.Pisal wrote:
> While running two instance of embedded tomcat in our application the CPU
> usage gets 100%.
:(
> We are using Tomcat 5.0.30 version.
> I know Tomcat 5.X is bit old but it is very much dang
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mathew,
On 4/14/2011 9:58 AM, Mathew Samuel wrote:
> So I do in fact have a reference to the HttpSession related to the
> currently-running request. However I do a "getAttributeNames()" to it
> but the Enumeration I get back is empty (i.e. non-null bu
Oh, ok - that's good. Although I'm not familiar with it, but will take it under
advisement.
-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: Friday, April 15, 2011 2:03 PM
To: Tomcat Users List
Subject: Re: Working of Tomcat with MS Access
-BEG
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Barry,
On 4/15/2011 1:56 PM, Propes, Barry L wrote:
> Like Jeff says, you can do this basically for no cost using both
> Tomcat and mySQL.
Even better, use JavaDB: it comes with Java and is pretty much
guaranteed to work.
- -chris
-BEGIN PGP SIG
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jeff,
On 4/15/2011 11:11 AM, Jeff Hubbs wrote:
> You do realize, I hope, that what you're proposing is akin to sourcing
> parts for your jet engine from Fisher-Price?
:)
> MS Access is a desktop application that accesses files on disk. Java
> apps
There is no startup.bat file in the directory u specified.
In my system the directory path is
C:\Program Files\Apache Software Foundation\Tomcat 5.5\bin
On Sat, Apr 16, 2011 at 12:14 AM, Angel Java Lopez wrote:
> Rahul:
>
> Stop tomcat as a service.
> Go to //bin
> Run startup.bat
> Try your ap
Rahul:
Stop tomcat as a service.
Go to //bin
Run startup.bat
Try your app again.
Only to discard user account/access problems.
On Fri, Apr 15, 2011 at 3:13 PM, RAHUL RAJ wrote:
> running 'tomcat as standalone java program'? can u explain for me sir?
>
> 2011/4/15 Mikolaj Rydzewski
>
> > RAHUL
Yes of course...I did the same...then what to do with this error? Remember
that Now I am working in ACCESS. code is not much different...
On Sat, Apr 16, 2011 at 12:10 AM, Troy wrote:
> I believe the drivers should be located in: YourApp/WEB-INF/lib/
>
>
> Troy
>
>
>
>
>
>
>
>
> -Original Me
I believe the drivers should be located in: YourApp/WEB-INF/lib/
Troy
-Original Message-
From: RAHUL RAJ
To: Tomcat Users List
Sent: Fri, Apr 15, 2011 2:35 pm
Subject: Re: Working of Tomcat with MS Access
Thank you very much for your help! When I did with mysql, the corres
Thank you very much for your help! When I did with mysql, the corresponding
jdbc driver is stored in /webapps/ROOT/lib directory in tomcat.
On Fri, Apr 15, 2011 at 11:56 PM, Troy wrote:
> I wrote a quick little jsp to access one of my db (a mysql)
>
>
> <%@page contentType="text/html" pageEncodi
I wrote a quick little jsp to access one of my db (a mysql)
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="java.sql.*" %>
http://www.w3.org/TR/html4/loose.dtd";>
Test Connection
<%
String name = "";
Class.f
running 'tomcat as standalone java program'? can u explain for me sir?
2011/4/15 Mikolaj Rydzewski
> RAHUL RAJ wrote:
>
>> This is like a small assignment that has to be submitted urgently..so I
>> have
>> to run away from the error! and tried with MS ACCESS.
>> The jdbc program for access works
RAHUL RAJ wrote:
This is like a small assignment that has to be submitted urgently..so I have
to run away from the error! and tried with MS ACCESS.
The jdbc program for access works perfect alone..
So run tomcat as a 'standalone' java program - that means not as a service.
--
Mikolaj Rydzews
No I am in Windows mode.
On Fri, Apr 15, 2011 at 11:26 PM, Propes, Barry L
wrote:
> Jeff has some really good points here, Rahul.
>
> I'm a guy who spent several years doing ASP development with both MS Access
> and SQL Server over the web before getting into Java.
> Even still, I didn't fathom t
ya...I did the same thing you told in mysql...but communications Exception
occured..
This is like a small assignment that has to be submitted urgently..so I have
to run away from the error! and tried with MS ACCESS.
The jdbc program for access works perfect alone..
On Fri, Apr 15, 2011 at 11:19 P
Jeff has some really good points here, Rahul.
I'm a guy who spent several years doing ASP development with both MS Access and
SQL Server over the web before getting into Java.
Even still, I didn't fathom trying to mess with MS Access with Java when I was
making that transition. I started with my
Raj,
I think everyone is saying to take a look at this syntax:
>String url = "jdbc:odbc:rahul";
>Connection con = DriverManager.getConnection(url, "", "");
I know that when I make this type of simple jdbc connection in mysql the syntax
is:
String url = "jdbc:mysql://localhost
Yes, it runs as a service. But how to know under what account does that
service run? does it mean 'admin' or 'normal user' or 'system'?
I made a system DSN for this...not the user DSN(Data Source Name)
and I launched tomcat service by right click 'run as admin'
On Fri, Apr 15, 2011 at 11:09 PM, Le
A beginner needs to at least begin with workable platforms and
software. PostgreSQL on Linux has a total software license cost of
$0.00; your barrier to entry with inappropriate software is considerably
higher.
On 4/15/11 1:35 PM, RAHUL RAJ wrote:
Since I am a beginner, I have to start with
>-Original Message-
>From: RAHUL RAJ [mailto:omrahulraj...@gmail.com]
>Sent: Friday, April 15, 2011 10:35 AM
>To: Tomcat Users List
>Subject: Re: Working of Tomcat with MS Access
>
>Since I am a beginner, I have to start with some trial projects, right?
>I
>know this is nothing! and help m
Since I am a beginner, I have to start with some trial projects, right? I
know this is nothing! and help me...pls answer to the "question.".
On Fri, Apr 15, 2011 at 8:41 PM, Jeff Hubbs wrote:
> You do realize, I hope, that what you're proposing is akin to sourcing
> parts for your jet engine fro
Yes I already did , that you might think I should. Now I am trying with MS
ACCESS...and new error came : SQLException: general error
I didn't found any error in my sql syntax or jdbc code. jdbc code alone is
working perfectly..
On Fri, Apr 15, 2011 at 9:02 PM, Angel Java Lopez wrote:
> One ques
I got communications exception when I did this with mysql...and no one knows
the reason perfectly...no response from mysql forum too...
On Fri, Apr 15, 2011 at 9:08 PM, Troy wrote:
> Raj;
>
> To all reading this response, this is my first response on this list so if
> I get it a little wrong hav
Hi
Two machines bml0065 and bml0066. Both have OSX 10.6.6, Tomcat 7.0.10, mod_jk
1.2.31, and httpd2.2.17. bml0065 is the reverse proxy.
I am following this test plan with the
examples/servlets/servlet/SessionExample as the webapp.
Scenario - tc65, tc66 are running in a cluster.
1
MySQL is indeed another good Open Source RDBMS; I would not call it
"lightweight" in that it is used to power some mighty big Web apps, but
the implementation does seem a little quaint.
On 4/15/11 11:38 AM, Troy wrote:
Raj;
To all reading this response, this is my first response on this list
> From: pzwedhhs [mailto:pzwed...@guerrillamailblock.com]
> Subject: Re: 'Parametrizing' context.xml?
> I still could not find out, how to access the variable in context.xml.
Are you sure that the context.xml you're modifying is the one being used? If
there's a element in conf/Catalina/[host]
Ok, adding a line in catalina.properties seems to set the value at least. It
appears, when I call System.getProperties() inside the Java code. However, I
still could not find out, how to access the variable in context.xml.
Laicreparc_ wrote:
>
> Ok, I have added the line
>
> DBVAL=mydb_dev
>
I have successfully managed to set a (not predefined) variable in
catalina.properties by adding the line dbconf=mydb. When I call
System.getProperties in the code of the web application, this variable
appears.
However, I would like to access this variable in context.xml inside the web
application.
Raj;
To all reading this response, this is my first response on this list so if I
get it a little wrong have patience.
You may want to look at the light weight RDBMS mysql. It is free, easily
installed and can be utilized with the companion Workbench to make dealing with
the db very easy, a l
One question:
You should have an ODBC declaration named "rahul". It is declared for your
user, or as a system odbc name? My guess, your Tomcat is running as a
service, or under other user (not your user), and ODBC "rahul" Data Source
name is only for your user.
Is it the case?
Did you solve the
You do realize, I hope, that what you're proposing is akin to sourcing
parts for your jet engine from Fisher-Price?
IMHO MS Access is not and never has been useful as a professional
database product. I'm not even sure if what you are proposing even
holds up in the looking-through-binoculars-f
2011/4/13 Jaroslav Fikker :
>
> You are right - my java is 32bit. So that is the probelm in compilation of
> APR?
>
Java byte code is agnostic to CPU architecture, but native code should
be for the same architecture as the Java runtime that loads it.
You should either use 64-bit JRE with 64-bit
Konstantin Kolinko wrote:
>
> 2011/4/15 killbulle :
>>
>> Hi the list,
>> i have a problem with asyncServlet with tomcat 7.0.11/.12
>> i have an async servlet who return a 400 ,
>> i'am pretty sure that i do the startAsync et async.complete are called,
>> but
>> when i follow the request flow i
I know from previous experience that driver you show is horribly outdated, and
horrible in general.
I assume no credentials are needed to access the DB in the Connection object,
con?
Maybe I'm reading that incorrectly.
Does the JDBC program connect to MS Access at all?
-Original Message
2011/4/15 killbulle :
>
> Hi the list,
> i have a problem with asyncServlet with tomcat 7.0.11/.12
> i have an async servlet who return a 400 ,
> i'am pretty sure that i do the startAsync et async.complete are called, but
> when i follow the request flow in debugger, it seem that request.recycle i
2011/4/13 Mathew Samuel :
> Hi,
>
> There's an JSP example line given, with respect to using CSRF (Cross-site
> Request Forgery), that showed how one could access the CSRF nonce and include
> it with a URL:
>
> < c:url var="url" value="/show" > < c:param name="id" value="0" / > < c:param
> name=
> From: amousset [mailto:aurelien.mous...@gmail.com]
> Subject: Redirect from a domain to another (keeping the first one)
> So, if I access http://domain2.com/wouhoo and
> http://domain1.com/blabla/domain2/wouhoo
> should be the same !!
> How can I do that ?
Try this:
http://www.tuckey.org/url
On Fri, 15 Apr 2011 17:01:05 +0530, RAHUL RAJ
wrote:
I know my code is not perfect.
But I just want to resolve this error now. Can u say how to solve
this? pls answer to the question.have u read my message
completely?
How do you run your tomcat - as a service?
--
Mikolaj Rydzewski
---
The code I gave is just a sample code, it might change afterwards..but
before that, I need to resolve this error, sorry for your
inconvenience...
On 4/15/11, RAHUL RAJ wrote:
> I know my code is not perfect.
> But I just want to resolve this error now. Can u say how to solve
> this? pls answer to
I know my code is not perfect.
But I just want to resolve this error now. Can u say how to solve
this? pls answer to the question.have u read my message
completely?
On 4/15/11, Mikolaj Rydzewski wrote:
>
> On Fri, 15 Apr 2011 15:34:37 +0530, RAHUL RAJ
> wrote:
>
>> I am working on bu
On Fri, 15 Apr 2011 15:34:37 +0530, RAHUL RAJ
wrote:
I am working on building a jsp website with MS Access as
database.
I usually do not express my opinions about others code, but your is
really the worst code sample I have ever seen...
I know that everyone has its time to begin. Bu
Hi the list,
i have a problem with asyncServlet with tomcat 7.0.11/.12
i have an async servlet who return a 400 ,
i'am pretty sure that i do the startAsync et async.complete are called, but
when i follow the request flow in debugger, it seem that request.recycle is
not called(coyoteAdapter.servic
Hello,
I am working on building a jsp website with MS Access as
database. When my login page is loaded on tomcat
(localhost:8080/login.jsp), it shows the following error:
java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source
name not found and no default driver specified.
The
Hi guys,
Well, I deployed my war file in Tomcat on my server.
And I've 2 domains on this server. Let's say domain1.com and domain2.com
Well, domain1.com goes to http://my-ip-server:8080/myservlet
So when I access domain1.com, everything is ok (myservlet is displayed)
Now, I have a second domain
On Fri, Apr 15, 2011 at 09:52, Alexander Diedler wrote:
> Hello everybody,
>
> Just a general question. Could it be a bottleneck, if we have millions of
> .tmp Files in the Tomcat tmp Folder? If we startup the Tomcat, during a
> period > 15m the are no response from the Tomcat, if we try to open
>
2011/4/15 Alexander Diedler :
> Hello everybody,
>
> Just a general question. Could it be a bottleneck, if we have millions of
> .tmp Files in the Tomcat tmp Folder? If we startup the Tomcat, during a
> period > 15m the are no response from the Tomcat, if we try to open
> websites, hosted by the to
Hello everybody,
Just a general question. Could it be a bottleneck, if we have millions of
.tmp Files in the Tomcat tmp Folder? If we startup the Tomcat, during a
period > 15m the are no response from the Tomcat, if we try to open
websites, hosted by the tomcat.
Greetings
Alexander Diedler
68 matches
Mail list logo