RE: Using JAXB with tomcat

2008-11-12 Thread Torsten.Romer
I am not sure if this works and it is probably not a nice solution, but maybe you can do something like BoOcorrenciaPolicial bo = (BoOcorrenciaPolicial) unmarshaller.unmarshal(new File(XML_DIR + id + .xml)); Class clazz = bo.getClass(); Field field =

RE: Does jsessionid on the URL also check the User-Agent?

2008-11-11 Thread Torsten.Romer
Hi Richard, How do you log in and to what? What do you mean with it doesn't work? That Tomcat creates a new session? I tried what you did: Accessed some webapp in FF and pasted the URL including jsessionid in IE - got the same session. I don't think Tomcat cares about anything else than the

RE: Problem to install APR Tomcat Native Library

2008-10-31 Thread Torsten.Romer
Hi Mladen, What does ldd libtcnative-1.so says? libgcc_s.so.1 = (file not found) Thanks a lot! :-) Torsten -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: 31. oktober 2008 10:25 To: Tomcat Users List Subject: Re: Problem to install APR Tomcat Native

RE: Problem to install APR Tomcat Native Library

2008-10-31 Thread Torsten.Romer
Now I finally got APR installed correctly :-) Thanks again for all the help! However I get the following warnings when starting up Tomcat: WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'minSpareThreads' to '25' did not find a matching property. Oct 31, 2008 1:04:09

RE: Problem to install APR Tomcat Native Library

2008-10-31 Thread Torsten.Romer
Hi Rainer, I got it sorted out with ldd as suggested here on the list but it is certainly good to know about truss - thank you! Torsten -Original Message- From: Rainer Jung [mailto:[EMAIL PROTECTED] Sent: 30. oktober 2008 23:16 To: Tomcat Users List Subject: Re: Problem to install

Problem to install APR Tomcat Native Library

2008-10-30 Thread Torsten.Romer
I am trying to install the APR Tomcat Native Library on a Solaris SPARC server. Since it has only OpenSSL installed and no build system available, I compiled libapr 1.3.3 and libtcnative 1.1.14 on another machine with the same OS. I then copied the lib folders of both libs to the server, and

RE: Problem to install APR Tomcat Native Library

2008-10-30 Thread Torsten.Romer
Hi Andrew, Yes, I did that. So both libapr and libtcnative are in the LD_LIBRARY_PATH/java.library.path that Tomcat includes in the message that it couldn't load the library. I even included the OpenSSL libs in the path. Torsten -Original Message- From: Andrew Ralph Feller, afelle1

RE: JSVC vs standard startup / shutdown scripts

2008-10-30 Thread Torsten.Romer
Hi Andrew, We let all our Tomcats run on a non-privileged port and use some init script using startup.sh/shutdown.sh, and have an Apache httpd forwarding requests with AJP. We then use Apache httpd for things like terminating SSL, do RADIUS or LDAP authentication, load balancing several

RE: Problem to install APR Tomcat Native Library

2008-10-30 Thread Torsten.Romer
Hi Martin, It is Solaris SPARC. Would it help to copy shared libs into the JRE bin folder? I symlinked them into $JAVA_HOME/jre/lib/sparc but that didn't help either. Torsten -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: 30. oktober 2008 18:34 To: Tomcat

RE: Problem to install APR Tomcat Native Library

2008-10-30 Thread Torsten.Romer
Yes, it is set to something like LD_LIBRARY_PATH=/opt/app/libtcnative/lib:/opt/app/apr/lib:$LD_LIBRARY_PATH The files are all world readable and even owned by the user running Tomcat. I just want to mention that I compiled both libs with another prefix than where I have copied them to now -

RE: JSVC vs standard startup / shutdown scripts

2008-10-30 Thread Torsten.Romer
simpler = better Fully agree. Keep it simple. We however have to put an httpd in front in the DMZ anyway because our security people would never allow us to put any business logic there. And they want us to change protocol on the way to the application so the switch from HTTPS to AJP is good