RE: GSI Web Services with tomcat 5

2004-09-24 Thread Drinkwater, GJ (Glen)
Hi It was the laster. The connectors have changed from 4 to 5 and therefore the custmised solution does not work for 5. There are not obstacles stopping myself from trying to reimplement the solution but the fact that GSI delegation is complicated and it would need to be very secure in a web

GSI Web Services with tomcat 5

2004-09-23 Thread Drinkwater, GJ (Glen)
Hi Has anybody achieved GSI delegation with tomcat 5, i have managed it with tomcat 4 (adding the new connectors and values etc to tomcat) but there seems no support or a work around for tomcat 5 yet. Anybody have any more information??? Cheers Glen

Secuity and patching tomcat

2004-09-09 Thread Drinkwater, GJ (Glen)
Hi We are running tomcat for our production server and i was wondering how other people cope with applying security patches (where do you find alerts about secuirty for tomcat?) as tomcat is distributed as either source or dist and not a rpms. Whats the best practise for the installation of

SSL and sessions

2004-04-21 Thread Drinkwater, GJ (Glen)
Hi I am using tomcat with ssl for the initial log into my application over ssl, the problem is that if i send the application back to http (normal) the session that i first created under ssl is different from the session that is created going back to http. Is there any configuration that allows

catalina.out and access logs gunzipping

2004-01-29 Thread Drinkwater, GJ (Glen)
Hi with tomcat5, how do you make tomcat gz your access and log file ever so often. In some of my tomcat instances this has happened and other it has not?? Any ideas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Removing ROOT as default path to tomcat 5

2004-01-23 Thread Drinkwater, GJ (Glen)
Hi I wish to remove ROOT as the default path to Tomcat 5, I have added Context path=/ to the server.xml file but the default $CATALINA_HOME/webapps/ROOT/index.jsp page still appears with http://localhost:8080. This is how I did it with tomcat 4, has anything changed??

ClassCastException

2003-12-04 Thread Drinkwater, GJ (Glen)
Hi I am using axis web services with the java cog kit, each web service is a application under tomcat. But when two applications wish to use the cog kit, ie the web service is invoked, the first web service works fine and the the second throws this stackTrace: java.lang.ClassCastException

RE: org.apache.catalina.valves.RemoteHostValve

2003-11-27 Thread Drinkwater, GJ (Glen)
Hi I have tried to put Valve className=org.apache.catalina.valves.RemoteHostValve deny=*.subnet.ac.uk/ in my context but it keeps on throwing an exception Catalina.start: java.lang.IllegalArgumentException: Syntax error in request filter pattern *.subnet.ac.uk Can wild cards be used in

org.apache.catalina.valves.RemoteHostValve

2003-11-26 Thread Drinkwater, GJ (Glen)
Hi I am trying to only allow localhost to access my tomcat server. I have tried to put Valve className=org.apache.catalina.valves.RemoteHostValve deny=*.my.host.uk/ in my context but it keeps on throwing an exception Catalina.start: java.lang.IllegalArgumentException: Syntax error in

RE: org.apache.catalina.valves.RemoteHostValve

2003-11-26 Thread Drinkwater, GJ (Glen)
Hi If i specify a host, then i only deny one machine. How do you deny all hosts on a sub net? Glen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Sticky sessions and load balancing

2003-11-21 Thread Drinkwater, GJ (Glen)
Hi I am using tomcat 5.0.14 with apache 2.0.47. I have 2 instances of tomcat working with apache infront taking the requests and forwarding to the 2 tomcats. I can make the apache do load balancing, giving each server 50% of the traffic. When i try to create sticky sessions, it works, but

Sticky sessions and load balancing with apache 2

2003-11-21 Thread Drinkwater, GJ (Glen)
Hi I can make the apache do load balancing, giving each server 50% of the traffic. When i try to create sticky sessions, it works, but only the first tomcat instance gets all the traffic. Is it possible to have sticky sessions with load balancing (with tomcat and mod_jk2), ie if a user without

Session Repication

