Re: [JBoss-user] running jboss as non-root user

2003-11-25 Thread Ricardo Argello
Jiri,

Only root can open process that listen to TCP/IP ports lower than 1024.

Maybe this could help:

Tell iptables to forward incoming requests on port 80 to tomcat
(http://rimuhosting.com/support/jsphosting.jsp)
---
Running Tomcat on Port 80
If you would like Tomcat to run on port 80 (the standard HTTP port):
# prevent Apache from running on startup
chkconfig --del httpd
# stop Apache from running right now
/etc/rc.d/init.d/httpd stop
# tell iptables to forward incoming requests on port 80 to tomcat
/sbin/iptables -t nat -I PREROUTING -p tcp --dport 80 -j REDIRECT 
--to-port 8080

iptables can be a better solution than telling tomcat to listen on port 
80.  Since any service that listens on port 80 must be a privileged 
user.  This way, the user that runs tomcat can remain a regular, 
non-privileged user.

You should add the iptables command to your /etc/rc.d/rc.local file so 
that the port forwarding is set up after each reboot.
---

Ricardo Argello



[EMAIL PROTECTED] wrote:

Hallo,
I would like to run jboss as non-root user (at unix). It works when his servlet
container runs on port 8080, but if I swith to port 80, I must run it as root.
Is it intent or do I something wrong?

Thanks, Jiri



-
This mail sent through IMP: http://horde.org/imp/
---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



--

Ricardo Argello
[EMAIL PROTECTED]
www.ndeveloper.com


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Who is using JBoss in production?

2003-06-17 Thread Ricardo Argello
Check the References page in www.jboss.org:
http://www.jboss.org/index.html?module=htmlop=userdisplayid=services/references/index

Ricardo Argello

- Original Message - 
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 10:35 AM
Subject: [JBoss-user] Who is using JBoss in production?


 Hi all,
 
 I went to the Sun JavaOne conference in the Netherlands yesterday.
 
 I talked to a lot of people, and noticed that not many people are using 
 JBoss in a production environment.
 
 I was wondering? How many of you are actually running production systems 
 on JBoss?
 
 Grtz,
 
 Harm de Laat
 Informatiefabriek
 The Netherlands
 
 
 
 
 ---
 This SF.Net email is sponsored by: INetU
 Attention Web Developers  Consultants: Become An INetU Hosting Partner.
 Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
 INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 
 MAIL ESCANEADO UTILIZANDO LA ALTA TECNOLOGIA DE ANDINANET Y MCAFEE
 
 




MAIL ESCANEADO UTILIZANDO LA ALTA TECNOLOGIA DE ANDINANET Y MCAFEE




MAIL ESCANEADO UTILIZANDO LA ALTA TECNOLOGIA DE ANDINANET Y MCAFEE




---
This SF.Net email is sponsored by: INetU
Attention Web Developers  Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Trying to build latest CVS version

2003-03-19 Thread Ricardo Argello
Hi,

If you are behind a firewall try reading this:
http://sourceforge.net/docman/display_doc.php?docid=14033group_id=1#firewall

Regarding the delay in email delivery: I have no idea.

Ricardo Argello

- Original Message - 
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, March 19, 2003 1:30 PM
Subject: RE: [JBoss-user] Trying to build latest CVS version


Hi Ricardo,
Thanks for the response. 
I'm trying in vain to checkout jboss-head but I can't seem to even login into the 
sourceforge server.

I'm using the command:

cvs -d :pserver;proxy=www-proxy.cs.tcd.ie;proxyport=8080:[EMAIL 
PROTECTED]:/cvsroot/jboss login

It would normally appear on one line but for my mail editor. 

Whenever I try this I get this error.

(Logging in to [EMAIL PROTECTED])
cvs [login aborted]: recv() from server cvs.sourceforge.net: EOF


Apologies for the newbie CVS problems,
Mark.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ricardo Argello
Sent: 19 March 2003 17:13
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Trying to build latest CVS version

Hi,

The jboss-all module should not be checked out anymore.

Check out jboss-head for the latest code (JBoss 4.0 alpha).

Read this page for instructions:
http://www.jboss.org/developers/guides/quickstart.jsp

Ricardo Argello

On Wed, 19 Mar 2003 16:55 , [EMAIL PROTECTED] sent:

HI Everyone,

  
Im trying to build from source  a build of jboss-all I downloaded
today yet I keep getting this error saying that it couldnt create the task
or type of task: jmxdoclet.

 

I understand that jboss uses
its own version of ant to build the server and Ive built a nightly snap
before without any problems.

Hmm Ive just had a
look in the thirdparty folder and there arent half the folders that
accompanied the nightly snapshot.

 

Is this something I must
download seperately? 

 

Thanks,

Mark.


--
Desea tener la mejor cuenta de correo?
Cree su cuenta de correo GRATIS con acceso WAP en http://www.zona-andina.net
NHYXu)xrwi6giy6
~j{*xiyzXXzy++~n



---
This SF.net email is sponsored by: Does your code think in ink? 
You could win a Tablet PC. Get a free Tablet PC hat just for playing. 
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user




---
This SF.net email is sponsored by: Does your code think in ink?
You could win a Tablet PC. Get a free Tablet PC hat just for playing.
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] JBoss/Jetty and JSP 2.0

