[JBoss-user] JBoss + Linux

2003-06-03 Thread Gabriel Pinto

Hello,

I'm running JBoss on RH8 Linux, and I'd like to know if it's possible to 
run an aplication deployed in JBoss with linux user permissions to the 
file system. How can I do this?

Thanks

Gabriel



---
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Datasource Urgent!!

2003-04-04 Thread Gabriel Pinto

How can I prevent a DataSource JNDI, deployed inside an application ear,  
from being accessed from all others applications?

Thanks

Gabriel






---
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] deploy URL X link

2003-03-24 Thread Gabriel Pinto


What's the difference between deploying using a deploy URL and a Link ?

For example:



First case:
deploy dirs = /jboss/servers/default/deploy, /home/usr/deploy
app = /home/usr/deploy/app.ear




Second case:
deploy dirs = /home/servers/default/deploy
app = /home/usr/deploy/app.ear

link: ln -s /home/usr/deploy /home/servers/default/deploy/usr



Thanks a lot

Gabriel




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


[JBoss-user] loader repository

2003-03-07 Thread Gabriel Pinto




Does anyone knows why I cannot use loader-repository in my 
application=20
when I am deploying on a second level directory, like=20
./deploy/directory/

thanks a lot





-- 

Gabriel Esteves Marques Pinto

   Diretor de TI
[EMAIL PROTECTED]
  www.brainweb.com.br
(19)3287-7060  Ramal:253
 Núcleo SOFTEX-Campinas






---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] j_secuity_check

2003-02-17 Thread Gabriel Pinto

Michael, Bobby,


What if I'm using jakarta-tomcat(4.1.18)? Does it have something similar?


Thanks everybody...



On Fri, 14 Feb 2003, Bobby Abraham wrote:

 Gabriel Pinto wrote:
  How can I know where j_security_check will foward me after login 
  authentication?
  
  Thanks
  
  Gabriel
  
  
 
 If you are using jetty you can get the session attribute 
 org.mortbay.jetty.URI
 
 This will contain the name of the page the user was attempting to access .
 
 eg.
String destination_page = (String) 
 session.getAttribute(org.mortbay.jetty.URI);
 
 
 
 

-- 

Gabriel Esteves Marques Pinto

   Diretor de TI
[EMAIL PROTECTED]
  www.brainweb.com.br
(19)3287-7060  Ramal:253
 Núcleo SOFTEX-Campinas






---
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] j_secuity_check

2003-02-14 Thread Gabriel Pinto

That's ok !

But what I need is to know where it will take me when I am at the login 
page, so that I can make differen login pages to differente protected 
contexts.

Does anyone knows how to do it?

Thaks

Gabriel



On Thu, 13 Feb 2003, David Ward wrote:

 The user will go wherever he/she was trying to go to before web-tier 
 security intercepted the request and presented the login page.  If the 
 user fails to authenticate, you can configure the error page in web.xml.
 
 --
 
 Gabriel Pinto escribió::
  How can I know where j_security_check will foward me after login 
  authentication?
  
  Thanks
  
  Gabriel
  
  
 
 
 
 ---
 This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
 are you planning your Web Server Security? Click here to get a FREE
 Thawte SSL guide and find the answers to all your  SSL security issues.
 http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 

-- 

Gabriel Esteves Marques Pinto

   Diretor de TI
[EMAIL PROTECTED]
  www.brainweb.com.br
(19)3287-7060  Ramal:253
 Núcleo SOFTEX-Campinas






---
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] j_secuity_check

2003-02-13 Thread Gabriel Pinto

How can I know where j_security_check will foward me after login 
authentication?

Thanks

Gabriel


-- 

Gabriel Esteves Marques Pinto

   Diretor de TI
[EMAIL PROTECTED]
  www.brainweb.com.br
(19)3287-7060  Ramal:253
 Núcleo SOFTEX-Campinas






---
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] multiple login-config

2003-02-12 Thread Gabriel Pinto


Is it possible to have different login-config for different 
security-constraint at the web.xml ? 


Thanks

Gabriel

-- 

