Re: Relate URL / to a tomcat web application

2007-11-21 Thread Rocco Scappatura
> On Nov 21, 2007 3:18 PM, Rocco Scappatura <[EMAIL PROTECTED]> > wrote: > >> If I well understood, a correct setup for a web application running >> under >> Tomcat, requires that Apache stay in the middle to: > > no, Apache httpd is not necessary at all. > Infact, I never use Apache before, un

Recieving responses from another request

2007-11-21 Thread Самойлов Андрей Иванович
I use Tomcat v5.5.9, OS Windows 2003. On the Tomcat deployed a servlet, which executes a stored procedure on the Oracle database, then prints the result of execution into output stream: StoredProcedure(); PrintWriter out = response.getWriter(); ... out.println(result); out.close(); If a stored

RE: configure my web app as default app instead of root in tomcat 6.0‏

2007-11-21 Thread Timothy Wonil Lee
How about this? (google is your friend) http://forum.java.sun.com/thread.jspa?threadID=668057 Timothy Wonil Lee Java Developer Koorong Books (http://www.koorong.com/) email: [EMAIL PROTECTED] direct ph: (+612) 9857 4448 direct fax: (+612) 9857 6648 http://www.google.com/reader/shared/16849249410

configure my web app as default app instead of root in t omcat 6.0‏

2007-11-21 Thread Yonatan Menahem
Hello, I am running tomcat 6.0 on Windows XP and deployed a war file called myApp.war to the server. when I am going to the url myDomainName I am getting the default Tomcat home page from the ROOT application.In order to view my application I need to go to: myDomainName/myAppHow can I change

Re: We are trying to implement a genericservlet to handle messages over tcp

2007-11-21 Thread Bill Barker
"chamarthi vinod" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > please suggest better way or send some implementation code for the > following > : > > > 1. How the TCP/IP client request over a socket received at the tomcat? Is > there a configuration to specify the port on which

Tomcat 6 Clustering expireSessionsOnShutdown="false"

2007-11-21 Thread Timothy Wonil Lee
Dear list, I have a cluster of Tomcat 6.0.14 using DeltaManager. Session replication works fine while both instances are running. I can test this by for example, logging-in to one of the webapps on a Tomcat instance in the cluster, then kill the process of that tomcat. Then I get transferred to an

Re: Relate URL / to a tomcat web application

2007-11-21 Thread Hassan Schroeder
On Nov 21, 2007 3:18 PM, Rocco Scappatura <[EMAIL PROTECTED]> wrote: > If I well understood, a correct setup for a web application running under > Tomcat, requires that Apache stay in the middle to: no, Apache httpd is not necessary at all. > I want that the URL http://www.domain access to a web

Using Tomcat for something other than HTTP servlets

