Re: zorgalina@springmail.com
Dear vaneet, I tried your page; it is indeed redirected to the correct url (miscexport.servepics.com) however, IE says 'Action cancelled' the page is temporarily unavailable. I only meant that if you want this app to be the default and serve on port 80, you could modify server.xml to configure that. Sorry to confuse the issue. What is your 'welcome' page ( in web.xml )for this app? Do you have any static pages, like 'test.html', in your application's doc base, try to browse to that. You say you browse to your page on the machine that Tomcat's running on and the page loads, but it seems there's a problem loading the page, whatever it is. -Original Message- From: [EMAIL PROTECTED] Sent: Sep 24, 2004 4:41 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: [EMAIL PROTECTED] Dear zorgalina, I am able to run the webapp at home i.e. locally. Tomcat 5.0 is running fine and i can see my webapps loading and working fine. My domain name: http://www.export4u.co.uk (redirected to micsexport.servepics.com ) opens locally. i can see it redirecting to serve pics on status bar. the server: micsexport.servepics.com is pinging very well. However, when i try to load the site from internet cafe / outside my local system, It is not loading what configuration is needed in server.xml. can u tell me Regards Vaneet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
not display Tomcat Console
Hi, I'm worried because when I start up my Tomcat5 in the Tomcat console appear nothing. It's clear. Before, It Appeared with initalize messages. I donĀ“t know if I've any configuration... How can It be possible? Can I restore it? Thank you! --- Regards, Dani - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Thread dump for Windows Service
Hello Robert, Yes it exists a realy good way to got controlled Threadumps. Install your Tomcat with Java Service Wrapper and activate the Wrapper JMX Bean with a operation to create a threaddump and reload the complete server. Links: Wrapper http://wrapper.tanukisoftware.org/doc/english/index.html http://wrapper.tanukisoftware.org/doc/english/jmx.html Centaurus Platform ( Full featured Tomcat Hosting Bundle) http://centaurus.sourceforge.net/ My Windows Example: http://tomcat.objektpark.org/examples/04_09_tomcat_example.zip regards Peter Robert Herold schrieb: I've installed tomcat as a Windows service. Is there any way to trigger the JVM to produce a thread dump? I understand how to do so when Tomcat is run in a console window (cntl-break), but in this case it has to be run as a service. Thanks for any pointers... -- bob -- Robert Herold [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- J2EE Systemarchitekt und Tomcat Experte http://objektpark.de/ http://www.webapp.de/ Am Josephsschacht 72, 44879 Bochum, Deutschland Telefon: (49) 234 9413228 Mobil:(49) 175 1660884 E-Mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: jndi problem
hi, i tested with the jar files as mentioned in the mail. I am getting null datasource. i did the following: - Realm className=org.apache.catalina.realm.UserDatabaseRealm debug=0 resourceName=UserDatabase/ DefaultContext Resource name=testDataSource.../ /ResourceParams ... ... /ResourceParams host ... /host -- CAN NEBODY WHO HAS USED CONNECTION POOLING WITH TOMCAT AND MYSQL ELABORATE THE PROCEDURE END-TO-END. I SHALL BE REALLY THANKFUL. thanks On Thu, 23 Sep 2004 17:50:50 +0300, ALPER AYKAC [EMAIL PROTECTED] wrote: hi, I have not tested yet but some Jen (Caroline Jen [EMAIL PROTECTED]) proposed a solution. Steps are below: note: if you test please forward your reply to [EMAIL PROTECTED] Step 1. DBCP uses the Jakarta-Commons Database Connection Pool. It relies on number of Jakarta-Commons componenets: Jakarta-Commons DBCP 1.2.1 Jakarta-Commons Collections 2.1.1 Jakarta-Commons Pool 1.2 These jar files along with your the jar file for your JDBC driver should be installed in $CATALINA_HOME/common/lib. NOTE:Third Party drivers should be in jarfiles, not zipfiles. Tomcat only adds $CATALINA_HOME/common/lib/*.jar to the classpath. Step 2. download the most up-to-date version of the classes12.zip rename it to classes12.jar http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm and place it in TOMCAT_HOME\common\lib Step 3. check the read and execute access to the classes12.jar file (by right-click on the file and look for 'properties') Step 4. C:\jakarta-tomcat-5.0.27\conf\server.xml configuration Note: I added the following code in between the realm .../ element and the Host element. DefaultContext Resource name=jdbc/OracleDB auth=Container type=javax.sql.DataSource/ ResourceParams name=jdbc/OracleDB parameter namefactory/name valueorg.apache.commons.dbcp.BasicDataSourceFactory/value /parameter parameter namemaxWait/name value-1/value /parameter parameter namemaxActive/name value20/value /parameter parameter namepassword/name valueyour password/value /parameter parameter nameurl/name valuejdbc:oracle:thin:@172.19.47.22:1521:SystemID/value /parameter parameter namedriverClassName/name valueoracle.jdbc.driver.OracleDriver/value /parameter parameter namemaxIdle/name value10/value /parameter parameter nameusername/name valueyour username/value /parameter parameter nameremoveAbandoned/name valuetrue/value /parameter parameter nameremoveAbandonedTimeout/name value60/value /parameter parameter namelogAbandoned/name valuetrue/value /parameter /ResourceParams /DefaultContext Step 5. web.xml Configuration (the one in MyApp/WEB-INF directory) add these lines after the taglib element yi almalar Alper AYKA Uzman Mh. Telsim Mobil Telekomnikasyon Hizmetleri A.. Projeler Mdrl Tel.0212 4487239 Dahili: 7239 Cep. 05423877659 VPN: 6928 |-+ | | Atishay Kumar| | | [EMAIL PROTECTED]| | | ail.com | | || | | 23.09.2004 17:43 | | | Please respond to| | | Atishay Kumar| |-+ --| | | | To: ALPER AYKAC [EMAIL PROTECTED] | | cc: Tomcat Users List [EMAIL PROTECTED] | | Subject: Re: jndi problem | --| hi, i solved no DataSource problem. i was putting Resource ../Resource under a context that i had created. now i have it under host tag. i am getting org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' -- now i am using mysql-connector-java-3.0.15-ga-bin.jar commons-collections.jar commons-dbcp-1.2.1.jar commons-pool-1.1.jar commons-logging-api.jar -- tomcat 4.1.30 mysql 2.23.58-9
Re: zorgalina@springmail.com
Also, make sure you haven't got a firewall issue on micsexport.servepics.com; that would explain that you can browse to it locally but not externally. It allows port 80, or whatever, right? -Original Message- From: [EMAIL PROTECTED] Sent: Sep 24, 2004 4:41 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: [EMAIL PROTECTED] Dear zorgalina, I am able to run the webapp at home i.e. locally. Tomcat 5.0 is running fine and i can see my webapps loading and working fine. My domain name: http://www.export4u.co.uk (redirected to micsexport.servepics.com ) opens locally. i can see it redirecting to serve pics on status bar. the server: micsexport.servepics.com is pinging very well. However, when i try to load the site from internet cafe / outside my local system, It is not loading what configuration is needed in server.xml. can u tell me Regards Vaneet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
webdav servlet file path; documentation
I just stumbled upon the Tomcat webdav servlet, which *almost* meets all my needs. 1. Is there some more complete documentation somewhere? By default the servlet accesses the file system inside the web context. (That is, a servlet mapped to /context/webapp/* will show files in /context/webapp/ .) 2. What happens when I deploy my webapp as a .war---surely webdav methods won't modify the contents of the .war, will they? 3. How do I map the servlet to an absolute file on the server machine? The need for this is obvious in relation to the second question---I'd like to deploy my web application (the code in the .war) independently of the webdav-accessible documents (the data). 4. I'm sure I'll get into this once I get more documentation, but where should I start looking regarding implementing custom security methods? That is, rather than defining static users and passwords, I'd like my web application to dynamically validate all webdav accesses. Thanks, Garret - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: webdav servlet file path; documentation
Garret Wilson wrote: By default the servlet accesses the file system inside the web context. (That is, a servlet mapped to /context/webapp/* will show files in /context/webapp/ .) Ack! Apparently the servlet will allow access to files in /context/ , which is much worse? 3. How do I map the servlet to an absolute file on the server machine? (I meant directory of course.) This question is even more important, now... Garret - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
New bies
I have a few questions here. I am running tomcat 5 on my windows 98. It goes like this, I had deleted the index.jsp but how come i still able to view the index.jsp when i type http://locahost:8080? And i tried placing a index.html into the root directory but it can't load the images! Can anyone please help me with this? Thanks = Lau Siang Loon alt. mail = [EMAIL PROTECTED] http://sg.geocities.com/hbklau __ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New bies
go tomcat root directory-work-localhost and the find the appropriate directory which contains the file u r trying to open. delete it and try again. it should work. also did u try ctrl+F5 to refresh. On Sat, 25 Sep 2004 21:44:20 -0700 (PDT), hbklau [EMAIL PROTECTED] wrote: I have a few questions here. I am running tomcat 5 on my windows 98. It goes like this, I had deleted the index.jsp but how come i still able to view the index.jsp when i type http://locahost:8080? And i tried placing a index.html into the root directory but it can't load the images! Can anyone please help me with this? Thanks = Lau Siang Loon alt. mail = [EMAIL PROTECTED] http://sg.geocities.com/hbklau __ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- :) Atishay Kumar Btech, SEM VII DA-IICT Gandhinagar - 382009 India ph: +91 9825383948 / * Learn the rules as you would need them to break them properly * / - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New bies
Sorry, I still don't get it. Maybe my message is not clear and lead to some misunderstanding. I had deleted the original index.jsp from tomcat root\webapps\ root. But when i type http://get2gether.mine.nu:8080 . I still got back the original index.jsp which i had deleted earlier. I tried your solution but i can't find any file except with a file name called tldCache.ser . Sorry if I have confused. Thanks again. --- Atishay Kumar [EMAIL PROTECTED] wrote: go tomcat root directory-work-localhost and the find the appropriate directory which contains the file u r trying to open. delete it and try again. it should work. also did u try ctrl+F5 to refresh. On Sat, 25 Sep 2004 21:44:20 -0700 (PDT), hbklau [EMAIL PROTECTED] wrote: I have a few questions here. I am running tomcat 5 on my windows 98. It goes like this, I had deleted the index.jsp but how come i still able to view the index.jsp when i type http://locahost:8080? And i tried placing a index.html into the root directory but it can't load the images! Can anyone please help me with this? Thanks = Lau Siang Loon alt. mail = [EMAIL PROTECTED] http://sg.geocities.com/hbklau __ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- :) Atishay Kumar Btech, SEM VII DA-IICT Gandhinagar - 382009 India ph: +91 9825383948 / * Learn the rules as you would need them to break them properly * / - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] = Lau Siang Loon alt. mail = [EMAIL PROTECTED] http://sg.geocities.com/hbklau __ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New bies
On Sat, Sep 25, 2004 at 09:44:20PM -0700, hbklau wrote: : I have a few questions here. I am running tomcat 5 on my windows 98. It goes : like this, I had deleted the index.jsp but how come i still able to view the : index.jsp when i type http://locahost:8080? Sounds like you tried to customize one of the demo apps. This usually isn't a good idea, since those JSPs come precompiled and are thus hard-mapped as servlets in web.xml. You want to start from scratch. Follow the instructions on the Tomcat website for first webapp or something of that nature. For the Tomcat developers: is there a need for a blank sample webapp, for which JSPs aren't precompiled and users can directly tweak? (This app may already exist; I've never poked through the demos.) I volunteer to create one. That should reduce confusion with the newer users and trim list traffic accordingly. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New bies
Hello, also it would be great if they can give some information where and how to place jsp pages if somebody want to use Tomcat with Apache. I figure it out by myself after some hours of learning basics of JSP. But tell the truth I never seen clear instructions how exactly newbie can deploy the page or application. All books starts from HelloWorld.. but there no any word about ROOT, about how to use custom directory under Apache or without it and things like this. I've discovered that the balancers theme also looks like some kind of black magic and not just for me. Sunday, September 26, 2004, 2:21:52 AM, you wrote: On Sat, Sep 25, 2004 at 09:44:20PM -0700, hbklau wrote: : I have a few questions here. I am running tomcat 5 on my windows 98. It goes : like this, I had deleted the index.jsp but how come i still able to view the : index.jsp when i type http://locahost:8080? Sounds like you tried to customize one of the demo apps. This usually isn't a good idea, since those JSPs come precompiled and are thus hard-mapped as servlets in web.xml. You want to start from scratch. Follow the instructions on the Tomcat website for first webapp or something of that nature. For the Tomcat developers: is there a need for a blank sample webapp, for which JSPs aren't precompiled and users can directly tweak? (This app may already exist; I've never poked through the demos.) I volunteer to create one. That should reduce confusion with the newer users and trim list traffic accordingly. -QM -- Best regards, Eugene - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]