Re: need help debugging why a simple app install fails

2012-08-09 Thread my koseli
I tried adding "/text" to the end of manager url but that didnt work. There is nothing interesting in the /var/log/tomcat6/ also. When I do *build* I do get warning as below but I am not sure how serious this warning is. Buildfile: /home/user/springapp2/build.xml > build: > [javac] /home/us

RE: ClassCastException org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl

2012-08-09 Thread Dale Ogilvie
-Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] >1. Tomcat 7.0.26 and earlier has static field JspApplicationContextImpl.ExpressionFactory, so the EL implementation is effectively shared between web applications. Thanks for that info about the earlier bug in 7

RE: ClassCastException org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl

2012-08-09 Thread Dale Ogilvie
-Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Thursday, 9 August 2012 8:22 p.m. To: Tomcat Users List Subject: RE: ClassCastException org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl >> Dale Ogilvie wrote: >> >> ClassCas

RE: confused by tomcat6/7 docs

2012-08-09 Thread Martin Gainty
Russ- Can you take the mode configuration attribute from org.apache.tomcat.maven:tomcat7 plugin and modify the plugin code to deploy *only what you want* mode (Default: war) The deployment mode to use. This must be either war to deploy the war, context to deploy the c

Re: Problem with tomcat 7 and java ld_library_path under centos 6 using IANYWHERE JDBC DRIVER

2012-08-09 Thread Mark Eggers
On 8/9/2012 3:06 PM, Martin Gainty wrote: Mark did JAVA_OPTS="-Djava.library.path=directory-with-libdbodbc12.so" export JAVA_OPTS work? What does Sybase say? Martin __ Date: Thu, 9 Aug 2012 07:53:19 -0700 From: its_toas...@yahoo.com To: users@to

RE: Problem with tomcat 7 and java ld_library_path under centos 6 using IANYWHERE JDBC DRIVER

2012-08-09 Thread Martin Gainty
Mark did JAVA_OPTS="-Djava.library.path=directory-with-libdbodbc12.so" export JAVA_OPTS work? What does Sybase say? Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nich

Re: debugging a deployed webapp 101

2012-08-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Russ, On 8/9/12 5:17 PM, Russ Tremain wrote: > Hey, that's pretty cool - nice that tomcat has full jmx interface > now. Tomcat has supported JMX for quite some time, now. It gets better every day (both support for JMX and Tomcat in general). > By d

Re: [OT] TOMCAT with multiple sites (one on https, others on http)

