Apache+mod_jk+Tomcat in openSUSE 10.3

2008-05-20 Thread Tomás Tormo
Hi I'm gonna install apache+mod_jk+tomcat in openSuse 10.3, but according to the howto's I've seen on the internet, I should create a virtual host in apache in order to make it work. In my experience in other distros (Ubuntu, CentOs), this is not necessary... then... should I create tha

JNDI Connection Pooling

2008-05-20 Thread Hanmay Udgiri
Hi I am currently using connection pooling in tomcat. The code is as below I have a context.xml.default placed in /conf/[enginename]/[hostname]/ file which has below code. Where as in Java code i am setting the values of Userd,pwd driverclass and URL. *My question here is Is there any effect,If

Re: Tomcat 6 and Servlet filter problem

2008-05-20 Thread ManojS
Bill, Thank you for the reply. I created a sample web app with one JSP and a filter, in the same way you did with dummy JSP. It is working. So, what you said will be correct, the problem is in the filter. How I know that the doFilter method is not executing is, while analyzing the filter class p

How to make my web application the ROOT application

2008-05-20 Thread ryan webb
Hello, I am using Tomcat 6.0.14. I renamed the original ROOT folder to adminstuff and I made my web app as the ROOT. I checked by typing the *http://localhost/* and I saw my web application. =) Now when I try to access *http://localhost/adminstuff/* It displays the Tomcat Console, however when I

Re: how to change http://107.105.13.1/webapp/ into http://www.mydomain.com/webapp/

2008-05-20 Thread ryan webb
*Mr. David,* Thank you for your kind reply. I think I may have solved my problem. I have downloaded an open source program called Dual Server. It is DHCP + DNS server software. In configurations I just resolved IP to Name. Now I am able to ping www.mydomain.com from a remote computer. God bless.

Re: Tomcat 6 and Servlet filter problem

2008-05-20 Thread Bill Barker
"ManojS" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Hello, > > I was trying to integrate a web application in Tomcat 6. That application > uses a servlet filter to append few parameters to all the requests of its > resources. The web.xml file with filter configuration is as f

Re: excluding one webapp from SSL

2008-05-20 Thread Johnny Kewl
- Original Message - From: "akoo" <[EMAIL PROTECTED]> To: Sent: Tuesday, May 20, 2008 8:29 PM Subject: excluding one webapp from SSL Hello, I have tomcat configured to use SSL and none ssl request is redirected to have ssl. Is there way I can exclude one of the webapps in tomcat f

Re: Tomcat startup problem

2008-05-20 Thread TheKurgan
I get this exception too and you can't just compile a JSP page in Netbeans. It doesn't seem to cause any user impact, but I keep seeing the exception in the logs alot. -- View this message in context: http://www.nabble.com/Tomcat-startup-problem-tp17228551p17351398.html Sent from the Tomcat - U

RE: Disabling Asserts on Tomcat 5.0.x

