[jboss-user] [JBoss Web Services Users] - Re: InvokerServlet in JBoss 4.2.2

2009-11-30 Thread ramboid
One can give the appropriate "privilege" to the invoker servlet in the context.xml file and then one can use it. I think that somebody decided that the invoker servlet was "unsafe" and that one must configure jboss to use it bu giving it the "privilege" View the original post : http://www.jbo

[jboss-user] [Beginner's Corner] - Re: Uploading dtd files in JBoss

2009-08-25 Thread ramboid
The only solution that occurs to me is to upload the dtd files in the ROOT folder and add a namespace pointing to the folder. The impression that I have is that the resolver is a new development in JBoss so we may have to wait for a more detailed documentation. Nevertheless, it seems that it wi

[jboss-user] [Beginner's Corner] - Re: Uploading dtd files in JBoss

2009-08-24 Thread ramboid
Thank you Wolfgang. Did you find any information about this in the Wiki? I have looked but I aeem to be missing further information about catalogs in wiki pages for the Jax-WS. Also, do you know if the Entity Resolvers can help with this. There is an example in the Wiki but it is difficult t

[jboss-user] [Beginners Corner] - Uploading dtd files in JBoss

2009-08-21 Thread ramboid
Where shoudl I upload dtd files for xml files that my web pplications serve? I can add the url for the dtd in the prologue of the xml file so the dtd can be used seamleassly View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250955#4250955 Reply to the post :

[jboss-user] [Beginners Corner] - Basic AUhentication:Updating password dinamically

2009-06-11 Thread ramboid
Is there a way in which I could change the password for a role at run time with a java program (servlet, ejb, ...) priodically without having to manually edit the properties file that associate the role to the password? I would like to have a program that every so often would change the passwor

[jboss-user] [Beginners Corner] - Re: JBoss5.0.1.GA and JAI (Java Advanced Imaging)

2009-03-18 Thread ramboid
I forgot to post the entire error log but here it goes: 2009-03-18 09:38:05,595 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/carlosv25].[invoker]] (http-0.0.0.0-8080-1) Servlet.service() for servlet invoker threw exception | javax.servlet.ServletException: java.lang.E

[jboss-user] [Beginners Corner] - Re: JBoss5.0.1.GA and JAI (Java Advanced Imaging)

2009-03-18 Thread ramboid
The problem seems to be that JBoss5.0.1.GA precludes the use of libraries loaded in $JAVA_HOME/jre/lib/ext folder. I just discovered that in JBoss5.0.1.GA, I can get eh code to work by uploading the JAI libraries (jai_codec.jar and jai_core.jar) in the lib folder of the war deployment. JBoss4

[jboss-user] [Beginners Corner] - Re: JBoss5.0.1.GA and JAI (Java Advanced Imaging)

2009-03-16 Thread ramboid
Posted: Sun Mar 15, 2009 14:14 PMPost subject: JBoss5.0.1.GA and JAI (Java Advanced Imaging) Has somebody run the JAI in JBoss5.0.1.GA (the latest release)? I have been running the JAI in JBoss 4.x.GA (seve

[jboss-user] [Beginners Corner] - JBoss5.0.1.GA and JAI (Java Advanced Imaging)

2009-03-15 Thread ramboid
Has somebody run the JAI in JBoss5.0.1.GA (the latest release)? I have been running the JAI in JBoss 4.x.GA (several versions) in Linux RedHat for several years and I am testing JBoss5.0.1.GA. Code that runs fine in JBoss4.2..GA fails in JBoss5.0.0.GA. In the line of code, javax.media.jai.Plana

[jboss-user] [Beginners Corner] - Message Driven Ben in JBoss5.0.0.GA

2009-03-02 Thread ramboid
Could someone point me in the right direction to create and use a Message Driven Bean (EJB 2.x) in JBoss5.x? I have created an MDB in JBoss5 along with the clients but I am having difficulties retrieving the messages in the queue. I have done the following: 1) I created a queue by uploading an

[jboss-user] [Beginners Corner] - Re: Serving Static Content JBoss5.0.0.GA

2009-02-23 Thread ramboid
Thank you PeterJ. I will try this option and try to decide between this solution and just copying the folder witht he static content into the ROOT context. I now have acouple of laterntaives to try. The solution that you describe proabbly allows greater flexibility and I will have to weigh the

[jboss-user] [Beginners Corner] - Re: Serving Static Content JBoss5.0.0.GA

