hi,
u will get unsupported major.minor version 48.0
error when ur code has been compiled using higher
version of JDK (may be 1.5) and u r running it using
lower version of JDK/JRE (may be 1.4)
check ur setup and JRE/JDK once again.
rgds,
Hardik Tank
--- [EMAIL PROTECTED] wrote:
Hi Guys,
Hi Mark,
Is it possible that you may have mistyped allow=xxx.xxx.xxx.xxx as
allow=xxx.xxx.xxx.xxx in your configuration? If you did not accidentally
delete the () from the right hand side of allow when sending to the list,
that may be your problem.
-Original Message-
From: Mark Leone
Hi All,
I have the configuration like below
User---Apache ( mod_ssl)---Apache (mod_ssl)---Weblogic Server
I want to redirect the request sent to one apache to other apache which
in turn sends the request to the Weblogic server.
So please help me out on how can I redirect the user request from
Hi!
My name is Stanislav and I'm first time user this mailing list.
I'm using JBoss 4.0.2 (Tomcat 5.5, i believe), Struts, J2EE 1.4 and I'm having
problem with
detecting HTTP header inside my application. I'm using code like:
getHeader(REMOTE_ADDR);
and getting null.
My question is: does i
Hi,
I am having a problem here. I am using Jakarta Tomcat V5.5 (part of
jboss-4.0.2) and j2sdk1.4.2_08 on a Redhat Linux server.
I have been trying to perform secure HTTPS webservices calls from an
external web-server but
have thus far been unsuccessful. The local client test environment
Hello world,
My war and i have some problem for loading some class that are embedded in
jars in myWar/WEB-INF/lib...
I tried to solve this by writing a proper myWar/META-INF/MANIFEST.MF with no
success. It simply ignores
it.
I don't have anymore idea. May you give me some clue?
At list a
forgot to tell about my env : jboss3.2.2/jbossweb-tomcat41.sar
On 9/20/05, lio tomcat [EMAIL PROTECTED] wrote:
Hello world,
My war and i have some problem for loading some class that are embedded
in jars in myWar/WEB-INF/lib...
I tried to solve this by writing a proper
Hi,
You have quite a few options. There are lots third party libs out there that
can do this for you. Last couple of projects I have used JAI and
ImageMagick/JMagick to do this.
Look them up.
Hope this helps.
Arup
-Original Message-
From: Justin Jaynes [mailto:[EMAIL PROTECTED]
java.awt classses? :)
Le Mardi 20 Septembre 2005 10:40, Arup Vidyerthy a écrit :
Hi,
You have quite a few options. There are lots third party libs out there that
can do this for you. Last couple of projects I have used JAI and
ImageMagick/JMagick to do this.
Look them up.
Hope this
Hi,
When developing web app code I tend to enumerate on the headers coming in.
Have a look at:
public java.util.Enumeration getHeaderNames();
So:
// get the header names
Enumeration ee = request.getHeaderNames();
// then iterate through them
for(;ee.hasMoreElements();){
String header =
Hi Peter and others,
Thank you for the instructions, I got it working! :)
I have still one question: how will I get the received
message passed to my web application (message is
received by Catalina)? (is there a way to add that
listener to my web application or does it have to be
defined in the
Could IE be configured so that it is going through a proxy?
On 9/19/05, Rohit Maheshwari [EMAIL PROTECTED] wrote:
Hi All,
I am setting up Apache 2.0.54 with mod_ssl. I have configured virtual
host as rohit.com.
When I tried to access the home page of Apache with firefox I am able to
I created a virtual host with the same name as of domain name in the
certificate now able to access the home page of apache over https with
Internet Explorer.
Thanks and Regards ,
Rohit
BEA Weblogic Support
-Original Message-
From: Mark [mailto:[EMAIL PROTECTED]
Sent: Tuesday,
World,
When i create a folder my container does not
recognize my index.html file in the top level
directory
nor is it able to find my servlet classes. But when i
duplicate the servlet-examples folder and rename
it(say servlet-examplesCopied), tomcat recognizes
Hi all,
I am using currently using Tomcat 4.1.12 for an application I have
developed. I have a report that displays a large list of records retrieved from
a database. The report is generated using a JSP. This operation seems to take a
very long time and I assumed initially the
Le Mardi 20 Septembre 2005 12:55, Mbah Tenjoh-Okwen a écrit :
World,
When i create a folder my container does not
recognize my index.html file in the top level
directory
nor is it able to find my servlet classes. But when i
duplicate the servlet-examples folder and rename
KEREM ERKAN wrote:
Hi Mark,
Is it possible that you may have mistyped allow=xxx.xxx.xxx.xxx as
allow=xxx.xxx.xxx.xxx in your configuration? If you did not accidentally
delete the () from the right hand side of allow when sending to the list,
that may be your problem.
Thanks for the
Not: valve
Try: Valve
-Tim
Mark Leone wrote:
KEREM ERKAN wrote:
Hi Mark,
Is it possible that you may have mistyped allow=xxx.xxx.xxx.xxx as
allow=xxx.xxx.xxx.xxx in your configuration? If you did not
accidentally
delete the () from the right hand side of allow when sending to the
list,
directBOX Reply ---
From: Yassine ELassad ([EMAIL PROTECTED])
To: tomcat-user@jakarta.apache.org
Date: 19.09.2005 17:57:50
hello every one i have a strange issue again with tomcat :)
here is the problem:
i defined an error 404 document unnder the web.xml lie the
You may have multiple certs, but each cert must be contained within it's own
keystore file.. You also must have each cert on it's own host IP, as noted
below, each cert is bound to 443 on 10.1.1.1 http://10.1.1.1 and
10.1.1.2...
snipplet from server.xml:
Connector port=443
maxThreads=100
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: SOAP on TOMCAT 5.0
java.lang.UnsupportedClassVersion error: org/w3c/dom/Node (unsupported
major.minor version 48.0)
This is the version of a class file you're trying to load - 48.0
corresponds to JRE/JDK 1.4, so that would indicate
Thanks for the quick reply...
Yes the .jar file is in common/lib. I fear the problem lies in the
server.xml since jndi is binding datasource jdbc/TestDB to
org.hsql.jdbcDriver
On Mon, 19 Sep 2005, andy gordon wrote:
is the MySQL Connector Jar file in the $CATALINA_HOME/common/lib directory?
Hi!
I have a question about starting options of Tomcat server.
Is there any starting option (from command line -
org.apache.catalina.startup.Bootstrap start) or java virtual machine
option that makes Tomcat to look for configuration file in other
directories than $CATALINA_BASE or
Wonder if this fits your needs, but ginp uses something similar.
http://culnane.navidat.com/dc/ginp/index.jsp
Features
- Thumbnails are created and stored on the file system.
- Pictures are sized to the browser window size to reduce bandwidth.
Regards,
Ben Kim
Developer
http://benix.tamu.edu
Hi Justin,
I've written beans like that many times (image resizing, cropping,
etc). Its a doddle with JAI. If you want some code examples email me.
Derek
Ben Kim wrote:
Wonder if this fits your needs, but ginp uses something similar.
http://culnane.navidat.com/dc/ginp/index.jsp
From: Rohit Maheshwari [mailto:[EMAIL PROTECTED]
Subject: How can iredirect a request from one apache to other apache.
I have the configuration like below
User---Apache ( mod_ssl)---Apache (mod_ssl)---Weblogic Server
And what does this have to do with Tomcat?
- Chuck
THIS
Hi all, I'm new in this mailling list
I'm currently end up ways to solve problem out of memory in tomcat
this is
startup script in my Linux Fedora Core 2
CATALINA_OPTS= -Djava.awt.headless=true -server -Xss128k -Xincgc -Xms256m
-Xmx256m
CPU is on 1Giga Memory
and the problem out of memory,
You'll almost likely find that the reload via Ant does not free up all
resources and so each time you perform a reload you'll be leaking some memory
resulting in OOME after a week.
3 things to do;
Get a profiler to see where you may be losing memory.
Ensure no resource/references are held
Hello,
This is what I use for the given problem.
I found it on the web and it fits my needs, so perhaps you'd like to use
it as well
Best wishes from near Munich, Germany,
Michael Wirz
import com.sun.image.codec.jpeg.*;
import java.awt.*;
import java.awt.image.*;
import java.io.*;
public
I would recommend you upgrade to 5.5.9 if you use struts.
-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
Sent: September 20, 2005 9:56 AM
To: Tomcat Users List
Subject: RE: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04
You'll almost likely find that the
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
Subject: RE: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04
3 things to do;
Get a profiler to see where you may be losing memory.
Ensure no resource/references are held onto, dispose
references correctly
Hard restart Tomcat when
On Tuesday 20 September 2005 20:56, Allistair Crossley wrote:
You'll almost likely find that the reload via Ant does not free up all
resources and so each time you perform a reload you'll be leaking some
memory resulting in OOME after a week.
3 things to do;
Get a profiler to see where you
A listener that calls
LogManager.shutdown();
LogFactory.releaseAll();
Introspector.flushCaches();
on contextDestroyed
might also help if you are using certain apis like log4j, struts.
Allistair.
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
From: NoKideen [mailto:[EMAIL PROTECTED]
usually I use String to collect output first and out.print()
those String
example :
String a=;
a+=Test 1;
a+=Test 2;
// very long , and almost 1 page
out.println(a);
can this cause out of memory problem ?
It won't help much - you'll
Thanks Dave. It does have that line. I missed it on the copy and paste. :)
Gregg
On 9/19/05, David Thielen [EMAIL PROTECTED] wrote:
For worker.properties.minimal you need (you're missing the first line):
worker.list=ajp13w
worker.ajp13w.type=ajp13
worker.ajp13w.host=localhost
2 notes.
When using Java 1.5, StringBuilder class is supposed to be better
according to documentation. Also, what has worked for me, is that if
any of the strings can be generated ahead of time, do so in a static
block and convert the strings to byte[]. This not only eliminates
redundant
See catalina.sh for options you can set on startup.
CATALINA_TMPDIR - should allow you to set your temp directory.
-Tim
Krzysztof Graczyk wrote:
Hi!
I have a question about starting options of Tomcat server.
Is there any starting option (from command line -
Of course, you could just call request.getRemoteAddr();
Tomcat is a Servlet Specification container. You don't get headers with
CGI naming conventions.
Check out the api documentation:
http://java.sun.com/j2ee/1.4/docs/api/index.html
It's the packages starting with javax.servlet that will be
Tim Funk
Tue, 20 Sep 2005 04:59:13 -0700
Not: valve
Try: Valve
-Tim
I've been making pretty good advances in java development skills, but I'm still
working on the alphabet thing. Now I see, some letters are bigger than others,
and the computers often attach great significance to the
Tim Funk wrote:
See catalina.sh for options you can set on startup.
CATALINA_TMPDIR - should allow you to set your temp directory.
Thanks for reply, but this doesn't solve the problem. Work directory is
still written in $CATALINA_BASE, also log files are written in /tmp. I
would like to
I know this problem very well, since I worked on a very memory-consuming
app where I coulnd't even reload twice. It has nothing to do with ant,
and i think I also had such a case with tomcat 5.5 (now working on
normal webapps ;-)
Cautiously, I would never reload via manager (or perhaps once) in
Sorry for being nosy but can I ask you exactly why do you want these
directories in different palces so that I can understand your problem a
little more?
-Original Message-
From: Krzysztof Graczyk [mailto:[EMAIL PROTECTED]
Sent: 20 September 2005 15:44
To: Tomcat Users List
Subject:
Thanks Mark,
I this helped a lot ... I'll insert comments as well... ;)
Mark Eggers wrote:
A couple of things here. I'll try to insert comment
where appropriate.
--- Don Boling [EMAIL PROTECTED] wrote:
I can't seem to get anything to successfully pass
though the mod_jk connector to the
Arup Vidyerthy wrote:
Sorry for being nosy but can I ask you exactly why do you want these
directories in different palces so that I can understand your problem a
little more?
Yea, I have to change configuration scripts (server.xml and ROOT.xml),
from external application, but it must
I've read all I can on the web and I have not found informations about how
check CRL when Tomcat is configured in client authentication.
All response given say that I must use an Apache Server but I want keep my
tomcat standalone.
Thanks for your response.
Antony GUILLOTEAU
On Tuesday 20 September 2005 21:11, Sonja Löhr wrote:
I know this problem very well, since I worked on a very memory-consuming
app where I coulnd't even reload twice. It has nothing to do with ant,
and i think I also had such a case with tomcat 5.5 (now working on
normal webapps ;-)
what
Hi,
I do not have a lot of experience in programming custom tags.
Now, having programmed a couple of tags, I think it is kind of strage
that I cannot
narrow the scope of variables defined in the taghandler down to the body of
the
custom tag. It would for me clearly gain the purpose of code
Hi,
Im using Tomcat Form-based Authentication with a JDBC realm, this is working
ok for all my pages that are protected trough web.xml with
security-constraint
web-resource-collection
web-resource-nameAll System/web-resource-name
url-pattern*.do/url-pattern
No solution. You can filter prefix, or suffix, but not both.
-Tim
Marquez, Omar wrote:
Hi,
Im using Tomcat Form-based Authentication with a JDBC realm, this is working
ok for all my pages that are protected trough web.xml with
security-constraint
web-resource-collection
I'm surprised the CATALINA_TMPDIR trick is not working. As for changing
(server.xml and ROOT.xml) - I think you are stuck with those in the
situation you are describing.
-Tim
Krzysztof Graczyk wrote:
Arup Vidyerthy wrote:
Sorry for being nosy but can I ask you exactly why do you want
hello
Im using tomcat 5.5.9 and when i create a
folder(mine)under
webbaps (tomcat/webapps/mine)i cant even get to its
index.html file by typing http://localhost:8080/mine;
in my browser.The container says The requested
resource (/kopie/) is not available (ie i get a 404
http error report).
From: Mbah Tenjoh-Okwen [mailto:[EMAIL PROTECTED]
Subject: tomcat does not find my web application
when i create a folder(mine)under
webbaps (tomcat/webapps/mine)i cant even get to its
index.html file by typing http://localhost:8080/mine;
in my browser.The container says The requested
You can also add this routine within a code block at higher trace levels.
This way you can turn on this routine for debugging or logging purposes and
don't have to incur additional overheads during runtime.
Murugan
Hi,
When developing web app code I tend to enumerate on the headers
hi,
Can we trust information about Free memory available to tomcat using
Runtime.freeMemory() ?
so if those memory won't go nearer to 0 (zero) it won't have problem Out of
Memory ?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
I have a Tomcat app (MM Flex app) that is called from an asp.net
application which is secured by forms (cookie-based) authentication.
(NOT NTLM / Windows Integrated)
I don't want the user to have to log in again.
I have a programmatic solution in mind, but it is going to be
comparitively ugly.
Ok, it all works. I have no clue what I did, but I just started over from
scratch and now it all works very well. Thanks for all the help Dave.
Gregg
On 9/20/05, Gregg D Bolinger [EMAIL PROTECTED] wrote:
Thanks Dave. It does have that line. I missed it on the copy and paste. :)
Gregg
Glad I was able to help a little bit.
In my experience (Linux,Solaris,Win/2K), 8080 should
always work if you have the Connector configured. If
you can't get to http://localhost:8080/jsp-examples/
running, then there is something else amiss.
In your httpd.conf file, I still didn't see something
I have a context which includes a mail session. However, when I startup
Tomcat (version 5.0.28 on Windows XP) and it loads the context, I get an
error message saying:
11:09:53,556 ERROR ContextLoader:177 - Context initialization failed
org.springframework.beans.factory.BeanCreationException:
Unfortunately, I can't give you an answer -
it my well be that my code IS somehow suboptimal, but if the application
runs, all is well, it is just that reload (I'm not sure about start and
stop now) over the manager app.
To be honest, I always waited for the next tomcat release to magically
make
I am only getting the first 3k of an upload file. If the file is less
than 3k, the multipart boundaries are structured properly, otherwise, I
never get the end of the file or the ending boundary.
I did binmode(STDIN); but still not getting the whole file.
Running Tomcat 4.1.31 and IE
Dear Tomcat,
Operating system: SunOS 5.8
JDK: j2sdk1.4.2_01
Tomcat: 5.0.28
Logged in as root, upon startup, I am getting the following exception
from my tomcat container:
Sep 20, 2005 1:59:17 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-5028
Sep 20,
BUILD FAILED
C:\ESI\jakarta-tomcat-5.5.9-src\build.xml:49: The following error
occurred while
executing this line:
C:\ESI\jakarta-tomcat-5.5.9-src\jakarta-tomcat-5\build.xml:1811: The
following e
rror occurred while executing this line:
Hello,
How to configure the character sets on JSP pages/HTTP replies so that
browser connecting to tomcat displays pages correctly? Currently i'm using
Tomcat-5.0.28.
I am unable to find any decent documentation on this. I have
JSP pages with character set ISO-8859-1 on disk. I reinstalled
T P wrote:
There are bunch of parameters and finding the right combination does not
seem to be trivial. For example there seems to be the following
parameters, for which it is hard to find extensive documentation:
On jsp page %page%-directive:
contentType
pageEncoding
Read the spec.
On
-- Forwarded message --
From: Mark Thomas [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Date: Wed, 17 Aug 2005 08:03:45 +0100
Subject: Re: org.apache.catalina.valves.RemoteHostValve issue
Tony Tomcat wrote:
Does the RemoteHostValve work? There are
English below
-
Desculpe, mas este endereço de email se tornou inviável devido ao SPAM.
Favor re-enviar para o endereço [EMAIL PROTECTED]
Atenciosamente,
David
---
I'm sorry, but this email address has become unusable due to SPAM.
I have downloaded the build script and executed the build,
I am getting the following errors:
[jasper2] at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(De
faultExecutor.java:40)
[jasper2] at
org.apache.tools.ant.Project.executeTargets(Project.java:1068
)
[jasper2]
Tony Tomcat wrote:
Actually.. according to the documentation the RemoteHostValve and
RemoteAddrValve both do the same thing..
They both say...
Concrete implementation of RequestFilterValve that filters based on the
string representation of the remote client's IP address.
The javadoc is
ok. got off my lazy butt and looked at the code. RemoteHostValve uses
request.getRequest().getRemoteHost()
so just the javadoc needs updating for RemoteHostValve.java. I'm sure this
was just a copy of RemoteAddrValve. ;-)
Now i just need to figure out how to configure my tomcat to return
Tony Tomcat wrote:
ok. got off my lazy butt and looked at the code. RemoteHostValve uses
request.getRequest().getRemoteHost()
so just the javadoc needs updating for RemoteHostValve.java. I'm sure this
was just a copy of RemoteAddrValve. ;-)
Looks like it. I have just committed a fix to CVS.
Dear Tomcat Users,
I'm using the Tomcat Manager to mantain some deployed Servlet applications on
Unix a machine. I have the following question:
I have a servlet application that when I start it via Tomcat Manager the
application establishes 32 pemenent connections to mysql database.
Your config file suggests that you expect Tomcat to load the .html files to a
path on your server. The specified files should be relevent to your web
application.
So more than likely it will look something like:
location/NotFound.html/location
If memory serves me Tomcat, according to your
I have set my proxy in the build.properties file per
directions on the jakarta build faq:
# - Proxy setup -
# Uncomment if using a proxy server.
proxy.host=caproxy.ca.com
proxy.port=80
proxy.use=on
But I am still getting the following:
I have created a new version of the singlesignon valve with a new class
name
SingleSignOn - ThreadSignOn
It compiles successfully, but I do not know how to package
and/or deploy ??
Please Help should I create a Jar package with a new customized
mbean-descriptor.xml ??
And then deploy in
I am at my wits end... I've inherited the Apache and Tomcat setup and
so far I cannot even get then to talk to each other. I rebuilt
mod_jk.so from source. I copied over what was supposed to be a working
server.xml, read documentation, and edited things until my eyes are
watering and I still
Hi;
The url www.windward.net/forums fails while www.windward.net/forums/
succeeds.
My uriworkermap has:
/forums/*=ajp13w
I understand that isapi_redirect sees the first as a filename - but
shouldn't it also look for it as a servlet?
Thanks - dave
Oops I forgot the basics:
System: Redhat ES3 Release 4
Kernel: 2.4.21-27.ELsmp
Glibc: 2.3.2
Java: 1.5.0_04-b05
Tomcat: 5.5.9
Platform: Dell 2850
CPU: Intel Xeon 3.40GHz
Memory: 4G
Stephen Carville wrote:
I am at my wits end... I've inherited the Apache and Tomcat setup and
so far I cannot
hi,
ours is a simple jsp / bean classes rendered over tomcat. we still still in
tomcat 3.xx version, in the process of migrating to tomcat 5 ( which is a long
project) and would have a handle to all the calls.
so at the moment, i have to log what users are doing and i was thinking a non
I have created a new Valve in the authenticator package called
ThreadSignOn
I added a descritpion for it to the mbean description xml file.
I re-built and verified that my new valve and the new description is in
catalina.jar
But When I refference my new valve nothing happens it does not work
Hi;
I want to make sure this is correct:
If you want to run Tomcat against multiple websites, not just the default
website, this is what I have had to do.
This is on Windows 2003/IIS 6.0.
I removed isapi_redirector.dll from the default web site ISAPI Filters and
put it in the parent Web Sites
Hi;
I am running on Windows 2003/IIS 6.0 tomcat. I have a single IP address
for all of my websites (I have several) and then use the request header to
determine which website to return. IIS does this very nicely.
I want to have index.jsp in each of these websites. How can I set it up so
that
Hi;
I'm running Tomcat 5.5 on Windows 2003/IIS 6.0 using isapi_redirect
The isapi_redirect.exe installer creates a worker.properties.minimal of:
worker.list=wlb,jkstatus
worker.ajp13w.type=ajp13
worker.ajp13w.host=localhost
worker.ajp13w.port=8009
David Thielen wrote:
The url www.windward.net/forums fails while www.windward.net/forums/
succeeds.
My uriworkermap has:
/forums/*=ajp13w
try:
/forums|/*=ajp13w
This will actually create two maps:
/forums=ajp13w
/forums/*=ajp13w
Regards,
Mladen.
83 matches
Mail list logo