2007-11-21 Thread Sean Nagle
I am working on a research project in which I would like to use servlet technology for something other than http servlets. In a nutshell I am trying to extend G code ( the language of CNC routers ) using servlet technology. What I want to do is create something similar to JSP called GSP (GcodeServe

Relate URL / to a tomcat web application

2007-11-21 Thread Rocco Scappatura
Hello, If I well understood, a correct setup for a web application running under Tomcat, requires that Apache stay in the middle to: - collect the HTTP requests - eventually forward them to Tomcat (eg: trough AJP) - eventually collect responses from tomcat - return response to the end user My bi

Re: Listing of sessions fails in web application manager

2007-11-21 Thread Rizwan Merchant
I will have to shut down production and restart to see what happens if I use the normal start up scripts. But I also noticed another thing. Sometimes when I click on the session count, I get the same page back with the exception error. Other times, I get a page with some of the session detai

RE: Listing of sessions fails in web application manager

2007-11-21 Thread Caldarale, Charles R
> From: Rizwan Merchant [mailto:[EMAIL PROTECTED] > Subject: Re: Listing of sessions fails in web application manager > > Here is the platform and jvm information. > Tomcat is downloaded from apache site. That all looks good. > CLASSPATH=\ > $JAVA_HOME/lib/tools.jar:\ > $CATALINA_HOME/bin/commo

RE: failing to log on to manager web application

2007-11-21 Thread Caldarale, Charles R
> From: Tshuma Lingani [mailto:[EMAIL PROTECTED] > Subject: RE: failing to log on to manager web application > > i guess i'm supposed to be using memory realm instead of > JNDIRealm in order to be able to use tomcat-users.xml,but i'v > realised that my server.xml had been configured to use JNDI

Re: Listing of sessions fails in web application manager

2007-11-21 Thread Rizwan Merchant
Here is the platform and jvm information. Tomcat Version JVM Version JVM Vendor OS Name OS Version OS Architecture Apache Tomcat/6.0.14 1.6.0_02-b05 Sun Microsystems Inc. Linux 2.6.18-1.2798.fc6 i386 Tomcat is downloaded from apache site. We use a service script to start tomcat (sho

RE: failing to log on to manager web application

2007-11-21 Thread Tshuma Lingani
what about the realm? i guess i'm supposed to be using memory realm instead of JNDIRealm in order to be able to use tomcat-users.xml,but i'v realised that my server.xml had been configured to use JNDIRealm. - To start a new to

Re: ApacheTomcat Connector mod_jk, receiving 0711-244 ERROR when I do a make.

2007-11-21 Thread Rainer Jung
So you actually got a coredump on the file system? Don't know about AIX, but usually there are tools included that enable you to write out the stack in which the process died. If there is no AIX specific tool, gdb will do (load the core into gdb like gdb /path/to/my/bin/httpd COREFILE and th

Re: Enable/Disable servlet via context param

2007-11-21 Thread Juha Laiho
Matteo Turra wrote: > I would like enable/disable a servlet depending on a context init > parameter. Have a look at the Servlet specification, and therein the chapter about Servlet Life Cycle. > I wrote this code in my servlet. But I'm not sure I the best way to do > it. > > public void init()

RE: failing to log on to manager web application

2007-11-21 Thread Propes, Barry L
mmm. okI had before (though I haven't tried it in a while) successfully logged on to mine before, so I'm sure it works. Granted, I'm like the Capital ONe Bank villain, who lives in the dark ages, w TC 4.1.31 -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sen

Re: ApacheTomcat Connector mod_jk, receiving 0711-244 ERROR when I do a make.

2007-11-21 Thread Blumlein,Richard
Hello Rainer and group, I copied mod_jk.so.0 from the apache-1.3/.libs directory to the apache 1.3 libexec directory as mod_jk.soand gave it 755. I created a workers.properties file in /etc/opt/freeware/apache I placed workers.properties with the Apache Web Server files instead of with th

RE: failing to log on to manager web application

2007-11-21 Thread Caldarale, Charles R
> From: Propes, Barry L [mailto:[EMAIL PROTECTED] > Subject: RE: failing to log on to manager web application > > mine looks like this -- role name params beforehand -- try it > that way. > > > The elements aren't actually required - Tomcat generates them automatically and rewrites th

RE: failing to log on to manager web application

2007-11-21 Thread Propes, Barry L
mine looks like this -- role name params beforehand -- try it that way. -Original Message- From: Tshuma Lingani [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 21, 2007 2:29 PM To: Tomcat Users List Subject: RE: failing to log on to manager web application i

RE: failing to log on to manager web application

2007-11-21 Thread Caldarale, Charles R
> From: Tshuma Lingani [mailto:[EMAIL PROTECTED] > Subject: RE: failing to log on to manager web application > > You seem to be missing some spaces in the above. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the inten

RE: failing to log on to manager web application

2007-11-21 Thread Tshuma Lingani
i still can't access. here is my tomcat-users.xml help thanks - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Listing of sessions fails in web application manager

2007-11-21 Thread Caldarale, Charles R
> From: Rizwan Merchant [mailto:[EMAIL PROTECTED] > Subject: Listing of sessions fails in web application manager > > But when I click on the session count for my app, I get an error as below.. > *Message:* > FAIL - Encountered exception > org.apache.jasper.JasperException: > javax.servlet.Ser

Listing of sessions fails in web application manager

2007-11-21 Thread Rizwan Merchant
Hi, We just upgraded from tomcat 5.5.20 to tomcat 6.0. When I access the manager page ( http://{ip_address}/manager/html), I can see the apps listed and corresponding session counts for each app. But when I click on the session count for my app, I get an error as below.. *Message:* FAIL -

RE: failing to log on to manager web application

2007-11-21 Thread Caldarale, Charles R
> From: Tshuma Lingani [mailto:[EMAIL PROTECTED] > Subject: failing to log on to manager web application > > the same user with password is set in > /usr/share/netbeans/5.5/enterprise3/apache- > tomcat-5.5.17/conf/tomcat-users.xml > after editing this tomcat-users.xml i restarted netbeans (and

RE: 5.5.20 returns empty page

2007-11-21 Thread Caldarale, Charles R
> From: Mark [mailto:[EMAIL PROTECTED] > Subject: RE: 5.5.20 returns empty page > > I did more test and it looks like tomcat closes connection after "GET > /" right away, with no data being logged. Is there a firewall in between the browser and Tomcat? Even if they're on the same machine, a fir

failing to log on to manager web application

2007-11-21 Thread Tshuma Lingani
hello i try to use the bundled tomcat with netbeans on windows XP. when i try to deploy, i get this error about tomcat authorization: Access to Tomcat server has not been authorized. Set the correct username and password with the "manager" role in the Tomcat customizer in the Server Manager. in t

RE: 5.5.20 returns empty page

2007-11-21 Thread Mark
Verified. java proccess is running URL in browser (http://localhost:8080) is correct tomcat is listening on the port. I did more test and it looks like tomcat closes connection after "GET /" right away, with no data being logged. --- "Caldarale, Charles R" <[EMAIL PROTECTED]> wrote: > > From: M

RE: 5.5.20 returns empty page

2007-11-21 Thread Caldarale, Charles R
> From: Mark [mailto:[EMAIL PROTECTED] > Subject: 5.5.20 returns empty page > > I took the entire tomcat directory from another PC where it works. > Changed JAVA_HOME. > > OS: Fedora 8 > Java: 1.5_14 > > but getting back an empty page. Verify that Tomcat is running (ps). Verify that you're s

5.5.20 returns empty page

2007-11-21 Thread Mark
Hi, I tried to migrate the Tomcat 5.5.20 working copy to a different machine but was hit by unexpected problem. I took the entire tomcat directory from another PC where it works. Changed JAVA_HOME. OS: Fedora 8 Java: 1.5_14 but getting back an empty page. Access Log is empty, no error message

Re: tomcat init script not LSB compliant

2007-11-21 Thread Warren Pace
Most distros have a skeleton script (or something similarly named) in /etc/init.d. Poke around in there. On 11/21/07, Waseem Azhar <[EMAIL PROTECTED]> wrote: > Hi All, > > Could anybody tell me how to make tomcat script LSB compliant ? I am using > Linux High availability project. The heartbeat d

RE: Still trying to log using org.apache.juli.FileHandler ...

2007-11-21 Thread Caldarale, Charles R
> From: Albretch Mueller [mailto:[EMAIL PROTECTED] > Subject: Still trying to log using org.apache.juli.FileHandler ... > > But I am not able to log via the occassional System.out.println and > System.err.println even though I set swallowOutput="true" in the web > apps WEB-INF/context.xml file

Re: mod_proxy_ajp & TIME_WAIT

2007-11-21 Thread Jim Jagielski
The below is the workaround for 2.2.6... 2.2.7 contains the actual fix that negates the need for the workaround :) On Nov 21, 2007, at 4:34 AM, David Cassidy wrote: That would be excellent ! Is the only change - as far as mod_proxy_ajp is concerned the one below or is that a work around for

Still trying to log using org.apache.juli.FileHandler ...

2007-11-21 Thread Albretch Mueller
~ I have a webapp outside of the $CATALINA_HOME directory branch (I don't think this relates to my problem since I see how all clases are loaded and web.xml there is read without any apparent problems) ~ But I am not able to log via the occassional System.out.println and System.err.println even t

RE: Tomcat 6 Configuration with Contexts - Need Help?

2007-11-21 Thread Caldarale, Charles R
> From: Dennis Harris [mailto:[EMAIL PROTECTED] > Subject: Tomcat 6 Configuration with Contexts - Need Help? > > However, in version 6 this is not working correctly. I've > read that for each environment I would need to have a > CONTEXT.XML file - so nothing would go into the SERVER.XML > file

Tomcat 6 Configuration with Contexts - Need Help?

2007-11-21 Thread Dennis Harris
I’m having some issues with configuring Tomcat 6. I’m moving from Tomcat 4.1 and in version 4 I had multiple contexts setup in the SERVER.XML file like so: However, in version 6 this is not working correctly. I’ve read that for each environment I would need to have a CONTEXT

RE: Tomcat Clustering Timeouts

2007-11-21 Thread Martin Gainty
I didnt see the version you are using but I would suggesttaking a look at this patch by Peter Rossbach Also make sure the attributes such as compress are identically configured between sender and receiver.. http://issues.apache.org/bugzilla/show_bug.cgi?id=34389 Let us know if you need further

scheme of the Life Cycle of an authenticator

2007-11-21 Thread Carlo Politi
Good day, where can i find a scheme of the life cycle of authenticator? thanks... ___ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html

Re: ApacheTomcat Connector mod_jk, receiving 0711-244 ERROR when I do a make.

2007-11-21 Thread Rainer Jung
Blumlein,Richard wrote: Hello Rainer, First, that for all the help.. The examples I gave are from the make. The confusing part is some docs just show doing the configure, make, copy the mod, make clean on the Apache site docs. I have also seem some docs show doing configure, make, make ins

Comet servlet synchronization and flush problems

2007-11-21 Thread Leonardo Fraga
Hello, I'm developing a java web application for finances quotes' real-time stream, for hundreds of concurrent users. The solution involves a long http request serving javascript snippets that will be executed by broser when received, changing the data shown to the user. To do this, I have a

Re: ApacheTomcat Connector mod_jk, receiving 0711-244 ERROR when I do a make.

2007-11-21 Thread Blumlein,Richard
Hello Rainer, First, that for all the help.. The examples I gave are from the make. The confusing part is some docs just show doing the configure, make, copy the mod, make clean on the Apache site docs. I have also seem some docs show doing configure, make, make install, copy the mod, make

generic way of checking application status?

2007-11-21 Thread Derek Alexander
Deploying an app with a runtime dependency missing resulted in Servlet.init() throwing a ServletException caused by a ClassNotFoundException. Tomcat manager however reported the application as running. I guess it was to a certain extent, however it would have been more useful to me to know that t

Tomcat Clustering Timeouts

2007-11-21 Thread Dwebb
Hi All, We have a clustered setup doing session replication between 2 hosts. On one of the hosts we are seeing a number of disconnects from the replication thread. I have looked around on the web a bit and one thread I came across from seemingly a tomcat dev implied that this wasn't much of an

RE: Tomcat 6.0 / Log4J!

2007-11-21 Thread Caldarale, Charles R
> From: First Last [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat 6.0 / Log4J! > > In earlier versions I would have put log4j into the server > classloader and not the common classloader; achieving the > isolation I require. How do you do it in tomcat6? Read the docs: http://tomcat.apache.org

tomcat init script not LSB compliant

2007-11-21 Thread Waseem Azhar
Hi All, Could anybody tell me how to make tomcat script LSB compliant ? I am using Linux High availability project. The heartbeat daemon complaining the following: info: Running /etc/init.d/tomcat start ERROR: Return code 1 from /etc/init.d/tomcat CRIT: Giving up resources due to failure of tomc

FW: Deployment in tomcat

2007-11-21 Thread Shreekanta Prasad
update to my previous mial, Operating system using is windows 2003 server ant version is 1.7 . Thanks and Regards - Shreekanta Prasad -Original Message- From: Shreekanta Prasad [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 21, 2007 7:02 PM To: users@tomcat.apache.org Subject: De

Deployment in tomcat

2007-11-21 Thread Shreekanta Prasad
Hi All, We are using ant scripts for building and deploying the war file to the Apache Tomcat 5.5. After deploying the war file we need to restart the tomcat server without that it won't work. Under work directory catalina/localhost our application basedirectory is there, we need to delete

We are trying to implement a genericservlet to handle messages over tcp

2007-11-21 Thread chamarthi vinod
please suggest better way or send some implementation code for the following : 1. How the TCP/IP client request over a socket received at the tomcat? Is there a configuration to specify the port on which TCP client has to send the request? Or the client shall use the same 8080 port for connectin

Re: Killing tomcat java process, Windows

2007-11-21 Thread Niki Diulgerov
Here is the procedure. I installed the second tomcat using this command: tomcat5.exe //IS//ApacheTomcat2 --DisplayName="Apache Tomcat 5 2" --Install="C:/Program Files/Apache Software Foundation/Tomcat 5.5 2/bin/tomcat5.exe" --Jvm=auto --StartMode=jvm --StopMode=jvm --StartClass=org.apache.catalina

Re: Killing tomcat java process, Windows

2007-11-21 Thread raghav
Hey i need small information from you. please it is very urgent for me. can you tell me the procedure for creating the multiple instances for tomcat? plaese my mail id is [EMAIL PROTECTED] THanks, RAghavender jimpo wrote: > > I run two separate tomcat 6 instances on my development environment.

Re: isapi_redirect+IIS+tomcat basic authentication

2007-11-21 Thread Rainer Jung
Thanks for letting us know! Niki Diulgerov wrote: For all who will face this problem disable "integrated windows authentication" in Authentication and access control options Best regards, Nikolay Diulgerov Network Administrator E-mail: [EMAIL PROTECTED] Telephone : +33 4 89 87 77 77 Fax :

Re: isapi_redirect+IIS+tomcat basic authentication

2007-11-21 Thread Niki Diulgerov
For all who will face this problem disable "integrated windows authentication" in Authentication and access control options Best regards, Nikolay Diulgerov Network Administrator E-mail: [EMAIL PROTECTED] Telephone : +33 4 89 87 77 77 Fax : +33 4 89 87 77 00 Web: http://www.codix-france.com

Re: Wr & Rd in the JK status report

2007-11-21 Thread Rainer Jung
Dmitry Beransky wrote: Hi, I'm having problems understanding the legend text for Wr & Rd columns of the JK status report. What exactly do they mean? Here's a concrete example: Name Type Host Addr Act Stat D F M V Acc Err CE Wr Rd Busy Max Route RR Cd Rs static_1 ajp13 localhost:8012 127.0.

Re: mod_jk compatibilities between versions.

2007-11-21 Thread Rainer Jung
rahul wrote: | rahul wrote: | > I am trying to integrate mod_jk with the apache 2.2 package | > distribution in solaris. | > I would like to know what would be the versions that can have | > incompatibilities with the previous versions (both API and configuration) | Check the change log: | h

Re: ApacheTomcat Connector mod_jk, receiving 0711-244 ERROR when I dp a make.

2007-11-21 Thread Rainer Jung
Hello Richard, Blumlein,Richard wrote: Hello Rainer and group. I tried using gmake instead of make and I got much further. Good. In the instdso.sh script it checks to see if AIX. If AIX it removes the component. Not sure if this is ok. The mv fails since it cannot find mod_jk.so.0 in the ap

Re: mod_jk compatibilities between versions.

2007-11-21 Thread rahul
| rahul wrote: | > I am trying to integrate mod_jk with the apache 2.2 package | > distribution in solaris. | > I would like to know what would be the versions that can have | > incompatibilities with the previous versions (both API and configuration) | Check the change log: | http://tomcat.ap

Re: mod_proxy_ajp & TIME_WAIT

2007-11-21 Thread David Cassidy
That would be excellent ! Is the only change - as far as mod_proxy_ajp is concerned the one below or is that a work around for 2.2.6 ? Thanks D On Tue, 2007-11-20 at 14:39 -0500, Jim Jagielski wrote: > I'm hoping to get it out the top of December :) > > On Nov 20, 2007, at 3:57 AM, David Cass