Re: Bootstrap: Class loader creation threw exception

2003-04-02 Thread Kristján Bjarni Guðmundsson
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

Re: GUI for ant ...

2003-03-31 Thread Kristján Bjarni Guðmundsson
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.

Re: Deploying SOAP

2003-02-20 Thread Kristján Bjarni Guðmundsson
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

Re: memory problem

2003-01-16 Thread Kristján Bjarni Guðmundsson
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

How can I clear response headers?

2003-01-14 Thread Kristján Bjarni Guðmundsson
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

Need help isolating severe Tomcat v4.1.18 bug

2003-01-08 Thread Kristján Bjarni Guðmundsson
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

Please reply--Important print writer problem.

2003-01-06 Thread Kristján Bjarni Guðmundsson
: was Kristján Bjarni Guðmundsson/BIS/Dev/REK/Hugvit received

Re: JDK or is JRE sufficient?

2002-12-20 Thread Kristján Bjarni Guðmundsson
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

Re: UTF-8 vs ISO-8859-1 and really screwed up webpages.

2002-12-20 Thread Kristján Bjarni Guðmundsson
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

Re: UTF-8 vs ISO-8859-1 and really screwed up webpages.

2002-12-19 Thread Kristján Bjarni Guðmundsson
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

Re: TC 4.1 and VM crash: how to report issue?

2002-12-11 Thread Kristján Bjarni Guðmundsson
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

Re: Run Tomcat without JDK

2002-12-05 Thread Kristján Bjarni Guðmundsson
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

RE: java.sql.SQLException: Cannot load JDBC driver class 'null'

2002-12-05 Thread Kristján Bjarni Guðmundsson
' : was Kristján Bjarni Guðmundsson/BIS/Dev/REK/Hugvit received

Re: Run Tomcat without JDK

2002-12-05 Thread Kristján Bjarni Guðmundsson
: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

RE: Problem going from 4.0.6 to 4.1.16b

2002-12-04 Thread Kristján Bjarni Guðmundsson
: was Kristján Bjarni Guðmundsson/BIS/Dev/REK/Hugvit received

RE: ajp13 port always 8009 (config does not apply)

2002-12-02 Thread Kristján Bjarni Guðmundsson
: was Kristján Bjarni Guðmundsson/BIS/Dev/REK/Hugvit received

Re: OFF-TOPIC: creating classes

2002-11-27 Thread Kristján Bjarni Guðmundsson
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

workers.properties

2002-11-26 Thread Kristján Bjarni Guðmundsson
: was Kristján Bjarni Guðmundsson/BIS/Dev/REK/Hugvit received

Re: Pb with HEAD request

2002-11-26 Thread Kristján Bjarni Guðmundsson
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

RE: help for newbie?

2002-11-26 Thread Kristján Bjarni Guðmundsson
: was Kristján Bjarni Guðmundsson/BIS/Dev/REK/Hugvit received

Re: Tomcat or JBoss?

2002-11-25 Thread Kristján Bjarni Guðmundsson
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

Re: File Path Problem...

2002-11-21 Thread Kristján Bjarni Guðmundsson
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

Re: Tomcat 4.1.10 and Windows NT - Repost - Urgent

2002-11-19 Thread Kristján Bjarni Guðmundsson
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

Tomcat 4.0.6 and Java versions

2002-11-18 Thread Kristján Bjarni Guðmundsson
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:

RE: Tomcat 4.0.6 and Java versions

2002-11-18 Thread Kristján Bjarni Guðmundsson
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

RE: Tomcat 4.0.6 and Java versions, FOUND BUG!

2002-11-18 Thread Kristján Bjarni Guðmundsson
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

Problem with Oracle/Global Naming Resource

2002-11-18 Thread Kristján Bjarni Guðmundsson
: was Kristján Bjarni Guðmundsson/BIS/Dev/REK/Hugvit received

Memory assigment

2002-11-14 Thread Kristján Bjarni Guðmundsson
: was Kristján Bjarni Guðmundsson/BIS/Dev/REK/Hugvit received

help in Jakarta tomcat server

2002-11-12 Thread Kristján Bjarni Guðmundsson
: was Kristján Bjarni Guðmundsson/BIS/Dev/REK/Hugvit received

Re: Configuring multiple domains and web applications

2002-11-11 Thread Kristján Bjarni Guðmundsson
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

RE: WARNING: Exception getting SSL attributes

2002-11-04 Thread Kristján Bjarni Guðmundsson
: was Kristján Bjarni Guðmundsson/BIS/Dev/REK/Hugvit received

Is Tomcat multi-process, multi-thread in Linux?

2002-11-01 Thread Kristján Bjarni Guðmundsson
: was Kristján Bjarni Guðmundsson/BIS/Dev/REK/Hugvit received

RE: Where is the SSL 'changeit' password set

2002-11-01 Thread Kristján Bjarni Guðmundsson
: was Kristján Bjarni Guðmundsson/BIS/Dev/REK/Hugvit received

Getting this error in catalina_log

2002-10-24 Thread Kristján Bjarni Guðmundsson
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

Tomcat and 401 custom page how?

2002-10-24 Thread Kristján Bjarni Guðmundsson
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?