Gabriel Esteves Marques Pinto

   Diretor de TI
[EMAIL PROTECTED]
  www.brainweb.com.br
(19)3287-7060  Ramal:253
 Núcleo SOFTEX-Campinas






---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Deploy in different directory

2003-02-02 Thread Gabriel Pinto

I´m running JBOSS 3.05 with RedHat7.2 and I´m trying to change the deploy 
dir for users applications.

Instead of deploying applications at 
/usr/local/jboss/server/default/deploy
they would deploy at something like /home/USER/jboss_deploy

Is there anyway of doing that?

If yes, how could I manage file permissions, so that JBOSS user could read 
and write things at the other users application dirs with security?

Thanks for your attention.
 

-- 

Gabriel Esteves Marques Pinto

   Diretor de TI
[EMAIL PROTECTED]
  www.brainweb.com.br
(19)3287-7060  Ramal:253
 Núcleo SOFTEX-Campinas






---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Jboss - Tomcat help !!

2003-01-30 Thread Gabriel Pinto


I'm getting some errors sometimes when I try to access my application.

Does anyone know what is it ?

Thanks

Gabriel

Error:

Apache Tomcat/4.0.6 - HTTP Status 500 - Internal Server Error



type Exception report

message Internal Server Error

description The server encountered an internal error (Internal Server 
Error) that prevented it from fulfilling this request.

exception 

javax.servlet.ServletException: loader constraints violated when linking 
javax/servlet/jsp/JspWriter class
at 
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:471)
at org.apache.jsp.login$jsp._jspService(login$jsp.java:67)
at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
at 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:475)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at 
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at 
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at 
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
at 
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
at java.lang.Thread.run(Thread.java:536)


root cause 

java.lang.LinkageError: loader constraints violated when linking 
javax/servlet/jsp/JspWriter class
at org.apache.jsp.login$jsp._jspService(login$jsp.java:51)
at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
at 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at 

[JBoss-user] login-config.xml

2003-01-28 Thread Gabriel Pinto


Is it possible to have my login-config.xml file deployed with my 
application, inside my application.ear ? Instead of having to modify it at 
the /conf/login.config.xml

Thanks

Gabriel


-- 

Gabriel Esteves Marques Pinto

   Diretor de TI
[EMAIL PROTECTED]
  www.brainweb.com.br
(19)3287-7060  Ramal:253
 Núcleo SOFTEX-Campinas






---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] redirect to error page

2003-01-28 Thread Gabriel Pinto

How can I redirect the errors like 404,403 of jboss-tomcat to a jsp page ?

Thanks

Gabriel


-- 

Gabriel Esteves Marques Pinto

   Diretor de TI
[EMAIL PROTECTED]
  www.brainweb.com.br
(19)3287-7060  Ramal:253
 Núcleo SOFTEX-Campinas






---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] postgres-service.xml

2003-01-24 Thread Gabriel Pinto

How to make this reference to the .sar in the jboss-app.xml ?
Could you give me an example?

Thanks for your help

Gabriel




On Fri, 24 Jan 2003, David Jencks wrote:

 You should be able to put it directly in the .ear and reference it from 
 a jboss-app.xml file next to application.xml, but this is currently 
 broken in most jboss versions.  You can rename it to jboss-service.xml, 
 put it in META-INF in a postres-stuff.sar, put that in your .ear, and 
 reference the postgres-stuff.sar in a jboss-app.xml
 
 david jencks
 On Friday, January 24, 2003, at 08:23 AM, Gabriel Pinto wrote:
 
 
  I'm currently using the file postgres-service.xml deployed into
  server/default/deploy/. Is there anyway to put this file inside my 
  ear, so
  then it can be deployed from my application?
 
  Thanks
 
  Gabriel
 
 
  -- 
 
  Gabriel Esteves Marques Pinto
  
 Diretor de TI
  [EMAIL PROTECTED]
