Re: errors in deploying war file to tomcat 5.5

2008-08-23 Thread Edoardo Panfili
sam wun ha scritto: Hi, I tried to deploy a war file (built from Eclipse in windows) into tomcat 5.5(in linux). I got the following errors: Aug 24, 2008 12:32:46 PM org.apache.catalina.core.ApplicationContext log INFO: HTMLManager: init: Associated with Deployer

Re: errors in deploying war file to tomcat 5.5

2008-08-23 Thread Edoardo Panfili
Edoardo Panfili ha scritto: sam wun ha scritto: Hi, I tried to deploy a war file (built from Eclipse in windows) into tomcat 5.5(in linux). I got the following errors: Aug 24, 2008 12:32:46 PM org.apache.catalina.core.ApplicationContext log INFO: HTMLManager: init: Associated

Re: question

2008-09-20 Thread Edoardo Panfili
Jojo Nadir ha scritto: Hi everyone, I resolved my first problem: I'm working on Windows XP ( and not Win 98), but I'm a beginner in Tomcat and my problem is that when I compile my servlet class the compiler doesn't find the package javax.servlet.ServletException and javax.servlet.http.*. I

Re: Tomcat on Mac

2005-11-08 Thread Edoardo Panfili
additional information as I have it. I am using jfreechart 0.9.20. The problem for me is with ImageIO, for this reason I report the problem to apple. After all a Java VM crash is not part of the specification... Edoardo Panfili -- [EMAIL PROTECTED] AIM: edoardopn Jabber: [EMAIL PROTECTED] tel

Re: How to create EXE in java

2006-01-08 Thread Edoardo Panfili
kavallappa chiru ha scritto: Hi How can i cretae exe file from java class file , so that i can run java application without running java classfile from the command prompt. I just want click on the icon to run it as we are all doing in windows. You don't need to create an exe file, take a

Re: jsp cannont find my bean class

