On 03/16/2011 06:17 AM, Olivier Lefevre wrote:
I get this:
[2011-03-16 06:12:39] [debug] ( javajni.c:195 ) Invalid RuntimeLib
'C:\Java\j2sdk1.6.0\bin\server\jvm.dll'
[2011-03-16 06:12:39] [debug] ( javajni.c:197 ) Using Jre JavaHome
'C:\Programme\Java\jre6'
[2011-03-16 06:12:39] [debug] ( java
Thanks
On Sun, Mar 13, 2011 at 11:56 AM, Mark Thomas wrote:
> On 13/03/2011 08:33, Maimon Oded wrote:
> > Hi,
> > I'm using tomcat 6 and HypericHQ for monitoring via JMX.
> > I don't know if this is an hyperic issue or not, but i wonder if there is
> an
> > option to fix it via tomcat/java confi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Noah,
On 03/15/2011 07:05 PM, Noah Cutler wrote:
> Obviously per instance is a memory hungry solution, albeit highly
> convenient. Placing all sites in a single instance is a possibility as
> well (and the most resource "friendly"), but I would nee
To be absolutely sure I uninstalled both JRE and JDK, manually
removing anything left behind, and reinstalled. This time the
JRE did not have a server JVM indeed, so maybe another program
had copied it. However the JDK has one and if I use it for the
Tomcat server and later try to start it (with d
On 3/16/2011 2:50 AM, Konstantin Kolinko wrote:
What version of JRE are you using? The latest 6u24 one does not have the file.
It is 6u24. I did not copy anything.
In addition, I already told you that I get the same error if I use the server
JVM from the JDK.
-- O.L.
--
I'm still up. lol
I'm using spring security, weld, primefaces and JPA (hibernate as provider).
So far I have already tested regular JSPs, servlets, JSF (pure and getting
values from managed bean), primefaces, weld, spring security and JPA one by
one, isolated. I didn't get even 2 of these set up a
Oh, yeah, I forgot to mention the logs. They don't show any sign of error.
It's getting quite late here and I have to wake up early tomorrow so I will
just give it a break and keep testing tomorrow.
Thank you for the tips. I'll keep you posted.
Regards,
Peter P. Lupo
http://craftnicely.blogspot.c
> From: Peter P. Lupo [mailto:ppl...@gmail.com]
> Subject: Re: Hard time finding a but on Tomcat 7 (doesn't happen on 6.)
> I told you, the latest one. So it's 1.44.
The problem is that different people have different views of what is "latest".
We've had at least one user claiming to have the
I told you, the latest one. So it's 1.44.
The "exact" message is:
Exception in thread ""http-bio-8080"-exec-8"
but the number at the end ("8") varies and the number of messages like those
varies also. Each new message comes with a higher ending number. So far I
was unable to find out any correspon
> From: Peter P. Lupo [mailto:ppl...@gmail.com]
> Subject: Re: Hard time finding a but on Tomcat 7 (doesn't happen on 6.)
> I'm talking about this Java Mail:
> http://www.oracle.com/technetwork/java/javamail/index.html
You really, really need to be specific. There are several versions of JavaMa
2011/3/15 Olivier Lefevre :
> On 3/15/2011 8:28 PM, Konstantin Kolinko wrote:
>>>
>>> Saying it does not make so. I assure you that both the JRE and the
>>> JDK include the bin/server/jvm.dll.
>>
>> On Linux yes. On Windows no. Have you looked there? Or you have a 64-bit
>> JRE?
>
> Of course I hav
What is the problem that you are trying to solve?
On Mon, Mar 14, 2011 at 4:25 PM, Dan wrote:
> On Mon, Mar 14, 2011 at 11:25 AM, Dan wrote:
>> On Mon, Mar 14, 2011 at 10:57 AM, chris derham wrote:
We have some working tomcat 6 instances that we'd like to identify
>>>
>>>
>>> Can you use t
I'm sorry, I was in a hurry because I had to leave, you guys were very
responsive and I thought I could give you the info I had at hand. I'm
talking about this Java Mail:
http://www.oracle.com/technetwork/java/javamail/index.html
The messages are being printed on the console. It just prints someth
2011/3/16 Peter P. Lupo :
> Hmm... sorry guys, I expected to find other ppl here... lol... this mail.jar
> is the official from Oracle. I got it there and I also tried the version
> before the actual one.
lol. Clairvoyants? There are several versions of JavaMail
specifications out there, and a num
I don't know yet which project are you talking about, but why haven't you
decided to migrate to JSF 2.0 or Spring MVC, instead of staying with Struts?
My needs are mostly to create apps faster, specially in the GUI. The forms,
the validation, the old basic HTML... I spend too much time doing that,
Hmm... sorry guys, I expected to find other ppl here... lol... this mail.jar
is the official from Oracle. I got it there and I also tried the version
before the actual one.
It does not happen on the examples. I don't know what triggers it but
something has changed from tomcat 6 to tomcat 7 that pr
> From: Peter P. Lupo [mailto:ppl...@gmail.com]
> Subject: Hard time finding a but on Tomcat 7 (doesn't happen on 6.)
> I'm trying to add mail.jar (Java Mail) to my app's lib (the problem
> also happens with tomcat's lib).
As asked earlier:
1) Where did you get this mail.jar?
2) What's in it?
On 15/03/2011 22:57, Peter P. Lupo wrote:
> I'm trying to add mail.jar (Java Mail) to my app's lib (the problem also
> happens with tomcat's lib). It is quite simple. If I do it, I start getting
> "Exception in thread http-bio-8080" error and it keeps printing it like in a
> loop. The problem start
Chris, thanks for the excellent feedback; thus far this list exceeds
Stackoverflow by orders of magnitude ;--)
Re: ease of implementation, yes, a single instance with multiple virtual
hosts is the way to go (similar setup to apache virtual hosts).
However, some of the LAMP stack apps will have le
I'm trying to add mail.jar (Java Mail) to my app's lib (the problem also
happens with tomcat's lib). It is quite simple. If I do it, I start getting
"Exception in thread http-bio-8080" error and it keeps printing it like in a
loop. The problem starts as soon as I make a request to a servlet or to a
Filip,
Works like charm.
Thanks a lot,
János
On Mar 14, 2011, at 7:29 PM, Filip Hanik - Dev Lists wrote:
> On 3/14/2011 3:46 PM, János Löbb wrote:
>> Hi,
>>
>> I set up ssl using the JAVA_HOME/bin/keytool on OSX 10.6.6 - JSSE type
>> configuration with a self-signed certificate. Modified se
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Noah,
On 3/15/2011 2:05 PM, Noah Cutler wrote:
> Obviously per instance is a memory hungry solution, albeit highly
> convenient. Placing all sites in a single instance is a possibility as
> well (and the most resource "friendly"), but I would need to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Noah,
On 3/15/2011 3:27 AM, Noah Cutler wrote:
> So, given that a running 32-bit JVM on Linux will require at least 1GB
> RAM, total memory usage will not be JVM footprint * num instances, but
> rather, JVM footprint + num instances?
Not necessarily.
On 3/15/2011 8:34 PM, Konstantin Kolinko wrote:
"/tomcat.jks" is a relative path on Windows, but absolute one on Linux.
OK. I thought Tomcat would always interpret it as a relative path.
Try with "${catalina.home}/tomcat.jks"
Yes, that works on both systems, so it is the safe option.
Thank
On 3/15/2011 8:28 PM, Konstantin Kolinko wrote:
Saying it does not make so. I assure you that both the JRE and the
JDK include the bin/server/jvm.dll.
On Linux yes. On Windows no. Have you looked there? Or you have a 64-bit JRE?
Of course I have looked there! And no I don't have a 64bit JRE.
2011/3/15 Olivier Lefevre :
> In the HTTPS Connector element of my server.xml I have
> keystoreFile="/tomcat.jks". This works fine on Windows
> but fails on Linux with "java.io.FileNotFoundException:
> /tomcat.jks (No such file or directory)".
"/tomcat.jks" is a relative path on Windows, but absol
2011/3/15 Olivier Lefevre :
> On 3/15/2011 7:44 PM, Konstantin Kolinko wrote:
>>
>> Windows versions of JDK do have server JVM, while JREs do not.
>
> Saying it does not make so. I assure you that both the JRE and the
> JDK include the bin/server/jvm.dll.
>
On Linux yes. On Windows no. Have you lo
In the HTTPS Connector element of my server.xml I have
keystoreFile="/tomcat.jks". This works fine on Windows
but fails on Linux with "java.io.FileNotFoundException:
/tomcat.jks (No such file or directory)". Of course
$CATALINA_HOME/tomcat.jks exists and is readable. Any
idea? Tomcat was started a
On 3/15/2011 7:44 PM, Konstantin Kolinko wrote:
Windows versions of JDK do have server JVM, while JREs do not.
Saying it does not make so. I assure you that both the JRE and the
JDK include the bin/server/jvm.dll.
In any case this is a red herring because repointing --Jvm to the
JDK sever jvm.
2011/3/15 Olivier Lefevre :
> On 3/15/2011 4:56 PM, Caldarale, Charles R wrote:
>>
>> You have a *server* JVM installed on Windows XP? Want to verify that?
>
> Like I said, $JAVA_HOME/bin/server/jvm.dll is there. I did nothing
> special: I just ran the installer.
> --Jvm "C:\Programme\Java\jre6\b
> -Original Message-
> From: Mark Thomas [mailto:ma...@apache.org]
> Sent: Tuesday, March 15, 2011 3:02 AM
> To: Tomcat Users List
> Subject: Re: Typical setting for
>
> On 15/03/2011 06:06, Jason Pringle wrote:
> > Clearly what is there is correct, since it takes some extra effort to
> em
Thomas, perfect, hours of searching Stackoverflow et al resolved in a
single mailing list thread ;--)
I will play around with various configs (per instance and multi-host per
instance) in my local devel to get an idea of no-load resource usage;
then, as you say, give some % more to avoid OOMEs in
On 3/15/2011 4:56 PM, Caldarale, Charles R wrote:
You have a *server* JVM installed on Windows XP? Want to verify that?
Like I said, $JAVA_HOME/bin/server/jvm.dll is there. I did nothing
special: I just ran the installer.
If --StartPath is omitted Tomcat attempts to start in the
local direct
Thank you Mark and Thomas! I was able to get that to work. I didn't realize
the syntax as I am upgrading from Tomcat 5 to Tomcat 6.
On Tue, Mar 15, 2011 at 11:21 AM, Thomas Freitag wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi Dharamshila,
>
> On 15.03.11 um 11:10, Dharamshila
> From: Olivier Lefevre [mailto:lefev...@yahoo.com]
> Subject: --Jvm option trouble with Windows service
> --Jvm "C:\Programme\Java\jre6\bin\server\jvm.dll"
> If instead --Jvm is set to auto all works well. Why? The DLL
> exists, is readable/executable by all and I am doing this under
> an accou
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark and Eric,
On 3/15/2011 5:14 AM, Mark Thomas wrote:
> On 14/03/2011 20:53, Eric Sheridan wrote:
>> SmapParser parser = new SmapParser(inputStream);
>> Smap smap = parser.parse();
>> int jspLineNumber = smap.getJspLineNumber(javaLineNumber);
>>
>>
My Tomcat service (since 7.0.8) would die with "Commons Daemon
procrun stdout initializedError occurred during initialization
of VM Unable to load native library" when I tried to start it.
I finally traced got fed up with starting it from the command
line and traced it down to this option that is
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: [OT] Followup on 32-bit versus 64-bit performance discussion(s)
> A Java int is defined to be 32-bits. Why would it have to be word-length
> on the stack? Is that documented anywhere, or does it just end up being
> t
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: [OT] Followup on 32-bit versus 64-bit performance discussion(s)
So, back to the original question: will a 32-bit JVM on a 64-bit OS give
me a bigger heap potential than a 32-bit JVM on a 32-bit OS?
Depends entirely on t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Dharamshila,
On 15.03.11 um 11:10, Dharamshila Khandelwal wrote:
> I have my webapps's context define in
> $CATALINA_HOME/conf/Catalina/localhost.
> The application is not reading the datasource, I get the following error in
> catalina logs:
>
> U
On 15/03/2011 15:10, Dharamshila Khandelwal wrote:
> Hi,
>
> I have my webapps's context define in
> $CATALINA_HOME/conf/Catalina/localhost.
> The application is not reading the datasource, I get the following error in
> catalina logs:
That'll be because you are trying to use Tomcat 5.0.x syntax
Hi,
I have my webapps's context define in
$CATALINA_HOME/conf/Catalina/localhost.
The application is not reading the datasource, I get the following error in
catalina logs:
Unhandled SQL Exception:
org.apache.tomcat.dbcp.dbcp.SQLNestedException: *Cannot
create JDBC driver of class '' for connect
On 15/03/2011 15:01, Christopher Schultz wrote:
> For instance, I guess the hostnames are stored in a Map keyed on
> lowercase hostname, and each request does a lookup in that Map to
> determine the host that will handle the request. If the result is null,
> you choose the defaulHost.
Nope. It isn
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
On 3/15/2011 6:02 AM, Mark Thomas wrote:
> On 15/03/2011 06:06, Jason Pringle wrote:
>> Clearly what is there is correct, since it takes some extra effort to embed
>> a Host header into the HTTP request if you don't have a DNS entry (messing
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 3/14/2011 11:20 PM, Caldarale, Charles R wrote:
>> From: Leon Rosenberg [mailto:rosenberg.l...@gmail.com]
>> Subject: Re: [OT] Followup on 32-bit versus 64-bit performance discussion(s)
>
>> I'm sorry, I probably missed something, but why
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 3/15/2011 9:02 AM, Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>> Subject: Re: [OT] Followup on 32-bit versus 64-bit performance discussion(s)
>
>> A 32-bit process, using 32-bit pointers,
> From: peter.crowth...@googlemail.com [mailto:peter.crowth...@googlemail.com]
> On Behalf Of Peter Crowther
> Subject: Re: [OT] Followup on 32-bit versus 64-bit performance discussion(s)
> > Also, a Java int, when allocated on the stack, must take up the same number
> > of bits as a pointer.
>
On 15 March 2011 13:02, Caldarale, Charles R wrote:
> Also, a Java int, when allocated on the stack, must take up the same number
> of bits as a pointer.
>
> That's an interesting space/time trade-off (I presume it's to prevent
excess arithmetic on stack value accesses). I wonder whether it's sti
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: [OT] Followup on 32-bit versus 64-bit performance discussion(s)
> A 32-bit process, using 32-bit pointers, will enjoy a 2x speedup for
> those types of data.
Also, a Java int, when allocated on the stack, must take
Hi,
we have received a customer report, that the ISAPI redirect filter failed on
an Windows 2003, IIS6.0 x64 when dotnet 4.0 is installed on the same site.
The redirector was not able to catch the request prior to dotnet 4 and no
pages were served (Server returned status 404)
Switching
On 15 March 2011 07:36, Leon Rosenberg wrote:
> So a 64bit cpu has a 32bit mode, or how would a 32bit OS shrink the
> transmit size? I mean the registers stay the same?
Frequently, the bottleneck with realistic loads is access to main memory
(or, not quite equivalently, on-die cache size). Ass
On 15/03/2011 06:06, Jason Pringle wrote:
> Clearly what is there is correct, since it takes some extra effort to embed a
> Host header into the HTTP request if you don't have a DNS entry (messing with
> /etc/hosts would be one way). But that last bit of info for how Tomcat
> actually makes use
> > We have some working tomcat 6 instances that we'd like to identify
>
> > >> As David said, this does work with the thin driver, but I need the
> > >> service/load balancing functionality from OCI. Any more suggestions
> > >> are welcome!
>
You didn't say what connection pool you are usi
On 14/03/2011 20:53, Eric Sheridan wrote:
> SmapParser parser = new SmapParser(inputStream);
> Smap smap = parser.parse();
> int jspLineNumber = smap.getJspLineNumber(javaLineNumber);
>
> Does any such code exist? If so, would you mind pointing me to
> it? If not, any alternative solutions to look
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Noah,
On 14.03.11 um 21:27, Noah Cutler wrote:
> So, given that a running 32-bit JVM on Linux will require at least 1GB
> RAM, total memory usage will not be JVM footprint * num instances, but
> rather, JVM footprint + num instances?
Actually, the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
CVE-2011-1088 Apache Tomcat security constraint bypass
Severity: Important
Vendor: The Apache Software Foundation
Versions Affected:
- - Tomcat 7.0.0 to 7.0.10
- - Earlier versions are not affected
Description:
When a web application was started, @
On Tue, Mar 15, 2011 at 4:20 AM, Caldarale, Charles R
wrote:
>> From: Leon Rosenberg [mailto:rosenberg.l...@gmail.com]
>> Subject: Re: [OT] Followup on 32-bit versus 64-bit performance discussion(s)
>
>> I'm sorry, I probably missed something, but why should 64 bit app on
>> 64 bit os on 64 bit cp
Thomas, excellent, informative.
So, given that a running 32-bit JVM on Linux will require at least 1GB
RAM, total memory usage will not be JVM footprint * num instances, but
rather, JVM footprint + num instances?
The use case is transferring 20 client sites from LAMP stack to JVM +
Tomcat 7 + MyS
58 matches
Mail list logo