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

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.

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

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:

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: ... mbean name=Kaugures

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

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

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

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

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. ?xml version=1.0 encoding=UTF-8 ? !DOCTYPE web-app PUBLIC -//Sun

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.

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

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 suggest

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

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

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

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

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,

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)

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

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:

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

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

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

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

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

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

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 IBM

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 -

Re: excluding one webapp from SSL

2008-05-20 Thread Johnny Kewl
- Original Message - From: akoo [EMAIL PROTECTED] To: users@tomcat.apache.org 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

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 follows.

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.

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: 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

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 Tomcat install directory/conf/[enginename]/[hostname]/ file which has below code. Context Resource name=jdbc/mylogger auth=Container