2003-01-17 Thread Ricardo Argello
Tomcat 5 supports the Servlet 2.4 and JSP 2.0 specifications:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/index.html

I am not sure if it works, but there is a tomcat50 module in JBoss CVS:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/contrib/tomcat50/

Ricardo Argüello


- Original Message - 
From: Pete Beck [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, January 17, 2003 4:50 AM
Subject: [JBoss-user] JBoss/Jetty and JSP 2.0


 Anyone know what sort of timeframe we might be able to use JSP 2.0 in
 JBoss?
 
 -- 
 Peter Beck BEng (hons)  - Managing Director, Electrostrata Ltd.
 http://www.electrostrata.com  --+-+--  Experts in e-business and e-commerce
 
 
 
 ---
 This SF.NET email is sponsored by: Thawte.com
 Understand how to protect your customers personal information by implementing
 SSL on your Apache Web Server. Click here to get our FREE Thawte Apache 
 Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 




---
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your
clients even if they use browsers that are limited to 40 bit encryption.
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] How to run a different server that 'default' ?

2002-11-24 Thread Ricardo Argello
run.sh -c myconf

Being server/myconf your directory, with your configuration...

Ricardo Argüello

- Original Message - 
From: Herve Tchepannou [EMAIL PROTECTED]
To: jboss [EMAIL PROTECTED]
Sent: Sunday, November 24, 2002 12:08 PM
Subject: [JBoss-user] How to run a different server that 'default' ?


 When I execute 'run.sh', it always start the default server.
 How can I execute 'run.sh' with a different server that I've created on
 JBOSS_HOME/server directory ?
 thanx
 -- 
 
 Herve Tchepannou
 mailto:[EMAIL PROTECTED]
 
 
 
 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 




---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] EU Secure Gateway Notification

2002-06-05 Thread Ricardo Argello

uh?

Hummm... that's why the jboss.exe didn't arrive.



