Yes this is java bug 4776385, which will never be fixed.
See: http://developer.java.sun.com/developer/bugParade/bugs/4776385.html
Code compiled with Java 1.4 (like Tomcat) doesn't work with standard Java
1.2
To fix this you need to do either:
- Install a newer JVM, 1.3 or higher.
Why are you
Well it depends on what you mean, if you mean a grapchical designer for
ant build xml files then
I don't think there is any. But if you mean a GUI tool to run ant build
files, well I personally use
JEdit (http://www.jedit.org) and it has a graphical plugin (AntFarm) for
runnint ant targets.
Incorrect, this url is specified in the web.xml document, therefore it
doesn't rely on
the invoker.
Jacob Kjome [EMAIL PROTECTED] wrote on 18.02.2003 18:17:54:
Hello srihari,
You need to read the release notes. Based on the URL you mention
{ /soap/servlet/rpcrouter }, you are counting on
I wouldn't upgrade to SUN 1.4, it has the same but different problem:
http://developer.java.sun.com/developer/bugParade/bugs/4724129.html
rf [EMAIL PROTECTED] wrote on 16.01.2003 12:14:48:
I get OutofMemory with tomcat 4.0.6 and sun's jdk1.3.
From the archives I found this is due to a bug in
I have created a servlet that serves both html and images, I set the
ContentType and everything is okay.
However I have noticed whenever I use BASIC authentication on this servlet
Tomcat automatically adds these
to the response header:
Pragma: No-cache
Cache-Control: no-cache
Expires: Thu, 01
Specs and variables:
Windows NT 4 SP 6
Tomcat v4.1.18
JDK v1.4.1_01
CATALINA_OPTS=-Xms128M -Xmx1024M
At random intervals I get this error on console, it seems
that the socket for port 80 is closed and the server stops responding
What steps can I take to get more information about why this error
:
was Kristján Bjarni Guðmundsson/BIS/Dev/REK/Hugvit
received
I can't speak for the HP-UX JVM but I am running Tomcat with just the JRE
in Windows.
The steps to do that are:
1) Copy the tools.jar from the JSDK to the lib directory in the JRE, this
contains
the java compiler library, used for compiling JSP pages.
2) Modify the startup script for Tomcat
Also note that mixing ISO-8859-1 and UTF-8 in html pages,javascript pages
and css pages
is bad. Internet explorer assumes for example that if the html page is
UTF-8 that all javascript pages
referenced from that page are also UTF-8. The key do successfully mix
different character set is to
Yes, you are storing the page as ISO-8859-1 so you must serve the page as
ISO-8859-1
changing the meta tag to UTF-8 doesn't magically convert the page to
UTF-8.
If you want to serve the page as UTF-8 you must also save the page as
UTF-8.
The meta tag is just a hint to the browser which charset
I don't recomend using the -server option, the server version is buggy as
hell
and crashes constantly, you will just have to wait for SUN to get their
act together.
Aymeric Alibert [EMAIL PROTECTED] wrote on 10.12.2002
22:38:19:
We are running a Tomcat 4.0 server in our production
Yes you can include just the tools.jar from the JSDK with your JRE.
At least that is what I do, and it works.
This is from the JRE Readme.txt:
---
Redistribution of Java 2 SDK Files
'
:
was Kristján Bjarni Guðmundsson/BIS/Dev/REK/Hugvit
received
:18:
Are you using Tomcat 4? Tomcat 4's catalina.bat requires more 4 files
in
the java/bin directory to start. I don't think just include the
tools.jar
is good enough.
Billy Ng
- Original Message -
From: Kristján Bjarni Guðmundsson [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL
:
was Kristján Bjarni Guðmundsson/BIS/Dev/REK/Hugvit
received
:
was Kristján Bjarni Guðmundsson/BIS/Dev/REK/Hugvit
received
You could check out BCEL.
http://jakarta.apache.org/bcel/index.html
Felipe Schnack [EMAIL PROTECTED] wrote on 27.11.2002 13:40:59:
Hi all,
I know this is off-topic, but I just had a crazy idea and couldn't
find about it anywhere...
There is a way to modify/create java classes at
:
was Kristján Bjarni Guðmundsson/BIS/Dev/REK/Hugvit
received
You really should look into the servlet specification.
I think if you override doHead for your servlet
doHead(HttpServletRequest req, HttpServletResponse resp)
Receives an HTTP HEAD request from the protected service method and
handles the request.
Default action for doHead is to simply call
:
was Kristján Bjarni Guðmundsson/BIS/Dev/REK/Hugvit
received
I don't know much about JBoss but it was my understanding that it was
an Enterprise JavaBeans Application Server and used Tomcat or something
other as Servlet container.
This is from the JBoss faq:
What support exists in JBoss for JSP/Servlets ?
The default download contains Jetty as an
I think you could store it in WEB-INF and use
ServletContext.getRealPath(/WEB-INF).
Andreas Probst [EMAIL PROTECTED] wrote on 21.11.2002 12:19:51:
Hello,
maybe you could save the absolute path inside a properties file
or pass it as an init parameter in web.xml. For each location of
Yes I ran into this myself, I think it is because of this error:
http://developer.java.sun.com/developer/bugParade/bugs/4776385.html
You can try to use JVM 1.3 or JVM 1.4 instead.
Short, Dave [EMAIL PROTECTED] wrote on 19.11.2002 17:02:14:
I'm trying to run Tomcat 4.1.10 out of the box and
What are the requirements for the Java versions for Tomcat 4.0.6?
I am trying to use JDK-1.2.2_014, but trying to start Tomcat I always get:
Bootstrap: Class loader creation threw exception
java.lang.IllegalMonitorStateException: current thread not owner
--
To unsubscribe, e-mail:
of Tomcat 4, which
includes all optional libraries and an XML parser (Xerces 1.4.4),
and can be run on JDK 1.2+.
Hope it helps
[EMAIL PROTECTED]
-Original Message-
From: Kristján Bjarni Guðmundsson [mailto:[EMAIL PROTECTED]]
Sent: 18. nóvember 2002 10:28
To: [EMAIL PROTECTED
Ok just went searching the java bug database and found this:
http://developer.java.sun.com/developer/bugParade/bugs/4776385.html
This seems to be the same issue since Tomcat is now compiled using 1.4.
Fix seems to use hotspot instead of classic runtime, unfortunately SUN
doesn't
:
was Kristján Bjarni Guðmundsson/BIS/Dev/REK/Hugvit
received
:
was Kristján Bjarni Guðmundsson/BIS/Dev/REK/Hugvit
received
:
was Kristján Bjarni Guðmundsson/BIS/Dev/REK/Hugvit
received
You have to add a new host and context into the server.xml for each new
host
for example like this:
Host name=www.a.com debug=0 appBase=myfolder
unpackWARs=true
Context path=
docBase=mywebapp
debug=0
reloadable=false
:
was Kristján Bjarni Guðmundsson/BIS/Dev/REK/Hugvit
received
:
was Kristján Bjarni Guðmundsson/BIS/Dev/REK/Hugvit
received
:
was Kristján Bjarni Guðmundsson/BIS/Dev/REK/Hugvit
received
CoyoteAdapter An exception or error occurred in the container during the
request processing
java.lang.NullPointerException
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:164)
at
I use custom error pages for various error codes (404. etc), all of them
work except 401 error.
If I go to a protected page the browser just displays the 401 page without
prompting me
to log in. What am I doing wrong?
35 matches
Mail list logo