[jboss-user] [JBoss Web Services Users] - Re: InvokerServlet in JBoss 4.2.2
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.jboss.org/index.html?module=bbop=viewtopicp=4268065#4268065 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268065 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: Uploading dtd files in JBoss
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 wil be quite useful. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4251600#4251600 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4251600 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: Uploading dtd files in JBoss
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 to follow due to its brevity. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4251188#4251188 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4251188 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Uploading dtd files in JBoss
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=bbop=viewtopicp=4250955#4250955 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250955 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Basic AUhentication:Updating password dinamically
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 password for the a role View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237123#4237123 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4237123 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: JBoss5.0.1.GA and JAI (Java Advanced Imaging)
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.x uses the libraries loaded in the ext folder seamlessly so the JAI libraries uploade in the ext folder are available to any war deployment. Is there a configuration setting that would allow using the ext folder in JBoss5.0.1.GA? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4219055#4219055 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4219055 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: JBoss5.0.1.GA and JAI (Java Advanced Imaging)
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.ExceptionInInitializerError | at mymrs.pbapi005a.execute_int(pbapi005a.java) | at mymrs.pbapi005a.execute(pbapi005a.java) | at mymrs.rmr0117pn.execute_int(rmr0117pn.java) | at mymrs.rmr0117pn.execute(rmr0117pn.java) | at mymrs.rmr0117p.execute_int(rmr0117p.java) | at mymrs.rmr0117p.execute(rmr0117p.java) | at mymrs.rvsi7000bba.execute_int(rvsi7000bba.java) | at mymrs.rvsi7000bba.execute(rvsi7000bba.java) | at mymrs.rvsi7000baa.execute_int(rvsi7000baa.java) | at mymrs.rvsi7000baa.execute(rvsi7000baa.java) | at mymrs.aser5035_impl.webExecute(aser5035_impl.java) | at com.genexus.webpanels.GXWebObjectBase.doExecute(Unknown Source) | at mymrs.aser5035.doExecute(aser5035.java) | at com.genexus.webpanels.GXWebObjectStub.callExecute(Unknown Source) | at com.genexus.webpanels.GXWebObjectStub.doPost(Unknown Source) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:402) | at org.apache.catalina.servlets.InvokerServlet.doPost(InvokerServlet.java:170) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) | at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) | at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at com.jamonapi.http.JAMonTomcatValve.invoke(JAMonTomcatValve.java:72) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) | at java.lang.Thread.run(Thread.java:595) | Caused by: java.lang.ClassCastException: javax.media.jai.operator.AbsoluteDescriptor | at javax.media.jai.RegistryFileParser.registerDescriptor(RegistryFileParser.java:360) | at javax.media.jai.RegistryFileParser.parseFile(RegistryFileParser.java:295) | at javax.media.jai.RegistryFileParser.loadOperationRegistry(RegistryFileParser.java:55) | at javax.media.jai.OperationRegistry.initializeRegistry(OperationRegistry.java:369) | at javax.media.jai.JAI.clinit(JAI.java:382) | ... 42 more | | at com.genexus.webpanels.GXWebObjectStub.callExecute(Unknown Source) | at com.genexus.webpanels.GXWebObjectStub.doPost(Unknown Source) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:402) | at org.apache.catalina.servlets.InvokerServlet.doPost(InvokerServlet.java:170) | at
[jboss-user] [Beginners Corner] - Re: JBoss5.0.1.GA and JAI (Java Advanced Imaging)
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 (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.PlanarImage tmp = javax.media.jai.JAI.create(stream, bass), JBoss is throwing the following error: anonymous wrote : 2009-03-15 05:45:55,061 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.ExceptionInInitializerError I am not quite sure what could be causing this error. I have been running JBoss4.2.* headles and I ahve tried to run the code in JBoss5.0.1.GA either headless or headfull but the code fails in the same place everytime. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4218202#4218202 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218202 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - 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 (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.PlanarImage tmp = javax.media.jai.JAI.create(stream, bass), JBoss is throwing the following error: 2009-03-15 05:45:55,061 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.ExceptionInInitializerError I am not quite sure what could be causing this error. I have been running JBoss4.2.* headles and I ahve tried to run the code in JBoss5.0.1.GA either headless or headfull but the code fails in the same place everytime. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4218101#4218101 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218101 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Message Driven Ben in JBoss5.0.0.GA
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 xml in the deploy folder. This created a queue that I can see through JMX under jboss.mq.destination 2) Created a mdb and two clients. I got the examples fromhttp://benmira.free.fr/en/j2ee/jms.htm. I changed the descriptor files and the lookup of the ConnectionFactory because JBoss5.0.0.GA lacks a QueueConnectionFactory but still has the ConnectionFactory 3) The MDB installs fine in JBoss after I drop the jar file in the deploy folder 4) The MessageSender code runs fine and creates entries int the queue. I can see via JMX in the Destinations entry of the ServerPeer bean of the Queue bean. The message counter has an entry as follows:Queue,Queue.MyQueue,-,-,2,0,0,0,3/2/09 11:50:49 AM]. Where MyQueue is the name of the queue 5) The MessageReceiver seems to launch the onMessage event of the MDB but the client fails to retrieve the messages in the queue View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4214245#4214245 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4214245 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Serving Static Content JBoss5.0.0.GA
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 explanation is somewhat thrifty. Another possibility is to copy the static content to the ROOT.war folder. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212249#4212249 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212249 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Serving Static Content JBoss5.0.0.GA
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 department View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212334#4212334 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212334 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Serving Static Content JBoss5.0.0.GA
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 extra functionality against redoing the established protocols of the team. Thank you again. PS: I hope that JBoss 5.0.1.GA will let us define static context with greater ease; without having to al ter the profile. Perhaps, such flexibility can be added to the deployers folder. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212364#4212364 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212364 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Serving Static Content JBoss5.0.0.GA
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 cannoit be found as a child of the host element. Thw wiki just have examples for JBoss 4.x but lacks an examole for JBoss5.x View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212063#4212063 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212063 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: JBoss 5.0.0.GA and RedHat compatibility
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 installed. I will re-try installing JBoss 5.0.0.GA with the corrected hosts file. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4211047#4211047 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4211047 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Timer in JBoss
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://www.jboss.org/index.html?module=bbop=viewtopicp=4211049#4211049 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4211049 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: JBoss 5.0.0.GA and RedHat compatibility
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 JBoss4.2.3 instead of JBoss 5.0.0.GA, the server binds properly to the 8080 and 8443 ports but the shutdown scrit (shutdown.sh) freezes and I must kill the process to stop JBoss. I am getting the following warning and errors in the server.log file when I run JBoss5.0.0.GA with the script run.sh -b 0.0.0.0: [r...@pbsiemr log]# cat server.log|grep WARN 2009-02-14 13:49:32,755 WARN [org.jboss.annotation.factory.AnnotationCreator] (main) No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent [r...@pbsiemr log]# cat server.log|grep ERROR 2009-02-14 13:49:33,412 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Create: name=TransactionManager state=Configured 2009-02-14 13:49:34,747 ERROR [org.jboss.system.server.profileservice.ProfileServiceBootstrap] (main) Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): - TransactionManager{Configured:**ERROR**} - TransactionManager{Instantiated:**ERROR**} - TransactionManager{Create:**ERROR**} - TransactionManager{Configured:**ERROR**} *** CONTEXTS IN ERROR: Name - Error TransactionManager - **ERROR** | com.arjuna.ats.arjuna.exceptions.FatalError: [com.arjuna.ats.internal.arjuna.utils.SocketProcessId_2] - SocketProcessId.getpid could not get unique port. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4210315#4210315 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4210315 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: JBoss 5.0.0.GA and RedHat compatibility
# 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://www.jboss.org/index.html?module=bbop=viewtopicp=4210470#4210470 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4210470 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - JBoss 5.0.0.GA and RedHat compatibility
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 inspection. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4210155#4210155 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4210155 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Transaction timeout
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=bbop=viewtopicp=4205581#4205581 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4205581 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Transaction timeout
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 updating master tables). Hence I increased the transaction timeout in the JBoss 5.0 config file but it would probaby be more convenient to control the transaction timeout just for the EJB. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4205042#4205042 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4205042 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Preemptive Authentication
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=bbop=viewtopicp=4196231#4196231 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4196231 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Using same job class in Quartz scheduler
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.quartz.JobDetail(myjob,sched.DEFAULT_GROUP, NewJob.class); I want to use the same job class (NewJob.class) with different parameters in the job detail and add it to the scheduler with a adifferent cron trigger but Quartz errors out saying that the class is already in use. I must create a copy of the job class with a different name and then I can successfuly schedule the jobs. The job class is just calling different web objects depending on the parameters of the job detail but the code of the class is the same in the two copies of the job class. I want to avoid creating the same class with different names everytime that I have to schedule one of these calls. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4195093#4195093 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4195093 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Problems Getting HTTP Response
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?module=bbop=viewtopicp=4188167#4188167 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4188167 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Problems Getting HTTP Response
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 the instructions are for the remote server; not the client I believe that the remote webservice is an aspx running in a Windows box, perhaps IIS. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4188181#4188181 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4188181 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Problems Getting HTTP Response
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 resonse I am getting an html response liek the one at the end of this message. Runtime Error body {font-family:Verdana;font-weight:normal;font-size: .7em;color:black;} p {font-family:Verdana;font-weight:normal;color:black;margin-top: -5px} b {font-family:Verdana;font-weight:bold;color:black;margin-top: -5px} H1 { font-family:Verdana;font-weight:normal;font-size:18pt;color:red } H2 { font-family:Verdana;font-weight:normal;font-size:14pt;color:maroon } pre {font-family:Lucida Console;font-size: .9em} .marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; } H1Server Error in '/PBSITest' Application.hr width=100% size=1 color=silver/H1 h2 Runtime Error /h2 Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a web.config configuration file located in the root directory of the current web application. This tag should then have its mode attribute set to Off. table width=100% bgcolor=#cc !-- Web.Config Configuration File -- system.web /system.web Notes: The current error page you are seeing can be replaced by a custom error page by modifying the defaultRedirect attribute of the application's configuration tag to point to a custom error page URL. table width=100% bgcolor=#cc !-- Web.Config Configuration File -- system.web /system.web View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4188105#4188105 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4188105 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - How to spare authentication for some ip addresses
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.html?module=bbop=viewtopicp=4183451#4183451 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4183451 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Vulnerability Scan in JBoss 2.2.3.GA
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 Synopsis : The remote web server contains a servlet that is affected by an information disclosure vulnerability. Description : The version of JBoss Enterprise Application Platform (EAP) running on the remote host allows unauthenticated access to status servlet, which is used to monitor sessions and requests sent to the server. See also : https://bugzilla.redhat.com/show_bug.cgi ?id=457757 http://jira.jboss.com/jira/browse/JBPAPP -544 (login required) Solution: Upgrade to JBoss EAP version 4.2.0.CP03 / 4.3.0.CP01. Risk Factor: Medium / CVSS Base Score : 5.0 (CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N) CVE : CVE-2008-3273 BID : 30540 [More] [Hide] View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4173366#4173366 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4173366 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Deployng war file: Using InvokerServlet in JBoss 4.2.2
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 version of JBoss. Would you consider it a lesser evil setting the privileged attribute in a context.xml in the WEB-INF folder of the web application rather than in the context of tomcat? Would this not restrict the privileged setting to the context fo the wed applicaiton? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138477#4138477 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138477 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Deployng war file: Using InvokerServlet in JBoss 4.2.2
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=bbop=viewtopicp=4138391#4138391 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138391 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - InvokerServlet in JBoss 4.2.2
With JBoss 4.2.2, can I use the InvokerServlet in th eservlet-mapping 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: servlet-nameinvoker/servlet-name servlet-class org.apache.catalina.servlets.InvokerServlet /servlet-class load-on-startup2/load-on-startup servlet-mapping servlet-nameinvoker/servlet-name url-pattern/servlet/*/url-pattern /servlet-mapping But in JBoss 4.2.2 I must explicitly add a mapping for each servlet in the web.xml file instead of jsut using the invoker View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138054#4138054 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138054 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Deployng war file: Using InvokerServlet in JBoss 4.2.2
With JBoss 4.2.2, can I use the InvokerServlet in the servlet-mapping 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: servlet-nameinvoker/servlet-name servlet-class org.apache.catalina.servlets.InvokerServlet /servlet-class load-on-startup2/load-on-startup servlet-mapping servlet-nameinvoker/servlet-name url-pattern/servlet/*/url-pattern /servlet-mapping But in JBoss 4.2.2 I must explicitly add a mapping for each servlet in the web.xml file instead of just using the invoker View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138097#4138097 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138097 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Redirecting URL for web application
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://ip address: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 the WEB-INF folder) that would re-direct the first address to the second. I understand that I can write a rewrite properties file in the context.xml file but I am somewhat confused about the use of the re-write rules View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4136053#4136053 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4136053 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Loading Context entered in server.xml file
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 directory via http://:8080/external directory. Is it possible to reload tomcat or force a lood of its configuration files via the JMX console or twiddle without having to restart jboss? It would also be useful to force a loading of the context entry without having to restart tomcat for an application in production. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4131184#4131184 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131184 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - How to terminate a running servlet from JMX?
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 original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4122804#4122804 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4122804 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Scheduler calling several instances of same class
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 custom class in a jar file and deployed it inside the SAR that includes the Schedulable class. I configured the mbean tag of the jboss-service.xml to use the JBoss Scheduler and let the Scheduler to call the Schedulable class. I created two copies of the SAR deployment, name them differently, and deployed them to the default configuration. The only difference between the deployments is a custom ini file that the custom classes read to connect to a different database. I can see that the two SAR delployments install in JBoss but only the first service seems to run properly. The service that installs last seems to fail to run some of the custom classes. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4093673#4093673 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4093673 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Adding configuration files to SAR deployment
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 deployment but the custom class fails to find the cfg file unless I add it to the JBoss root folder. I was wondering if I can configure the jboss-service.xml file or other configuration file to make the cfg file available to the application. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4065909#4065909 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4065909 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Monitoring servlets connections to database
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=bbop=viewtopicp=4053684#4053684 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4053684 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user