2009-02-23 Thread ramboid
A couple of questions: 1) Where is the profile-service.xml file? I cannot find it 2) Would this replace the current deploy folder or jsut add another? It would be difficult to replace it because I would need to re-work all the procedures that I have designed for the developers and the QA departme

[jboss-user] [Beginners Corner] - Re: Serving Static Content JBoss5.0.0.GA

2009-02-23 Thread ramboid
Do you know how to use the DefaultServlet to render static content? If I understand clearly, in JBoss 5.x, one cannot add a Context element to the Host element anywhere. Researching the wiki, I found somebody that mentioned the use of the DefaultServlet to serve static content but the explanat

[jboss-user] [Beginners Corner] - Serving Static Content JBoss5.0.0.GA

2009-02-22 Thread ramboid
Is there a way to serve static ontent with JBoss5.0.0.GA? I used to add a Context element in the server.xml file of JBoss4.X and that was sufficient to server static content. In JBoss5.0.0.GA, I just get errors when I try to add a context element on the server.xml. It appears that the context

[jboss-user] [Beginners Corner] - Re: Timer in JBoss

2009-02-18 Thread ramboid
I have done something like this with Quartz. Quartz comes with JBoss and you can either create a Quartz MDB. Search the Wiki for Quartz. There is annotated example for an EJB3 that you can just copy and add a call to whatever EJB, servlet, or program you want. View the original post : http:

[jboss-user] [Beginners Corner] - Re: JBoss 5.0.0.GA and RedHat compatibility

2009-02-18 Thread ramboid
Thank you for your help. There was a problem is the hosts file after all. I re-checked with my network pundits and the entry in the hosts file should have been changed a few ago. Entering the correct address in the hosts file corrected the shutdown problem of the current Jboss 4.2.3 version i

[jboss-user] [Beginners Corner] - Re: JBoss 5.0.0.GA and RedHat compatibility

2009-02-16 Thread ramboid
# Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost 209.4.117.83pbsiemr.gcdhn.com pbsiemr I think that this is fine. The file properties are rw r r View the original post : http://w

[jboss-user] [Beginners Corner] - Re: JBoss 5.0.0.GA and RedHat compatibility

2009-02-16 Thread ramboid
Thank you for your reply. I reviewed the link in your email and it looks like my server is configured with the proper entries in the hosts file and is using the correct ip protocol. I think that something is precluding JBoss from binding to the 8080 and other ports. Moreover, when I run JBoss

[jboss-user] [Beginners Corner] - JBoss 5.0.0.GA and RedHat compatibility

2009-02-14 Thread ramboid
Is there a required version of RedHat in which JBoss 5.x can work? I tried to run JBoss 5.0.0.GA in Linux RedHAt version 2.4.21-27.0.2.ELsmp (output from uname -a) but JBoss never binds to 8080; even though it seems to bind to 8083. I have a log file that I can make available for further inspe

[jboss-user] [EJB/JBoss] - Re: Transaction timeout

2009-01-29 Thread ramboid
By User transaction do you mean adding an annotation in th eEJB3? Thank you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205581#4205581 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205581 __

[jboss-user] [EJB/JBoss] - Transaction timeout

