Classpath and Aliases on Tomcat 4

2002-10-08 Thread Matthew Smith
G'Day, I hope I'm not about to rehash an old subject here. I couldn't find a satisfactory answer in the mail archives. I have a web-based application that is not designed as a webapp. It has a single servlet as its interface to the world. This servlet, and all of its supporting classes, are

AW: auto deploy WAR + embedded tomcat

2002-10-08 Thread Ralph Einfeldt
Your mail client uses a from like [EMAIL PROTECTED]. The is an empty alias. Some mail clients (like outlook) display the name of the receiver whenever they find such a from address (see below in the line starting with Von:). So there are two problems: - Your mail client produces a cripled

Forwarding in servlets.

2002-10-08 Thread Kwok Peng Tuck
Is there any way besides the following : request.setAttribute(selectedScreen, request.getServletPath()) ; RequestDispatcher dispatcher = request.getRequestDispatcher(/test.jsp) ; if (dispatcher!=null) { dispatcher.forward(request, response) ; }

org.xml.sax.SAXException

2002-10-08 Thread Chandra Sekhar
I'm getting the following error using jakarta-tomcat-3.3.1 org.xml.sax.SAXException: System property org.xml.sax.driver not specified I'm using xalan.jar and xerces.jar in my classpath and also I've removed parser.jar from the lib. Any clue? - Chandra - Do

AW: Forwarding in servlets.

2002-10-08 Thread Ralph Einfeldt
You can use response.sendRedirect in servlets. But keep in mind that this is a complette different thing than dispatcher.forward(). redirect() forces the client to do a second request to the url. (You can see this in the browser as it will show a different URL). Forward() works internally,

Re: AW: Forwarding in servlets.

2002-10-08 Thread Kwok Peng Tuck
Thanks, so the question now would be like this. With the dispatcher.forward() method, is it possible to POST data instead of tacking parameters at the end of test.jsp ? Ralph Einfeldt wrote: You can use response.sendRedirect in servlets. But keep in mind that this is a complette different

AW: AW: Forwarding in servlets.

2002-10-08 Thread Ralph Einfeldt
As forward works internally you can add parameters to the request. At this point this has nothing to do with GET or POST. -Ursprüngliche Nachricht- Von: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 8. Oktober 2002 08:56 An: Tomcat Users List Betreff: Re: AW:

Re: AW: AW: Forwarding in servlets.

2002-10-08 Thread Kwok Peng Tuck
So I just do this ? RequestDispatcher dispatcher = request.getRequestDispatcher(/test.jsp?blah=bleh) ; if (dispatcher!=null) { dispatcher.forward(request, response) ; } Ralph Einfeldt wrote: As forward works internally you can add parameters to the

RE: org.xml.sax.SAXException

2002-10-08 Thread CLAIRE Celine
you must put parser.jar in lib/common I use parser crimson, and have no problem I have a question Do you know how to access database via JDBC driver with tomcat 3.3.1? thanks -Message d'origine- De: Chandra Sekhar [SMTP:[EMAIL PROTECTED]] Date: mardi 8 octobre 2002 08:40 À:

AW: Why does one java process continue to run and take more and more CPU?

2002-10-08 Thread Ralph Einfeldt
I see some options for further investigation: - Look in the log file to see if this process produces any output. - Print out a stack trace Wait until this happens again, send a 'kill -QUIT pid'to the vm look in the log file that contains the output to stderr. This will contain a stack

Re: TOmcat 4.0.1 and JDOM b8

2002-10-08 Thread Cyril Vidal
Hi Malachi, Thanks for your responses. I've uncompressed the two jar files (xercesImpl.jar that I use before and xerces.jar from JDOM). But there are so many classes... Which of them should I remplace from a version to another? Regards, Cyril. ___ Cyril Vidal Email:

AW: AW: AW: Forwarding in servlets.

2002-10-08 Thread Ralph Einfeldt
That's what the spec says. (It works for me in tc 4.0.3) -Ursprüngliche Nachricht- Von: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 8. Oktober 2002 09:13 An: Tomcat Users List Betreff: Re: AW: AW: Forwarding in servlets. So I just do this ?

RE: Correction RE: 503 Servlet Unavailable when migrating from tomcat 4.0.1 to 4.0.5

2002-10-08 Thread Colquhoun, Adrian
For Information This problem was due to the WebappClassLoader correctly refusing to load the .jar file containing my servlet because it also contained some older javax.servlet classes which is explicitly forbidden in the servlet spec 2.3 Adrian -Original Message- From: Colquhoun,