- Original Message - 
From: SGW Emasgn01 [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 05, 2002 6:36 PM
Subject: [JBoss-user] EU Secure Gateway Notification


 This message was sent with an attachment which Rabobank International
 does not allow because the filetype is not considered to be business
 related or it contains executable code which could be destructive if
 run. An error occured in stripping the attachment, please note this
 message has now been quarantined.
 
 The original header content is included below
 
 For more information about Email Policies have a look at:
 
 http://i2i.rabobank.com/coc/cces/smtpmail
 
 the following files could not be deleted:
 InstallJBoss.bat (contained in ntservice.zip)
 UnInstallJBoss.bat (contained in ntservice.zip)
 
 


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Stupid User? JCA Problem with Oracle Database (JBoss V3.0RC1)

2002-04-15 Thread Ricardo Argello

Hello,

Since you have this entry:
  attribute name=CriteriaByContainer/attribute

DB login/password information is obtained from server/default/conf/login-config.xml, 
not from oracle-service.xml.

Add a OracleDbRealm entry in login-config.xml.

Download the oracle-service.xml example file from here:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/jbosscx/src/etc/example-config/


Ricardo Arguello


- Original Message - 
From: Stephen Davidson [EMAIL PROTECTED]
To: jboss-user [EMAIL PROTECTED]
Sent: Monday, April 15, 2002 6:17 PM
Subject: [JBoss-user] Stupid User? JCA Problem with Oracle Database (JBoss V3.0RC1)


 Greetings.
 
 I am trying to generate a connection to an Oracle Database.  I am getting a large 
stack trace trying to use the attached oracle-service.xml file. 
 Suggestions?
 
 -Steve
 
 18:11:39,588 INFO  [STDOUT] ConnectionManager.init:Platform = JBoss
 18:11:39,589 INFO  [STDOUT] ConnectionManager.ConnectionManager: DEBUG_JDBC = false
 18:11:39,607 INFO  [STDOUT] Looking up: java:/jdbc/pool/hrnexus
 18:11:39,609 INFO  [STDOUT] ConnectionManager: TimeElapsed = 2
 18:11:40,618 ERROR [STDERR] java.sql.SQLException: Unable to get Connection: 
javax.resource.ResourceException: Unable to create DB connection for 
 url: jdbc:oracle:thin:@192.168.2.11:1521:ORCL, user: sa, exception: 
java.sql.SQLException: Null user or password not supported in THIN driver
 18:11:40,619 ERROR [STDERR] at 
org.jboss.resource.adapter.jdbc.JDBCDataSource.getConnection(JDBCDataSource.java:114)
 18:11:40,620 ERROR [STDERR] at 
com.hrnexus.common.ejb.DBConnection.getConnection(DBConnection.java:173)
 18:11:40,620 ERROR [STDERR] at 
com.hrnexus.common.ejb.DBConnection.makeConnection(DBConnection.java:191)
 18:11:40,621 ERROR [STDERR] at 
com.hrnexus.common.ejb.DBConnection.executePreparedSQLQuery(DBConnection.java:398)
 18:11:40,621 ERROR [STDERR] at 
com.hrnexus.security.ejb.UserService.checkCompany(UserService.java:556)
 18:11:40,622 ERROR [STDERR] at 
com.hrnexus.security.ejb.UserEJB.ejbFindByPrimaryKey(UserEJB.java:763)
 18:11:40,622 ERROR [STDERR] at java.lang.reflect.Method.invoke(Native Method)
 18:11:40,622 ERROR [STDERR] at 
org.jboss.ejb.plugins.BMPPersistenceManager.callFinderMethod(BMPPersistenceManager.java:636)
 18:11:40,623 ERROR [STDERR] at 
org.jboss.ejb.plugins.BMPPersistenceManager.findEntity(BMPPersistenceManager.java:330)
 18:11:40,623 ERROR [STDERR] at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.findEntity(CachedConnectionInterceptor.java:262)
 18:11:40,624 ERROR [STDERR] at 
org.jboss.ejb.EntityContainer.find(EntityContainer.java:687)
 18:11:40,624 ERROR [STDERR] at java.lang.reflect.Method.invoke(Native Method)
 18:11:40,625 ERROR [STDERR] at 
org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:)
 18:11:40,625 ERROR [STDERR] at 
org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:230)
 18:11:40,625 ERROR [STDERR] at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:176)
 18:11:40,626 ERROR [STDERR] at 
org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:134)
 18:11:40,626 ERROR [STDERR] at 
org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:79)
 18:11:40,627 ERROR [STDERR] at 
org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:44)
 18:11:40,627 ERROR [STDERR] at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:98)
 18:11:40,628 ERROR [STDERR] at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:167)
 18:11:40,628 ERROR [STDERR] at 
org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:52)
 18:11:40,629 ERROR [STDERR] at 
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:104)
 18:11:40,629 ERROR [STDERR] at 
org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:109)
 18:11:40,629 ERROR [STDERR] at 
org.jboss.ejb.EntityContainer.invokeHome(EntityContainer.java:487)
 18:11:40,630 ERROR [STDERR] at org.jboss.ejb.Container.invoke(Container.java:727)
 18:11:40,631 ERROR [STDERR] at 
org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1055)
 18:11:40,631 ERROR [STDERR] at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492)
 18:11:40,631 ERROR [STDERR] at 
org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:98)
 18:11:40,632 ERROR [STDERR] at 
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:102)
 18:11:40,632 ERROR [STDERR] at 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:73)
 18:11:40,633 ERROR [STDERR] at 
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:76)