www.brainweb.com.br
  (19)3287-7060  Ramal:253
   Núcleo SOFTEX-Campinas
  
 
 
 
 
 
  ---
  This SF.NET email is sponsored by:
  SourceForge Enterprise Edition + IBM + LinuxWorld  Something 2 See!
  http://www.vasoftware.com
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 
 
 
 ---
 This SF.NET email is sponsored by:
 SourceForge Enterprise Edition + IBM + LinuxWorld http://www.vasoftware.com
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 

-- 

Gabriel Esteves Marques Pinto

   Diretor de TI
[EMAIL PROTECTED]
  www.brainweb.com.br
(19)3287-7060  Ramal:253
 Núcleo SOFTEX-Campinas






---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] context

2003-01-23 Thread Gabriel Pinto

Is it possible to isolate an ear context from others?

For example, can I have beans with the same name and same jndi names, but 
in different applications? 

Thanks

Gabriel

-- 

Gabriel Esteves Marques Pinto

   Diretor de TI
[EMAIL PROTECTED]
  www.brainweb.com.br
(19)3287-7060  Ramal:253
 Núcleo SOFTEX-Campinas






---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] context

2003-01-23 Thread Gabriel Pinto

If you knows the web context, then you knows the ear context. So, you 
should be able to lookup names inside the ear context?

Is it possible?

Thanks

Gabriel

-- 

Gabriel Esteves Marques Pinto

   Diretor de TI
[EMAIL PROTECTED]
  www.brainweb.com.br
(19)3287-7060  Ramal:253
 Núcleo SOFTEX-Campinas






---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Too Slow

2003-01-22 Thread Gabriel Pinto

I'm running JBOSS in a Pentium III 1gHz with 512MB RAM with RedHat 7.2, 
but it is too slow!

Even when I run only jsp files I can't get a reasonable speedy.

When I run the application in a AMD Duron 800Mhz 256MB RAM it works a lot 
better?

Anyone have any idea?

Is there any configuration that can be made to JBOSS that let it faster 
running in Linux?

Thanks ...



-- 

Gabriel Esteves Marques Pinto

   Diretor de TI
[EMAIL PROTECTED]
  www.brainweb.com.br
(19)3287-7060  Ramal:253
 Núcleo SOFTEX-Campinas






---
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Session

2003-01-20 Thread Gabriel Pinto


Is it possible to call a local stateful session bean from a remote
statefull session bean? Is there any restriction?

Thanks

Gabriel



-- 

Gabriel Esteves Marques Pinto

   Diretor de TI
[EMAIL PROTECTED]
  www.brainweb.com.br
(19)3287-7060  Ramal:253
 Núcleo SOFTEX-Campinas






---
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] 1:n relationship / ejbCreate() with CMP

2003-01-16 Thread Gabriel Pinto

You must set your foreign key as a cmr field. Then you can set it at the 
post create method.

Gabriel



On Thu, 16 Jan 2003, Marek Lange wrote:

 Hi all,
 
 I definded a 1:n relationship between two tables. My question: how do I 
 insert a data set with ejbCreate() in the table containing the foreign 
 key? Do I have to define the foreign key as a cmp-field? Going this 
 way, the container always generates a false SQL statement which contains 
 the column name twice. If I do not define the foreign key field as a 
 cmp-field the SQL statement looks correct, but how can I tell the 
 container: put this value in the foreign key field? The field is never 
 filled with data.
 
 Thanks,
 Marek
 
 
 
 ---
 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
 

-- 

Gabriel Esteves Marques Pinto

   Diretor de TI
[EMAIL PROTECTED]
  www.brainweb.com.br
(19)3287-7060  Ramal:253
 Núcleo SOFTEX-Campinas






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



[JBoss-user] Virtual Hosts

2003-01-16 Thread Gabriel Pinto


How to configure JBOSS to work with diffetent applications, from 
different users, without interfering one with the others? Is the solution 
the use of Virtual Hosts?

How to configure Virtual Hosts?
How do the different users deploy their applications?

Thanks

Gabriel



-- 

Gabriel Esteves Marques Pinto

   Diretor de TI
[EMAIL PROTECTED]
  www.brainweb.com.br
(19)3287-7060  Ramal:253
 Núcleo SOFTEX-Campinas






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