2008-05-20 Thread Caldarale, Charles R
> From: Andrew Stine [mailto:[EMAIL PROTECTED] > Subject: Disabling Asserts on Tomcat 5.0.x > > I'm having an issue running Tomcat 5.0.x on an IBM JVM. Tomcat 5.0 is deprecated; please try with a supported version. Also, since it works with the Sun JVM, you should probably pursue this with the

RE: Java Memory Options in Tomcat Startup

2008-05-20 Thread Caldarale, Charles R
> From: Susan G. Conger [mailto:[EMAIL PROTECTED] > Subject: Java Memory Options in Tomcat Startup > > In the startup_tomcat400.sh there is the following line: Just the above is somewhat scary, since the standard Tomcat distributions do not include such a startup file. Is there any reason you c

Re: Multiple webapps folders

2008-05-20 Thread Mark Thomas
Cristian Bullokles wrote: Could I use context to deploy multiple instances of axis2? I need different names to each axis2 instance? I like to do something like that: /home/user1/public_servlets/axis2 /home/user2/public_servlets/axis2 /home/user3/public_servlets/axis2 Then in my context file i'l

Re: Multiple webapps folders

2008-05-20 Thread Cristian Bullokles
Could I use context to deploy multiple instances of axis2? I need different names to each axis2 instance? I like to do something like that: /home/user1/public_servlets/axis2 /home/user2/public_servlets/axis2 /home/user3/public_servlets/axis2 Then in my context file i'll have Regards Cri

Java Memory Options in Tomcat Startup

2008-05-20 Thread Susan G. Conger
In the startup_tomcat400.sh there is the following line: java -ms64m -Duser.dir="$CATALINA_BASE" -Dcatalina.base="$CATALINA_BASE" -Dcatalina.home="$CATALINA_HOME" -Djava.awt.headless=true -Dos400.awt.native=true org.apache.catalina.startup.Bootstrap "$@" start can someone shed some light on

Re: Setting up JDBCRealm for form authentication

2008-05-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Carol, Carol Cheung wrote: | /welcome.jsp [snip] | The URL is | http://hostname:/appname/jsp/welcome.jsp Your URLs are mismatched. You are protecting "/welcome.jsp", but then requesting "/jsp/welcome.jsp". You'll want to either move the

Disabling Asserts on Tomcat 5.0.x

2008-05-20 Thread Andrew Stine
Hello, I'm having an issue running Tomcat 5.0.x on an IBM JVM. We currently have a product which is heavily dependant on BOXi which uses Tomcat 5.0.27 to run its webapp. It runs fine on the Sun JVM. Due to business reasons however, we're being forced to switch from the Sun JVM to the IBM one, wh

Re: HTTPS web service connection errors

2008-05-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gutter, gutter007 wrote: | We have a Java web application that accesses a Web Service using https. Last | week the hosts of the web service installed a new signed SSL certificate. | As soon as they installed the new certificate, our Java web app sto

Re: Setting up JDBCRealm for form authentication

2008-05-20 Thread Carol Cheung
On 20/05/2008 15:04, Mark Thomas wrote the following: Carol Cheung wrote: Hi, I am very new to the aforementioned subject. As hinted in subject, I am trying to set up a web application using form authentication. I have set up server.xml according to the steps specified at http://tomcat.apac

Re: Multiple webapps folders

2008-05-20 Thread Mark Thomas
Cristian Bullokles wrote: Hi, I have installed and working Tomcat 6.0.16, but i like to configure multiple (webapps) appBase folders. I like to do that only to deploy servlet in different folders not only in the default webapps folder. Can I do that? No. But you can use con

Re: excluding one webapp from SSL

2008-05-20 Thread Mark Thomas
akoo wrote: Hello, I have tomcat configured to use SSL and none ssl request is redirected to have ssl. Is there way I can exclude one of the webapps in tomcat from having to be requested using ssl? How are you specifying SSL is required? If you are using transport-guarantee in web.xml then i

Re: Setting up JDBCRealm for form authentication

2008-05-20 Thread Mark Thomas
Carol Cheung wrote: Hi, I am very new to the aforementioned subject. As hinted in subject, I am trying to set up a web application using form authentication. I have set up server.xml according to the steps specified at http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html for JDBCRealm Fo

Multiple webapps folders

2008-05-20 Thread Cristian Bullokles
Hi, I have installed and working Tomcat 6.0.16, but i like to configure multiple (webapps) appBase folders. I like to do that only to deploy servlet in different folders not only in the default webapps folder. Can I do that? thanks in advance cristian

excluding one webapp from SSL

2008-05-20 Thread akoo
Hello, I have tomcat configured to use SSL and none ssl request is redirected to have ssl. Is there way I can exclude one of the webapps in tomcat from having to be requested using ssl? -- View this message in context: http://www.nabble.com/excluding-one-webapp-from-SSL-tp17347370p17347370.h

Setting up JDBCRealm for form authentication

2008-05-20 Thread Carol Cheung
Hi, I am very new to the aforementioned subject. As hinted in subject, I am trying to set up a web application using form authentication. I have set up server.xml according to the steps specified at http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html for JDBCRealm For the application, I

Re: Tomcat 6 + Apache 2.2.3 Integration Problems

2008-05-20 Thread Brian Martin
Shouldn't your JkMount statements have worker1 as their target? as in: JkMount /manager worker1 JkMount /manager/* worker1 etc etc On Tue, May 20, 2008 at 08:34:10AM -0700, Madan KN wrote: > > Hi, > Am trying to integrate Apache 2.2.3 and Tomcat 6 using mod_jk. > > I have in

Tomcat 6 + Apache 2.2.3 Integration Problems

2008-05-20 Thread Madan KN
Hi, Am trying to integrate Apache 2.2.3 and Tomcat 6 using mod_jk. I have installed the following and working independently fine. -- 1. Apache 2.2.3 2. Tomcat 6. Integrated the mod_jk connector Standard Instructions.(Tomcat Website Instructions) -

Re: SSL encryption with Tomcat

2008-05-20 Thread Brian Martin
Your setup sounds fine. However having apache handle things on a separate machine might be a nice option if you ever wanted to use it to load balance more than 1 tomcat server in a clustered environment. Which could be what you want given you're user base is growing. Brian On Tue, May 20, 2

Re: SSL encryption with Tomcat

2008-05-20 Thread Mark Thomas
Indudhar Devanath wrote: Hi, We have a production application which handles around 200 to 500 unique sessions at any given time of the day, and its growing. Thats the only application running on Tomcat 6.0. All the transactions take place through SSL encryption. Tomcat runs as stand alone,

SSL encryption with Tomcat

2008-05-20 Thread Indudhar Devanath
Hi, We have a production application which handles around 200 to 500 unique sessions at any given time of the day, and its growing. Thats the only application running on Tomcat 6.0. All the transactions take place through SSL encryption. Tomcat runs as stand alone, as a single instance and

Re: JMX MBean

2008-05-20 Thread Johnny Kewl
Liang, I'm sorry its one area that has never reved my engine... and also, did you read this article... http://oss.wxnet.org/mbeans.html It looks pretty good to me, and the guy actually says, with tomcat you either have to init the bean in a servlet and load-at-start. Because if you dont... the

Tomcat6 JNDI context share

2008-05-20 Thread Zdeněk Vráblík
Hi all, I need share JNDI context among web applications. There is in Tomcat documentation that JNDI context changes are visible only in application which made these changes. My use case: I have one application to manage metadata including database datasources. This application creates datasou

RE: Manager Application (Tomcat 5.5.26)

2008-05-20 Thread Caldarale, Charles R
> From: David Smith [mailto:[EMAIL PROTECTED] > Subject: Re: Manager Application (Tomcat 5.5.26) > > If I were you, I'd download a fresh copy of tomcat 5.5 (or just unzip > the downloaded version from before) and recopy server/webapps/manager > from the archive to your installed tomcat. I'd su

Tomcat 6 and Servlet filter problem

2008-05-20 Thread ManojS
Hello, I was trying to integrate a web application in Tomcat 6. That application uses a servlet filter to append few parameters to all the requests of its resources. The web.xml file with filter configuration is as follows. > > 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";> > > >

Re: HTML hyperlink problem in Apache Tomcat 5.5

2008-05-20 Thread thunderhead
Thanks a lot. That clarifies it. I need to write a servlet which can handle such requests and code the retrieval of the artefact from there. It complicates the programming, but I understand the logic behind it. I will get back to these forums if I need help implementing the same. Regards. Mar

Re: how to change http://107.105.13.1/webapp/ into http://www.mydomain.com/webapp/

2008-05-20 Thread David Smith
You may not have to go through all that trouble. Check with the name registration service you got your domain name from -- they may have DNS service. --David ryan webb wrote: Mr. David, Thank you very much for your kind reply. I've got a feeling that this is not Tomcat related. I think I wi

Re: HTML hyperlink problem in Apache Tomcat 5.5

2008-05-20 Thread Mark Thomas
thunderhead wrote: I understand your observation. But how am I (or anyone for that matter) to work around this? If I have a progam that is going to access content that is stored remotely, or content from a repository, is it not impractical to expect the content to be available from tomcat? How do

Re: HTML hyperlink problem in Apache Tomcat 5.5

2008-05-20 Thread thunderhead
I understand your observation. But how am I (or anyone for that matter) to work around this? If I have a progam that is going to access content that is stored remotely, or content from a repository, is it not impractical to expect the content to be available from tomcat? How do developers work aro

Re: HTML hyperlink problem in Apache Tomcat 5.5

2008-05-20 Thread David Smith
You may be running into a cross-scripting issue with your browser. The security in browsers doesn't normally allow online content any access to local files. Make sure all the content you are trying to access from the page offered by tomcat is available from tomcat. --David thunderhead wrote

Re: Manager Application (Tomcat 5.5.26)

2008-05-20 Thread David Smith
If I were you, I'd download a fresh copy of tomcat 5.5 (or just unzip the downloaded version from before) and recopy server/webapps/manager from the archive to your installed tomcat. Then remove the 2 jars you copied from WEB-INF/lib (I assume server/webapps/manager/WEB-INF/lib) to common/lib.

Re: JMX MBean

2008-05-20 Thread Liang Xiao Zhu
Can anyone help me? Liang Xiao Zhu escribió: Hi Bill, I did what you said and still doesnt work!!! I show my code and how I've implemented the whole things. I added in the java/org/apache/catalina/deploy/mbeans-descriptors.xml the follow code: ... description="Fully qu

RE: Manager Application (Tomcat 5.5.26)

2008-05-20 Thread Nuno Manuel Martins
Just to say I tried copying the 2 jar files in WEB-INF/lib to $TOMCAT_HOME/common/lib and now get a different error: May 20, 2008 9:46:55 AM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Allocate exception for servlet HTMLManager java.lang.NoClassDefFoundError: org/apache/catalina/

RE: Manager Application (Tomcat 5.5.26)

2008-05-20 Thread Nuno Manuel Martins
Hi, Thanks for the reply, I looked in the logs and restarted tomcat but found nothing relevant in them. One thing I notice is that the first time I try to access the manager webapp I get this error instead: HTTP Status 500 javax.servlet.ServletException: Wrapper cannot find servlet class org.a

Re: possible bug for mod_jk configure for cygwin

2008-05-20 Thread Rainer Jung
Taro App wrote: Hi list, I tried compiling mod_jk on cygwin and error occurred. It looks like a bug in configure, which correctly recognizes os as cygwin, but forgets to add -DCYGWIN for gcc, thus resulting in incorrect inclusion of sys/socketvar.h. Setting CFLAGS=-DCYGWIN solves the problem. Ca

possible bug for mod_jk configure for cygwin

2008-05-20 Thread Taro App
Hi list, I tried compiling mod_jk on cygwin and error occurred. It looks like a bug in configure, which correctly recognizes os as cygwin, but forgets to add -DCYGWIN for gcc, thus resulting in incorrect inclusion of sys/socketvar.h. Setting CFLAGS=-DCYGWIN solves the problem. Can someone take a l