Re: Admin application in Tomcat 5.5 (dead?)

2007-11-01 Thread Johnny Kewl
--- HARBOR: http://coolharbor.100free.com/index.htm Now Tomcat is also a cool pojo application server --- Hi Chris At the bottom of this, I

Re: Page Expire

2007-11-01 Thread Peng Tuck Kwok
Hi, You can configure the manager element inside a context element to specify a longer duration before it expires. The manager element in a context is not compulsory, so you might have to add it in for your web application. Instructions are here (for the manager):

[ann] Informal Text-mining and Java Meetup in Tokyo

2007-11-01 Thread dasoudesu
Just wanted to announce a mini-event: Informal Text-mining Java Meetup in Tokyo http://curehunter.com/public/events.do Come have a casual drink with some similarly minded devs interested in new tech. (We like: Text-mining, Natural Language Processing, Java, C#, Python, Flex,

Re: [ann] Informal Text-mining and Java Meetup in Tokyo

2007-11-01 Thread zhu hui
I am working in Tokyo and really interesting in this topic and activity... but the time is in working day, i am not sure whether i could get my work done before go there... ^_^ best wishes... ^_^ On 11/1/07, dasoudesu [EMAIL PROTECTED] wrote: Just wanted to announce a mini-event:

Re: mod_jk for OS X PPC

2007-11-01 Thread Peter Rossbach
Hi! thanks for the nice tipp, but the result is: /usr/share/apr-1/build-1/libtool --silent --mode=compile gcc -I/usr/ include/apache2 -arch ppc -arch ppc64 -arch i386 -arch x86_64 -g -Os -pipe -no-cpp-precomp -DHAVE_APR -I/usr/include/apr-1 -I/usr/include/ apr-1 -arch ppc -arch ppc64

Re: mod_jk for OS X PPC

2007-11-01 Thread Peter Rossbach
Hi, this is not true. I have build a mod_jk ppc65 only binary and runit successfull at my G5 with standard Leopard apache2.2.6 installation. Peter Am 30.10.2007 um 17:28 schrieb BuildSmart: On Oct 30, 2007, at 10:37:13, Richard Doust wrote: Alex, QuadG5:native jboss$ ./configure

Re: [tomcat]How to decrypt the DIGEST authentication?

2007-11-01 Thread Mark Thomas
zhongliang zhang wrote: Thanks a lot.I think I got another way to solve the group hierarchical problem,but I am not sure about it. maybe you can help me to confirm it:I wrote the SQL as followed:create or replace view groupview asselect usertable.username,

RE: [tomcat]How to decrypt the DIGEST authentication?

2007-11-01 Thread zhongliang zhang
Thank you very much for all your reply. I think because of the time-zone between us,while I am in China,we do not have the same online time. so I replied late. I will try that way to specify the digest element. thanks a lot. I do not know whether that feature works well with Tomcat 5.5,if so,I

Re: Apache + Tomcat Integration

2007-11-01 Thread Sierra
Hi, I have made the integration work. I did changes to the indexpage of apache (i.e. I included frameset and called my tomcat page) I have removed virtual host from http file and made it simple by inlusind only location.. Location /AjaxSample JkUriSet worker ajp13:127.0.0.1:8009

Usage of ContainerServlet

2007-11-01 Thread Michael
Hi, I am kinda lost here. My goal is to retrieve all session from the Context and purge idle sessions. devel machine: TC 5.5.25, XP SP2, JRE 6.0.3 server machine: TC 5.5.23, HP-UX 11, JRE 5.0.7 I've taken a look in to the source manager app and noticed, it has to implement the

Re: Usage of ContainerServlet

2007-11-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael, Michael wrote: I am kinda lost here. My goal is to retrieve all session from the Context and purge idle sessions. May I ask why Tomcat's built-in session-purging capability is not sufficient? - -chris -BEGIN PGP SIGNATURE-

Re: Tomcat connections not closing.

2007-11-01 Thread Martin Gainty
Mike- I would strongly suggest use of Version Control for archiving your configuration files server.xml/web.xml and context.xml, catalina.policy, logging.properties, workers.properties, tomcat-users.xml In the case of axis you want to archive axis2.xml/services.xml/modules.xml/services In the