2006-01-09 Thread Edoardo Panfili
marju jalloh ha scritto: Hi everyone I`m using Tomcat 4.1.* on Linux .All my servlet and jsp work fine including the interaction with mysql database. Now I want to test a simple Bean but my jsp cannont find the Bean. Where to place the jsp file? How to direct the jsp file where

Re: Postgresql and JNDI Datasource

2006-01-24 Thread Edoardo Panfili
torben ha scritto: I am trying to define a global JDBC datasource, where the database is Postgresql (version 7.3) ni Tomcat version 5.5.15. I have strictly followed the example in http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html, but it does not work if I define

Re: Tomcat mod_jk on WhiteboxEL ??

2006-01-25 Thread Edoardo Panfili
Olav Drageset ha scritto: Hello I am new to Tomcat and just installed Tomcat5.5 on whiteboxEL4 and get proper result when using http://localhost:8080 However browsing from another host on the same local network only hangs the browser when using the right IP-number. Should this work? Is there

regarding HttpSession

2006-01-29 Thread Edoardo Panfili
. Thanks in advance Edoardo Panfili -- [EMAIL PROTECTED] AIM: edoardopn Jabber: [EMAIL PROTECTED] tel:075 9142766 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

replacement for XDoclet?

2007-11-08 Thread Edoardo Panfili
Hi, I am using Xdoclet 1.2.3 for web.xml generation. Now I am starting to use java5 annotations and seems that Xdoclet dislikes annotations. Are there other tools for web.xml generation? I can't find solutions searching on the net. Can I use annotaions as a partial replacement of web.xml? thank

Re: 8080 only works on localhost

2008-03-10 Thread Edoardo Panfili
banderson ha scritto: I have an application running on tomcat 5.5 and I can access it no problem from http://localhost:8080. However, when I use another computer to try and connect via IP address (192.168.1.2:8080), the browser states that it can't establish a connection. Any ideas what I

Re: SMTP

2007-07-13 Thread Edoardo Panfili
Mike Peremsky ha scritto: Does anything special need to be set up on my local machine (Windows XP) to get SMTP working with Tomcat and JavaMail? Mike I am using java mail, I have two jars in the tomcat lib directory: mail.jar activation.jar take a look at

Re: Read and write inside WEB-INF

2007-07-14 Thread Edoardo Panfili
Jacob Rhoden ha scritto: Hi, I have seen a few apps do this now and I would like to do it, to have a configure page that read and writes a properties file somewhere inside the WEB-INF directory. That said, I have been researching and cant find out where, what is the correct way to find the

Re: Blank page when installing tomcat in Mac Leopard

2008-05-23 Thread Edoardo Panfili
Christina Tziviskou ha scritto: hi everyone, I recently installed tomcat version 6.0 in mac Leopard. I am using tomcat 6.0.16 with Leopard (... but there is Debian in my future!) After installation, by calling the http://localhost:8080/ page, I get a blank page. No error messages are in the

Re: Blank page when installing tomcat in Mac Leopard

2008-05-23 Thread Edoardo Panfili
Christina Tziviskou ha scritto: Edoardo Panfili wrote: Christina Tziviskou ha scritto: hi everyone, I recently installed tomcat version 6.0 in mac Leopard. I am using tomcat 6.0.16 with Leopard (... but there is Debian in my future!) After installation, by calling the http://localhost:8080

Re: Restart TC with cron/sh

2008-07-07 Thread Edoardo Panfili
Piller Sébastien ha scritto: Hello, I have my application in production for a month now. I've some problem of memory leak that force me to restart TC each few days. I'm trying to automate this operation with a cron that runs a *.sh file. But I don't know how what to write in it. Actually,

Re: Restart TC with cron/sh

2008-07-07 Thread Edoardo Panfili
Piller Sébastien ha scritto: Sorry, I've no tomcat in /etc/init.d/. Are you using linux? if so, what distribution? How do you start Tomcat at startup time? edoardo Edoardo Panfili a écrit : If you are using debian (and other linux versions)maybe /etc/init.d/tomcat restart Edoardo

Re: is it possible more than 1 tomcat in single system?

2008-07-12 Thread Edoardo Panfili
Edi ha scritto: Hello Experts, Is it possible to install more than 1 tomcat in a single system with different ports? Yes, take a look at http://azeditech.com/tomcat/multiple-tomcat-instances.html You can find more informations using Google. Edoardo

Re: Method or function to be executed on tomcat startup

2008-07-18 Thread Edoardo Panfili
Yves Glodt ha scritto: Hello, this is probably a FAQ, but I failed to find ti anyway... Where can I declare a static method that I want to be executed on tomcat or webapp startup? I use this in web.xml servlet descriptionEnv init/description servlet-nameServiziServerInit/servlet-name

Re: example about deploy application from windows eclipse to linux Tomcat

2008-08-03 Thread Edoardo Panfili
Sam Wun ha scritto: Hi, Can anyone link me an example about deploy application from windows eclipse to linux Tomcat? Thanks The target operating system is not so important, I use eclipse on mac and deploy applications on linux. Simply copy the content of WebContent folder in a folder under

Re: A simple question about creating a thread in Tomcat app

2006-02-22 Thread Edoardo Panfili
Artur Rataj ha scritto: Hello! I would like, just after tomcat starts, to create a new thread. Where can I put the code that starts it? I do not want to wait with starting the thread until some servlet is needed. can you use somethings like: servlet servlet-nameServerInit/servlet-name

Re: FAQ: How do I make a Donation to the Tomcat Project?

2006-03-03 Thread Edoardo Panfili
Kaspar von Gunten ha scritto: Hi there We use Tomcat in our own products and would like to make a donation. Is this even possible, since the website doesn't state any means to do so? Keep up the good work, K. von Gunten we used http://www.apache.org/foundation/contributing.html#Paypal I

Re: 404

2006-04-17 Thread Edoardo Panfili
THE FILE EXISTS ! Have you tried http://localhost:8080/ ? or http://localhost:8080/APPLICATION_NAME/index.jsp ? Edoardo Panfili -- [EMAIL PROTECTED] AIM: edoardopn Jabber: [EMAIL PROTECTED] tel:075 9142766 - To unsubscribe, e-mail

Re: 404

2006-04-17 Thread Edoardo Panfili
bugging me is that my server was running fine and I must have changed something somewhere but I don't know what ! If you have some time you can download tomcat from tomcat.apache.org and then use diff to find the differences from the original configuration files. Edoardo Panfili -- [EMAIL PROTECTED

Re: 404

2006-04-17 Thread Edoardo Panfili
/context.xml file /usr/loca/tomcat/webapps/root/WEB-INF/web.xml take a look at logs file in $tomcatHome/logs if something gone wrong during startup you can find details inside this directory. Edoardo Panfili -- [EMAIL PROTECTED] AIM: edoardopn Jabber: [EMAIL PROTECTED] tel:075 9142766

NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Edoardo Panfili
I did some search on google but seems that my situation is not the same I have a very simple webapp, (no lib directory in WEB-INF) in a fresh installation of Tomcat 5.5.17. The only add from me is the postgres jdbc driver postgresql-8.1-405.jdbc3.jar in the $tomcat/common/lib My system is:

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Edoardo Panfili
Marc Farrow wrote: This seems like the classic you are using a java JRE versus a java JDK. I am using jdk1.5.0_06 edoardo -- [EMAIL PROTECTED] AIM: edoardopn Jabber: [EMAIL PROTECTED] tel:075 9142766 - To unsubscribe,

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Edoardo Panfili
Marc Farrow wrote: I do not doubt that. However, depending on what O.S. you are using you need to check your JAVA_HOME environment entry or even windows registry. export JAVA_HOME=/opt/jdk/ (jdk is a simboilik link to the 1.5 jdk folder) Tomcat now says no Class definition found regarding

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Edoardo Panfili
Marc Farrow wrote: It looks like you found the next problems. On your ls command it is not showing the Ricerca class file. So you must be missing resources when you migrated over. On 5/2/06, Edoardo Panfili [EMAIL PROTECTED] wrote: Marc Farrow wrote: I do not doubt that. However

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Edoardo Panfili
Edoardo Panfili wrote: Marc Farrow wrote: there is somethings wrog in my develope/deploy/me system. I'll begin from scratch. After a fresh installation the problem is still here (but not after all restarts). sometimes Tocat throws this exception java.lang.NoClassDefFoundError: javax/servlet

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Edoardo Panfili
Filip Edoardo Panfili wrote: Edoardo Panfili wrote: Marc Farrow wrote: there is somethings wrog in my develope/deploy/me system. I'll begin from scratch. After a fresh installation the problem is still here (but not after all restarts). sometimes Tocat throws this exception

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Edoardo Panfili
is that you forgot to do this export PATH=$JAVA_HOME/bin:$PATH in catalina.sh yes, i forgot this. But, sorry for the question, is it possible that this error causes my problems? thank you Edoardo Filip Edoardo Panfili wrote: Filip Hanik - Dev Lists wrote: try running a different VM, like

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Edoardo Panfili
Edoardo Panfili wrote: Filip Hanik - Dev Lists wrote: if you are running the Sun VM, why is this in your stack trace? at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0) The stack is the one that Tomcat has print before the remove of gcj. But the error is still here also after

BASEDIR problem

2006-05-23 Thread Edoardo Panfili
hy, I did an upgrade from 5.5.12 to 5.5.17 now I can't start the server -- # bin/catalina.sh start The BASEDIR environment variable is not defined correctly This environment variable is needed to run this program -- - # uname -a Darwin

Re: BASEDIR problem [solved]

2006-05-23 Thread Edoardo Panfili
Edoardo Panfili wrote: hy, I did an upgrade from 5.5.12 to 5.5.17 now I can't start the server -- # bin/catalina.sh start The BASEDIR environment variable is not defined correctly This environment variable is needed to run this program

Re: Advice me

2006-05-27 Thread Edoardo Panfili
[EMAIL PROTECTED] wrote: My problem that i want to send a massage to my servlet which is running in Tocat5.5.17 using a client that open a socket connection at 8080 usingTCP/IP connection ? how i can do that ? I have a group of servelet configured in a Context. To do that you neet to read some

Re: haaving trouble html in tomcat 5.5.20

2006-11-01 Thread Edoardo Panfili
Zeina Aoun ha scritto: I am having trouble with html in tomcat. I am using the Apache Tomcat 5.5.20 Server The problem is hard to describe. I am trying to enable some video clip files to be downloaded by users, but unfortunatley instead of downloading it opens up the garbage text on the

Re: Could a bad servlet initializtion stop tomcat?

2006-11-03 Thread Edoardo Panfili
Yaar Schnitman ha scritto: Is there a way to make the failure of a single servlet's initialization stop the initialization of the other servlets, or even stop tomcat with an error? I can't reproduce always the error but some time ago I had a servlet that builds a bitmap (Mac OS X, Tomcat

Re: haaving trouble html in tomcat 5.5.20

2006-11-03 Thread Edoardo Panfili
Edoardo Panfili ha scritto: Zeina Aoun ha scritto: I am having trouble with html in tomcat. I am using the Apache Tomcat 5.5.20 Server The problem is hard to describe. I am trying to enable some video clip files to be downloaded by users, but unfortunatley instead of downloading it opens up

Re: Why is ROOT appended?

2006-11-13 Thread Edoardo Panfili
D. Alvarado ha scritto: Ok, let me ask another question. If I want to change the directory to where I put JSP files that I don't want to package into a WAR, to say, /usr/local/apache2/htdocs, how do I do that? take a look at http://tomcat.apache.org/tomcat-5.5-doc/config/host.html you can

Re: Tomcat VS JBOSS

2006-11-13 Thread Edoardo Panfili
Ernie Ho ha scritto: Hi, could anyone out there highlight some major differences between Tomcat and JBOSS? In particular, Tomcat is an app server with a built-in web (HTTP) server; does JBOSS require an external webserver to run its web applications ? Jboss is an application server

Re: How do I print out line of code that caused the error?

2006-11-28 Thread Edoardo Panfili
D. Alvarado ha scritto: Hi, I'm using Tomcat 5.5 with Apache 2. Upon getting jsp compilation errors, I'm not told any inofrmation about the code the causaed the error and the line printed is incorrect. What do I need to configure to correct this? For example, this page below: %@ page

Re: how to get rid of error message? config file?

2006-11-28 Thread Edoardo Panfili
John john ha scritto: Hi, When there is a problem in my jsp file, Tomcat displays an Etat HTTP 500 - with the exception that caused the problem. Is there a way to avoid this message and display my own message like We're sorry but we're facing a problem, please contact me at ... You can

Re: [tomcat 5.0] - DBCP pooling vs sharing a single open connection

2006-12-11 Thread Edoardo Panfili
Ran wrote: Hi all, How does DBCP compare to application managed, single connection which stays open to share ? Do you realy need only one connection? If you need more than one connection you must manage something like a connection pool. DBCP can help you also in application debug (logging

Re: UTF-8

2009-01-06 Thread Edoardo Panfili
Il 6-01-2009 17:14, l...@informatik.uni-hamburg.de ha scritto: could you please give me a hint how my jsp pages can be viewed in UTF-8. I use %@ page language=java contentType=text/html; charset=UTF-8 pageEncoding=UTF-8% at the top of the page Edoardo

Re: Super newbie - Install on Apple 10.5.6 w/macports not quite working

2009-01-19 Thread Edoardo Panfili
gbhumphrey ha scritto: Hi all, I've used macports to install tomcat6, and when I go to localhost:8080, I see the welcome the page. However severl things I think are odd are happening: 1) The files are all read-only - I have to change the perms on the tomcat6/webapps/ROOT/index.html to edit it.

How to close open connections after application stop?

2009-02-22 Thread Edoardo Panfili
Hy, I have one webapp in Tomcat 6.0.18 with this context: Context path=/myApp docBase=myApp debug=100 reloadable=true Resource name=jdbc/myApp auth=Container type=javax.sql.DataSource maxActive=8 maxIdle=5 maxWait=300 username=myApp password=passwd

Re: How to close open connections after application stop?

2009-02-22 Thread Edoardo Panfili
Mark Thomas ha scritto: Edoardo Panfili wrote: Hy, I have one webapp in Tomcat 6.0.18 with this context: Context path=/myApp docBase=myApp debug=100 reloadable=true Resource name=jdbc/myApp auth=Container type=javax.sql.DataSource maxActive=8 maxIdle=5 maxWait=300 username

Re: How to close open connections after application stop?

2009-02-22 Thread Edoardo Panfili
Edoardo Panfili ha scritto: Mark Thomas ha scritto: Edoardo Panfili wrote: Hy, I have one webapp in Tomcat 6.0.18 with this context: Context path=/myApp docBase=myApp debug=100 reloadable=true Resource name=jdbc/myApp auth=Container type=javax.sql.DataSource maxActive=8 maxIdle

Re: How to close open connections after application stop?

2009-02-22 Thread Edoardo Panfili
Martin Gainty ha scritto: javax.sql.DataSource dataSource ; java.sql.Connection connection; java.sql.Statement statement; java.sqlResultset resultSet; code.. try{ connection = dataSource.getConnection(); statement = connection.prepareStatement(SELECT FU FROM BAR);

Re: How to close open connections after application stop?

2009-02-22 Thread Edoardo Panfili
Alan Chaney ha scritto: Edoardo wrote I have resultset.close(); statement.close(); connection.close(); in my code. and connection = dataSource.getConnection(); seems very close to my ambiente = (Context) new InitialContext().lookup(java:comp/env); pool = (DataSource)

Re: How to close open connections after application stop?

2009-02-22 Thread Edoardo Panfili
Alan Chaney ha scritto: I don't think so. Let me recap your problem: When you undeploy an application from tomcat (using the DBCP pooling mechanism) you can't make STRUCTURAL changes to the database because it complains that connections are still in use. This is exactly what one would

Re: How to close open connections after application stop?

2009-02-22 Thread Edoardo Panfili
Mark Thomas ha scritto: Edoardo Panfili wrote: Using this code in destroy() method of a servlet marked as load-on-startup1/load-on-startup Yep - that is the sort of code you'd need. Using a context listener would be a better solution as Tomcat is free to call destroy() on your Servlet

Re: Fwd: J2EE on Mac

2009-02-22 Thread Edoardo Panfili
Mighty Tornado ha scritto: Hi, I installed Tomcat on my mac OS X and it's running. I also have Eclipse Europa. Now I don't think I have J2EE installed - How do I do it? You can download different eclipse packages, Eclipse IDE for Java EE Developers is more comfortable. I went to Sun's

Re: Fwd: J2EE on Mac

2009-02-22 Thread Edoardo Panfili
Mighty Tornado ha scritto: Hi, I installed Tomcat on my mac OS X and it's running. I also have Eclipse Europa. Now I don't think I have J2EE installed - How do I do it? You can download different eclipse packages, Eclipse IDE for Java EE Developers is more comfortable. I went to Sun's

Re: tomcat database connection pool

2009-03-13 Thread Edoardo Panfili
Il 13-03-2009 22:37, Carol Cheung ha scritto: Hi, In tomcat 5.5, the database connection pool associated with my application does not seem to shutdown when I undeploy the application. All the postgres processes are still in existence. (ps -ef | grep postgres) Can anyone provide some insight as

can I use org.apache.tomcat.dbcp.dbcp.BasicDataSource ?

2009-03-23 Thread Edoardo Panfili
Hy, can I use org.apache.tomcat.dbcp.dbcp.BasicDataSource in place of org.apache.commons.dbcp.BasicDataSource? If yes I can avoid to put commons-pool and commons-dbcp in my webapp lib folder. Looking at Tomcat build.xml seems that the two names refers to the same thing. thank you Edoardo

Re: can I use org.apache.tomcat.dbcp.dbcp.BasicDataSource ?

2009-03-23 Thread Edoardo Panfili
On 23-03-2009 22:42, Caldarale, Charles R wrote: From: Edoardo Panfili [mailto:edoa...@aspix.it] Subject: can I use org.apache.tomcat.dbcp.dbcp.BasicDataSource ? can I use org.apache.tomcat.dbcp.dbcp.BasicDataSource in place of org.apache.commons.dbcp.BasicDataSource? You do that by letting

Re: can I use org.apache.tomcat.dbcp.dbcp.BasicDataSource ?

2009-03-23 Thread Edoardo Panfili
Caldarale, Charles R ha scritto: From: Edoardo Panfili [mailto:edoa...@aspix.it] Subject: Re: can I use org.apache.tomcat.dbcp.dbcp.BasicDataSource ? I am using opejpa and it seems to need an explicit connection-pool. I have no experience with OpenJPA, but I would caution against direct use

Re: can I use org.apache.tomcat.dbcp.dbcp.BasicDataSource ?

2009-03-24 Thread Edoardo Panfili
application with dbcp jars is more portable (not a project requisite yet). All more theoretical than practical. thank you again Edoardo http://tomcat.apache.org/dev/dist/jdbc-pool/1.0-beta/ Filip Edoardo Panfili wrote: Hy, can I use org.apache.tomcat.dbcp.dbcp.BasicDataSource in place

Re: tomcat startup problem

2006-06-29 Thread Edoardo Panfili
IMRANKHAN ha scritto: I am facing problem regarding tomcat startup. I started tomcat, from its log file it seems that tomcat server is running successfully but i can't browse the tomcat homepage that is http://206.225.93.187:8180(tomcat index page) says page can't be displayed. sorry for my

Unknown attribute type (String) for attribute folder.

2006-08-11 Thread Edoardo Panfili
hi, I have a custom tag that seems not work as I need. I need th use the tag with a parameter that I know only at run time. For this reason I put rtexprvaluetrue/rtexprvalue in the tag description. When I use the tag Tomcat (5.5.17) raises that exception: 11-ago-2006 10.55.47

Re: Unknown attribute type (String) for attribute folder.

2006-08-11 Thread Edoardo Panfili
Pid ha scritto: java.lang.String, not String it works (obviously) thanks a lot. Edoardo Edoardo Panfili wrote: hi, I have a custom tag that seems not work as I need. I need th use the tag with a parameter that I know only at run time. For this reason I put rtexprvaluetrue/rtexprvalue

Re: Can't assign requested address error

2006-08-17 Thread Edoardo Panfili
Biernesser, Beth ha scritto: I'm running tomcat 5.0.25 on RHES 3.0 and when starting tomcat, I get the following error: Aug 16, 2006 5:00:52 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 15152 ms StandardServer.await: create[8005]: java.net.BindException: Cannot assign

Re: 2 tomcat on the same PC

2006-08-18 Thread Edoardo Panfili
tamri ha scritto: I have installed tomcat1.5 on the same PC on the 2 other directory(c:\\tomcat1.5 and d:\tomcat1.5) .I can't run two tomcat together. I want to run theese two tomcats together, can I do this? how it to do? try to look at the configuration file($CATALINA_BASE/conf/server.xml),

Re: 10,000 Virtual Hosts in a Tomcat instance

2006-08-26 Thread Edoardo Panfili
KEGan ha scritto: Hi, I am quite a Tomcat newbie. I am building an web application that host about 10,000 websites (only single static HTML for each website). Each website is reference using a subdomain i.e. website1.mycompany.com, website2.mycompany.com, and so on. a question: why do you

Re: Need Help w. Null Pointer Exception.

2006-08-30 Thread Edoardo Panfili
Steve R Burrus ha scritto: I need some pretty immediate help/assistance with always getting a NullPointerException Java exception when I try to view a particular image in my favorite web browser!!! The line of text in my servlet file which is, I think, problemmatic is a while loop. Well here

use of maxIdle parameter of DataSource

2006-10-06 Thread Edoardo Panfili
I have this configuration for my roller server application Resource name=jdbc/rollerdb auth=Container type=javax.sql.DataSource driverClassName=org.postgresql.Driver url=jdbc:postgresql://127.0.0.1/roller username=roller password=o

Re: Tomcat not serving pages

2006-10-07 Thread Edoardo Panfili
mike dorian ha scritto: Hi, Having a bit of a problem on running Tomcat on my Windows XP Home. If I startup Apache server, and type http://localhost it will display the webpage in /htdocs. However, if I startup Tomcat server, and type http://localhost it doesn't display /webapps/Hello.html

Re: Launching Tomcat at boot, at boot, at boot

2007-03-26 Thread Edoardo Panfili
dimitryous r. wrote: Hello Hassan, My question was Launching Tomcat automatically at boot ... The fact is: either export JAVA_HOME=/usr or export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home are both OK. Seem Apple is promoting the 1st one? Strange but will not

Re: Tomcat 5.5: Jre or Jdk?

2007-04-02 Thread Edoardo Panfili
Hoa Doan wrote: What is the -server option and how to you turn it on? I thought when you install Tomcat it will ask where the JRE is not the JDK so why do you need to install JDK. Rodrigo Ruiz [EMAIL PROTECTED] wrote: Hi, AFAIK, Tomcat 5.5 uses the Eclipse compiler, so it does not require a

Re: Question about jar file name.

2007-05-20 Thread Edoardo Panfili
Rodrigo Pimenta Carvalho ha scritto: Hi. I have a TomCat project and its Java source code can't compile. The problem is due to an import clause. This is trying to import Connector class. But I didn't put the respectively jar file in my classpath. What is the correct jar file

Re: if don't work?!?!?

2007-05-22 Thread Edoardo Panfili
Massimiliano PASQUALONI ha scritto: Hi guy! Wat's happen?? If i read an checkrequest post String Pippo = request.getParameter(abilitato); out.print(Pippo); return me= on If I try to make a condition whit if: if (Pippo == on) { }

Re: R: if don't work?!?!?

2007-05-22 Thread Edoardo Panfili
== AltroReferer ){...} And don't work. :-O -Messaggio originale- Da: Edoardo Panfili [mailto:[EMAIL PROTECTED] Inviato: martedì 22 maggio 2007 16.44 A: Tomcat Users List Oggetto: Re: if don't work?!?!? Massimiliano PASQUALONI ha scritto: Hi guy! Wat's happen?? If i read

Re: AW: 64bit Server + JDK 1.5 (64bit) + Tomcat 5.0.28?

2010-02-13 Thread Edoardo Panfili
On 13/02/10 10.50, Stefan Rainer wrote: Hello, if we follow the hint to use 1.6 JDK instead of 1.5 JDK, do we get performance improvements also with appliactions compiled for 1.5 ? ? ? You are running your application using 1.6, you can benefit of all the improvements of the newer Virtual

tomcat 7: IllegalArgumentException: taglib definition not consistent with specification version

2010-07-16 Thread Edoardo Panfili
Hy, I did I try with tomcat 7 uploading my application (that works fine with 6.0.26). the application does not starts up and I can see -- 16-lug-2010 19.15.15 org.apache.catalina.startup.ContextConfig parseWebXml GRAVE: Parse error in application web.xml file

Re: tomcat 7: IllegalArgumentException: taglib definition not consistent with specification version

2010-07-17 Thread Edoardo Panfili
On 17/07/10 12.50, Mark Thomas wrote: On 16/07/2010 18:23, Edoardo Panfili wrote: Hy, I did I try with tomcat 7 uploading my application (that works fine with 6.0.26). the application does not starts up and I can see The tag lib element is not correct. It should be: taglib xmlns=http

Re: tomcat 7: IllegalArgumentException: taglib definition not consistent with specification version

2010-07-17 Thread Edoardo Panfili
On 17/07/10 15.57, Mark Thomas wrote: On 17/07/2010 14:16, Edoardo Panfili wrote: On 17/07/10 12.50, Mark Thomas wrote: The tag lib element is not correct. It should be: taglib xmlns=http://java.sun.com/xml/ns/javaee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance

Re: tomcat 7: IllegalArgumentException: taglib definition not consistent with specification version

2010-07-19 Thread Edoardo Panfili
On 17/07/10 16.28, Mark Thomas wrote: jsp-config tablib ... /taglib /jsp-config? but this one works! also with the wrong schemaLocation. Without your help I can't figure the meaning of the exception. Is Tomcat supposing a specification version using the

Re: Should I upgrade to 7.0

2010-11-18 Thread Edoardo Panfili
On 19/11/10 03.28, Robillard, Greg L wrote: I am relatively unfamiliar with tomcat. I am currently running 6.26 in a production system that support 1 webapp for approximately 60 clients that continually poll the server for updates ( weather files ). Is there any reason why I should upgrade

can't find jni.h compiling jsvc on Mac Os X

2010-12-15 Thread Edoardo Panfili
I am trying to install tomcat 7.0.5 on Mac os X 10.6.5 but during jsvc build: ./configure --with-java=/System/Library/Frameworks/JavaVM.framework/Home make [...] $gcc -g -O2 -DOS_DARWIN -DDSO_DLFCN -DCPU=\i386\ -Wall -Wstrict-prototypes

Re: can't find jni.h compiling jsvc on Mac Os X

2010-12-16 Thread Edoardo Panfili
On 16/12/10 13.51, Mladen Turk wrote: On 12/15/2010 09:47 PM, Edoardo Panfili wrote: I am trying to install tomcat 7.0.5 on Mac os X 10.6.5 There is a binary available at: http://commons.apache.org/daemon/download_daemon.cgi Click on the Browse download area... And navigate to binaries

Re: can't find jni.h compiling jsvc on Mac Os X

2010-12-16 Thread Edoardo Panfili
On 16/12/10 16.20, Mladen Turk wrote: On 12/16/2010 02:34 PM, Edoardo Panfili wrote: On 16/12/10 13.51, Mladen Turk wrote: On 12/15/2010 09:47 PM, Edoardo Panfili wrote: I am trying to install tomcat 7.0.5 on Mac os X 10.6.5 There is a binary available at: http://commons.apache.org/daemon

Re: Appropriate version of Java

2011-08-23 Thread Edoardo Panfili
Il 23/08/11 18:41, Rafael Giovanni Florez Arango - EyS ha scritto: Should I install an Apache Tomcat 6.0.30 server, however I have the following question, what is the appropriate version of Java for this version of Tomcat? Latest version of java 1.6 works fine form me. I am using 1.6.0_26

Re: HOW TO detect what app server you're running in

2011-10-25 Thread Edoardo Panfili
Il 25/10/11 13:33, Bob DeRemer ha scritto: I may need to use some Tomcat-specific code in my web app. As a result, I would like to detect [if possible] when I'm running in Tomcat, so I can invoke the logic. If anyone knows how best to do this, ideally with some sample java code, that'd be

Re: I need tomcat version 5.5.x = 5.5.36

2013-04-28 Thread Edoardo Panfili
Il 28/04/13 12:40, Uri Shani ha scritto: Since tomcap 5 is archived... how can I get a version to download? Thanks, http://archive.apache.org/dist/tomcat/ The last one that I can see is 5.5.36 Edoardo - To unsubscribe,

Re: servlet 3.1, etc?

2013-07-10 Thread Edoardo Panfili
Il 10/07/13 12:18, Mark Thomas ha scritto: On 10/07/2013 00:06, Jess Holle wrote: Is there an ETA (in terms of both a version and rough date) for Tomcat moving to the new spec versions introduced by Java EE 7? Tomcat 8. Implementation complete? Best guess is a couple of months. The more help

Re: servlet 3.1, etc?

2013-07-10 Thread Edoardo Panfili
Il 10/07/13 17:09, Nick Williams ha scritto: On Jul 10, 2013, at 9:32 AM, Edoardo Panfili wrote: Il 10/07/13 12:18, Mark Thomas ha scritto: On 10/07/2013 00:06, Jess Holle wrote: Is there an ETA (in terms of both a version and rough date) for Tomcat moving to the new spec versions

can't connect to manager application

2013-10-17 Thread Edoardo Panfili
My Tomcat (7.0.42) is listening on port 7080 and I have this conf/tomcat-users.xml in (production server) --- tomcat-users role rolename=manager-script/ user username=myname password=pwd roles=manager-script,manager-gui,manager-jmx/ /tomcat-users -- if I use curl -u myname:pwd

Re: can't connect to manager application

2013-10-17 Thread Edoardo Panfili
Il 17/10/13 20:58, Martin Gainty ha scritto: source http://localhost:8080/manager/text/reload?path=/examples /source Signal an existing application to shut itself down and reload. This can be useful when the web application context IS NOT RELOADABLE and you have updated classes or property

Re: can't connect to manager application

2013-10-17 Thread Edoardo Panfili
Il 17/10/13 22:43, Ognjen Blagojevic ha scritto: Edoardo, On 17.10.2013 18:45, Edoardo Panfili wrote: Some release ago (tomcat 7.0.x sorry, I can't be more precise) all was well also on production server. Maybe i did something wrong during an update. To rule out faulty upgrade, could you try

Re: can't connect to manager application

2013-10-18 Thread Edoardo Panfili
Il 18/10/13 08:43, Ognjen Blagojevic ha scritto: On 18.10.2013 7:34, Edoardo Panfili wrote: To rule out faulty upgrade, could you try to reproduce the problem on clean Tomcat 7.0.42 install? the problem was surely present with 7.0.39, the 7.0.42 is a fresh installation for me. Could you

Re: can't connect to manager application

2013-10-18 Thread Edoardo Panfili
Il 18/10/13 16:40, André Warnier ha scritto: Edoardo Panfili wrote: Il 18/10/13 08:43, Ognjen Blagojevic ha scritto: On 18.10.2013 7:34, Edoardo Panfili wrote: To rule out faulty upgrade, could you try to reproduce the problem on clean Tomcat 7.0.42 install? the problem was surely present

Re: can't connect to manager application

2013-10-18 Thread Edoardo Panfili
Il 18/10/13 16:40, André Warnier ha scritto: Edoardo Panfili wrote: Il 18/10/13 08:43, Ognjen Blagojevic ha scritto: On 18.10.2013 7:34, Edoardo Panfili wrote: To rule out faulty upgrade, could you try to reproduce the problem on clean Tomcat 7.0.42 install? the problem was surely present

Re: can't connect to manager application

2013-10-18 Thread Edoardo Panfili
Il 18/10/13 18:03, André Warnier ha scritto: Edoardo Panfili wrote: Il 18/10/13 16:40, André Warnier ha scritto: Edoardo Panfili wrote: Il 18/10/13 08:43, Ognjen Blagojevic ha scritto: On 18.10.2013 7:34, Edoardo Panfili wrote: To rule out faulty upgrade, could you try to reproduce

Re: can't connect to manager application

2013-10-18 Thread Edoardo Panfili
Il 18/10/13 18:16, Caldarale, Charles R ha scritto: From: Edoardo Panfili [mailto:edoa...@aspix.it] Subject: Re: can't connect to manager application seem that the solution is to add privileged=true at $tomcat/conf/context.xml... and the reoload command now works. You really, really, really

Re: can't connect to manager application

2013-10-18 Thread Edoardo Panfili
Il 18/10/13 18:17, Christopher Schultz ha scritto: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Edoardo, On 10/18/13 12:04 PM, Edoardo Panfili wrote: Il 18/10/13 16:40, André Warnier ha scritto: Edoardo Panfili wrote: Il 18/10/13 08:43, Ognjen Blagojevic ha scritto: On 18.10.2013 7:34

Re: can't connect to manager application

2013-10-18 Thread Edoardo Panfili
Il 18/10/13 18:25, André Warnier ha scritto: Edoardo Panfili wrote: Il 18/10/13 18:16, Caldarale, Charles R ha scritto: From: Edoardo Panfili [mailto:edoa...@aspix.it] Subject: Re: can't connect to manager application seem that the solution is to add privileged=true at $tomcat/conf

Re: can't connect to manager application

2013-10-18 Thread Edoardo Panfili
Il 18/10/13 18:29, Martin Gainty ha scritto: Date: Fri, 18 Oct 2013 18:04:19 +0200 From: edoa...@aspix.it To: users@tomcat.apache.org Subject: Re: can't connect to manager application Il 18/10/13 16:40, André Warnier ha scritto: Edoardo Panfili wrote: Il 18/10/13 08:43, Ognjen Blagojevic ha

Re: can't connect to manager application

2013-10-18 Thread Edoardo Panfili
Il 18/10/13 18:38, André Warnier ha scritto: Edoardo Panfili wrote: Il 18/10/13 18:17, Christopher Schultz ha scritto: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Edoardo, On 10/18/13 12:04 PM, Edoardo Panfili wrote: Il 18/10/13 16:40, André Warnier ha scritto: Edoardo Panfili wrote

  1   2   >