Re: [JBoss-user] [Installation Configuration] - Running a web app as non-root problem

2004-03-17 Thread Felipe Oliveira
you are probabily trying to bind jetty on port 80 right? you can bind on port 8080 and redirect incoming requests from 80 to 8080. as root: iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 8080 /etc/init.d/iptables save /etc/init.d/iptables start i hope it helps. felipe

Re: [JBoss-user] [Persistence CMP/JBoss] - tuning

2004-03-17 Thread Felipe Oliveira
http://www.onjava.com/pub/a/onjava/2003/05/28/jboss_optimization.html leishen wrote: Does any one know a good resouce on how to tune the EJBs? Thanks lei a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3826232#3826232;View the original post/a a

Re: [JBoss-user] jboss-3.2.3 clustering problem - unable to find other nodes , though multicasting seems working

2004-01-09 Thread Felipe Oliveira
Hi Midrul, I had a simular problem where the hosts couldn't see each other. I fixed that setting the ip address on each host. Felipe First I check if multicasting works fine, by running the following from jgroup: On host1: -- java

Re: [JBoss-user] Loadbalancer

2004-01-08 Thread Felipe Oliveira
load balancing behavior with mod_jk2 PPS: Does your mod_jk work, because I need a loadbalancer to get the SPECjAppServer Benchmark to work. Felipe Oliveira schrieb: hi, which jboss loadbalancer are you talking about? i am currently using mod_jk and i am not really happy about it. i didn't know

Re: [JBoss-user] Loadbalancer

2004-01-07 Thread Felipe Oliveira
hi, which jboss loadbalancer are you talking about? i am currently using mod_jk and i am not really happy about it. i didn't know jboss had its own. any ideas where i can get more info about it? thanks, felipe Björn Weis wrote: Hi, I try to use the JBoss loadbalancer, but it doesn't work.

Re: [JBoss-user] JBoss On Linux

2003-12-04 Thread Felipe Oliveira
hi peter, i run jboss in the same exactly environment, but i don't seem to be running into these problems. we found the ibm jvm to be the best for our scenario...maybe you should take a look at it. felipe Peter Luttrell wrote: We're using JBoss3.2.1 with Jetty on RedHat 9 with Suns 1.4.2_01

Re: [JBoss-user] Jetty Thread Count: Recommendations?

2003-11-13 Thread Felipe Oliveira
to increase the 256 processes limit on 1.3 The MaxClients directive sets the limit on the number of simultaneous requests that can be supported; not more than this number of child server processes will be created. To configure more than 256 clients, you must edit the HARD_SERVER_LIMIT

Re: [JBoss-user] Pre compile jsps on jboss server

2003-10-03 Thread Felipe Oliveira
i use the scenario 1 that you described. it's not really a nightmare for me because i set jasper to add all the servlets and servlet-mappings to my web.xml automatically. would that be a problem for you? the only real problem is that deployment takes a much longer time meaning my site is down

[JBoss-user] running ejb 1.0 on jboss 3.2.1

2003-09-10 Thread Felipe Oliveira
hi everyone, i have some ejb's that i developed for jboss 2.4.x. it worked fine but now i am being forced to migrate it to jboss 3.2.1. jboss 3.x doesn't seem to like my jar file...it complains on the deployment descriptors. i am using the following: ejb-jar.xml - !DOCTYPE ejb-jar PUBLIC

Re: [JBoss-user] mod_jk2 load balancing for a RAID 0+1 analog

2003-08-20 Thread Felipe Oliveira
you can set each node to be part of a group...so node1 and node2 on group1 and node 3 and node 4 on group 2. then set one of these groups as local_worker Vladyslav Kosulin wrote: Hi all, Here is my configuration: Front-ent - Apache 2.0.47/mod_jk2/ajp13. 4 instances of JBoss 3.2.1/Jetty

Re: [JBoss-user] JBoss Shutdown Abnormally

2003-08-19 Thread Felipe Oliveira
Is it a clean shutdown or a core dump? Which environment are you running JBoss on? sun zheng wrote: Hi all, I am using an application running together with JBoss, Tomcat and MySQL. The problem has lasted for some months. The JBoss is always not available every 2 - 3 hours so that I have to

Re: [JBoss-user] Jboss.net how to start

2003-08-14 Thread Felipe Oliveira
http://www.nsdev.org/jboss/stories/jboss-net.html http://drs.yahoo.com/S=2766679/K=jboss.net/v=2/SID=e/l=WS1/R=3/H=0/*-http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jboss-netGuide.shtml [EMAIL PROTECTED] wrote: hi all, are there any free tutorial/examples on how to

Re: [JBoss-user] MOD_JK2 PROBLEM - SETTING UP STICKY SESSIONS

2003-08-14 Thread Felipe Oliveira
just as an input i was never able to use sticky sessions with jetty either. it worked fine on mod_jk. Surajit Bhattacharjee wrote: Hi group! I am using mod_jk2 (mod_jk2-2.0.43.so) with Apache 2.0.43 and trying to load-balance HTTP traffic on to embedded Tomcat (4.1.x) in JBOSS 3.2.0. The load

Re: [JBoss-user] Re: Jetty vs Tomcat

2003-08-07 Thread Felipe Oliveira
do you know how i can set a context without using a war file or a ear file? i want to have a default "/" context that will be used when my "/" ear file is being deployed. tks! Adrian Brock wrote: Not exactly what you are asking for but... If you are doing incremental builds into an

[JBoss-user] JDBCMsSQLCreateCommand - MSSQL7 - Jtds

2003-06-27 Thread Felipe Oliveira
hi, i am using org.jboss.ejb.plugins.cmp.jdbc.mssql.JDBCMsSQLCreateCommand and i am getting the following error. the pk-field is paymentId that correctly is no being passed on the sql statement. it seems like i am a procedure is trying to be called instead of the raw sql. i am running jboss