RE: CLASSPATH, .jar files, packages, and so forth

2007-11-01 Thread Mann, Ivan H
Yes, I am using applets. Why fight the way its meant to be packaged So, is there a link somewhere that tells the ways it's meant to be packaged? I took out all of the CLASSPATH setting that I done, I moved the .jar file to the webapps/app directory, and it still doesn't work. How do I

Keystore problems connecting external service

2007-11-01 Thread fsa3
Hi, In my servlet code I'm using axis to call out to a web service that requires SSL. I created a jssecacerts file. On my dev box I copied the file into the $JAVA_HOME/lib/security/cacerts file, all is well. On my real system I cannot do that since it is a shared Java install. So instead I

When will a servlet be un loaded

2007-11-01 Thread Uma Kalluru
Hi, If I specify a servlet to load-on-start, when will the container unload this servlet? Does the container un-load the servlet when the Servlet has no incoming requests? If I need the servlet to be unloaded only when the container stops, how do I do this? Thanks Uma

Re: CLASSPATH, .jar files, packages, and so forth

2007-11-01 Thread David Smith
The servlet spec describes how webapps are supposed to be layed out. The general layout template in tomcat is |tomcat_home | webapps |webapp1 | WEB-INF (note this must be all caps and case IS important) |classes (where to put non-jarred class files) |lib (where to put

Re: Usage of ContainerServlet

2007-11-01 Thread sgfan
Michael wrote: I am kinda lost here. My goal is to retrieve all session from the Context and purge idle sessions. May I ask why Tomcat's built-in session-purging capability is not sufficient? Which one do you refer to exactly? Are you talking about session timeout? A timeout is set

RE: CLASSPATH, .jar files, packages, and so forth

2007-11-01 Thread Caldarale, Charles R
From: Mann, Ivan H [mailto:[EMAIL PROTECTED] Subject: RE: CLASSPATH, .jar files, packages, and so forth So, is there a link somewhere that tells the ways it's meant to be packaged? As we told you before - read the servlet spec:

RE: When will a servlet be un loaded

2007-11-01 Thread Caldarale, Charles R
From: Uma Kalluru [mailto:[EMAIL PROTECTED] Subject: When will a servlet be un loaded If I specify a servlet to load-on-start, when will the container unload this servlet? Never, unless the application is stopped or undeployed by a manager operation. - Chuck THIS COMMUNICATION MAY

Re: CLASSPATH, .jar files, packages, and so forth

2007-11-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ivan, Mann, Ivan H wrote: Yes, I am using applets. Why fight the way its meant to be packaged So, is there a link somewhere that tells the ways it's meant to be packaged? Applets ought to be packaged into a normal JAR file. Johnny is

Re: When will a servlet be un loaded

2007-11-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Uma, Uma Kalluru wrote: If I specify a servlet to load-on-start, when will the container unload this servlet? Does the container un-load the servlet when the Servlet has no incoming requests? I don't believe there's any standard behavior

Re: Usage of ContainerServlet

2007-11-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike, [EMAIL PROTECTED] wrote: Michael wrote: My goal is to retrieve all session from the Context and purge idle sessions. May I ask why Tomcat's built-in session-purging capability is not sufficient? Which one do you refer to exactly? Are

RE: CLASSPATH, .jar files, packages, and so forth

2007-11-01 Thread Larry Isaacs
Classes downloaded to the client browser for execution is just static content as far as Tomcat is concerned. Modifying the server's or webapp's classpath isn't going to make any difference. It's the client browser's classpath that needs adjusting to use the jar. This means modifying the HTML

RE: CLASSPATH, .jar files, packages, and so forth

2007-11-01 Thread Mann, Ivan H
Not being able to find the class may mean that it can't find the jar file and it may mean that it can find the jar file but the package and or directory is not done right. The read/write permission on the jar file is 777, so I know that it can read the jar file if it can find it. The applet

Re: Usage of ContainerServlet

2007-11-01 Thread Wizard of OS
Hi Christopher, Mike, A timeout is set but I want to purge all session for the same IP which are older than the most current session. Are you observing a lot of sessions being created by a single remote client? How many? 2 or 3, or 100 or so? What is your session timeout? How much

RE: CLASSPATH, .jar files, packages, and so forth

2007-11-01 Thread Mann, Ivan H
As we discovered earlier this morning, it is an applet question, not a servlet question. I looked in this spec and did not find any mention of applets, which is not surprising since it is the servlet spec. Is there an applet spec? Ivan Mann -Original Message- From: Caldarale,

Re: CLASSPATH, .jar files, packages, and so forth

2007-11-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ivan, Mann, Ivan H wrote: Not being able to find the class may mean that it can't find the jar file and it may mean that it can find the jar file but the package and or directory is not done right. Probably. The applet specified here appears in

Re: CLASSPATH, .jar files, packages, and so forth

2007-11-01 Thread Gabe Wong
Mann, Ivan H wrote: As we discovered earlier this morning, it is an applet question, not a servlet question. I looked in this spec and did not find any mention of applets, which is not surprising since it is the servlet spec. Is there an applet spec? Follow this link:

Re: CLASSPATH, .jar files, packages, and so forth

2007-11-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ivan, Mann, Ivan H wrote: Not being able to find the class may mean that it can't find the jar file and it may mean that it can find the jar file but the package and or directory is not done right. Probably. The applet specified here appears in

Re: Usage of ContainerServlet

2007-11-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike, Wizard of OS wrote: During a day we have several hundred users which could produce 15-20 session per user. Ouch. Session timeout is set to 11 hours which is part of work contract limitations. OUCH! This can't be changed. Every session

Re: Usage of ContainerServlet

2007-11-01 Thread Michael
Christopher Schultz wrote: [...] So, you have several options. My personal recommendation (and the only option I'll cover) is a do-it-yourself approach. Working with Tomcat internals is tedious and you are likely to lock yourself into a particular version of Tomcat because the APIs are not

Re: Usage of ContainerServlet

2007-11-01 Thread Michael
Addition: Still I'd like to know which mistake I have done?! Mike -- NO OOXML - Say NO To Microsoft Office broken standard http://www.noooxml.org - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail:

Tomcat 6 log files missing

2007-11-01 Thread Daryl Handley
I have recently set up tomcat 6 on my windows box. Usually when I set up a new tomcat instance, log files (catalina.*, manager,*. admin.*, ) are automatically created in TOMCAT_HOME/logs. In this case they are not. I have read the documentation here,

Re: Tomcat 6 log files missing

2007-11-01 Thread Daryl Handley
Daryl Handley wrote: I have recently set up tomcat 6 on my windows box snip Nevermind, it was because I was running the sysdeo plugin from eclipse. When I started it from the command line, logging goes to where expect (except for my jsp error). -- View this message in context:

Re: Usage of ContainerServlet

2007-11-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike, Michael wrote: Addition: Still I'd like to know which mistake I have done?! Sorry, I can't help you with that. I stay away from Tomcat internals pretty much at all costs. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7

web application being removed out of Tomcat

2007-11-01 Thread Victor Huang
Hi, I have Tomact 5.5 and Apache2.2 installed on Debian Linux. Everything seems to be working fine after installation and configuration done - I use JK connector to connect Apache and Tomcat, there are 2 applications running in Tomcat - manager and my own web app. I can use Tomcat Manager to

HTTPS from remote client

2007-11-01 Thread banderson
I have a self-signed certificate (generated with keytool -genkey -alias tomcat -keyalg RSA) and modified my server.xml file to uncomment the connector on port 8443. After restarting tomcat, I can access https://localhost:8443 no problem, but when I try to reach it from a remote computer, it

RE: web application being removed out of Tomcat

2007-11-01 Thread Caldarale, Charles R
From: Victor Huang [mailto:[EMAIL PROTECTED] Subject: web application being removed out of Tomcat For some reason my own web app has been removed from Tomcat automatically after running a certain time period (30 minutes or so), Have you examined the Tomcat logs for any anomalies? -

RE: CLASSPATH, .jar files, packages, and so forth

2007-11-01 Thread Mann, Ivan H
Oops. I mistyped one item. Everything is in webapps/appl. By now it doesn't matter, because it is working. Thanks to whomever it was that provided the example. Ivan Mann -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Thursday, November 01, 2007

RE: HTTPS from remote client

2007-11-01 Thread Caldarale, Charles R
From: banderson [mailto:[EMAIL PROTECTED] Subject: HTTPS from remote client when I try to reach it from a remote computer, it times out. Please let me know what I am missing. A firewall between the remote computer and Tomcat? Unless you've allowed port 8443 to go through, a timeout

What do I do with a heap dump? (OOM Permgen)

2007-11-01 Thread Greg Vilardi
Hello everyone. My team and I are trying to develop a new web application and the tomcat JVM is crashing every few days. We are deploying our separate versions of the application several times per hour, and by looking at jprobe, I see that each deployment of a webapp consumes 440kb of

Re: What do I do with a heap dump? (OOM Permgen)

2007-11-01 Thread Filip Hanik - Dev Lists
www.yourkit.com works, and I'm sure there are others Filip Greg Vilardi wrote: Hello everyone. My team and I are trying to develop a new web application and the tomcat JVM is crashing every few days. We are deploying our separate versions of the application several times per hour, and by

RE: [tomcat]How to decrypt the DIGEST authentication?

2007-11-01 Thread zhongliang zhang
Hi,Mark, I have to turn to you again. I encounter the problem with configuring the Digested-Password in the JDBCRealm. The JDBCRealm fragment of the $TOMCAT_HOME/conf/server.xml is shown as followed: Realm className=org.apache.catalina.realm.JDBCRealm driverName=com.mysql.jdbc.Driver

Trying to use the juli Loggers within Tomcat

2007-11-01 Thread Albretch Mueller
Hi, ~ all I need is going like this from within a servlet ~ Logger Lg = LoggerFactory.getLogger(); Lg.log(blah); ~ I am able to attach a logger to a webapp but I don't know how to use loggers to occassionally debug servlets and I couldn't find anything when I searched for it ~ How

Re: Can't Modify or Delete Files Running Tomcat on Vista

2007-11-01 Thread Gabe Wong
Jenna wrote: Hi, I'm pretty new to Tomcat and I just installed it on my Windows Vista machine using the Windows installer. I did the same thing on my XP machine previously and had no problems. I am able to start Tomcat and run my applications, however, I am not able to modify or delete any of

Re: What do I do with a heap dump? (OOM Permgen)

2007-11-01 Thread Gabe Wong
Greg Vilardi wrote: Hello everyone. My team and I are trying to develop a new web application and the tomcat JVM is crashing every few days. We are deploying our separate versions of the application several times per hour, and by looking at Please elaborate, are you undeploying the same

Re: Usage of ContainerServlet

2007-11-01 Thread Bill Barker
Michael [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Addition: Still I'd like to know which mistake I have done?! I'm guessing that your context isn't privileged and/or you have copied ContainerServlet to someplace where it isn't in the same classloader as server/lib.

Can't Modify or Delete Files Running Tomcat on Vista

2007-11-01 Thread Jenna
Hi, I'm pretty new to Tomcat and I just installed it on my Windows Vista machine using the Windows installer. I did the same thing on my XP machine previously and had no problems. I am able to start Tomcat and run my applications, however, I am not able to modify or delete any of the files in

Has anyone managed to run TC from a CD?

2007-11-01 Thread Albretch Mueller
I did a quick first try at it and the webapps and loggers can be simply and declaratively branced off in server.xml and the logging.properties files, but the work directory would invariably appear ~ The relatively minor thing I stumble on was changing the scratchdir setting for the work folder

Re: Trying to use the juli Loggers within Tomcat

2007-11-01 Thread Albretch Mueller
where foo in: ~ java.util.logging.Logger juliLogger = java.util.logging.Logger.getLogger(foo); ~ is one the name of one of the loggers your defined in the logging.properties file in the webapp right? ~ Where could I find more detailed info on this? ~ I stopped using TC some time ago and now

Re: Can't Modify or Delete Files Running Tomcat on Vista

2007-11-01 Thread Jenna
Thank you so much Gabe, that solved my problem. Jenna - Original Message - From: Gabe Wong [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, November 01, 2007 9:48 PM Subject: Re: Can't Modify or Delete Files Running Tomcat on Vista Jenna wrote: Hi,