2003-11-20 Thread Drinkwater, GJ (Glen)
Hi I am trying to replicate my sessions via clustering with tomcat5 behind a apache. The problem is that i get this exception when i try to add a string to a session. code: String name= request.getParameter(name); session.setAttribute(name, name); exception:

Tomcat5

2003-11-19 Thread Drinkwater, GJ (Glen)
Hi Does anybody know of the timetable for a stable release of tomcat 5? Glen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: tomcat 4.1.12 problem

2002-10-16 Thread Drinkwater, GJ (Glen)
Hi I have managed to change the startup.bat file to run instead of start and i have the errot message. It is java.lang.ClassNotFoundException: org.apache.coyote.tomcat4.CoyoteConnector, which comes from the server.xml foe the http1.1 connector. Since i have installed tomcat fromt he

RE: tomcat 4.1.12 problem

2002-10-16 Thread Drinkwater, GJ (Glen)
Hi i have solved the problem. I am not sure what happened but i reinstalled the jre and sdk and it now works. Cheers -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

tomcat 4.1.12 and xml spy

2002-10-15 Thread Drinkwater, GJ (Glen)
Hi I have been working with tomcat for a couple of years, but on friday i downloaded xml spy 5 enterprise edition and now my tomcat server will not work, it just falls over with out writing anything to catalina.out. All my older version will not work and even the one inside netbeans doesnt

access logs

2002-10-04 Thread Drinkwater, GJ (Glen)
Hi I have upgraded from tomcat 4.0.4 to 4.1.12 and the localhost_access_logs do not seem to be there. Has tomcat go rid of this log or is there a way to turn them on again??? Glen -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Bug in 4.0.4 DefaultServlet

2002-10-01 Thread Drinkwater, GJ (Glen)
Hi I have just come back off holiday and have heard about the bug with org.apache.catalina.servlets.DefaultServlet where you can see the source code of jsp's. I have been on the jakarta web site and there solution is to comment out servlet-mapping servlet-nameinvoker/servlet-name

RE: Bug in 4.0.4 DefaultServlet

2002-10-01 Thread Drinkwater, GJ (Glen)
I am in the process of upgrading bu i need to test my application with the new version. So i need a patch until i have done this. glen -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Ref Http Session

2002-09-13 Thread Drinkwater, GJ (Glen)
in the server.xml file. add this tag inside you context path Manager className=org.apache.catalina.session.PersistentManager debug=0 saveOnRestart=false maxActiveSessions=-1 minIdleSwap=-1 maxIdleSwap=-1

RE: Réf. : RE: Ref Http Session

2002-09-13 Thread Drinkwater, GJ (Glen)
session cookies id's are not saved to you hard drive. they are stored in you memory until the browser is closed. session attributes are stored on the server and have not contact with he browser. The session id sent from your browser is used by the server to id you session object on the server,

RE: Ref Http Session

2002-09-13 Thread Drinkwater, GJ (Glen)
session cookies id's are not saved to you hard drive. they are stored in you memory until the browser is closed. session attributes are stored on the server and have not contact with he browser. The session id sent from your browser is used by the server to id you session object on the

RE: How to Change Port Number of Tomcat

2002-09-12 Thread Drinkwater, GJ (Glen)
From the tomcat 4 RUNNING.txt file, to change the port number it only says to change 8080 to the number that you want. It does not mention changing anything else in the file. I have changed all my tomcats to 80 on windows, linux and solaris and have had not problems. Check netstat, also check

RE: How to Change Port Number of Tomcat

2002-09-12 Thread Drinkwater, GJ (Glen)
I have got 2 running simultaneously. to have 2 running, on one of the tomcats you need to change 6 things. There are 4 connectors.http, https, ajp and test http. change https port. change http port and then change redirect port to whatever https port is. change ajp port and then do the same

RE: Changing the IP address

2002-09-10 Thread Drinkwater, GJ (Glen)
There are two ways to do this. Firstly on your network, your users could use the name of your computer followed by the domain balam2.cuc.uqroo.mx. So you could use http://name.balam2.cuc.uqroo.mx:8080/examples/SendAMail.jsp to get to your server. Or have a alias on your DNS server for example