Re: Tomcat won't work with jdk 1.4.0

2002-10-08 Thread Raj Saini
Hi, There should not be problem running tomcat on Solaris 8. I am running Tomcat 4.1.12 with JDK 1.4 on Solaris without any problem. I have just switched from Tomcat 4.0.3 to 4.1.12. Your problem is the log4j.jar is missing from you your libs. Your application (or some of the lib) is using

DBMS access denied with Jakarta NT Service

2002-10-08 Thread Cinzia S
Hi all, I'm having database access denied when running Jakarta as an NT Service, while no db access problems when running as a standalone program. This is the spec: Jakarta-Tomcat 3.3.1, servicing servlets and jsp requested by IIS through isapi_redirect.dll, Windows 2000 Server. Thanks for any

RE: DBMS access denied with Jakarta NT Service

2002-10-08 Thread CLAIRE Celine
excuse me but I would like to know how do you do to access a database with tomcat 3.3.1 server.xml? web.xml? lookup? Can you give me a complete exemple? thanks for your help -Message d'origine- De: Cinzia S [SMTP:[EMAIL PROTECTED]] Date: mardi 8 octobre 2002 10:10 À:[EMAIL

JSP-Tags: bodyContent == null in doAfterBody() in TomCat, not in iPlanet

2002-10-08 Thread Braini
Hi there I have a small TagLib Library in developed in iPlanet 6 with java 1.2.2. There it's working well. Now a wanted to migrate to Tomcat 4.1.12, Apache HTTP Server 2.0.40, mod_jk2, J2SDK 1.4.1, Win2000 (for testing, Solaris later) But there, in the doAfterBody() method of the JSP-Tag I can't

Re: Error using ajp13 protocol

2002-10-08 Thread Raj Saini
Hi Marc, Though I am not expert in the JK Connectors, But it is very clear that mod_jk part at apache is not able to connect to the tomcat process. There may be three reason for this:- 1. Your JK connector on tomcat is not listening on port 8009. 2. The host name of the worker in

Re: Tomcat won't work with jdk 1.4.0

2002-10-08 Thread Brzezinski, Paul J
Raj Saini wrote: Hi, There should not be problem running tomcat on Solaris 8. I am running Tomcat 4.1.12 with JDK 1.4 on Solaris without any problem. I have just switched from Tomcat 4.0.3 to 4.1.12. Could you share your jk2.properties then? I'm running on Solaris 8 (SPARC) using JDK

Tomcat JMX

2002-10-08 Thread Roland S Nygren
I understand Tomcat 4.1 is based on JMX. I there any documentation on this. - Is there any HTML adapter? If so is it activated by default or...? On what URL? - How do I register my MBeans? /Roland Nygren Security: Restricted -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

Re: AW: AW: AW: Forwarding in servlets.

2002-10-08 Thread Kwok Peng Tuck
Ok thanks. Ralph Einfeldt wrote: That's what the spec says. (It works for me in tc 4.0.3) -Ursprüngliche Nachricht- Von: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 8. Oktober 2002 09:13 An: Tomcat Users List Betreff: Re: AW: AW: Forwarding in servlets. So I

RE: org.xml.sax.SAXException

2002-10-08 Thread Chandra Sekhar
We are using xerces.jar as a SAX parser. And we even put this under lib/common, still we are gettign the problem. Also that system classpath is set to xerces.jar. Do you have any answer? For database connection download classes12.zip and place it under lib/common and rename it classes12.jar

RE: org.xml.sax.SAXException

2002-10-08 Thread CLAIRE Celine
where can I download classes12.zip -Message d'origine- De: Chandra Sekhar [SMTP:[EMAIL PROTECTED]] Date: mardi 8 octobre 2002 11:27 À:Tomcat Users List Objet:RE: org.xml.sax.SAXException We are using xerces.jar as a SAX parser. And we even put this under

RE: org.xml.sax.SAXException

2002-10-08 Thread HERITIER Arnaud
you can find it in your %ORACLE_HOME%\ora81\jdbc\lib directory. -Message d'origine- De: CLAIRE Celine [mailto:[EMAIL PROTECTED]] Date: mardi 8 octobre 2002 11:30 À: Tomcat Users List Objet: RE: org.xml.sax.SAXException where can I download classes12.zip -Message

Re: Configuring Tomcat4.1 to use Apache2.0.43 win32, Doc's not clear

2002-10-08 Thread Henri Gomez
Documentation exist here : http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.0/doc/ Binaries are here : http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.0/bin/win32/ You should now be ready to use JK with Apache 2.0.43 Nota, you could

jk2 uri mapping of SSL vhost

2002-10-08 Thread Michael Riess
If anyone knows how to map requests from a virtual host (*:443) to a context ... I would be very thankful for any hint. I use mod_jk2 2.0.0 with Apache 2.0.43, mapping via [uri:/xyz/*] works for the default context, but not for the virtual context used for SSL, also mapping via [uri:*:443]

Re: Tomcat won't work with jdk 1.4.0

2002-10-08 Thread Raj Saini
I am not using JK2. I am using Jk. btw, why do you need the jk2.properties file. Your problem is some where else. jk2.properties is used by the apache not by the tomcat (If I am not wrong). From your exception is seems that you dont have common-logging.jar file in your

One Context - two diffenrnt URLs

2002-10-08 Thread Bala
I am Balu, working as a software engineer, I am having a problem in tomcat - apache configuration. If time permits , please help me. Here is the problem(UNIX). one context named GREAT is in TOMCAT 3.2.3. Apache 1.3.9 should service urls of two types. The URL types are 1)

Start up fails - TC 4.1.12/JDK 1.4/ Solaris 9

2002-10-08 Thread Shortt, Kevin
I am reposting... Anyone have any ideas for me? I need someone to throw me a bone... I am an admin of a tomcat setup. I am putting together a new machine and am using all the latest stuff with all the fixins. In a nutshell, my specs... Tomcat 4.1.12 (built from source) - used all

Re: How to specify the location of a properties file.

2002-10-08 Thread Mehdi . Nejad
I use the getResourceAsStram() method also, but i find that my IDE, tends to remove the properties file from my classpath, as soon as I do a build, which is not nice. In the particular case i have now, I don't want to specify the parameters in my web.xml, because the utility that requires a

Re: Start up fails - TC 4.1.12/JDK 1.4/ Solaris 9

2002-10-08 Thread Hannu Kivimäki
At 06:44 8.10.2002 -0500, Shortt, Kevin wrote: I am reposting... Anyone have any ideas for me? I need someone to throw me a bone... There's something wrong in your server.xml or web.xml. Make sure both files are well formed and start with XML declaration: ?xml version=1.0 Hannu Kivimaki --

jakarta slide question.

2002-10-08 Thread bryan
I've got slide setup under Tomcat and I'm accessing it using a webfolder. When I access the webfolder I find a sub-folder called files, I suppose this is from settings either in my Domain.xml or my web.xml, can anyone give me the location in my domain.xml or web.xml that refers to this

RE: Start up fails - TC 4.1.12/JDK 1.4/ Solaris 9

2002-10-08 Thread Shortt, Kevin
This is my first line of the web.xml: ?xml version=1.0 encoding=ISO-8859-1? Both files are unchanged from the ant dist build. I am beginning to learn more about xml as I go, but not sure where to begin to troubleshoot. I've been building and installing TC for a while, but I usually have

RE: tomcat 4.1.12 with apache1.3.26 and mod_jk integration error .

2002-10-08 Thread Turner, John
Take a look at the docs for the ApacheConfig Listener...there are parameters there to stop things like appending to mod_jk.conf, which might be what is happening. In other words, shut everything down, wait a bit, delete mod_jk.conf, then start up Tomcat and see if the mod_jk.conf file is

RE: Classpath and Aliases on Tomcat 4

2002-10-08 Thread Cox, Charlie
tomcat does not use the classpath. your classes must go under /tomcat/common/lib or within your context. you can try soft links, but they are disabled in 4.1.x by default. for your static files, just create a directory under your context - then you can access it as a subdir in your url. you

RE: jakarta slide question.

2002-10-08 Thread bryan
Found answer. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Forwarding in servlets.

2002-10-08 Thread Sexton, George
Please remember that in both forward and send re-direct, execution of the current servlet will resume unless you put a return statement after the forward or re-direct statement. if (dispatcher!=null) { dispatcher.forward(request, response) ; return; } -Original

RE: DBMS access denied with Jakarta NT Service

2002-10-08 Thread Sexton, George
Don't you think the name and version number of the DBMS would be of the least bit help in solving your issue? -Original Message- From: Cinzia S [mailto:[EMAIL PROTECTED]] Sent: 08 October, 2002 2:10 AM To: [EMAIL PROTECTED] Subject: DBMS access denied with Jakarta NT Service Hi all,

RE: NullPointerException

2002-10-08 Thread Cox, Charlie
you're going to need to provide some source code or a stack trace. where is the class you are instantiated located? in your web-inf/classes, in common/lib, etc? 'all sorts of problems' is rather vague. If you provide more specifics, you are more likely to get help. Charlie -Original

Re: Error using ajp13 protocol

2002-10-08 Thread Marc
Hi Raj (and thank you for your help yesterday)... I tried to connect using telenet to localhost 8009 and... there wasn't connection refused, but the connection wasn't accepted (showed the Escape character ... ), finally I killed the telnet process because no response was given. I think that the

RE: Configuring Tomcat4.1 to use Apache2.0.43 win32, Doc's not clear

2002-10-08 Thread Turner, John
In addition to Jacob's concise post, I would add that if you can, re-install everything to places with NO spaces in the pathnames. Yes, the Apache installer puts things in a path with spaces, but the people who wrote the Apache installer were never concerned with what effect that would have on

Re: jakarta slide question.

2002-10-08 Thread Andreas Probst
Hi Bryan, better ask at Slide Users Mailing List slide- [EMAIL PROTECTED]. /files is specified in Domain.xml, see filespath/files/filespath. Files can be found in the folder specified in contentstore classname=slidestore.reference.FileContentStore parameter

Re: How to specify the location of a properties file.

2002-10-08 Thread Andreas Probst
Hi Mehdi, I have my properties file in /WEB-INF. Eclipse doesn't delete it there. I access it with InputStream propsIn = servletContext.getResourceAsStream(/WEB- INF/dms.properties); props.load(propsIn); As far as I know this also works when the web-app ist deployed as a war without

RE: Tomcat vs Websphere sendRedirect

2002-10-08 Thread Shapira, Yoav
Hi, It's WebSphere that's broken here, not Tomcat. You've just been taking advantage of that prepending, which is not supposed to happen. sendRedirect() is supposed to be resolved relative to the web server root if you give it something that starts with a /. Yoav Shapira Millennium

Re: AW: AW: AW: Forwarding in servlets.

2002-10-08 Thread sonam singh
u can also use response.sendRedirect( url); regards Sonam --- Kwok Peng Tuck [EMAIL PROTECTED] wrote: Ok thanks. Ralph Einfeldt wrote: That's what the spec says. (It works for me in tc 4.0.3) -Ursprüngliche Nachricht- Von: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]]

Re: One Context - two diffenrnt URLs

2002-10-08 Thread sonam singh
--- Bala [EMAIL PROTECTED] wrote: I am Balu, working as a software engineer, I am having a problem in tomcat - apache configuration. If time permits , please help me. Here is the problem(UNIX). one context named GREAT is in TOMCAT 3.2.3. Apache 1.3.9 should service urls of two

tomcat 4.0.1 X Connection

2002-10-08 Thread perumal90
Hi I an having tomcat 4.0.1 running in Redhat 7.2 with apache 1.3.22(Mod_JK) and AS400 as database(DB2 400) server. The static pages are served by apache properly, but when it comes to servlets and database connection i am getting the following error: X connection to BPLA_TEST:10.0 broken

RE: Error using ajp13 protocol

2002-10-08 Thread Venkat Reddy Valluri
Hi, According to you, every thing is fine(i.e ajp13 is working fine and listeneing on 8009), can you just verify your mod_jk.conf and check if you are using hostname as localhost and verify in server.xml if you use same name for host and engine (localhost) if you use same name then how

Tomcat 4.1.12 expiring pages?

2002-10-08 Thread Jason McCormick
I'm working on an upgrade of our order management webapp and I've run into an odd situation. I have a page that is generated as the results of a form post on the previous page. If a user selects one of the linetiems on the results page, views that page and then clicks back, IE informs the

Re: Tomcat/IIS SSL

2002-10-08 Thread Fawaz Ahmad
Hello, I don't have any experience using SSL, but I have been reading up on it on the web. On the Apache website for Tomcat, it says that if you are using tomcat with another server (I'm using IIS) you should implement SSL in IIS rather than tomcat. I went on the Microsoft site to read up on

JDBCRealm Question

2002-10-08 Thread Alan Halley
Hi I am getting strange error when I try to use JDCRealm. I running Tomcat 4 from within Forte. The error is Catalina.start: LifecycleException: Exception opening database connection: java.sql.SQLException: org.gjt.mm.mysql.Driver LifecycleException: Exception opening database

Re: DBMS access denied with Jakarta NT Service

2002-10-08 Thread Cinzia S
just through a System DSN. The java application uses jdbc:odbc bridge. Nothing specific in server.xml or web.xm Thanks - Original Message - From: CLAIRE Celine [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, October 08, 2002 9:09 AM Subject: RE: DBMS access

Re: Tomcat won't work with jdk 1.4.0

2002-10-08 Thread Brzezinski, Paul J
Raj Saini wrote: I am not using JK2. I am using Jk. btw, why do you need the jk2.properties file. Your problem is some where else. jk2.properties is used by the apache not by the tomcat (If I am not wrong). jk2.properties is used by tomcat, workers2.properties is used by Apache. From

Does anyone know why I am getting these mod_jk error messages or what they mean????

2002-10-08 Thread Francom, Kodie
We are using Tomcat 4.1, Sun JDK 1.4, Linux 7.2 and Apache 1.3. [Thu Sep 26 18:13:26 2002] [jk_ajp13_worker.c (845)]: In jk_endpoint_t::service, get_reply failed in send loop 1 [Thu Sep 26 18:13:26 2002] [jk_ajp13_worker.c (845)]: In jk_endpoint_t::service, get_reply failed in send loop 1

To capture the CLICK event of SUBMIT button

2002-10-08 Thread Nagpal, Vikas
Hello Everybody, I have been trying to accomplish two jobs simultaneously. First on the CLICK of my ANCHOR tag I want to assign some value to the HIDDEN input tag and simultaneously carry this value to the page linked to HREF element of this ANCHOR tag. Till this point of time its a two CLICK

Re: JDBCRealm Question

2002-10-08 Thread Rick Fincher
Hi Alan, Try using connectionName and connectionPassword rather than passing that info in the URL. Tomcat is probably sticking a user= and password= onto the end of your url resulting in: jdbc:mysql://localhost:3306/diamond?user=alan;password=xxx?user=;passw ord= which blows up when it

RE: org.xml.sax.SAXException

2002-10-08 Thread Larry Isaacs
Tomcat 3.3.1 doesn't include parser.jar. You should find crimson.jar and xalan.jar in lib/container. You may place your jars there, removing crimson.jar, and everything should work. Your xalan.jar and xerces.jar will be automatically made available to web applications by default, thanks to the

[OFF TOPIC] RE: To capture the CLICK event of SUBMIT button

2002-10-08 Thread Turner, John
This is a Javascript question, not a Tomcat question. The answer is Yes. Further info can be found with Google or a Javascript list. John -Original Message- From: Nagpal, Vikas [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 08, 2002 10:30 AM To: '[EMAIL PROTECTED]' Subject:

RE: To capture the CLICK event of SUBMIT button

2002-10-08 Thread Cox, Charlie
I'm not seeing how this relates to tomcat... there are plenty of good javascript resources on the net. -Original Message- From: Nagpal, Vikas [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 08, 2002 10:30 AM To: '[EMAIL PROTECTED]' Subject: To capture the CLICK event of SUBMIT

Re: How to specify the location of a properties file.

2002-10-08 Thread Mehdi . Nejad
Hi, There was no ServletContext.getResourceAsStream () ... maybe this is because the whole project is a bunch of utilities for my web-app, and is not a webapp itself ? The class that needs the properties file, is not part of the webapp. So anyway, i tried the closest available method.. (or so i

[OFF TOPIC] RE: To capture the CLICK event of SUBMIT button

2002-10-08 Thread Zabel, Ian
It would certainly be easier to answer this question with a sample of your code, but I will run through some basic javascript techniques you may be able to use. You can make an HREF submit a form: script function doSubmit() { document.forms[0].hiddenField.value = 'test!'

bug when reloading classes ?

2002-10-08 Thread Barbara Post
Hi, I use Tomcat 4.1.12 and Cocoon 2.1-dev, jdk 1.3.1, Windows NT4. My webapp has reloadable=true attribute, and custom path in catalina.bat that includes 2 dlls used by java native methods and that I put in Tomcat's bin. So my Tomcat's path is : set PATH=c:\%JAVA_HOME%\bin;%CATALINA_HOME%\bin

RE: To capture the CLICK event of SUBMIT button

2002-10-08 Thread Short, Dave
change your HREF to call a function that assigns a value to your hidden field, then execute a formname.submit(); function SomeFunction(form) { form.fieldname.value=new value; form.submit(); } -Original Message- From: Cox, Charlie [mailto:[EMAIL PROTECTED]] Sent: October 08, 2002

RE: Does anyone know why I am getting these mod_jk error messages or what they mean????

2002-10-08 Thread Ricky Leung
I have found that I could generate this error when the site is slow and I go view a page and then clicked stop on the browser. What happens is that the user gave up looking at the page and ajp could no longer send it out. This usually happens when jsps are compiling... -Original

Problems with PrintWriter in 4.0.4

2002-10-08 Thread JBrisbin
We're attempting to go live with an XML/XSLT-based framework that we're running in Tomcat 4.0.4. It's stable and fast, except for a major problem when we try to output large amounts of HTML data. Some of our records number into the hundreds and the resulting display is often mangled about

Re: How to specify the location of a properties file.

2002-10-08 Thread Andreas Probst
Hi Mehdi, you could get the resource stream from within a servlet's init() method (where you have a ServletContext) and pass it to the other object that needs it. I do it pretty similar. But instead of passing the stream I pass the servletContext. Andreas On 8 Oct 2002 at 15:40, [EMAIL

RE: DBMS access denied with Jakarta NT Service

2002-10-08 Thread Sexton, George
I'll be specific again: What database are you using? -Original Message- From: Cinzia S [mailto:[EMAIL PROTECTED]] Sent: 08 October, 2002 8:11 AM To: Tomcat Users List Subject: Re: DBMS access denied with Jakarta NT Service just through a System DSN. The java application uses jdbc:odbc

Filtering of cookies

2002-10-08 Thread Hee Meng, Poh
Hi, Does anyone have experience in making Tomcat ignore an incoming jsessionid (via cookies) programmatically using servlet filters? I created a request wrapper class which returns null for the methods, getCookies(), getHeader(), and getHeaders() and use it in a doFilter() call but apparently

No MBean for mod_jk, only mod_jk2 in Tomcat 4.1.12?

2002-10-08 Thread Andrew Gilbert
Will ask this again in different manner. Looks like there is no MBean support in 4.1.12 for the AJP13 (mod_jk) Apache connector. Is there any easy way to remedy this, short of disabling JMX support? Thanks. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands,

SSL Tomcat/IIS

2002-10-08 Thread Fawaz Ahmad
Can someone using SSL for servlets in Tomcat using IIS 5.0 as their web server please help me out. I have Microsoft Certification Authority installed and everything set up on IIS so that the jakarta web directory requires SSL. When i go to http://localhost it says that you must use https,

RE: tomcat 4.0.1 X Connection

2002-10-08 Thread Sexton, George
It sounds like you are trying to invoke AWT or Swing calls, and tomcat was started via SSH session. You need to export a valid X11 DISPLAY= variable, or use JDK 1.4.0 or higher and specify -Djava.awt.headless=true in your startup options for Tomcat. George Sexton MH Software, Inc. Home of

RE: How to specify the location of a properties file.

2002-10-08 Thread Donie Kelly
Here is the simple solution ServletContext sc; String RootPath=null; sc = getServletContext(); RootPath = sc.getRealPath(/); Donie -Original Message- From: Andreas Probst [mailto:[EMAIL PROTECTED]] Sent: 08 October 2002 16:31 To: Tomcat

Re: TOmcat 4.0.1 and JDOM b8

2002-10-08 Thread Malachi de AElfweald
I apologize, but on closer inspection, I am not sure it will be in xerces... The error says: org.apache.catalina.servlets.InvokerServlet.doGet and: java.lang.VerifyError: (class: TransformServlet, method: doGet signature:

Re: Admin...

2002-10-08 Thread Roland S Nygren
I added the following lines to tomcat-user.xml and then Admin worked fine! role rolename=manager/ role rolename=admin/ user username=admin password=admin roles=standard,manager,admin/ /Roland Nygren I did that...and I was able to execute the manager commands...but from the

RE: TOmcat 4.0.1 and JDOM b8

2002-10-08 Thread Bodycombe, Andrew
I don't know if this is relevant, but I know the jikes compiler has bugs in it that causes a VerifyError. Are you using jikes to compile catalina? Andy -Original Message- From: Malachi de AElfweald [mailto:[EMAIL PROTECTED]] Sent: 08 October 2002 17:26 To: Tomcat Users List Subject:

RE: How to specify the location of a properties file.

2002-10-08 Thread Andreas Probst
Yes Donie, but this won't work if the webapp is deployed as a war without expansion. Andreas On 8 Oct 2002 at 17:06, Donie Kelly wrote: Here is the simple solution ServletContext sc; String RootPath=null; sc = getServletContext(); RootPath =

Apache 2, Tomcat, JBoss configuration

2002-10-08 Thread Jim Haggerty
Current versions: FreeBSD 4.6.2-RELEASE Apache 2.0.42 (although FreeBSD port now has 2.0.43) Tomcat 4.0.5 JBoss 3.0.0 (NB: This installation is the package WITHOUT Tomcat) Apache and Tomcat are getting along fine and I can access deployed webapps through the warp

Re: Apache 2, Tomcat, JBoss configuration

2002-10-08 Thread Anthony Geoghegan
You have to use remote interfaces and turn off the TOMCAT JNDI server to use the JBOSS JNDI server, otherwise it's fine. Best Regards, Anthony Geoghegan. J2EE Developer CPS Ireland Ltd. - Original Message - From: Jim Haggerty [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]

Dr. Watson error on Apache/Tomcat ??

2002-10-08 Thread Bing Zhang
Anyone knows why Apache/Tomcat could create Dr. Watson like this: The application(Apache.exe), generated an application error. The error occurred on 9/29/2002 @ 7:43:49.968. The exception generated was c005 at address 0x00a41f2f (nosymbols) The Environment is: Apache_1.3.9 with

Two problems-threadDeath and Properties file

2002-10-08 Thread Rajiv Ramanasankaran
hi, I am using Tomcat 4.0.1 . Whenever I start tomcat, I get the following error.The web application runs but a lot slower. I ran the same application in tomcat 3.2 and it doesn't give me any of these errors and its FAST. The output of the tomcat log file is shown below. I don't know what

RE: Problem with Tomcat 4.1.12 SSL

2002-10-08 Thread Tam, Michael
Hi All, Sorry for posting this problem that I didn't look carefully in the my archive. I found it from Remy's post back in September. Michael -Original Message- From: Tam, Michael [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 4:41 PM To: Tomcat UserList (E-mail)

unable to read() request.getInputStream

2002-10-08 Thread Sam Seaver
Im using TomCat 4.1.12 (Standalone) on redhat linux 7.2 (kernel 2.4.7-10): jsp: form action=jguru.jsp enctype=MULTIPART/FORMDATA method=post input type=file name=fileName value=/home/seaver/txts/letter.txt / jsp:useBean id=xmlHandler class=com.jguru.SimpleBean jsp:setProperty

how can I debug this? ClassNotFOund Exception

2002-10-08 Thread Christoph Kukulies
Something has changed with bei apache tomcat installation. I installed some php4 WebFOrum software and in the course of this I upgraded apache to 1.3.27. The tomcat examples are working again but I still get this in my application: Internal Servlet Error: java.lang.ClassNotFoundException:

jk2 uri mapping of SSL vhost

2002-10-08 Thread Michael Riess
If anyone knows how to map requests from a virtual host (*:443) to a context ... I would be very thankful for any hint. I use mod_jk2 2.0.0 with Apache 2.0.43, mapping via [uri:/xyz/*] works, but mapping via [uri:*:443] doesn't do anything ... question: shouldn't [uri:/xyz/*] map uris from any

libexec path

2002-10-08 Thread Christoph Kukulies
I'm running apache 1.3.27 with tomcat 3.2.4 or some similar vintage and after upgrading from apache 1.3.24 to 1.3.27 (I was using the FreeBSD port install) I first forgot to enable-modules=so in the configure options but after getting around this and adapting httpd.conf I still have the problem

Re: Action on close

2002-10-08 Thread David Mossakowski
You're right and that's what I said. Jake got the right answer. BTW why 'Death to all load on startup servlets'? Personal preference? d. jon wingfield wrote: You can't rely on the destroy() method on the servlet for this purpose. The container has the right to unload servlets when it

Re: JK2+Apache2: LogFactory java Error: NoClassDefFoundError

2002-10-08 Thread David Mossakowski
You should put the logging jar into tomcat/lib or webapps/yourwebapp/lib depending on how it's used. System classpath does not matter for Tomcat (a good thing) so you need to put things in the right places in order for them to work or specify in your startup script where else to look for

Request parameters not coming through correctly [Tomcat 4.1.12]

2002-10-08 Thread Russ Bonsall
I am having a problem in Tomcat 4.1.12 that I did not have in Tomcat 4.0.4. I have a jsp that has two forms. Both forms have the same name and use most of the same parameters. The first form has a drop-down(searchField) and a textfield(searchString). In Tomcat 4.0.4 these values came through

Configure of Virtual Host

2002-10-08 Thread CPD - Novação DTVM
Hi, How to configure a Virtual Host for a directory application ( webdav for example ) in Tomcat version 4.1.12? Thanks, Fábio.

JNDIRealm expires?

2002-10-08 Thread Vincent Stoessel
I have been able to successfully set up a JNDIRealm in tomcat for authentication. Only problem is after about 12 (rough guess) I get the dreaded black page instead of seeing my login form. The workaround is to restart tomcat. Obviously, this won't work well for a always-on service. Maybe there

Re: Strange differences in Apache/Tomcat configuration

2002-10-08 Thread Kent Perrier
On Mon, Oct 07, 2002 at 04:18:25PM -0400, Turner, John wrote: Sorry, I'm fresh out of ideas. It sure sounds like a permissions issue to me, but I can't say for sure without investigation. Let us know what it was when you get it resolved. I don't have this solved, yet, but I am working

RE: Strange differences in Apache/Tomcat configuration

2002-10-08 Thread Turner, John
As an aside, what happens if you try and access http://127.0.0.1:8080/examples ? John -Original Message- From: Kent Perrier [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 08, 2002 1:47 PM To: Tomcat Users List Subject: Re: Strange differences in Apache/Tomcat configuration

RE: Request parameters not coming through correctly [Tomcat 4.1.12]

2002-10-08 Thread Cox, Charlie
is searchField a multiple select? are you sure that no other input box/button is named 'searchField'? you can get an array in either of these scenarios. Charlie -Original Message- From: Russ Bonsall [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 08, 2002 1:45 PM To: '[EMAIL

RE: Does anyone know why I am getting these mod_jk error messagesor what they mean????

2002-10-08 Thread Tom Sherrod
I just fought through these errors this morning. I found that tomcat didn't have the processes. I tripled the maxProcessor settings for the connector and the mod_jk errors stopped. After lots of lucky guessing, I finally looked in the catalina_log file for the tomcat server and found it full

RE: jk2 uri mapping of SSL vhost

2002-10-08 Thread Mladen Turk
-Original Message- From: Michael Riess [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 08, 2002 12:52 PM To: [EMAIL PROTECTED] Subject: jk2 uri mapping of SSL vhost If anyone knows how to map requests from a virtual host (*:443) to a context ... I would be very thankful for

Re: TOmcat 4.0.1 and JDOM b8

2002-10-08 Thread Cyril Vidal
hi Malachi, thanks for all the time you spend for me... I think the error comes anyway from the xerces.jar because when I remove the xerces.jar from JDOM distribution from the JAVA_HOME\jre\lib\ext, I don't have the exception... But I still really don't understand why... Regards, Cyril.

Re: Strange differences in Apache/Tomcat configuration

2002-10-08 Thread Kent Perrier
On Tue, Oct 08, 2002 at 01:54:43PM -0400, Turner, John wrote: As an aside, what happens if you try and access http://127.0.0.1:8080/examples ? I tried that as well. I get the same error, except that it says 127.0.0.1 instead of localhost :) Kent -- To unsubscribe, e-mail: mailto:[EMAIL

Re: Strange differences in Apache/Tomcat configuration

2002-10-08 Thread Kent Perrier
On Tue, Oct 08, 2002 at 01:54:43PM -0400, Turner, John wrote: As an aside, what happens if you try and access http://127.0.0.1:8080/examples ? One more thing, the requests are even getting to the Tomcat server as nothing is being written to the tomcat logfiles. Kent -- To unsubscribe,

Re: JK2+Apache2: LogFactory java Error: NoClassDefFoundError

2002-10-08 Thread Brzezinski, Paul J
David Mossakowski wrote: You should put the logging jar into tomcat/lib or webapps/yourwebapp/lib depending on how it's used. Thanks for responding... More questions: yeah, but this is tomcat trying to start that's throwing the exception, not a web-app. System classpath does not

AW: jk2 uri mapping of SSL vhost

2002-10-08 Thread Michael Riess
Just for clarity: I have an webapp that should work with or without SSL, so I need a way to map URIs to that webapp without regard of the virtual host it comes from. Alternatively, I could use two mappings for the two vhosts (the default and the SSL host), but anyway: I would appreciate for any

  1   2   >