2012-08-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Massimo, On 8/9/12 4:18 PM, Christopher Schultz wrote: > Massimo, aiuda noi aiudiamote. Wow. Just re-read that. Awful Italian-ish. Should have been: Massimo, aiutarci ad aiutarti. I was never very good at reflexive conjugation (and multiple verbs i

Re: tomcat-jdbc: correct way to create a new separated org.apache.tomcat.jdbc.pool.DataSource from another one

2012-08-09 Thread Germán Ferrari
Hello, Just to give an update on what I've effectively done with this. I'm using a variation of the option #1, i.e., passing the PoolConfiguration (or equivalent) aside the DataSource. I'm doing this because it lets me define the clients of the base datasource as accepting a javax.sql.DataSource,

Re: debugging a deployed webapp 101

2012-08-09 Thread Russ Tremain
Hey, that's pretty cool - nice that tomcat has full jmx interface now. By drilling down from the "MBeans" tab as you suggested, I can now see my classpath, but not the actual classes that are loaded. I do see a nice graph that tracks the total number of classes loaded, under the "Classes" tab.

Re: need help debugging why a simple app install fails

2012-08-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 My, On 8/9/12 10:57 AM, my koseli wrote: > tomcat.manager.url=http://192.168.1.12:8010/manager Try adding "/text" to the end of that URL so it looks like this: tomcat.manager.url=http://192.168.1.12:8010/manager/text - -chris -BEGIN PGP SIGNATU

Re: TOMCAT with multiple sites (one on https, others on http)

2012-08-09 Thread Mark Eggers
On 8/9/2012 1:18 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 8/9/12 3:46 PM, Mark Eggers wrote: 3. You are using the wrong SSL Connector configuration From other logs, you are loading the APR native libraries. See To be fair, he did (claim to) swit

Re: debugging a deployed webapp 101

2012-08-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Russ, On 8/9/12 3:46 PM, Russ Tremain wrote: > I heard that there is a way to get tomcat manager to dump the > contents of the classpath loaders for a deployed application, but I > haven't been able to find it. > > So far, I see only the ideas of usi

Re: TOMCAT with multiple sites (one on https, others on http)

2012-08-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 8/9/12 3:46 PM, Mark Eggers wrote: > 3. You are using the wrong SSL Connector configuration > > From other logs, you are loading the APR native libraries. See To be fair, he did (claim to) switch to the HttpNioConnector at some point, which

Re: TOMCAT with multiple sites (one on https, others on http)

2012-08-09 Thread Mark Eggers
On 8/9/2012 10:59 AM, Massimo Chirivì - Ict Consultant wrote: i attach the correct file, but on the server tomcat the file was corrected but the problem remains. This file has numerous problems. You have been pointed at the documentation. You have had several people point out the problems. Yo

debugging a deployed webapp 101

2012-08-09 Thread Russ Tremain
Hi, I heard that there is a way to get tomcat manager to dump the contents of the classpath loaders for a deployed application, but I haven't been able to find it. So far, I see only the ideas of using jstack or kill -3 (SIGQUIT) to dump the threads for the container process. Is there a wa

Re: confused by tomcat6/7 docs

2012-08-09 Thread Russ Tremain
At 10:50 AM +0200 7/9/12, Olivier Lamy wrote: >Hi, > >2012/7/8 Russ Tremain : >> ahh... thanks. bad assumption on my part that tomcat7-maven was a superset. >> >> what would really be cool is an "incremental" deploy, but not sure if the >> tomcat remote deploy api supports that or not. > >with in

Re: ClassCastException org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl

2012-08-09 Thread Mark Thomas
On 09/08/2012 11:41, chris derham wrote: > | I am 95% certain of what is happenning but haven't tested this. It will > help your understanding if you read the EL specification, specifically the > section in the Javadoc regarding how implementations are discovered. > | Tomcat implements these rules.

Re: ianywhere driver with tomcat under linux error [Sybase][ODBC Driver Manager] Unable to load resource file

2012-08-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christos, On 8/9/12 7:58 AM, CHRISTOS STAVRINOU wrote: > root cause > > java.sql.SQLException: [Sybase][ODBC Driver Manager] Unable to > load resource file > ianywhere.ml.jdbcodbc.jdbc3.IDriver.makeODBCConnection(Native > Method) > ianywhere.ml.jdb

Re: Profiling tomcat with java profiler

2012-08-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ragini, On 8/9/12 5:51 AM, Ragini wrote: > what my profiler profiles:- It gives me xml file containing list > of methods in a proper sequence in which they were executed while > running the server. > > *My question:* I do the above 3 steps 2 times in

Re: TOMCAT with multiple sites (one on https, others on http)

2012-08-09 Thread Massimo Chirivì - Ict Consultant
i attach the correct file, but on the server tomcat the file was corrected but the problem remains. 2012/8/9 Mark Eggers > On 8/9/2012 8:29 AM, Massimo Chirivě - Ict Consultant wrote: > >> Attached file is my server.xml, the service catalina with all virtual host >> work correctly, the service

Re: TOMCAT with multiple sites (one on https, others on http)

2012-08-09 Thread Mark Eggers
On 8/9/2012 8:29 AM, Massimo Chirivì - Ict Consultant wrote: Attached file is my server.xml, the service catalina with all virtual host work correctly, the service catalinassl is not working the subfolders of the folder /catalinassl/site3 are empty. you kindly tell me the changes to make in serve

Re: need help debugging why a simple app install fails

2012-08-09 Thread Ognjen Blagojevic
Hi my, On 9.8.2012 16:57, my koseli wrote: Here's the relevant lines from build.xml 101 Tomcat docs says that install task is deprecated. Although it is maybe equivalent to "deploy", I recommend to switch to deploy task. 102 Other than that, nothing suspicious her

Re: TOMCAT with multiple sites (one on https, others on http)

2012-08-09 Thread Massimo Chirivì - Ict Consultant
Attached file is my server.xml, the service catalina with all virtual host work correctly, the service catalinassl is not working the subfolders of the folder /catalinassl/site3 are empty. you kindly tell me the changes to make in server.xml I'm not understanding thank Massimo Chirivì --

Re: TOMCAT with multiple sites (one on https, others on http)

2012-08-09 Thread Mark Eggers
See comment inline. On 8/9/2012 6:58 AM, Massimo Chirivì - Ict Consultant wrote: i have correct the server.xml, but into the folder catalinassl there is www.site3.net, but all child folders are empty, - with netstat the https is up

Re: need help debugging why a simple app install fails

2012-08-09 Thread my koseli
Here's the relevant lines from build.xml 101 > 102 103 username="${tomcat.manager.username}" > 104 password="${tomcat.manager.password}" > 105 path="/${name}" > 106 war="${name}.war"/> > 107 I have attached th

Re: Problem with tomcat 7 and java ld_library_path under centos 6 using IANYWHERE JDBC DRIVER

2012-08-09 Thread Mark Eggers
Moving this back on the list. In general it's a good idea to keep the discussion (and the solution) on the mailing list. That way everyone benefits (and everyone can help). Comments are surrounded with COMMENT On 8/9/2012 4:18 AM, CHRISTOS STAVRINOU wrote: Thank you for your answer

Re: TOMCAT with multiple sites (one on https, others on http)

2012-08-09 Thread Massimo Chirivì - Ict Consultant
i have correct the server.xml, but into the folder catalinassl there is www.site3.net, but all child folders are empty, - with netstat the https is up --

Re: EL not working with multiple parameters

2012-08-09 Thread Felipe Jaekel
Weld 1.1.8 Seam Faces 3.1.0 public void atender(StAtendimento atendimento, int indiceAtendimentoSelecionado) { try { stAtendimentoService.atender(atendimento, atendente, status, indiceAtendimentoSelecionado); conversasBean.abrirAba(atendimento); filasBean.atualizaFilas(); //exibirDadosCliente(

RE: EL not working with multiple parameters

2012-08-09 Thread Martin Gainty
WHICH VERSION of Jboss are you implementing? where is the code for atendimentosBean? Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger se

Re: need help debugging why a simple app install fails

2012-08-09 Thread Ognjen Blagojevic
Hi my, On 9.8.2012 14:55, my koseli wrote: When I do ant build, deploy it seems to work but when I do "ant install -v" I get failed to build with output below. I cant find the reason this is failing. Is it possible to get some help on debugging this? You get the message from Manager webapp ("F

EL not working with multiple parameters

2012-08-09 Thread Felipe Jaekel
When I try to call a method with two parametes in a XHTML page on Tomcat 7.0.29 it doesn't works. I'll attach the stacktrace below. It's strange because the same code runs fine on Glassfish 3.1. Is this a bug in Tomcat EL? Thanks, Phillip Stacktrace: Advertência: #{atendimentosBean.atender(aten

need help debugging why a simple app install fails

2012-08-09 Thread my koseli
> > Hi, I am using tomcat6 in ubuntu Ubuntu 10.04.4 LTS and running into problem when installing a very simple app. When I do ant build, deploy it seems to work but when I do "ant install -v" I get failed to build with output below. I cant find the reason this is failing. Is it possible to get so

Re: ClassCastException org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl

2012-08-09 Thread Konstantin Kolinko
2012/8/3 Dale Ogilvie : > Hi, > > I'm seeing this problem below appearing now with one of our web-apps, google > has not helped me so far... There have been no changes with the web app in > question, which was working, so I'm picking something is going on with either > the tomcat or OS (virtuali

ianywhere driver with tomcat under linux error [Sybase][ODBC Driver Manager] Unable to load resource file

2012-08-09 Thread CHRISTOS STAVRINOU
ianywhere driver with tomcat under linux error [Sybase][ODBC Driver Manager] Unable to load resource file Problem using ianywhere driver to connec to sybase sql anywhere 12 web edition with tomcat under linux I get the error [Sybase][ODBC Driver Manager] Unable to load resource file The connectio

Re: Default encoding in tomcat 5.5.29

2012-08-09 Thread Konstantin Kolinko
2012/8/9 Petr Hracek : > Dear users, > > could you please advice me what is a default encoding in tomcat 5.5.29: > I have found two links but I am not sure what is correct: > > - http://www.velocityreviews.com/forums/t130011-tomcat-5-default-encoding.html > - http://wiki.apache.org/tomcat/FAQ/Chara

Re: ClassCastException org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl

2012-08-09 Thread chris derham
| I am 95% certain of what is happenning but haven't tested this. It will help your understanding if you read the EL specification, specifically the section in the Javadoc regarding how implementations are discovered. | Tomcat implements these rules. It is possible for an EL implementation to be lo

Re: Default encoding in tomcat 5.5.29

2012-08-09 Thread ZhanGNer
The default encoding is ISO-8859-1 And you can change it by add " Content-Type: text/html; charset=ISO-8859-1" in your pages. On Thu, Aug 9, 2012 at 4:25 PM, Petr Hracek wrote: > Dear users, > > could you please advice me what is a default encoding in tomcat 5.5.29: > I have found two links but

Default encoding in tomcat 5.5.29

2012-08-09 Thread Petr Hracek
Dear users, could you please advice me what is a default encoding in tomcat 5.5.29: I have found two links but I am not sure what is correct: - http://www.velocityreviews.com/forums/t130011-tomcat-5-default-encoding.html - http://wiki.apache.org/tomcat/FAQ/CharacterEncoding#Q1 Is the default enc

RE: ClassCastException org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl

2012-08-09 Thread Mark Thomas
Dale Ogilvie wrote: > >-Original Message- >From: Mark Thomas [mailto:ma...@apache.org] >Sent: Wednesday, 8 August 2012 7:44 p.m. >To: Tomcat Users List >Subject: RE: ClassCastException org.apache.jasper.runtime.ELContextImpl >cannot be cast to org.apache.jasper.el.ELContextImpl > >>>