Re: [JBoss-user] Jetty and work files

2003-06-24 Thread Felipe Oliveira
http://jetty.mortbay.com/jetty/doc/cronCleanup.html Lars Hoss wrote: Hi all! Is it possible to tell Jetty not to store the work files below /tmp (using Linux)? Currently whenever I start Jetty it creates a directory like Jetty_0_0_0_... below /tmp. This isn't very feasible because our cronjob

Re: [JBoss-user] Jboss and Xdoclet problem

2003-06-15 Thread Felipe Oliveira
marco: try replacing the dtds...in your 3.1 instead of 3.0. here's the task i use target depends=xdoclet name=replace dtds replace dir=${build.dir}/xdoclet-classes/META-INF include name=*.xml/ replacefilter token=jboss_3_0.dtd value=jboss_3_2.dtd/ replacefilter

[JBoss-user] Mod_JK Failover

2003-06-13 Thread Felipe Oliveira
Does anyone know how to explicitly tell mod_jk to failover and send the request to the other server on the cluster? I have a filter that catches any exception that happens on the servlets...If an exception is throwed I want mod_jk to try to send the same request to the other server? Any

Re: [JBoss-user] @jboss-net:xml-schema

2003-06-10 Thread Felipe Oliveira
) at com.ibm.wsdl.xml.WSDLWriterImpl.getDocument(Unknown Source) at com.ibm.wsdl.xml.WSDLWriterImpl.getDocument(Unknown Source) at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:236) Jason Essington wrote: On Monday, June 9, 2003, at 01:00 PM, Felipe Oliveira wrote: hi i am using xdoclet

[JBoss-user] @jboss-net:xml-schema

2003-06-09 Thread Felipe Oliveira
hi i am using xdoclet to generate my entity and session beans but i also want it to generate my webservices. i have the part where it generates the web-service.xml defining my services and mapping them to the correct jndi entries of my session beans. my session bean methods return custom data

[JBoss-user] CMP EjbCreate on Identity Field

2003-06-06 Thread Felipe Oliveira
hi all, i am writing a CMP entity bean that uses a mssql table with a identity (auto-increment) primary key. how do i tell jboss not to use the primary key field on inserts? is it possible? i tried to set the field as read-only but it didn't work. jboss didn't let me have a pk field as

Re: [JBoss-user] MS SQL drivers

2003-03-31 Thread Felipe Oliveira
hi dave, i use jboss with sql server using jtds and i haven't had any problem so far. and it's free. i use sql server 7.0microsoft doesn't have any jdbc driver for sql server 7.0 just 2000. felipe Dave Neuer wrote: Hi all, Does anyone have any concrete reasons why one should buy the

Re: [JBoss-user] Server Crashing IBM1.4

2003-03-27 Thread Felipe Oliveira
narrow the problem down to SNMP, somehow crashing our servers - full JVM crash that is. We use monitoring tools that rely on SNMP. There are regular core dumps in the form of hs_err_pid files in jboss bin. Does any of this sound familiar? regards, Nick Felipe Oliveira wrote: Hi guys, My

[JBoss-user] Server Crashing IBM1.4

2003-03-26 Thread Felipe Oliveira
Hi guys, My JBoss/Jetty server has been crashing quiet often, at least once a week. I am running it under Redhat 7.3, and my jvm is IBM1.4. There's no messages on the JBoss logs netheir on the OS logs. I don't see any core dumps or anything. The process just dies. Do you guys have any ideas

Re: [JBoss-user] Listing all session beans deployed

2003-03-20 Thread Felipe Oliveira
hi danilo, have you looked at the jmx-console.war? http://localhost:8080/jmx-console/ thanks, felipe Danilo Luiz Rheinheimer wrote: Hello, How I can list all session beans deployed on a JBoss server ? I need this information : type (stateless, statefull), Jndi name, implementation class

Re: [JBoss-user] Retrieving large lists

2003-03-18 Thread Felipe Oliveira
if you are using cmp 2 i suggest you to look at the read-ahead parameters on the jboss cmp doc. Pete Beck wrote: Hi, My application frequently needs to grab a large number of entities from the database to populate drop down lists. The current method I use, is to use a CMP finder which returns a

Re: [JBoss-user] offtopic - generating abstract get/set

2003-03-14 Thread Felipe Oliveira
have you tried xdoclet? costin wrote: Hello! Just wondering. I`m using Eclipse but haven`t found any plugin for generating the abstract get/set fields in the beans. When working with a very complex database writing a lot of dummy methods by hand drives one insane. Just wondering, isn`t

Re: AW: [JBoss-user] Jetty Web Logs

2003-03-07 Thread Felipe Oliveira
Hi Stefan, Thanks for your help. Jetty's documentation is not very good at all but they do have an active mailing list. Somebody pointed me the right direction. There's an extended parameter on jbossweb.sar/META-INF/jboss-service.xml you can just set to true. Felipe Stefan Groschupf wrote:

[JBoss-user] JAAS - getUserPrincipal returns null outside secure area

2002-11-08 Thread Felipe Oliveira
Hi! Even tough I am logged on, I always get null on request.getUserPrincipal() when I am on pages outside the secured area. Is that a feature or a bug? It seems to be happening on WebLogic so I am assuming it's a feature. Is there anyway I can work around this? so anything outside the /secure

[JBoss-user] jboss and freebsd

2002-03-21 Thread Felipe Oliveira
hi all, i am trying to use JBoss-2.4.4_Tomcat-4.0.1 on FreeBSD but it's not stable at all. I am using JDK1.4. the server blows up every 5 minutes, even when i try to deploy. any thoughts? it seems to be a problem with the Sun JVM. thanks, felipe ___