Multithreading with tomcat

2002-08-22 Thread Drinkwater, GJ (Glen)
Hi I am trying to invoke more than one servlet from multiply resources at the same time. But at the moment i call them one after another. The problem is that if one of the servlets takes along time to do its work, and hangs, the other processes wait to be executed. I wish to use threads with

URL connection timeout

2002-08-22 Thread Drinkwater, GJ (Glen)
Hi Is there any way to specify a timeout for a URL connection with tomcat. Is there something in the server.xml file??? Glen -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Quick Question

2002-08-13 Thread Drinkwater, GJ (Glen)
tomcats default directory is where ever you called the startup.sh/bat file. So if you dont use another script to call the startup.sh/bat file tomcats default will be the bin directory. Use this code to find the directory where WEB-INF is. Then you can traverse your directory structure from

RE: Quick Question

2002-08-13 Thread Drinkwater, GJ (Glen)
hi what you should try to do is either from your jsp use the method I suggested before and pass the info to your bean, or if this is a config file, use this method which works I have just tried it, to load your file into a properties class. Properties conf = new Properties();

SSL just for a login page

2002-08-09 Thread Drinkwater, GJ (Glen)
Hi I have been working with tomcat with a web site. There is a initial login page which sends the username and password to a servlet that checks them against a database. I want to have the informatin sent over ssl but then i want the user to be sent back to a none ssl page for the rest of the

RE: SSL just for a login page

2002-08-09 Thread Drinkwater, GJ (Glen)
Hi I am not am expert in the security of the web at the moment. Could you explain to me why this would open such a big secuirty hole from swapping from https to https. I was suggesting this because it read this i a 'professional j2ee' book?!! The problem i have is that i need the username

RE: SSL just for a login page

2002-08-09 Thread Drinkwater, GJ (Glen)
Hi Let me reply to a few of the emails. the problem is your own encryption isn't signed by a third party, which means if someone hack into your server, they could compromise the security. wouldn't this still be a problem if my public key was signed by a CA?? isn't the cert. for the client to

RE: SSL just for a login page

2002-08-09 Thread Drinkwater, GJ (Glen)
Yes, you are probably right, I will have to use ssl. Does anybody know of some good stress testing free software??? How does this sound. 1)User logs on and username and password send over ssl. password md5 hashed and compared against users on a database. 2)If valid user logs on, if not user

RE: SSL just for a login page

2002-08-09 Thread Drinkwater, GJ (Glen)
just downloaded it version 1.7 using it with java 1.4 beta installation says that you dont need to do anything (already got JAVA_HOME), when i run it it just pulls up errors?? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Calling ejbs from tomcat

2002-05-17 Thread Drinkwater, GJ (Glen)
Hi, i have been using and working with ejbs from a java client calling ejbs from the server that comes with the j2ee package . But now i wish to call the ejbs from a servlet within tomcat. I have put all the jar files for the client that is needed it to the lib dir of my web application but i

jsp class loading

2002-01-31 Thread Drinkwater, GJ (Glen)
I have written some java classes to help my servlet/jsp configuration. But the problem is that i want them to be accessable to my servlet and my jsp. i have jar the file and put them in the web-inf/lib folder and also in the java_home/jre/lib/ext folder. The servlets pick up the classes

Help needed with package access

2002-01-07 Thread Drinkwater, GJ (Glen)
I am using tomcat and i am unable to compile my servlet classes when i try to make an instance of a class that i have created which lies in the same folder as my servlet, ie WEB-INF/classes. A error occurs telling me that it cannot resolve the class. The only way around this is to put these

RE: Help needed with package access

2002-01-07 Thread Drinkwater, GJ (Glen)
Sorry about that, worked it out , i was just been completly stupid. I have just changed computers and have set up everything correctly and i had everything working except one thing.!! .; in my classpath. cheers anyway -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional