Richard Cooke wrote:
When starting Tomcat 6 on a newly installed Windows 7 Enterprise machine
with JRE 6 using C:\Program Files\Apache Software Foundation\Tomcat
6.0\bin\tomcat6.exe the application does not open and my event viewer has
the message:
Disabled use of AcceptEx() WinSock2 API.
The
On Thu, 2010-01-21 at 15:21 +0100, André Warnier wrote:
Mirko Solic wrote:
On Thu, 2010-01-21 at 11:30 +0100, André Warnier wrote:
Mirko,
just for info : there is a related other thread taking place at the same
time, entitled Basic Authentication Failed with multibyte username.
I have
Thanks for your response. Unfortunately this did not help.
I did not install Tomcat with the 'native' checkbox ticked and do not have
tcnative.dll in my Tomcat directory. I also have the latest version of the
JVM installed.
On Mon, Jan 25, 2010 at 10:55 AM, André Warnier a...@ice-sa.com wrote:
Hello, I'm using Jetspeed 1.6, running on Tomcat.
In a portlet I developed, I create a .csv file and print a link to it. The
user then needs to right-click on the file and select save file as.
The dialogue that pops up defaults to file type HTML file, and replaces the
.csv extension of the file
When upgrading from Tomcat 5.5.x to Tomcat 6.0.x I am facing performance
issues.
I am using the same exact application in both versions. The application uses
JSP custom tags.
Here is a quick list of the average loading time recorded (in ms) using Jmeter
:
Tomcat 5.5.23 : 32
Tomcat 6.0.18 /
On Thu, 2010-01-21 at 10:34 -0500, Christopher Schultz wrote:
On 1/21/2010 6:43 AM, Mirko Solic wrote:
That what i'm afraid of. This code: new
String(request.getHeader(headerName).getBytes(ISO-8859-1)) works for
now but it really shouldn't work.
That way i'm searching for more legitimate
On 25/01/2010 09:17, Ran Harpaz wrote:
Hello, I'm using Jetspeed 1.6, running on Tomcat.
In a portlet I developed, I create a .csv file and print a link to it. The
user then needs to right-click on the file and select save file as.
The dialogue that pops up defaults to file type HTML file,
On Mon, Jan 25, 2010 at 11:02 AM, Pid p...@pidster.com wrote:
On 25/01/2010 09:17, Ran Harpaz wrote:
Hello, I'm using Jetspeed 1.6, running on Tomcat.
In a portlet I developed, I create a .csv file and print a link to it. The
user then needs to right-click on the file and select save file
Chris,
thanks for the valve wrapper!
I played around now for some time, wrapped the response, attached some Action
hook.
But still not sure where i can grab the time for the first byte leaving
tomcat to the client.
I call now the response.getContentCount() method in every ActionHook action
On 25/01/2010 11:08, Jesse Klaasse wrote:
I am running a production environment for a website (over half a million
hits per day), using Tomcat 5.5.20 (I'm stuck to that version due to
support restrictions) behind IIS 6 using JK connector 1.2.28,
tcnative-1.dll (1.1.19) on Windows Server 2003 R2
take a look on threads
ajp-8009-2
ajp-8009-18
ajp-8009-30
ajp-8009-38
they are all seem to be either in an infinite loop:
at java.util.AbstractList$Itr.hasNext(AbstractList.java:339)
at
nl.indicia.vip.framework.util.Workflow.performWorkflowAction(Workflow.java:166)
at
P.S. Your tomcat is writing gc logs, please attach them next time.
On Mon, Jan 25, 2010 at 12:31 PM, Leon Rosenberg
rosenberg.l...@googlemail.com wrote:
take a look on threads
ajp-8009-2
ajp-8009-18
ajp-8009-30
ajp-8009-38
they are all seem to be either in an infinite loop:
at
Pid Ster wrote:
Have you tested those memory and garbage collection settings with this
version of Java?
Well, actually I haven't touched the settings which I used using Java 5.
But, I have tested the settings to some extent. My development environment
worked perfectly fine using the same
Leon Rosenberg-3 wrote:
they are all seem to be either in an infinite loop:
at java.util.AbstractList$Itr.hasNext(AbstractList.java:339)
at
nl.indicia.vip.framework.util.Workflow.performWorkflowAction(Workflow.java:166)
at
Jesse Klaasse wrote:
Those Workflow and DQWorkflow classes are from our company, written by the
programmer who worked on this project before me. I have attached the two
files for further examination.
I have noticed the performWorkflowAction method in DQWorkflow is not
synchronized and
Richard Cooke wrote:
Thanks for your response. Unfortunately this did not help.
I did not install Tomcat with the 'native' checkbox ticked and do not have
tcnative.dll in my Tomcat directory. I also have the latest version of the
JVM installed.
Unfortunately then I am out of my depth, and
My Tomcat installer file says version 6.0.20. I do not have a version.bat
file.
My java version is 1.6.0.18.
On Mon, Jan 25, 2010 at 2:47 PM, André Warnier a...@ice-sa.com wrote:
Richard Cooke wrote:
Thanks for your response. Unfortunately this did not help.
I did not install Tomcat with
Hello Jesse,
is the Workflow re-intrant? If yes:
this is odd:
you are iterating in a re-intrant action (i assume the action is
re-intrant) over a shared variable?
Vector vecOids = new Vector();
in the method:
Iterator oidIterator = vecOids.iterator();
Hi,
I am running Tomcat 5.5. I have a deployed application and in addition I
have a directory and subdirectory structure that stores and serves
supporting files such as .js and images. For the latter, I have just
created an application by typing in the virtual path and physical path
of the files.
Chris,
thanks for all your help, everyting is up and running. I settled for
'ALL:!EXP:!LOW:!SSLv2'
which is exaclty what I need.
You should take a look at this guy's tool, here:
http://www.unspecific.com/2009/02/16/ssl-cipher-check
this looks helpful, unfortunately the script (not the page)
Hi Leon,
I don't know what you mean exactly by re-intrant, but your comment points
out I have created an endless while-loop! Apart from moving to Java 6, I had
commented out some lines to reduce logging, not noticing I had created an
endless loop by doing so. I only did this in a jar compiled
Jesse Klaasse wrote:
...
ctory -Dcom.sun.management.jmxremote -XX:MaxPermSize=512m
-Xloggc:D:\logs\gc\tomcat-gc.log -XX:+PrintGCDetails -XX:+UseParNewGC
-XX:+UseConcMarkSweepGC -XX:+UseTLAB -XX:+CMSClassUnloadingEnabled
-XX:+CMSPermGenSweepingEnabled -Xms4096m -Xmx10240m
Apart from your
Jesse Klaasse wrote:
Hi Leon,
I don't know what you mean exactly by re-intrant, but your comment points
out I have created an endless while-loop! Apart from moving to Java 6, I had
commented out some lines to reduce logging, not noticing I had created an
endless loop by doing so. I only did
Keep in mind the overall architecture. The user is actually using an
HTML page containing HTML fields. The browser (nor the HTML) has no
actual knowledge of the DB or any binding or ORM you have on your
server.
So, on the server side, you have 2 primary components; servlets for
validating and
Hi,
Can anyone guide me about the steps to start a new project at Apache
Software Foundation.
I want to upload the project into its repository and start creating the
group, user lists..etc so that the project team would grow and there by it
would be enhanced if anyone intersted about my project.
From: Matt Eustace [mailto:meust...@attevo.com]
Subject: Files in Subdirectories not being served.
I have just created an application by typing in the
virtual path and physical path of the files.
Typing in where?
My inf file is:
Where is your so-called inf file located?
?xml
From: Kranti(tm) K K Parisa [mailto:kranti.par...@gmail.com]
Subject: New project to Apache Software Foundation
Can anyone guide me about the steps to start a new project at Apache
Software Foundation.
Start here:
http://www.apache.org/foundation/how-it-works.html
- Chuck
THIS
2010/1/25 Kranti™ K K Parisa kranti.par...@gmail.com:
Hi,
Can anyone guide me about the steps to start a new project at Apache
Software Foundation.
You may want to read up on the Incubator[1]...
--tim
[1] - http://incubator.apache.org/incubation/Incubation_Policy.html
On Sun, Jan 24, 2010 at 4:28 PM, jithu mada jithu.m...@gmail.com wrote:
I have a requirement, which is to display the table data and the user can
add,update or delete the data to it. I am using and JSP's and Servlets.
I was searching online to find if there are any data binding frameworks
From: Richard Cooke [mailto:richa...@saratoga.co.za]
Subject: Re: Disabled use of AcceptEx() WinSock2 API error on Windows
7
My Tomcat installer file says version 6.0.20. I do not have a
version.bat file.
My java version is 1.6.0.18.
Post your Connector configuration so we can take a
thanks Chuck, i shall check that in detail.
Best Regards,
Kranti K K Parisa
On Mon, Jan 25, 2010 at 8:00 PM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
From: Kranti(tm) K K Parisa [mailto:kranti.par...@gmail.com]
Subject: New project to Apache Software Foundation
Can
From: Steve Ryder [mailto:sry...@jsrsys.com]
Subject: Tomcat 5.5 org.apache.naming.ResourceRef cannot be cast to
javax.sql.DataSource
Resource name=jdbc/MySql auth=Container
type=javax.sql.Datasource
factory=org.apache.commons.dbcp.BasicDataSourceFactory
The specified factory is for the
I've had good success with DWR and GWT. For GWT, there are a number
of available useful extensions, and in particular, SmartGWT (http://code.google.com/p/smartgwt/
) has some sophisticated Grids available with automated management of
bound data.
On Jan 25, 2010, at 9:32 AM, Hassan
Just a note, it will probably be easier for you to start a project on
java.net or sourceforge.
regards
Leon
2010/1/25 Kranti™ K K Parisa kranti.par...@gmail.com:
thanks Chuck, i shall check that in detail.
Best Regards,
Kranti K K Parisa
On Mon, Jan 25, 2010 at 8:00 PM, Caldarale, Charles
2010/1/25 Matt Eustace meust...@attevo.com:
127.0.0.1 - - [22/Jan/2010:15:50:50 +] GET
/img/brava/LogoBall_DK.gif HTTP/1.1 404 1030
Note, that HTTP is case-sensitive. If you request does not match
casing of the actual folders and file, Tomcat won't serve them.
Best regards,
Konstantin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Matt,
On 1/22/2010 5:09 PM, Matt Turner wrote:
In between times I tried the ProxyPass which seems to work fine, but I'd much
rather use plain AJP so I'll try that next.
AJP is the protocol used by both mod_jk and mod_proxy_ajp (which is what
you
When I remove the factory line I now get: Cannot create resource instance
2010-01-25 15:56:06:*WARNING*Connection to jdbc/MySql:: connect Other
exception: Cannot create resource instance
2010-01-25 15:56:06:Driver=com.mysql.jdbc.Driver
The libraries are all in common\lib. The ones I have
Some more testing... I added displays before each of the connect
statements. I get (still with no factory):
2010-01-25 16:27:07:*WARNING*Connection to jdbc/MySql:: connect Other
exception: Cannot create resource instance
2010-01-25 16:27:07:JsrSQL: Context cast successfull
2010-01-25
Dear all,
I faced a problem enabling JmxRemoteLifecycleListener with
useLocalPorts=true : my hyperic agent fails to connect with an
UnmarshalException caused by a ClassNotFoundException on
JmxRemoteLifecycleListener$RmiClientLocalhostSocketFactory (details below).
The workaround I found
/* obviously starting the week seriously under-caffeinated */
And I totally forgot to mention Adobe Flex, which is built for exactly
this kind of bi-directional data connection, if with a bit of a learning
curve.
--
Hassan Schroeder hassan.schroe...@gmail.com
twitter:
Pid -
Would adding the following mime-mapping to the web.xml file help?
mime-mapping
extension.csv/extension
mime-typetext/csv/mime-type
/mime-mapping
There is no mapping for .csv in the Tomcat default web.xml file in the
conf directory.
I seem to remember addressing a
Alessandro Bahgat wrote:
On Mon, Jan 25, 2010 at 11:02 AM, Pid p...@pidster.com wrote:
On 25/01/2010 09:17, Ran Harpaz wrote:
Hello, I'm using Jetspeed 1.6, running on Tomcat.
In a portlet I developed, I create a .csv file and print a link to it.
The
user then needs to right-click on
Hi All,
I am getting intermittant windows ssl error regarding connections. Something
like socket error code 12157 ERROR_INTERNET_SECURITY_CHANNEL_ERROR.
It is intermittant and I am load testing against Apache web server using
loadrunner 9.0. We are using SSLV3 for Apache 2.2. There is some
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Steve,
On 1/25/2010 11:16 AM, Steve Ryder wrote:
When I remove the factory line I now get: Cannot create resource instance
2010-01-25 15:56:06:*WARNING*Connection to jdbc/MySql:: connect Other
exception: Cannot create resource instance
Ok.
The
Good points all around. We had the same issues with our CEO worrying about
copies of the app being passed around when we started targeting markets where
piracy is fairly common. Eventually, we convinced him the best way to address
them was via legal and marketing techniques. That is, a very
Chuck said:
Try the HTML version of host-manager to get familiar with it:
http://localhost:8080/host-manager/html
Note that the updates made by the HTML and plain text servlets are not
persistent, so will be lost upon Tomcat restart. You'll need some
additional means to preserve the added
Thanks for your reply, but I do not see any errors and also cannot find
any configuration error.
-Original Message-
From: Konstantin Kolinko [mailto:knst.koli...@gmail.com]
Sent: Saturday, January 23, 2010 1:44 PM
To: Tomcat Users List
Subject: Re: question for deploystartup
2010/1/25 Okubo, Yasushi (TSD) yasushi.ok...@takedasd.com:
OK - Listed applications for virtual host localhost
This:
/manager:running:1:manager
/:running:0:/
/host-manager:running:0:host-manager
and this:
HTTP Status 404 - /
type Status report
message
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ran,
Thank you, but this solution doesn't seem to work on Jetspeed, due to the
fact that I'm running JSR-168 Portlets on it. I don't believe they support
changing the response's ContentType.
I wanted to know if there was anything about the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jeffrey,
On 1/25/2010 1:28 PM, Jeffrey Janner wrote:
Chuck said:
Try the HTML version of host-manager to get familiar with it:
http://localhost:8080/host-manager/html
Note that the updates made by the HTML and plain text servlets are not
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jens,
On 1/25/2010 8:16 AM, Jens Neu wrote:
Chris,
thanks for all your help, everyting is up and running. I settled for
'ALL:!EXP:!LOW:!SSLv2'
which is exaclty what I need.
You should take a look at this guy's tool, here:
Hopefully you are right. It is from the loadrunner virtual user logs and it is
a windows API but that may only try to point someone in the right direction not
be a root cause. I am having someone look at the Windows settings to see if
that is where the problem is.
I am hoping to understand
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mirko,
On 1/25/2010 4:06 AM, Mirko Solic wrote:
How i understand i don't have control when environment variables on
apache side are putted in http header and sent to tomcat side. This is
done by mode_jk automatically.
I would hate to put encoded
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mirko,
On 1/25/2010 4:24 AM, Mirko Solic wrote:
On Thu, 2010-01-21 at 10:34 -0500, Christopher Schultz wrote:
What would be better is to do something like this:
java.net.URLEncoder.encode(request.getHeader(headerName), UTF-8)
Of course, this
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jesse,
On 1/25/2010 8:25 AM, Jesse Klaasse wrote:
I don't know what you mean exactly by re-intrant
Re-entrant (never seen it as re-intrant) means that more than one
thread of execution might be running the same code concurrently. I've
never heard
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
LE,
On 1/25/2010 5:46 AM, LE wrote:
thanks for the valve wrapper!
No problem. I wrote a program a long time ago that scans a class and
dumps a wrapper for it. :)
But still not sure where i can grab the time for the first byte
leaving tomcat to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thomas,
On 1/25/2010 2:48 AM, Thomas Chabaud wrote:
Le 22/01/2010 18:13, Christopher Schultz wrote :
This thread over on the Sun forums
(http://forums.sun.com/thread.jspa?threadID=169975) says that you can
either unexport all your objects or call
Starting from the bottom up of your suggestions:
1) I tried removing the try/catch. No can do, Java compiler forces me to
catch the exceptions.
2) However, Java does provide a getStackTrace. There were 33 elements, but
since pages that don't try to connect ARE working I think only the below
Hi,
I have a small Web app where users can create and use their accounts and at the
moment each user can access the homepage for his/her account at
www.domain.com/username where username is his/her username. I want each user to
be able to access his/her homepage at username.domain.com instead.
Removing the Class.forName code did not change anything, I still get the
same error.
2010-01-25 20:00:03:*WARNING*Connection to jdbc/MySql:: connect Other
exception: org.apache.naming.ResourceRef cannot be cast to
javax.sql.DataSource
2010-01-25
From: Bytecode [mailto:bytec...@me.com]
Subject: How to map username.domain.com to www.domain.com/username
I want each user to be able to access his/her homepage at
username.domain.com instead.
Assuming you have DNS set up properly, use this:
Ran -
I'm unfamiliar with Jetspeed, so take what I say next with a grain of
salt.
When you say print a link to it, do you mean to say you add an A tag
to the resulting page with the appropriate path? So the user is just
clicking on a regular html A link?
If so, then I would think adding a
I'm using Tomcat 6.0 with Firefox 3.0.12 and JNDIRealm for
authentication. When I call HttpServletRequest.getRemoteUser() and
HttpServletRequest.isUserInRole(), I get inconsistent results.
Sometimes I get null for user and other times I get the user name.
Sometimes I get false for isUserInRole()
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Steve,
On 1/25/2010 2:56 PM, Steve Ryder wrote:
Starting from the bottom up of your suggestions:
1) I tried removing the try/catch. No can do, Java compiler forces me
to catch the exceptions.
Hmm... what method is declared as throwing Exception
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Doug,
On 1/25/2010 3:35 PM, Fulford, William wrote:
I'm using Tomcat 6.0 with Firefox 3.0.12 and JNDIRealm for
authentication. When I call HttpServletRequest.getRemoteUser() and
HttpServletRequest.isUserInRole(), I get inconsistent results.
Hi,
Assuming you have DNS set up properly, use this:
I have not done DNS tweaking before. How should I setup the DNS? Do I have to
set the value of host name for the A record to *?
http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html
Looks like this is not a dynamic approach. I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 1/24/2010 9:22 AM, André Warnier wrote:
Christopher Schultz wrote:
Maybe all character sets have bytes 0-127 the same as US-ASCII, but I
don't know about some of those I never see myself: Shift-JS and all
those Asian encodings, etc. It
2010/1/25 Steve Ryder sry...@jsrsys.com:
Resource name=jdbc/MySql auth=Container type=javax.sql.Datasource
The above should be javax.sql.DataSource
Do you have any references to this resource in your web.xml file?
Best regards,
Konstantin Kolinko
http://people.apache.org/~fhanik/tomcat/v6.0.0-gdev6/
Let me know what you think of the programming experience, I wasn't too
stoked about it. Lots of concurrency issues that can pop up
1. svn co http://svn.apache.org/repos/asf/tomcat/sandbox/gdev6x/
2. cd gdev6x
3. echo
-Original Message-
From: Konstantin Kolinko [mailto:knst.koli...@gmail.com]
Sent: Monday, January 25, 2010 11:16 AM
To: Tomcat Users List
Subject: Re: question for deploystartup forROOT.war on tomcat cluster
2010/1/25 Okubo, Yasushi (TSD) yasushi.ok...@takedasd.com:
OK - Listed
Chris,
Attached are the relevant sections from the server.xml and web.xml,
respectively.
I'm using DWR to call Java methods in HttpServletInfo (a class I wrote) from a
JavaScript using ExtJs:
...
HttpServletInfo.getRemoteUser(function(user)
{
...
};
...
Bytecode wrote:
Hi,
Assuming you have DNS set up properly, use this:
I have not done DNS tweaking before. How should I setup the DNS? Do I have to set the
value of host name for the A record to *?
http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html
Looks like this is not
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Fletcher,
On 1/23/2010 11:17 AM, Fletcher Cocquyt wrote:
This process is not perfectly defined and slow - the developer's check all the
code into SVN and tag the release - ops checks it all out and builds it on the
tomcat nodes with the dev
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Doug,
On 1/25/2010 4:59 PM, Fulford, William wrote:
Attached are the relevant sections from the server.xml and web.xml,
respectively.
This mailing list often strips attachments. Could you copy/paste
relevant sections into your next post? It's
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: Return from getRemoteUser and isUserInRole Inconsistent
If it's the functions above that return random stuff,
I'd look at those.
I'd be looking for incorrect variable scope: storing a request- or
session-specific
Chris,
Sorry about that. The text came off of a classified system. The easiest way
for me to get it you, without going through a lot of hoops, was to print it,
make sure it's clean, scan it, and attach it to a file. Unfortunately I don’t
have any character recognition software handy, so
Chuck,
You caught me. Rookie mistake. It's refreshing to know I can still make
rookie mistakes after almost 30 years in software. What I did was do a
WebContextFactory.get() on class initialization as a private static variable.
I should have been doing the get on each call.
Thanks,
Doug
Sequence of events:
1) With factory got cast error.
2) Took out factory= and got Cannot create resource instance
3) Put factory statement back in. Is there a different one I should try?
The cast exception is Thrown by this line
javax.sql.DataSource ds =
OK, I took factory out of context.xml, now I get Resource Instance again,
but this time I have the trace!
2010-01-26 05:11:30:*WARNING*Connection to jdbc/MySql:: connect Other
exception: Cannot create resource instance
2010-01-26
You win the prize for fixing the cast/resource instance errors at line
504.
I failed to notice the HumpInTheCamel.
I changed the s to S and now I get an even more weird error at line 506
506: conn = ds.getConnection();
507: sysout.display(JsrSQL: conn = ds successfull);
I am going to put the
I put the factory statement back in context.xml and I get the same error
again (only this time I have added code to the SQL exception logic to
display the stack trace stopping at the line that invoced the jsp that calls
JsrSQL. All the trace that is part of the message appears to me to be the
2010/1/26 Steve Ryder sry...@jsrsys.com:
at gnu.gcj.convert.Input_iconv.read(libgcj.so.81)
Stop right there. Do not use GNU Java for anything.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional
I understand what you mean by don't use, but I am not using it.
What do I need to change so that it is not used?
How might I track down the offending library?
- Original Message -
From: Konstantin Kolinko knst.koli...@gmail.com
To: Tomcat Users List users@tomcat.apache.org
Sent:
Thanks, Chuck - this problem is fixed. The zip version starts without any
problems using startup.bat. I'll just start Tomcat manually as I'm doing
only development work at the moment.
On Mon, Jan 25, 2010 at 4:40 PM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
From: Richard Cooke
hi, everybody,
I have some question on make jsvc on centos 5.3 linux.
and need your help.
thanks
my step is :
1. install centos
chosed: a)server, b)Server-GUI
2. install tomcat.
3. compile jsvc and failed.
[r...@hcrm jsvc-src]# make
make -C native all
make[1]: Entering directory
Steve,
--- On Mon, 1/25/10 at 10:50 PM, Steve Ryder sry...@jsrsys.com wrote:
I understand what you mean by don't
use, but I am not using it.
What do I need to change so that it is not used?
How might I track down the offending library?
What do you get when you type the following commands:
86 matches
Mail list logo