appBase

2008-02-02 Thread Paul Wallace
Hi, Using Tomcat 5.5 I wish to provide my own appBase to a relative or fully formed path e.g: or (assuming mysite is two folders above CATALINA_HOME) Neither work and an HTTP 400 is returned. This stops the show also in server.xml: How do I poin

j_security_check

2008-02-02 Thread Ashok Venkat
Hi, I have the following code in a scheduler class, which is trying to invoke a servlet String url = "https://localhost:8444/servlet/TestServlet";; // Get HTTP client instance HttpClient httpClient = new HttpClient(); // Create HTTP GET method and exe

Re: StandardContext start,SEVERE: Error filterStart When Including HttpServletRequestWrapper in Filter in 6.0.14

2008-02-02 Thread Ole Ersoy
Hi Konstantin, In this case I just recompiling the filter and copying it over the the classes folder of the webapp. It's definitely there. If I compile and copy with a statement like this in the filter: HttpServletRequestWrapper wrapper = new HttpServletRequestWrapper((HttpServletRequest)ser

Re: StandardContext start,SEVERE: Error filterStart When Including HttpServletRequestWrapper in Filter in 6.0.14

2008-02-02 Thread Konstantin Kolinko
How do you package and deploy your application? If you are seeing java.lang.NoClassDefFoundError: test/filter/TestFilter$1 please check, that the class file "TestFilter$1.class" is present in your app's WEB-INF/classes/test/filter/ directory on the web server. > > still present. The localhost

Re: StandardContext start,SEVERE: Error filterStart When Including HttpServletRequestWrapper in Filter in 6.0.14

2008-02-02 Thread Ole Ersoy
I managed to narrow it down a little further. The same exception appears if the HttpServletRequestWrapper instance is defined like this: HttpServletRequestWrapper wrapper = new HttpServletRequestWrapper((HttpServletRequest)servletRequest) { public String get

Re: StandardContext start,SEVERE: Error filterStart When Including HttpServletRequestWrapper in Filter in 6.0.14

2008-02-02 Thread Ole Ersoy
Well, I was certain it had to be the difference in the JDKs causing it, but after compiling the filter with the Sun JDK, the same exception is still present. The localhost log has this: SEVERE: Exception starting filter testFilter java.lang.NoClassDefFoundError: test/filter/TestFilter$1

Re: StandardContext start,SEVERE: Error filterStart When Including HttpServletRequestWrapper in Filter in 6.0.14

2008-02-02 Thread Ole Ersoy
Actually I probably got this one. I'm compiling the filter with IcedTea, but using the Sun JDK to run tomcat, since IcedTea has issues with keystore certificates. So if I compile with the Sun JDK I think the issue will go away. Cheers, - Ole Ole Ersoy wrote: Hi, I'm getting a: org.apach

StandardContext start,SEVERE: Error filterStart When Including HttpServletRequestWrapper in Filter in 6.0.14

2008-02-02 Thread Ole Ersoy
Hi, I'm getting a: org.apache.catalina.core.StandardContext start SEVERE: Error filterStart When inluding an HttpServletRequestWrapper in a filter. The code compiles fine and the filter part causing the ruckus looks like this: HttpServletRequestWrapper wrapper = new HttpServletRequestW

Re: Only see html/code

2008-02-02 Thread Pid
Chris Baty wrote: Thanks everyone for their patience and support. I reviewed my overall file structure, web.xml, and server.xml. I re-read http://www.csse.uwa.edu.au/~ryan/tech/tomcat.html which is an excellent tutorial. I was missing: in the Host section of server.xml. I've found that th

Re: Only see html/code

2008-02-02 Thread Chris Baty
Thanks everyone for their patience and support. I reviewed my overall file structure, web.xml, and server.xml. I re-read http://www.csse.uwa.edu.au/~ryan/tech/tomcat.html which is an excellent tutorial. I was missing: in the Host section of server.xml. I've found that there's a lot of parti

Re: Status 404 in tomcat

2008-02-02 Thread mgainty
is your manager's version of index.jsp located at $TOMCAT_HOME\server\webapps\manager ? M- - Original Message - Wrom: KPNKMBIPBARHDMNNSKVFVWRKJVZCMH To: Sent: Saturday, February 02, 2008 12:54 AM Subject: Fwd: Status 404 in tomcat > Hello, > I have installed tomcat in my WHM (WHM -> cP

RE: Reg Software

2008-02-02 Thread Martin Gainty
Hello Guru as a quick test I put in a bogus jsp <%=getSomethingThatDoesntExist();%> when referenced in address bar I see (in the browser) org.apache.jasper.JasperException: Unable to compile class for JSPAn error occurred at line: 3 in the jsp file: /ChangeConfig.jspGenerated servlet error:Synta

Re: JasperException: PermGen space

2008-02-02 Thread David Brown
Hello, also try to upgrade to 4.2.1 or 4.2.2 if not higher. HTH Mariano López wrote .. > Try adding more -XX:MaxPermSize when Jboss starts up. > > Best regards, > > Mariano > > Dave escribió: > > Hi, I am using JBoss 4.0.5GA on Federa Core 6 Linux for JSF application. > > After > running for two

Re: Reg Software

2008-02-02 Thread Mark Thomas
Java Guru wrote: Hi Everyone, Can any one tell me if there is any package in the Apache which can give line number in which the error occurred in JSP rather than line number of servlet to which JSP is converted at run time. The standard error page for JSPs should do exactly what you are loo

Resources / docBase question

2008-02-02 Thread Chris Hut
Hi all, I'm wondering how to point Tomcat to an expanded webapp location whose resources are served from a different location. It's easy to point Tomcat to external resources by providing a deployment descriptor; for example, if I have the following in ${CATALINA_BASE}/conf/Catalina/localhost/im

Re: JasperException: PermGen space

2008-02-02 Thread Mariano López
Try adding more -XX:MaxPermSize when Jboss starts up. Best regards, Mariano Dave escribió: Hi, I am using JBoss 4.0.5GA on Federa Core 6 Linux for JSF application. After running for two days, got the following exception on server side. How to avoid it? Thanks for help. Dave Caused by:

RE: hibernate3 / JPA / JBossCache / tomcat

2008-02-02 Thread David Cassidy
Erik Thank you very much for this. I've used the link to the usun site to now use up your bandwidth Was there anything you had to configure in tomcat to make it all work or was it just magic ? :) Thanks again D > We use the same configuration and use this in our Maven pom.xml > http://ldvapp

JasperException: PermGen space

2008-02-02 Thread Dave
Hi, I am using JBoss 4.0.5GA on Federa Core 6 Linux for JSF application. After running for two days, got the following exception on server side. How to avoid it? Thanks for help. Dave Caused by: org.apache.jasper.JasperException: PermGen space at org.apache.jasper.servlet.JspServle

Re: Tomcat 5.5 and SSL connector: keystore was tampered with [SOLVED]

2008-02-02 Thread Samuli Seppänen
Just for future reference to others, the problem was this line in Funambol data synchronization server's start.sh script: JAVA_OPTS="$JAVA_OPTS -Djavax.net.ssl.trustStore=$FUNAMBOL_HOME/lib/security/cacerts" Commenting this out fixed the problem. I still fail to see how this should affect th