2009-01-27 Thread ramboid
If I add a global transaction timeout in the jboss config files and another in an annotation in an EJB, which transaction timeout takes effect? I ahve an EJB3 that is calling a third party EJB 2.0. The EJB2.0 inserts data in the database and the process make take several minutes (the EJB is up

[jboss-user] [Security & JAAS/JBoss] - Preemptive Authentication

2008-12-12 Thread ramboid
How do I secure the context of a web application (package.war) with Basic Preemptive Authentication? I can set up Basic authentication in JAAS but I have not found a setting to allow preemtive authentication. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=419

[jboss-user] [Beginners Corner] - Using same job class in Quartz scheduler

2008-12-08 Thread ramboid
How can I use the same class as a quartz job in Quartz? I am creating quartz jobs with the quartz implementaion of JBoss 4.2.3.GA. From a web object I add the job to the scheduler and create the cron. I add the job class name in the job detail as follows: org.quartz.JobDetail jd = new org.qu

[jboss-user] [Security & JAAS/JBoss] - Re: Problems Getting HTTP Response

2008-11-10 Thread ramboid
Thank you Wolfgang, The server that runs PBSITest is a remote server, running a webservice. Hence, I lack control upon its configuration. I am trying to use the webservice from a JBoss web application, running in my server. I think that this is an internal error of the remote webservice and th

[jboss-user] [Security & JAAS/JBoss] - Re: Problems Getting HTTP Response

2008-11-10 Thread ramboid
Shouldn't this be added to the server that is sending the response instead? If I need to add it to the server with the web application that is issuing the request, shoudl I create a text web.config file in the "/my_webapp/t" folder? View the original post : http://www.jboss.com/index.html?modu

[jboss-user] [Security & JAAS/JBoss] - Problems Getting HTTP Response

2008-11-10 Thread ramboid
Could there be a session tracking problem when an HTTP client that runs in a servlet tries to read an HTTP response from a remote webservice? I wrote a servlet that calls a remote webservice via an HTTP client. The HTTP client is posting the correct XML to the webservice but in the HTTP resons

[jboss-user] [Installation, Configuration & DEPLOYMENT] - How to spare authentication for some ip addresses

2008-10-21 Thread ramboid
Is there a waty to spare some ip addresses from having to authenticate? I have secured a web application with Basic Authentication (user and password) but I want to let some ip addresses to use the application without having to authenticate View the original post : http://www.jboss.com/index.h

[jboss-user] [Security & JAAS/JBoss] - Vulnerability Scan in JBoss 2.2.3.GA

2008-08-29 Thread ramboid
How can I configure the version 2.2.3.GA to avoid a vulnerability with the status servlet without having to leave the open source version of JBoss? In a latest vulnerability scan of my company systems, the JBoss 2.2.3.GA was reproted with the following vulnerability: TCP 8443 pcsync-https 5 S

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Deployng war file: Using InvokerServlet in JBoss 4.2.2

2008-03-23 Thread ramboid
If I were to change the web.xml to map each servlet individually, I would have to change the deployment process and design a new implementation strategy for my team. Hence, we will probaly use the invoker for the time being. I am upgrading an internal application to benefit from the new versio

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Deployng war file: Using InvokerServlet in JBoss 4.2.2

2008-03-21 Thread ramboid
If the InvokerServlet is evil, how would you suggest that I map the servlets without having to add an entry for each one of them in the web.xml? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138391#4138391 Reply to the post : http://www.jboss.com/index.html

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Deployng war file: Using InvokerServlet in JBoss 4.2.2

2008-03-20 Thread ramboid
With JBoss 4.2.2, can I use the InvokerServlet in the section of my web.xml? With JBoss 4.0.5GA, I was able to create war deployments with a web xml that would map the servlets as follows: invoker org.apache.catalina.servlets.InvokerServlet 2 invoker /servlet/* But in JBoss 4.2.

[jboss-user] [JBossWS] - InvokerServlet in JBoss 4.2.2

2008-03-20 Thread ramboid
With JBoss 4.2.2, can I use the InvokerServlet in th e section of my web.xml? With JBoss 4.0.5GA, I was able to create war deploymenst with a web xml that would map the servlets as follows: invoker org.apache

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Redirecting URL for web application

2008-03-12 Thread ramboid
How can JBoss re-write the url for a web application? I have a servlet that can be invoked by the following urls's: 1) https://:8443/test/servlet/mywar.htest 2) https://myserver.mydomain:8443/test/servlet/mywar.htest I want to write a rule in the the context.xml file of the web application (in

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Loading Context entered in server.xml file

2008-02-21 Thread ramboid
Is there a way to make tomcat load a context that I enter in the server.xml file? I added a Context entry into the server.xml file to make available an External Directory (as it is explained in the How To documentation) but I need to restart jboss before I can access the content in the external

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - How to terminate a running servlet from JMX?

2008-01-23 Thread ramboid
How can stop, undeploy, start, etc one servlet that runs in a context? I can stop, start, undeploy, deploy, etc all the servlets of a context via the JMX concole by using the MainDeployer MBean operations. I would like to carry out these operations in just one servlet of the context. View the

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Scheduler calling several instances of same class

2007-10-10 Thread ramboid
Can I scope the classes of a SAR deployment so that the JBoss Scheduler can distinguish between the Schedulable classes of two SAR deployments? I wrote a class that implements the Schedulable interface and that calls a custom class (in the same way that example 10 describes). I packaged the cu

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Adding configuration files to SAR deployment

2007-07-19 Thread ramboid
How can I configure a SAR deployment so that some extra files are available to the deployed application? I have a custom class that is called from a Schedulable class. The custom class looks for a cfg file in the root of JBoss. I have added the cfg file to each of the folders of the sar deplo

[jboss-user] [Performance Tuning] - Monitoring servlets connections to database

2007-06-12 Thread ramboid
How can configure JBoss to monitor the connections that servlets make to a database via JDBC? We want to monitor a servlet's connection and a servlet's performance to identify servlets that may be hogging resources. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopi