Re: Re: Help, Tomcat 4.1.31 no response

2005-12-18 Thread kartwall
Hello, Martin Gainty Now i got some progress. I used Borland Optimizeit 6.0's Thread Debugger and found that in my web application, lots of threads are "defunct". As I said before, my web application is based on struts framework and I wrote a plug-in in my app. This plug-in named

Re: forgot admin password

2005-12-18 Thread Bhargav Patel
Hi Dear, How are you ? who are you ? where are you working right now ? I have solution for you . open file " tomcat-users.xml " in " conf " directory of tomcat . you will find there all the username and password and different role also. you can modify OR see the password , and use it. ok. I

RE: forgot admin password

2005-12-18 Thread Caldarale, Charles R
> From: epyonne [mailto:[EMAIL PROTECTED] > Subject: forgot admin password > > A month ago, I installed Tomcat 5 on 3 web servers in a rush > and I forgot to write down the admin password. Now I cannot > remember what it is. Does any one know how to retrieve it or > to reset it? If you're usi

RE: How do I get unique fixed ID of remote host? I can get bios ID of remote host. but ......

2005-12-18 Thread George Sexton
You can't. Under Windows, you're blocked from running ActiveX controls, and under Unix the JVM is running in a sandbox and wouldn't have permission to do things like run IFCONFIG or other commands. George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 > -Original M

forgot admin password

2005-12-18 Thread epyonne
A month ago, I installed Tomcat 5 on 3 web servers in a rush and I forgot to write down the admin password. Now I cannot remember what it is. Does any one know how to retrieve it or to reset it? I have full access to all folders on the web server though. Any help will be very much appreciated b

How do I get unique fixed ID of remote host? I can get bios ID of remote host. but ......

2005-12-18 Thread Gangaa D
Dear Guys, How do I get unique fixed ID of remote host? I got bios ID of remote host by Java Script which for Win32. But "IE->Security Settings -> Initialize and script ActiveX controls not marked as safe" is blocked our script. In this case, our script run only for Win32 and above option enabl

Re: Tomcat 5.0.28 + Oracle9i

2005-12-18 Thread adamc
Quoting nikita berdikov <[EMAIL PROTECTED]>: When i click "Submit", i have the following error: org.apache.jasper.JasperException: Unable to compile class for JSP org.apache.jsp.registration_jsp._jspService(registration_jsp.java:75) Just to make sure all the bases are covered, have y

Re: c:import doesn't work right with HEAD requests

2005-12-18 Thread Bill Barker
"Hassan Schroeder" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > [EMAIL PROTECTED] wrote: > >> I really couldn't care less whether the content-length header is >> different. The important thing here is what is in the logs. > > No, it's not; the important thing is whether there's

Re: c:import doesn't work right with HEAD requests

2005-12-18 Thread Hassan Schroeder
[EMAIL PROTECTED] wrote: > I really couldn't care less whether the content-length header is > different. The important thing here is what is in the logs. No, it's not; the important thing is whether there's any applicable spec that (even indirectly) requires the container to generate the e

Re: problem with stopping Tomcat

2005-12-18 Thread Bill Barker
"marju jalloh" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Now when I reboot my pc this is the error I get > Sep 9, 2005 1:07:23 AM org.apache.coyote.http11.Http11Protocol init > INFO: Initializing Coyote HTTP/1.1 on http-8080 > ServerLifecycleListener: createMBeans: MBeanExcept

Re: c:import doesn't work right with HEAD requests

2005-12-18 Thread Bill Barker
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Sun, Dec 18, 2005 at 12:26:07PM -0800, Hassan Schroeder wrote: > My guess is that tomcat uses a "HEAD" request to retrieve content with > c:import if the request for the jsp page containing the c:import was > requested with a "HEAD

Re: problem with stopping Tomcat

2005-12-18 Thread marju jalloh
Now when I reboot my pc this is the error I get Sep 9, 2005 1:07:23 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 ServerLifecycleListener: createMBeans: MBeanException java.lang.Exception: ManagedBean is not found with Ajp13Connector at org.apac

Re: c:import doesn't work right with HEAD requests

2005-12-18 Thread erh
On Sun, Dec 18, 2005 at 12:26:07PM -0800, Hassan Schroeder wrote: > [EMAIL PROTECTED] wrote: > However, from the Servlet Spec -- > protected void doHead(HttpServletRequest req, > HttpServletResponse resp) > throws ServletException, IOException > Receives an HTTP HEAD request from th

Re: problem with stopping Tomcat

2005-12-18 Thread Steve Dodge
Well, if 8080 is not accepting connections and there is no process on the machine, tomat is probably starting then immediatly stopping. Do you have a catalina.out, and or a catalina.log, I'd check in both of those to see what's failing. marju jalloh wrote: Sorry that I did`nt include these

Re: c:import doesn't work right with HEAD requests

2005-12-18 Thread erh
On Sun, Dec 18, 2005 at 03:06:19PM +0100, Mikolaj Rydzewski wrote: > On Sat, 17 Dec 2005 [EMAIL PROTECTED] wrote: > > > I'm having some trouble getting the c:import tag to work right. > > It seems to be perfectly fine when the request that tomcat receives is > > a GET request. However, when i

Re: Re: problem with stopping Tomcat

2005-12-18 Thread marju jalloh
Warren Pace there is no applicatio running on port 8080. Tomcat was working good but after mistakinly editting the server.xml file while tomcat was running the problem started.So I decided to stop and start it noway.I rebooted also no way Warren Pace <[EMAIL PROTECTED]> wrote: And one other q

RE: Add application

2005-12-18 Thread Caldarale, Charles R
> From: Warren Pace [mailto:[EMAIL PROTECTED] > Subject: Re: Add application > > or create an xml file with the same name as your > webapp (i.e. BookApps.xml ) in $CATALINA_HOME/conf. That should be conf/Catalina/ (usually localhost), not just conf. - Chuck THIS COMMUNICATION MAY CONTAIN CO

Re: problem with stopping Tomcat

2005-12-18 Thread marju jalloh
Sorry that I did`nt include these information I`m using Tomcat 1.4.27 on linux Debian(serge). Tomcat start authomatic at startup.But during development I use shutdown.sh and startup.sh in the TOMECAT_HOME/bin directory eg shutdown.shto stop tomcat startup.sh to start tomcat Thanks,

Re: Re: problem with stopping Tomcat

2005-12-18 Thread Warren Pace
And one other question - is any other app listening in on port 8080? > From: Steve Dodge <[EMAIL PROTECTED]> > Date: 2005/12/18 Sun PM 04:39:00 EST > To: Tomcat Users List > Subject: Re: problem with stopping Tomcat > > What's you environment? What version of Tomcat? What command are you > u

Re: Re: problem with stopping Tomcat

2005-12-18 Thread Warren Pace
And one other question - is any other app listening in on port 8080? I seem to remember the Debian distributions using that port for another app . . . > > From: Steve Dodge <[EMAIL PROTECTED]> > Date: 2005/12/18 Sun PM 04:39:00 EST > To: Tomcat Users List > Subject: Re: problem with stopping To

Re: Add application

2005-12-18 Thread Warren Pace
either create a subdirectory of the top-level directory of your webapp named META-INF and place your context-specific information in a file named "context.xml" or create an xml file with the same name as your webapp (i.e. BookApps.xml ) in $CATALINA_HOME/conf. Both methods have worked for me in

RE: Tomcat 5.0.28 + Oracle9i

2005-12-18 Thread JT Neville
Can't really say without seeing your code but 90% of the time when I get this error it is because I've made a type-o in my code and two variables are not aligning, or I've not terminated a line of code correctly. hth -Original Message- From: nikita berdikov [mailto:[EMAIL PROTECTED] Sent

Re: problem with stopping Tomcat

2005-12-18 Thread Steve Dodge
What's you environment? What version of Tomcat? What command are you using to start it? marju jalloh wrote: Hi everyone I havae problem with stopping tomcat.When I start it it show no sign of error but I can`t get to my http:localhost:8080/ page if I tried to restart Tomcat by sotpping and

Re: Tomcat 5.0.28 + Oracle9i

2005-12-18 Thread Steve Dodge
From your fist post, I gather you have some non-UTF-8 characters hard-coded in Oracle NLS function calls. If this is what it is, I may know a way around it. If you post the actual jsp code, it would be easier . nikita berdikov wrote: Thanks. But i really need to solve this problem. Can

problem with stopping Tomcat

2005-12-18 Thread marju jalloh
Hi everyone I havae problem with stopping tomcat.When I start it it show no sign of error but I can`t get to my http:localhost:8080/ page if I tried to restart Tomcat by sotpping and the starting I got thefollowing error during stopping Catalina.stop: java.net.ConnectException: Connection refus

Re: Tomcat 5.0.28 + Oracle9i

2005-12-18 Thread nikita berdikov
Thanks. But i really need to solve this problem. Can anyone help? --- Martin Gainty <[EMAIL PROTECTED]> wrote: > Nikita > First I would post this to > xerces-j-dev@xml.apache.org > and also let the folks at tomcat know this is > causing halts in your environment > tomcat-dev@jakarta.apache.org

Re: Tomcat 5.0.28 + Oracle9i

2005-12-18 Thread Martin Gainty
Nikita First I would post this to xerces-j-dev@xml.apache.org and also let the folks at tomcat know this is causing halts in your environment tomcat-dev@jakarta.apache.org At first glance this appears to be a genuine bug altho attempts to find this item in bugzilla returned null feel free to per

Re: c:import doesn't work right with HEAD requests

2005-12-18 Thread Hassan Schroeder
[EMAIL PROTECTED] wrote: > I'm having some trouble getting the c:import tag to work right. > It seems to be perfectly fine when the request that tomcat receives is > a GET request. However, when it receives a HEAD request instead, c:import > never actually reads the data. > System.out.p

Re: c:import doesn't work right with HEAD requests

2005-12-18 Thread Martin Gainty
Eric- the examples dont indicate how the leading slash can work without the URL specification (in this case URL spec for file) did you try Martin- - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Sunday, December 18, 2005 12:40 AM Subject: c:import doesn't work right with HEAD

Re: c:import doesn't work right with HEAD requests

2005-12-18 Thread erh
On Sun, Dec 18, 2005 at 09:06:22AM -0500, Martin Gainty wrote: > Did you include the core taglib spec before using 'c' reference identifier > <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %> Of course. It's the very first line in testit.jsp. w/o that it wouldn't work even

Re: Tomcat 5.0.28 + Oracle9i

2005-12-18 Thread nikita berdikov
I tried to save jsp-file in UTF-8 using jEdit, but it didn't help. What can help me? I'm trying to solve the problem for about 4 days...i'm broken --- [EMAIL PROTECTED] wrote: > Quoting nikita berdikov <[EMAIL PROTECTED]>: > > > Hi! > > > > I have *.jsp page with a form. It sets several > > prope

RE: Add application

2005-12-18 Thread Caldarale, Charles R
> From: Florian Lindner [mailto:[EMAIL PROTECTED] > Subject: Add application > > My book tells me that I should add the XMl snippet: You have an old book. Take a look at the real documentation: http://tomcat.apache.org/tomcat-5.5-doc/config/context.html Note especially the description of the p

Add application

2005-12-18 Thread Florian Lindner
Hello, I'm just in the process of learnung J2EE / Serlets / JSPs with Tomcat. My book tells me that I should add the XMl snippet: to the ./conf/server.xml. Since there is no other Context entry like that in the server.xml I doubt that this place is wrong (in my Tomcat version 5.5.14). What is

Re: Tomcat 5.0.28 + Oracle9i

2005-12-18 Thread adamc
Quoting nikita berdikov <[EMAIL PROTECTED]>: Hi! I have *.jsp page with a form. It sets several properties of a bean, that then connects to Oracle DB and inserts data into table. When i click "Submit", i have the following error: HTTP Status 500 - type Exception report message description

Tomcat 5.0.28 + Oracle9i

2005-12-18 Thread nikita berdikov
Hi! I have *.jsp page with a form. It sets several properties of a bean, that then connects to Oracle DB and inserts data into table. When i click "Submit", i have the following error: HTTP Status 500 - type Exception report message description The server encountered an internal error () t

Re: c:import doesn't work right with HEAD requests

2005-12-18 Thread Mikolaj Rydzewski
On Sat, 17 Dec 2005 [EMAIL PROTECTED] wrote: > I'm having some trouble getting the c:import tag to work right. > It seems to be perfectly fine when the request that tomcat receives is > a GET request. However, when it receives a HEAD request instead, c:import > never actually reads the data

Re: c:import doesn't work right with HEAD requests

2005-12-18 Thread Martin Gainty
Good Morning Eric- Did you include the core taglib spec before using 'c' reference identifier <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %> What does the Tomcat log say about this? HTH, Martin- - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Sunday, Decembe

Re: Tomcat 5.5.12 clustering high load

2005-12-18 Thread Remy Maucherat
On 12/16/05, Yogesh Prajapati <[EMAIL PROTECTED]> wrote: > Is there something else I am missing that I need to look at? http://issues.apache.org/bugzilla/show_bug.cgi?id=37808 -- x Rémy Maucherat Developer & Consultant JBoss Group (Europe) SàRL x -

Re: Tomcat 5.5.12 clustering - messages lost under high load

2005-12-18 Thread Peter Rossbach
Hey, a) Servlet Spec say: You must have sticky session when you use distributable web apps. Session Replication is only used when primary node crashed!! b) When you app don't send a new request before the first is complete: use pooled mode with waitForAck=true! It can work, but