[JBoss-user] [EJB/JBoss] - implemting JTA
Hi new to jboss can any one tell me link or how to confire jta with jboss thanx View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840090#3840090 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840090 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Modify codes ???
Hello, I am a beginner in using Javaassist. Is it possible to modify the variable values and variable name with Javassist ? For example, class test { public void init(int a, String x) { int i; String o; i = a + 1; o = x + ... ; } } In the above java, after I compiled it to test.class, how can I change the 1. init(int a, String x) to init(int intVar, String strVar) 2. int i int tmpVar; 3. String o String oVar; 4. i = a + 1 i = 10; Best regards, Eric View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840091#3840091 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840091 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - .ser file missing. please help me..
i have written a session bean it compiles and deploys right. but when i run the client applicaiton it gives me exception telling some .ser file can'nt be found or accessed. someone help me! yokivo View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840092#3840092 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840092 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - finder method in cmp bean with composite primary key
Hi all, i'm facing problem in finder method of composite primary key. I've implemented a method which find all records of table. i've implemented method in ejb-jar.xml file which returns collection of entity beans objects. i'm using session facade method. i'm accessing get method of cmp bean in session bean but it's gives error saying tat entity not found with composite primary key. but if i'm creating entity bean object using findbyprimarykey method then it can access cmp bean methods. here's code of pk file package cmp.shippingcharges; import java.io.Serializable; public class ShippingChargesPK implements java.io.Serializable { public String frontEndId; public String transportId; public ShippingChargesPK(String frontEndId, String transportId) { this.frontEndId=frontEndId; this.transportId=transportId; } public ShippingChargesPK() { } public String getFrontEndId() { return frontEndId; } public String getTransportId() { return transportId; } public String toString() { return frontEndId+-+transportId; } public boolean equals(Object obj) { if(obj instanceof ShippingChargesPK) { ShippingChargesPK otherkey=(ShippingChargesPK) obj; if((otherkey.frontEndId==frontEndId) (otherkey.transportId==transportId)) return true; else return false; } else return false; } public int hashCode() { StringBuffer sb=new StringBuffer(); sb.append(frontEndId); sb.append(transportId); String keys=sb.toString(); int hashCode=keys.hashCode(); return hashCode; } } and code of session bean is as follows:: while(i.hasNext()) { System.out.println(Remote Create 1); sc=(ShippingCharges)i.next(); System.out.println(Remote Create 2); ShippingCharges sctemp=shome.findByPrimaryKey(new ShippingChargesPK(F1,T1)); System.out.println(found by primarykey method 1); System.out.println(FrontEndOffice-+sctemp.getFrontEndId()); System.out.println(TransportMode-+sctemp.getTransportId()); System.out.println(found by primarykey method 2); //upto this works well but below call gives error //sc is an object return by findall method System.out.println(TransportMode-+sc.getFrontEndId()); ShippingChargesRecord scr=new ShippingChargesRecord(feo.getName(),tm.getTransportMode(),sc.getCost(),sc.getUnitWeight()); a.add(scr); } any help would be very much helpful Kiran View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840093#3840093 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840093 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: unable to compile jsp after redeploying war...???
turned out one of the jars included in my war was interfering with (superceding) some routines/classes used for jsp compilation. I can't for the life of me remember which it was though.. sorry. I hope that helps..somewhat. Ati View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840094#3840094 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840094 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - how to bind a serializable object into HA-JNDI
Hi, Can anybody help me? This JNDI is driving me mad... How can I bind a serializable(!) object to HA-JNDI, so that this object can be accessed and used clusterwide? Or is it just a dream I have? I know that there is a NonSerializableFactory to bind things into (HA-)JNDI, but this solution only works on the local machine. I just want to store a String object in HA-JNDI which tells everyone in the cluster which node is the master node so that the started singleton MBeans can be directly accessed. How can I achieve that? Or has anybody got another idea of how to globalize this master information? Thanks a lot, Marion View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840095#3840095 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840095 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - 3.2.3 - 3.2.4 EJB-QL Bug OR Feature ?
I try to deploy existing ( worked on 3.2.3) code to 3.2.4 and found this problem while EJB-QL compiling. This is old code | !-- | Old variant worked in 3.2.3 and NOT works in 3.2.4 | -- | SELECT OBJECT(e) | FROM employee e | WHERE e.name IS NULL | !-- | Old variant worked in 3.2.3 and NOT works in 3.2.4 | -- | SELECT OBJECT(e) FROM employee e | WHERE e.name IS NULL | Now i must to change ALL my EJB-QL querys to this type ( all statement must be in ONE string): | !-- | New variant worked in both versions | -- | SELECT OBJECT(e) FROM employee e WHERE e.name IS NULL | Have ideas ? Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840097#3840097 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840097 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: Use JCA or IL? (java:/JmsXA or java:/XAConnectionFactory
Thanks for the tips. I'm also aware of Adrian suggesting java:/JmsXA. I just can't seem to find any reasons. anonymous wrote : | java:/XAConnectionFactory might also work... I really am trying to find out if it is: - meant to work - does actually work - how and when it should be used anonymous wrote : java:/JmsXA I believe you get java:/XAConnectionFactory connections That would mean there is a link between the files: - jms-ds.xml and - jvm-il-service.xml jvm-il-service.xml | ... | attribute name=ConnectionFactoryJNDIRefjava:/ConnectionFactory/attribute | attribute name=XAConnectionFactoryJNDIRefjava:/XAConnectionFactory/attribute | ... | jms-ds.xml | mbean code=org.jboss.jms.jndi.JMSProviderLoader | name=jboss.mq:service=JMSProviderLoader,name=JBossMQProvider | ... | attribute name=QueueFactoryRefjava:/XAConnectionFactory/attribute | attribute name=TopicFactoryRefjava:/XAConnectionFactory/attribute | /mbean | Is this how they are related? the tx-connection-factory (in jms-ds.xml) does not seem to define what type of connections it is handing out? I would be very grateful for any insights into these and the original questions. Should i reformulate my questions? I am still searching FAQ, Wiki, Docu cheers View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840096#3840096 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840096 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - JMS Topic onMessage()
hey, can anybody help me? I'm trying to use for loop in my publish program to publish ten message to the topic at one time, after that i'm create another durableSubscriber program to received the message. When the durableSubscriber program subscribe to the topic, is it the topic will call my onMessage() function one by one to process the ten messages or call ten onMessage at one time to process my message? Because i'm facing the problem is my onMessage just can process a few message before the program terminate. How can i make sure the all my message is finish process before terminate the program? Inside my onMessage() is send a file use FTP using the detail inside the message i reveiced. thank you. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840098#3840098 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840098 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - what might be the cause: javax.servlet.ServletException: org
root cause javax.servlet.ServletException: org.apache.commons.collections.IteratorUtils.arrayIterator([Ljava/lang/Object;)Lorg/apache/commons/collections/iterators/ResetableIterator; at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:536) at org.apache.jsp.ListView_jsp._jspService(ListView_jsp.java:151) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356) at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069) at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) at com.topfounder.struts.CustomerServlet.doGet(CustomerServlet.java:52) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) 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:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:220) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStatsValve.java:76) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:65) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
[JBoss-user] [Persistence CMP/JBoss] - Re: finder method in cmp bean with composite primary key
Is it possible that some rows where removed from the database while you iterate through the results? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840100#3840100 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840100 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: what might be the cause: javax.servlet.ServletException:
I have deployed a war file to jboss3.2.3, and when I try to nevigate to some page, this exception is caught. I don't know why. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840101#3840101 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840101 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: .ser file missing. please help me..
Some .ser file?? You have to specify the name of the file and and post the trace log to be able to get some help. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840102#3840102 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840102 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: finder method in cmp bean with composite primary key
Hi, Thanx for prompt reply, No it is not the case that data gets deleted from the database. Before running this I am making sure that there is data in the table and after running and geting exceptions I have checked and data is there but still it gives an exception that entity not found. Thanking you in advance. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840112#3840112 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840112 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Serving files with Tomcat / JBoss
Hi I'm writing a Servlet / EJB application and deploying to JBoss 3.2.3. One of the application's functions should allow a Web client to upload image files, which will then be served by Tomcat. The idea is to store the name of the image file in the back-end database, and store the file itself in the file system, accessible by Tomcat. I know how to do this with a stand-alone Tomcat installation, but I'm not sure where to store the image files within the JBoss 3.2.3 default server installation - the application is currently deployed as an EAR, so the application's files are not readily accessible. Can anyone help me, or point me to the right documentation? Cheers, Bruno. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840113#3840113 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840113 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - read-only problem
Hi! I have some entity beans controlled by one session bean. I don' t want the find and get methods to take part in the transaction. I wrote some additional lines in the jboss.xml: my session bean: ejb-nameControllerBean/ejb-name jndi-nameMyController/jndi-name method-nameget*/method-name read-only true /read-only my entity bean: ejb-nameUserPermissionBean/ejb-name jndi-nameMyUserPermission/jndi-name method-namefind*/method-name read-only true /read-only method-nameget*/method-name read-only true /read-only As far as I know in this case the ejbstore method (option B) souldn't be called by the container after one get method is called by the client... Or? I see in my logfile that the ejbstore is called immediately after get method calling and it may lead the deadlock problem. How could I avoid calling the ejbstore in commit-option B? Thanks in advance! Topicfun View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840107#3840107 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840107 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: EJB creation fails after server restarts
What exactly are you caching? Initial Context, RemoteHome or/and Remote Object? If you give some more background I can give you some hints that works for us. /G View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840109#3840109 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840109 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: Session persistence
Sounds like a cool feature. Info about this can probably be found on Apache Tomcat site. I will check this useful feature out right now. /G View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840110#3840110 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840110 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Binding to a JNDI context path in java:comp/env
If you bothered to read the Javadoc for javax.naming.Context.bind(), you'd see it says All intermediate contexts and the target context (that named by all but terminal atomic component of the name) must already exist That's what documentation's for, you know? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840108#3840108 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840108 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: CMR / EJB-QL problem?
You should be able to build JBoss w/o any additional setup steps if the right command was used and check out went ok. The Ant version which is distributed with JBoss should be used. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840106#3840106 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840106 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: JbossSecurityMgrRealm problem in Jboss 3.2.4-tomcat 5.0.
I'm sorry I can't help you with an anwser, because I'm having the same problem. If there is a solution I would hear it too. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840105#3840105 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840105 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - TopicSelector Exception !
Publishing to unidentifyed topic not allowed when publisher created with an identifyed topic created? thx View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840104#3840104 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840104 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: jgroups error messaged in 3.2.4 final
I _quickly_ tested Bela's jbossha.jar, and went straight to production with it. So it's been 3 days now, and everything looks fine, so if anybody's having this issue I recommand to use this new jbossha.jar. If I ever have trouble with it, I'll post it here. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840115#3840115 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840115 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - JBOSS-3.2.1 and LDAP Settings
Dear all.. I am new to j2ee and LDAP . in my project iam using jboss 3.2.1, mysql and directory service LDAP. iam able to write servlets and ejb to store data in mysql . now user can fill up registration form and that data is available in mysql. i want to store same data in LDAP .and user can search for other users...etc using LDAP. how could i do that ? is it possible to write servlet for LDAP. can jboss 3.2.1 supports this feature. i configured jboss insuch a way to use mysql . is any thing i have to do for using LDAP. Thanking you in advance. regards madadi View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840116#3840116 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840116 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: EJB creation fails after server restarts
gorano, We are caching the remote home in our service locator. jamesstrachan, Thanks for the proposed workaround. Besides, all I know is that it workds using WebLogic, I was expecting the same behavior from JBOSS. I dont know if it is allowed in the J2EE specifications. Thanks for your help, Regards, FrereTuck View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840118#3840118 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840118 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: deploy order/directories + singleton
Hi, this thread should answer your first question: http://www.jboss.org/index.html?module=bbop=viewtopict=50112 Cheers Martin View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840120#3840120 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840120 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - JTA Timed out
Hi i am calling a doa from a SF bean, i am managing transaction in SF usiong JTA, but it htrows following exception, what could be the reason 14:37:47,796 INFO [STDOUT] GOT INITIALCONTEXT. 14:37:47,796 INFO [STDOUT] GOT USER TRANSACTION. 14:37:47,796 INFO [STDOUT] BEFGIN TRANSACTION. 14:37:47,828 FATAL [OraContributionDetailsDAO] Fatal error occured in class OraContributionDetailsDAO - maintainContributionDetailsVO java.sql.SQLException: ORA-01722: invalid number ORA-06512: at SIYAYAUSER.PROC_INSERTCONTRIBUTIONDETAILS, line 33 ORA-06512: at line 1 14:37:47,828 INFO [STDOUT] BEFORE ROLLBACK. 14:37:47,843 ERROR [STDERR] com.dol.common.exception.DAOException: 14:37:47,843 ERROR [STDERR] at com.dol.siyaya.dao.contribution.OraContributionDetailsDAO.maintainContributionDetailsVO(OraContributionDetailsDAO.java:162) 14:37:47,843 ERROR [STDERR] at com.dol.siyaya.ejb.facade.ContributionSFBean.maintainContributionDetails(ContributionSFBean.java:214) 14:37:47,843 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 14:37:47,843 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 14:37:47,843 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 14:37:47,843 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324) 14:37:47,843 ERROR [STDERR] at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683) 14:37:47,843 ERROR [STDERR] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185) 14:37:47,843 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84) 14:37:47,843 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:144) 14:37:47,843 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:62) 14:37:47,843 ERROR [STDERR] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72) 14:37:47,843 ERROR [STDERR] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118) 14:37:47,843 ERROR [STDERR] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) 14:37:47,843 ERROR [STDERR] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) 14:37:47,843 ERROR [STDERR] at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331) 14:37:47,843 ERROR [STDERR] at org.jboss.ejb.Container.invoke(Container.java:700) 14:37:47,843 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 14:37:47,843 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 14:37:47,843 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 14:37:47,843 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324) 14:37:47,843 ERROR [STDERR] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) 14:37:47,843 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) 14:37:47,843 ERROR [STDERR] at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:101) 14:37:47,843 ERROR [STDERR] at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:90) 14:37:47,843 ERROR [STDERR] at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46) 14:37:47,843 ERROR [STDERR] at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45) 14:37:47,843 ERROR [STDERR] at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:100) 14:37:47,843 ERROR [STDERR] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85) 14:37:47,843 ERROR [STDERR] at $Proxy45.maintainContributionDetails(Unknown Source) 14:37:47,843 ERROR [STDERR] at com.dol.siyaya.web.bd.ContributionBD.maintainContributionDetails(ContributionBD.java:168) 14:37:47,843 ERROR [STDERR] at com.dol.siyaya.web.controller.ContributionController.doBackEndProcessing(ContributionController.java:2027) 14:37:47,843 ERROR [STDERR] at com.dol.siyaya.web.controller.ContributionController.doPost(ContributionController.java:1115) 14:37:47,843 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) 14:37:47,843 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) 14:37:47,843 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) 14:37:47,843 ERROR
[JBoss-user] [Persistence CMP/JBoss] - Upgrade from 3.2.3 to 3.2.5 - Table creation check fails
Hi group. Hope there are some gurus out there, that might have a solution for this one. I am trying to upgrade my 3.2.3 instance of JBoss to a 3.2.5 one. I am running Firebird 1.0.1 and everything is running just fione when running on the 3.2.3 instance. However, when I start up the 3.2.5 instance I get the following error: 2004-06-28 11:15:35,842 ERROR [org.jboss.ejb.EntityContainer] Starting failed jboss.j2ee:jndiName=ejb/local/HousePictureEJB,service=EJB org.jboss.deployment.DeploymentException: Error while checking if table aleady exists HOUSE_PRICES_PRICE_HOUSE_PRICES; - nested throwable: (java.sql.DataTruncation: Data truncation) at org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.tableExists .. I assume that HOUSE_PRICES_PRICE_HOUSE_PRICES is a table name or alias. Problem is I don't have this table at all...and shouldn't have it. I respect of the Data Truncation Exception, I checked if there should be anything mysterious about the EJB complained about HousePictureEJB... and I really can't see what it should be. I guess data truncation is about a table field not being large enough to hold the data, right? Anyone...have thoughts, solutions...hints...they might share. Thanx in advance Henrik - A developer which happens to looove JBoss View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840119#3840119 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840119 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Stateful session bean failed to passivate and save state...
Dear all.. I am getting a problem with statefull session bean .i am using jboss-3.2.1 after 10 min i am getting following message. 10:26:35,113 WARN [AbstractInstanceCache] failed to passivate, id=dvyw0hll-5 javax.ejb.EJBException: Could not passivate; failed to save state; CausedByException is: javax.naming.InitialContext at org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:378) at org.jboss.ejb.plugins.StatefulSessionInstanceCache.passivate(StatefulSessionInstanceCache.java:85) at org.jboss.ejb.plugins.AbstractInstanceCache.tryToPassivate(AbstractInstanceCache.java:156) at org.jboss.ejb.plugins.AbstractInstanceCache.release(AbstractInstanceCache.java:192) at org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy.ageOut(LRUEnterpriseContextCachePolicy.java:274) at org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy$OveragerTask.kickOut(LRUEnterpriseContextCachePolicy.java:446) at org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy$OveragerTask.run(LRUEnterpriseContextCachePolicy.java:405) at java.util.TimerThread.mainLoop(Timer.java:435) at java.util.TimerThread.run(Timer.java:385) java.io.NotSerializableException: javax.naming.InitialContext at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1148) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366) at java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1827) at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:480) at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1214) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366) at org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:370) at org.jboss.ejb.plugins.StatefulSessionInstanceCache.passivate(StatefulSessionInstanceCache.java:85) at org.jboss.ejb.plugins.AbstractInstanceCache.tryToPassivate(AbstractInstanceCache.java:156) at org.jboss.ejb.plugins.AbstractInstanceCache.release(AbstractInstanceCache.java:192) at org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy.ageOut(LRUEnterpriseContextCachePolicy.java:274) at org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy$OveragerTask.kickOut(LRUEnterpriseContextCachePolicy.java:446) at org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy$OveragerTask.run(LRUEnterpriseContextCachePolicy.java:405) at java.util.TimerThread.mainLoop(Timer.java:435) at java.util.TimerThread.run(Timer.java:385) what could be the reason ? regards madadi View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840121#3840121 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840121 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - best way to lookup beans
hi, I am very confused about the beans lookup. I mean i have a set of beans that Jboss 3.2.3 deploys like this Started jboss.j2ee:jndiName=ejb/ProductManagerHome, service=EJB Started jboss.j2ee:jndiName=ejb/CartHome, service=EJB In jboss-web.xml, ejb/Cart maps to ejb/CartHome ejb/ProductManager maps to ejb/ProductManagerHome From servlet, i lookup Cart using java:comp/env/ejb/Cart. SUCCESS. In my Cart bean, i lookup java:comp/env/ejb/ProductManagerHome the it throws ERROR javax.naming.NameNotFoundException: ProductManagerHome not bound WHY?? Then i tried the following also. May be 3rd test is more relevant here. 1. I tried to look up from the standalone client like this ic.lookup(ejb/ProductManagerHome); and it got found. BUT if i printed the object found. it print ejb/ProductManagerHomeHome Why 1 extra Home?? 2. I tried to look up from the standalone client like this ic.lookup(java:comp/env/ejb/ProductManagerHome) it says **javax.naming.NameNotFoundException: comp not bound** 3. I tried to look up from web client this ic.lookup(java:comp/env/ejb/ProductManager) It got found. What am i doing wrong? Navjot View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840122#3840122 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840122 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Access to the requested resource has been denied - WHY??
then i guess the rolesQuery should be contrained to **select role from UserRoles where...** why even ask for rolesgroup column when it HAS TO be Roles? navjot View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840123#3840123 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840123 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: No UserRoles issue
thanks a lot. it did help. navjot View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840124#3840124 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840124 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: Stateful session bean failed to passivate and save state
When will people start to read the stack traces that they post on these forums? java.io.NotSerializableException: javax.naming.InitialContext View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840125#3840125 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840125 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - Re: JBoss 3.2.5 Changes
I would also like to know, considering the fact that 3.2.5 was released without RC before it, and that it followed the 3.2.4 so fast. Does 3.2.5 fix any special high priority issue of 3.2.4 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840126#3840126 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840126 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Accessing an EJB JNDI env from outside (e.g. from an MBean)
Hi JBoss users, I am trying to access an EJB environment variable stored under the bean's java:comp/env namespace, from a custom MBean. The purpose is to make my EJB highly configurable, by shipping it with an associated MBean, which can change dynamically its JNDI env entries via the JBoss console. But when I try to access the java:comp/env of this EJB from the MBean, I get an exception telling me that the env is not bound. Of course this is understable since I'm trying to access this env from outside the EJB, but are there any workaround to do so ? How can I specify the JNDI lookup that I try an outside bean access ? Maybe by using a more precise JNDI prefix... Any help appreciated. Thanks, Gregory View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840128#3840128 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840128 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - SessionBean-Timeout and/or Slow-JavaClass
Hey All! I'm trying to write a scheduling Tool, where a MessageDriven Bean gets a hit to start scheduling, because it takes some time. This MDB passes the call to either a Session Bean or a standard JavaClass, where the logic is implemented. The deal to assign 25 Employees recursive to about 500 activities. When I run it with the standard JavaClass it takes about 1,5 Hours. When I run it with the SessionBean the first assignments run about 5 times faster, but after nearly 5 minutes I get a timeout and another minute of errorstack. The question is, how can I fasten the JavaClass or avoid the timeout with the SessionBean? Thanks in advance for your help, Karsten View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840129#3840129 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840129 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Jboss 3.2.3, Oracle-DS leaking cursors
This cannot be anything else than a bug. If the spec states that closing a connection releases JDBC resources immediately, and JBoss does not do it, it's definately a bug, no? Optimizing the performance is a smart thing to do, but there should at least be a configuration option for enabling spec-compliant (although slower) operation. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840132#3840132 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840132 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Jboss 3.2.3, Oracle-DS leaking cursors
Also, check out JDBC3.0 specification 11.6.2, which states that connection.close always closes all (non-pooled) statements, and 14.2.5., which states that resultsets are automatically closed when statement is closed. My interpretation of these is that developer should never have to include messy } finally { try { resultset.close(); } catch (SQLException ignore) { try { statement.close(); } catch (SQLException ignore) { garbage in the code as long as (s)he makes sure that connection is closedunfortunately JBoss (and many other non-compliant implementations) compel to do that. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840133#3840133 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840133 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: how to bind a serializable object into HA-JNDI
bind it to port 1100, not to 1099(where the local JNDI is) props.put(javax.naming.Context.PROVIDER_URL, localhost:1100); View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840134#3840134 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840134 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: JBOSS-3.2.1 and LDAP Settings
Yes, i use ldap from my java programs and servlets. See docs for javax.naming. javax.naming.directory packages. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840138#3840138 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840138 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - how to make MBean dependent from EAR application?
Hi at all, I'm new here, and i hope you can helps me. I simply need force a service start AFTER my .EAR application was started. Can anybody helps me? PS: I searched for previous thread but i've found anything! If there is some relevant topics...excuse me! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840141#3840141 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840141 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - Re: JBoss 3.2.5 Changes
The following article may be relevant here: http://www.crn.com/showArticle.jhtml?articleID=22102106 It seems likely that JBoss intend to announce J2EE certification at JavaOne, which would imply that the 3.2.5 release is intended to back it. So given... The lack of Release Candidates | The lack of release notes | The timing of the release | | | ...I would guess that it is a 'Politicial Release' that may have had limited testing. The above article talks about some major changes (such as CORBA security) to achieve certification, and in that light my team have decided to avoid this release until more information becomes available. | | (Disclaimer: I may be completely wrong here - I'm just drawing conclusions from circumstantial evidence!) | | /david View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840143#3840143 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840143 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] [EJB/JBoss] - implemting JTA
Can you please illaborate on what exactly your problem is? I have used JBoss transaction manager with ejbs so I may be able to help you. Dasarath --- puneetjains [EMAIL PROTECTED] wrote: Hi new to jboss can any one tell me link or how to confire jta with jboss thanx View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840090#3840090 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840090 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user __ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: No class def found
adibou, I have a similar problem (Unexpected Error: java.lang.NoClassDefFoundError ) when my ejb try to use an inner class. I've look into jar and the .class file is present. Have you any Idea ? thanks in advance salnic View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840144#3840144 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840144 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Shutdown Jboss server problem
My problem is the following: Config: RedHat ES 3.0 JBoss 3.2 with default server config JBoss is binded to a specific IP address, not 0.0.0.0. I start it with 'jboss_redhat_init.sh start'. It starts successfully and listening only that IP address what I binded to. But if I want to stop it with 'jboss_redhat_init.sh stop' it tries to connect to localhost:1099, but cannot of course, because it does not listen on localhost. Why wants shutdown process connect to localhost? How can I stop the server then? Balazs VAMOS View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840145#3840145 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840145 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Crashing and hanging every couple of days
Well I have been having a problem with our JBoss server stop responding every couple of days. I think it is that we are running out of threads, but I am not certain. I have done some thread dumping and noticed that we run about 100 or so threads during normal operations, but while it is hanging we have threads hanging all over the place. Most of these seem to be Tomcat just waiting for something or another, but not sure why. Anyway the symptoms I am seeing are these | 14:47:53,658 WARN [TransactionImpl] Transaction TransactionImpl:XidImpl | [FormatId=257, GlobalId=triton//74009, BranchQual=] timed out. status=STATUS_ACTIVE | | ERROR [STDERR] java.net.SocketException: Invalid argument | 14:37:19,189 ERROR [STDERR] at java.net.PlainSocketImpl.socketSetOption(Native Method) | 14:37:19,190 ERROR [STDERR] at java.net.PlainSocketImpl.setOption(PlainSocketImpl.java:240) | 14:37:19,190 ERROR [STDERR] at java.net.Socket.setTcpNoDelay(Socket.java:771) | 14:37:19,191 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.setSocketOptions(PoolTcpEndpoint.java:468) | we are also seeing a fair amout of IO exceptions via java.net.SocketException: Broken pipe and java.io.InterruptedIOException Anyway it seems like there is no longer any resources to try and get to the stateless session beans that we have (fails to get a thread). We do NOT run any database, instead all of our data comes from sockets that we open in our own pool. These pools do not seem to be full, so that doesn's seem to be the problem. Other things of interest are, we started seeing this after we moved to a loadbalancer talking directly to Tomcat in JBoss instead of going through apache like we use to. We also increased the number of threads from 100 to 500 in the jboss-service.xml which seemed to help a little. Thanks for your help View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840146#3840146 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840146 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: CMR / EJB-QL problem?
okay, i deleted everything and tried again in case I did something wrong before. here is _exactly_ what I did: [EMAIL PROTECTED] JBOSS_CVS]$ cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/jboss co -r Branch_3_2 jboss-3.2 [*snipped long cvs output - checkout went okay*] [EMAIL PROTECTED] JBOSS_CVS]$ cd jboss-3.2/build/ [EMAIL PROTECTED] build]$ ./build.sh Exception in thread main java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher [EMAIL PROTECTED] build]$ There must be something else I need to do? Is there a jboss developer newbie list or somewhere I can ask? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840147#3840147 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840147 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - Re: JBoss 3.2.5 Changes
3.2.5 mainly fixes a single bug relative to clustering (but which blocks many users), which is why there is not RCx As for J2EE certification, we are certifying the 4.0 Branch (J2EE 1.4), not the 3.2.x (which is an implementation of J2EE 1.3), so 3.2.5 is here to back nothing (except a clustering issue). cheers, sacha View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840148#3840148 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840148 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: EJB Deployment
I'm trying to deploy session beans and entity beans, but I dunno if I will need to reference them all in a jboss.xml file, my DS is working fine without that file. So ca, I deploy without using jboss.xml ? my ejb-jar.xml file looks like this : ?xml version=1.0 encoding=UTF-8? !DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN http://java.sun.com/dtd/ejb-jar_2_0.dtd; ejb-jar id=EJBJar_1084196237578 display-nameEJBJARArchive/display-name enterprise-beans ejb-nameOPCAISSESB/ejb-name com.gti.iagence.ejb.opcaisse.session.OPCAISSESBHome com.gti.iagence.ejb.opcaisse.session.OPCAISSESB ejb-classcom.gti.iagence.ejb.opcaisse.session.OPCAISSESBBean/ejb-class session-typeStateless/session-type transaction-typeBean/transaction-type ejb-local-ref id=EJBLocalRef_1084197960188 ejb-ref-nameejb/EXTRAIT1/ejb-ref-name ejb-ref-typeEntity/ejb-ref-type local-homecom.gti.iagence.ejb.utilmetier.entity.EXTRAITHome/local-home com.gti.iagence.ejb.utilmetier.entity.EXTRAIT ejb-linkEXTRAIT/ejb-link /ejb-local-ref ejb-local-ref id=EJBLocalRef_1084197960172 ejb-ref-nameejb/COMPTE1/ejb-ref-name ejb-ref-typeEntity/ejb-ref-type local-homecom.gti.iagence.ejb.utilmetier.entity.COMPTEHome/local-home com.gti.iagence.ejb.utilmetier.entity.COMPTE ejb-linkCOMPTE/ejb-link /ejb-local-ref ejb-local-ref id=EJBLocalRef_1084197960203 ejb-ref-nameejb/CAISSE1/ejb-ref-name ejb-ref-typeEntity/ejb-ref-type local-homecom.gti.iagence.ejb.opcaisse.entity.CAISSEHome/local-home com.gti.iagence.ejb.opcaisse.entity.CAISSE ejb-linkCAISSE/ejb-link /ejb-local-ref ejb-local-ref id=EJBLocalRef_1084197960219 ejb-ref-nameejb/OPCAISSE1/ejb-ref-name ejb-ref-typeEntity/ejb-ref-type local-homecom.gti.iagence.ejb.opcaisse.entity.OPCAISSEHome/local-home com.gti.iagence.ejb.opcaisse.entity.OPCAISSE ejb-linkOPCAISSE/ejb-link /ejb-local-ref ejb-local-ref id=EJBLocalRef_1084360137141 ejb-ref-nameejb/INSTANCE1/ejb-ref-name ejb-ref-typeEntity/ejb-ref-type local-homecom.gti.iagence.ejb.utilmetier.entity.INSTANCEHome/local-home com.gti.iagence.ejb.utilmetier.entity.INSTANCE ejb-linkINSTANCE/ejb-link /ejb-local-ref ejb-local-ref id=EJBLocalRef_1084464058000 ejb-ref-nameejb/VERS_DEPL_CENTRAL1/ejb-ref-name ejb-ref-typeEntity/ejb-ref-type local-homecom.gti.iagence.ejb.opcaisse.entity.VERS_DEPL_CENTRALHome/local-home com.gti.iagence.ejb.opcaisse.entity.VERS_DEPL_CENTRAL ejb-linkVERS_DEPL_CENTRAL/ejb-link /ejb-local-ref ejb-local-ref id=EJBLocalRef_1084469748797 ejb-ref-nameejb/VERS_RET_DEPL1/ejb-ref-name ejb-ref-typeEntity/ejb-ref-type local-homecom.gti.iagence.ejb.opcaisse.entity.VERS_RET_DEPLHome/local-home com.gti.iagence.ejb.opcaisse.entity.VERS_RET_DEPL ejb-linkVERS_RET_DEPL/ejb-link /ejb-local-ref ejb-local-ref id=EJBLocalRef_1084528627031 ejb-ref-nameejb/CHQDELIV1/ejb-ref-name ejb-ref-typeEntity/ejb-ref-type local-homecom.gti.iagence.ejb.utilspecial.entity.CHQDELIVHome/local-home com.gti.iagence.ejb.utilspecial.entity.CHQDELIV ejb-linkCHQDELIV/ejb-link /ejb-local-ref .. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840149#3840149 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840149 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Shutdown Jboss server problem
Hi, on the Shutdown.jar you can find a jndi.properties modify this file with your good IP adress or network name and the good port. Also i found a solution to my problem on warpper use no delay at shutdown and wrapper wait for the end of the shutdown. regards View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840150#3840150 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840150 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - JBoss and HTTP
I want to use JBoss only over HTTP. I have JNDI and JMS working over HTTP. Now I want to know if it is possible to get rid of using the port . Thank you. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840151#3840151 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840151 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - successive consume of messages
Hello, I need to consume the JMS messages successivly. That means if I send 10 messages to the queue the onMessage-method has to be called and proceeded. After finishing the process of the first message the next message has to be consumed. The actual situation is, that for each message a instance is created and all messages were consumed on one time. Is this possible with such an Singleton MDB? How to set up it in 3.2.3 (specially in jboss.xml)? Would this solve my problem or knows someone a better way? Thanks, Juraj View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840153#3840153 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840153 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: MDB ACTIVE but stops consuming
I ve been running tests (say a message every 20 seconds) of our product in JBoss 3.2.3, all was fine, but after 7th day, a particular MDB was not receiving messages from a queue, the MDB was active. The queue's depth was showing the exact number of messages that were not delivered to the MDB that were equal to the exact number of request that were pending in our application. Message cache total cache size was equal to the same number of undelivered messages. Can you please give me some insight as to why this is happening. System health is good, the only reason I can see is that MessageListener thread had stopped, Is that really possible ? Why are the messages being cached ? Why the MDB which was perfectly consuming messages suddenly stopped. The queue is active, MDB is active why is that MDB is not picking up the messages. Is it due to Heap size issues ? (Heap is far above 50M) Moment I restart the server, all the queued messages are sequentially processed by the MDB. Please do let me know. Thanks Ganesh. PS: Thanks Adrian, my mistake I should ve posted here before. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840154#3840154 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840154 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Web Console not working in JBoss 3.2.3
I have IE version 6.0 installed on my machine and i could not find any such option under Advanced tab, can you please tell me which exact option i should check. Secondly, i think that i already have this one working for other applets, i.e. My Weblogic console is working fine, which is also an applet and also all other applets are working well without any issues. Here i am getting an error which indicates that it is not able to find a .class file. Any idea. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840155#3840155 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840155 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Shutdown Jboss server problem
Or, instead of hacking config files, you could run 'shutdown.bat' (or 'shutdown.sh') with no parameters and discover that there's a '-s' option which appears to solve the problem. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840156#3840156 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840156 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - Re: JBoss 3.2.5 Changes
Thanks for that. Clearly I was putting 2+2 and getting 5! /david View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840157#3840157 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840157 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: Text is cut off at far right end
looks good joe, thx! ie was cutting off the top portion of the text if you weren't logged in, but i solved that by adding a br tag. :) this has been checked in and is tagged against RC1. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840158#3840158 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840158 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: deploying two identical webapps independently
We have tested deployment of multiple deployments using the same code using the following method: http://www.jboss.org/index.html?module=bbop=viewtopict=46257 You might want to check that out. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840159#3840159 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840159 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Jboss 3.2.5 Release Notes
Can someone point me to the release notes for Jboss 3.2.5? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840160#3840160 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840160 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: JBoss and HTTP
Yes - you can change your invoker proxy bindings in standardjboss.xml to use the http invoker. For ejbs, set the invoker mbean property to jboss:service=invoker,type=http. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840161#3840161 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840161 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Binding to a JNDI context path in java:comp/env
Do see that... Thats strange then why does it work with the fscontext jar. Which is the default JNDI file system implmentation.? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840162#3840162 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840162 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Binding to a JNDI context path in java:comp/env
Errr... because fscontext doesn't obey the spec?! Sheesh! Just because you've got away lucky with fscontext and Orion not obeying the spec, doesn't mean you should JBoss to let you be so lax! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840163#3840163 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840163 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: CMR / EJB-QL problem?
I got jboss to build by ignoring the FAQ and just using my own installed version of ant. So I tested again using the sql92 compiler with todays CVS version of Branch_3_2 and got the same result. Here is the log. The reason it can't find t1_hierarchy_partyGroup.HIERARCHY_FK is because we are using preferred-relation-mappingrelation-table/preferred-relation-mapping in jbosscmp-jdbc.xml 16:34:29,018 DEBUG [Hierarchy#findDynamic] DYNAMIC-QL: SELECT OBJECT(hierarchy) FROM Hierarchy hierarchy WHERE hierarchy.partyGroup IS NULL 16:34:29,020 DEBUG [Hierarchy#findDynamic] Executing SQL: SELECT t0_hierarchy.id, t0_hierarchy.CODE, t0_hierarchy.TOP_LEVEL_NAME FROM cmp_hierarchy t0_hierarchy LEFT OUTER JOIN partygroup_hierarchys t2_hierarchy_partyGroup_RELATION ON t0_hierarchy.id=t2_hierarchy_partyGroup_RELATION.HIERARCHY_FK LEFT OUTER JOIN cmp_party_group t1_hierarchy_partyGroup ON t1_hierarchy_partyGroup.id=t2_hierarchy_partyGroup_RELATION.PARTY_GROUP_FK WHERE t1_hierarchy_partyGroup.HIERARCHY_FK IS NULL 16:34:29,025 DEBUG [Hierarchy#findDynamic] Find failed java.sql.SQLException: Column not found, message from server: Unknown column 't1_hierarchy_partyGroup.HIERARCHY_FK' in 'where clause' View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840164#3840164 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840164 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - dependant services
I'm wondering how I can obtain all services that depend on a certain jboss service? Or how can I make sure that all the dependant services are reloaded after (hot)redeploying a service? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840166#3840166 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840166 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Serialized Files removed while refernces to bean exist
I am getting several instance of activation problems on stateless session beans. It looks like the serialized file is being remove by JBoss while there are still objects that reference the bean. (JBoss 3.2.1) I am assuming that the container is hitting some timeout on the bean and is thinking it needs to be removed. Is there some setting in the standard-jboss.xml that would help lessen the problem? Thanks in advance StackTrace Below: 2004-06-23 16:42:19,003 FATAL [PlaceRequestjsp] Removal of Place Request bean failed! Error: Could not activate; failed to restore state; CausedByException is: /opt/appserver/jboss/server/default/tmp/sessions/PlaceRequest-dvt81ijr-8/dvtypea9-30z.ser (No such file or directory) 2004-06-23 16:42:19,006 FATAL [PlaceRequestjsp] java.rmi.NoSuchObjectException: Could not activate; failed to restore state; CausedByException is: /opt/appserver/jboss/server/default/tmp/sessions/PlaceRequest-dvt81ijr-8/dvtypea9-30z.ser (No such file or directory) at org.jboss.ejb.plugins.AbstractInstanceCache.get(AbstractInstanceCache.java:122) at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:212) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:273) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:104) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) at org.jboss.ejb.StatefulSessionContainer.internalInvoke(StatefulSessionContainer.java:410) at org.jboss.ejb.Container.invoke(Container.java:674) at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:101) at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:83) at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46) at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45) at org.jboss.proxy.ejb.StatefulSessionInterceptor.invoke(StatefulSessionInterceptor.java:104) at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85) at $Proxy98.remove(Unknown Source) at com.dynix.hip.jsp.PlaceRequestjsp.cleanup(PlaceRequestjsp.java:531) at com.dynix.hip.jsp.PlaceRequestjsp.flush(PlaceRequestjsp.java:1145) at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.dynix.hip.util.JSPHandler.removeService(JSPHandler.java:4607) at com.dynix.hip.util.JSPHandler.flush(JSPHandler.java:1110) at com.dynix.hip.util.JSPHandler.runThread(JSPHandler.java:1201) at com.dynix.util.ThreadCounter.run(ThreadCounter.java:152) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840167#3840167 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840167 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Forking threads in EJB
Is it possible to fork a new thread in a Session Stateless EJB using Thread.start() ? It was working with JBoss 3.2.1 but it doesn't work anymore since I migrated to 3.2.4. PS : i know this not a good practice but i need to do that ... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840169#3840169 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840169 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: getting
Try this: Increase max-pool-size in your-ds.xml. Helmut View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840170#3840170 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840170 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - NT Performance Monitor - Link to JBoss JMX Attributes ?
I have been trying a few different techniques for a few days now to try and make NT Performance Monitor register and display counters that reflect JBoss/JMX attributes. I would like to watch different JMX attributes like VM Memory usage, connection pool usage and some other custom bits and pieces in our MBeans. No success so far. Has anyone done this or heard of any sort of customizable link between Java and NT Performance Monitor ? Any leads appreciated. BTW, I did try this, but I get nothing but memory dumps: http://www.developer.com/java/data/article.php/3087741 //Nicholas View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840171#3840171 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840171 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - UPDATE: Web app deployed in JBoss 3.2.2, won't in 3.2.4 OR 3
The same thing is happening in 3.2.5 as happened in 3.2.4 Charles. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840172#3840172 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840172 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: composed primkey, ejbSelect ... where, condition faills
Hi, here is the class, the PK-class extends. They are equal, except of the package name they are in. So the PK-class, I posted earlier, overrides every field and method of the one, it extends. I deleted the phrase extends bp.ejb.entityBeans.interfaces.SkrontoEintragPK in the used PK-Class, packed the EAR-file once more and redeployed it: Now it's working fine. Seems that JBoss has problems when the pk-class exends another pk-class !? | /* | * Generated by XDoclet - Do not edit! | */ | package bp.ejb.entityBeans.interfaces; | | /** | * Primary key for SkrontoEintrag. | * @author Frank Lemke | */ | public class SkrontoEintragPK |extends java.lang.Object |implements java.io.Serializable | { |private int _hashCode = 0; |private StringBuffer _toStringValue = null; | |public java.lang.String nameAkteurPK; |public java.lang.String nameAktienGesellschaftPK; |public int skrontoNrPK; | |public SkrontoEintragPK() |{ |} | |public SkrontoEintragPK( java.lang.String nameAkteurPK,java.lang.String nameAktienGesellschaftPK,int skrontoNrPK ) |{ | this.nameAkteurPK = nameAkteurPK; | this.nameAktienGesellschaftPK = nameAktienGesellschaftPK; | this.skrontoNrPK = skrontoNrPK; |} | |public java.lang.String getNameAkteurPK() |{ | return nameAkteurPK; |} |public java.lang.String getNameAktienGesellschaftPK() |{ | return nameAktienGesellschaftPK; |} |public int getSkrontoNrPK() |{ | return skrontoNrPK; |} | |public void setNameAkteurPK(java.lang.String nameAkteurPK) |{ | this.nameAkteurPK = nameAkteurPK; | _hashCode = 0; |} |public void setNameAktienGesellschaftPK(java.lang.String nameAktienGesellschaftPK) |{ | this.nameAktienGesellschaftPK = nameAktienGesellschaftPK; | _hashCode = 0; |} |public void setSkrontoNrPK(int skrontoNrPK) |{ | this.skrontoNrPK = skrontoNrPK; | _hashCode = 0; |} | |public int hashCode() |{ | if( _hashCode == 0 ) | { | if (this.nameAkteurPK != null) _hashCode += this.nameAkteurPK.hashCode(); | if (this.nameAktienGesellschaftPK != null) _hashCode += this.nameAktienGesellschaftPK.hashCode(); | _hashCode += (int)this.skrontoNrPK; | } | | return _hashCode; |} | |public boolean equals(Object obj) |{ | if( !(obj instanceof bp.ejb.entityBeans.interfaces.SkrontoEintragPK) ) | return false; | | bp.ejb.entityBeans.interfaces.SkrontoEintragPK pk = (bp.ejb.entityBeans.interfaces.SkrontoEintragPK)obj; | boolean eq = true; | | if( obj == null ) | { | eq = false; | } | else | { | if( this.nameAkteurPK == null ((bp.ejb.entityBeans.interfaces.SkrontoEintragPK)obj).getNameAkteurPK() == null ) | { | eq = true; | } | else | { | if( this.nameAkteurPK == null || ((bp.ejb.entityBeans.interfaces.SkrontoEintragPK)obj).getNameAkteurPK() == null ) | { |eq = false; | } | else | { |eq = eq this.nameAkteurPK.equals( pk.nameAkteurPK ); | } | } | if( this.nameAktienGesellschaftPK == null ((bp.ejb.entityBeans.interfaces.SkrontoEintragPK)obj).getNameAktienGesellschaftPK() == null ) | { | eq = true; | } | else | { | if( this.nameAktienGesellschaftPK == null || ((bp.ejb.entityBeans.interfaces.SkrontoEintragPK)obj).getNameAktienGesellschaftPK() == null ) | { |eq = false; | } | else | { |eq = eq this.nameAktienGesellschaftPK.equals( pk.nameAktienGesellschaftPK ); | } | } | eq = eq this.skrontoNrPK == pk.skrontoNrPK; | } | | return eq; |} | |/** @return String representation of this pk in the form of [.field1.field2.field3]. */ |public String toString() |{ | if( _toStringValue == null ) | { | _toStringValue = new StringBuffer([.); | _toStringValue.append(this.nameAkteurPK).append('.'); | _toStringValue.append(this.nameAktienGesellschaftPK).append('.'); | _toStringValue.append(this.skrontoNrPK).append('.'); | _toStringValue.append(']'); | } | | return _toStringValue.toString(); |} | | } | With BBs you mean data dictionaries, don't you? I don't have some yet. If you still want it, tell me. I will create them for you. Did you see different named fields? I
[JBoss-user] [Clustering/JBoss] - Re: 3.2.4 cluster problem
Upgrading to JGroups 2.2.5 fixed this problem. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840174#3840174 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840174 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Forking threads in EJB
It isn't just that it is a bad practice, session beans are not allowed to start threads. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840175#3840175 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840175 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Serialized Files removed while refernces to bean exist
Are you sure that you have configured your beans to be stateless? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840176#3840176 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840176 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - Re: JBoss 3.2.5 Changes
Sacha, was that clustering bug new in 3.2.4 or was it also presen in the 3.2.3 release? Thanks, Tobias View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840178#3840178 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840178 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - CVS problem getting DR4 source
I'm having trouble downloading the DR4 source directly from CVS and was wondering if anybody can suggest a solution/workaround. The command is: cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/jboss co -r JBoss_4_0_0_DR4 . After a long delay, I get this error message: cvs checkout: inflate: invalid code lengths set cvs [checkout aborted]: reading from server: Input/output error BTW this command works just fine: cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/jboss co -r JBoss_4_0_0_DR3 . It immediately starts updating directories. Is the problem that the DR4 release is labelled differently? Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840177#3840177 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840177 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - RMI Invoker Adaptor Security
anonymous wrote : A proprietary adaptor that provides an RMI interface to the JBoss JMX MBeanServer over any protocol for which a detached inovoker exists. The default configuration uses RMI/JRMP. This service can be secured by specifying the interface and port on which the service runs as well as by adding role based or custom security using an XMBean. The above quote is from a JBoss document explaining how to secure the service used to communicate with JMX via RMI/JRMP. Does anyone have an example of how to add role based or custom security using an XMBean? How does one configure the acceptable roles? Your help is greatly appreciated. Thanks! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840179#3840179 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840179 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - CMP 2.0 EJB relationship problem
The relationship between the User entity and UserType etity is as follows: 1 User can only have 1 UserType, but 1 UserType can belong to many Users. Furthermore, User maintains a reference to UserType, but UserType does not have a reference to User. So in ejb-jar.xml, we have defined the one-to-many unidirectional relationship between the UserEJB and the UserTypeEJB is as follows: ejb-relation ejb-relation-nameUser-UserType/ejb-relation-name ejb-relationship-role One relationship-role-source ejb-nameUserTypeEJB/ejb-name /relationship-role-source /ejb-relationship-role ejb-relationship-role ejb-relationship-role-nameUser-has-a-UserType/ejb-relationship-role-name Many relationship-role-source ejb-nameUserEJB/ejb-name /relationship-role-source cmr-field cmr-field-nameuserTypeLocal/cmr-field-name /cmr-field /ejb-relationship-role ejb-relationship-role-nameUserType-has-many-Users/ejb-relationship-role-name /ejb-relation I have also added the following to jbosscmp-jdbc.xml: ejb-relation ejb-relation-nameUser-UserType/ejb-relation-name foreign-key-mapping/ ejb-relationship-role ejb-relationship-role-nameUserType-has-many-Users/ejb-relationship-role-name /ejb-relationship-role ejb-relationship-role ejb-relationship-role-nameUser-has-a-UserType/ejb-relationship-role-name fk-constrainttrue/fk-constraint key-fields key-field field-nameuserTypeLocal/field-name column-nameuser_type_id/column-name /key-field /key-fields /ejb-relationship-role /ejb-relation However, when the inserting the above xml fragment into jbosscmp-jdbc.xml, I get an error saying that there is no ejb-relationship-tag-name element. I do not know the reason for this, as I have followed the dtd for jbosscmp-jdbc.xml, and confirmed that the ejb-relationship-role-name tags match in both jbosscmp-jdbc.xml and ejb-jar.xml. Another modification I have tried is removing the relationships tag altogether from jbosscmp-jdbc.xml. This allowed me to deploy my beans. I also added the following cmp-field to the 'user' entity in jbosscmp-jdbc.xml: cmp-field field-nameuserTypeLocal/field-name column-nameUTL/column-name property-nametype/property-name column-nameuser_type/column-name jdbc-typeVARCHAR/jdbc-type sql-typeVARCHAR(20)/sql-type /cmp-field This xml fragment is in jbosscmp.xml. The result of this is that there is a field called utl in the user_types table in the database. But the value being inserted into this field is not the foreign key integer id of the user_types table, but a serialized version of the UserTypeEJB. Please advise on the following issues described above: 1. no ejb-relationship-role-name defined error. 2. serialized UserType being stored in RDBMS table users, instead of foreign key integer. Thank you. Amar [EMAIL PROTECTED] View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840181#3840181 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840181 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Install Container Interceptor
Hi all, anyone can help me? I created a plugin interceptor for monitoring my EJB... I update the file standardjboss.xml : container-configuration container-nameStandard CMP 2.x EntityBean/container-name call-loggingfalse/call-logging invoker-proxy-binding-nameentity-rmi-invoker/invoker-proxy-binding-name sync-on-commit-onlyfalse/sync-on-commit-only insert-after-ejb-post-createfalse/insert-after-ejb-post-create call-ejb-store-on-cleantrue/call-ejb-store-on-clean container-interceptors org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor org.jboss.ejb.plugins.LogInterceptor org.jboss.ejb.plugins.SecurityInterceptor org.jboss.ejb.plugins.TxInterceptorCMT org.jboss.ejb.plugins.CallValidationInterceptor org.jboss.ejb.plugins.MetricsInterceptor org.jboss.ejb.plugins.EntityCreationInterceptor org.jboss.ejb.plugins.EntityLockInterceptor org.jboss.ejb.plugins.EntityInstanceInterceptor org.jboss.ejb.plugins.EntityReentranceInterceptor org.jboss.resource.connectionmanager.CachedConnectionInterceptor org.jboss.ejb.plugins.EntitySynchronizationInterceptor org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor !-- MY INTERCEPTOR -- middllog.interceptor.EJBInterceptor /container-interceptors instance-poolorg.jboss.ejb.plugins.EntityInstancePool/instance-pool instance-cacheorg.jboss.ejb.plugins.InvalidableEntityInstanceCache/instance-cache persistence-managerorg.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager/persistence-manager locking-policyorg.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock/locking-policy container-cache-conf cache-policyorg.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy/cache-policy cache-policy-conf min-capacity50/min-capacity max-capacity100/max-capacity overager-period300/overager-period max-bean-age600/max-bean-age resizer-period400/resizer-period max-cache-miss-period60/max-cache-miss-period min-cache-miss-period1/min-cache-miss-period cache-load-factor0.75/cache-load-factor /cache-policy-conf /container-cache-conf container-pool-conf 100 /container-pool-conf commit-optionB/commit-option /container-configuration When i started the Jboss ( version 4.0DR4 ) this error 13:45:43,812 INFO [EjbModule] Deploying MEJB 13:46:05,796 WARN [EjbModule] Could not load the middllog.interceptor.EJBInterceptor interceptor for this container java.lang.ClassNotFoundException: No ClassLoaders found for: middllog.interceptor.EJBInterceptor at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:174) at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryCl assLoader.java:466) at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassL oader.java:377) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) . and when go make deploying of the HelloWorld.jar occurs this error: 13:45:43,406 INFO [EJBDeployer] Deployed: file:/D:/jboss-4.0.0DR4/server/defaul t/deploy/HelloWorld/HelloWorld.jar 13:45:43,812 INFO [EjbModule] Deploying MEJB 13:46:05,796 WARN [EjbModule] Could not load the middllog.interceptor.EJBInterc eptor interceptor for this container java.lang.ClassNotFoundException: No ClassLoaders found for: middllog.intercepto r.EJBInterceptor at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:174) at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryCl assLoader.java:466) at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassL oader.java:377) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at org.jboss.util.loading.DelegatingClassLoader.loadClass(DelegatingClas sLoader.java:77) at org.jboss.mx.loading.LoaderRepositoryClassLoader.loadClass(LoaderRepo sitoryClassLoader.java:78) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at org.jboss.util.loading.DelegatingClassLoader.loadClass(DelegatingClas sLoader.java:77) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at org.jboss.ejb.EjbModule.addInterceptors(EjbModule.java:844) at org.jboss.ejb.EjbModule.initializeContainer(EjbModule.java:731) at org.jboss.ejb.EjbModule.createStatelessSessionContainer(EjbModule.jav a:535) at org.jboss.ejb.EjbModule.createContainer(EjbModule.java:490) at org.jboss.ejb.EjbModule.createService(EjbModule.java:288) at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBean Support.java:237) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB eanSupport.java:219) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at
[JBoss-user] [Beginners Corner] - Clustered MDB
Using 3.2.4, I configured JBossMQ to use Oracle for both state and persistence managers in the all configuration. When I deploy an ear with MDBs that are durable subscribers to any node in the cluster it works fine, but if I deploy the same ear to multiple nodes, I receive a javax.jms.IllegalStateException: The durable subscription is already in use. Is clustering of durable MDBs supported? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840183#3840183 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840183 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - deploy datasource from mbean service
In JBoss 3.2.4 what is the best way to create datasources from with in a custom deployed MBean instead of creating xml files and placing them into the deploy directory. I would like to have the datasources managed by my mbean. I can create the xml files but haven't figued out the best way to get them deployed programatically. The datasources will be used only by this mbean. Thanks for any ideas. I did this once in JBoss 2.4 but a lot has changed since then. Thanks, jcl. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840184#3840184 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840184 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Serialized Files removed while refernces to bean exist
Oops I meant stateful. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840185#3840185 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840185 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Javassist byte code rewriting overhead?
Hi, I would like to know what is the overhead of javassist compared with BCEL for adding or modifying some bytcode at runtime ? Because in BCEL when you add some new bytecode you don't need to recompile while in Javassist it seems that you add some source code so do you need to recompile or the method ading the bytecode do the transformation of the source code passed in argument and so there is no need to recompile ? if this is not the case is there some benchmarking of this comparison available somewhere? I'm truly sorry if this is a recurrent question or if this is described in the documentation, I didn't mean to waste any time Best regards View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840186#3840186 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840186 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Example CMP or BMP
Hello! I'm beginner developer. I'm looking for easy example(s) WITH file *.ear to help me write my first entity bean. It may be BMP or CMP. I use JBoss 3.2.3, Eclipse 2.1.3 with XDoclet and JBoss-IDE, Mysql. Side of client may be JSP. The best example should has complete source files (*.java) with xdoc tags and descriptive files (*.xml) with clasess (jar, war, ear). Thanks for Ur help! If you want to send me your entity beans for example, it's my e-mail: minicki[a_t]poczta[d_o_t]fm View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840187#3840187 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840187 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Install Container Interceptor
Hi all, sorry...i cometi I move my .JAR ( that contain my interceptor) to the jboss/default/lib and all works fine.. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840188#3840188 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840188 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: Upgrade from 3.2.3 to 3.2.5 - Table creation check fails
Try updating to the latest JayBird driver. Joachim View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840189#3840189 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840189 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - how could i configue tomcat users
For jboss3.2.x, it contains tomcat bundle. now i want to use jakarta slide. that requires add some new users and roles for tomcat. how could i add roles and users in jboss? in tomcat (not coombined with jboss) i add roles like and add user like . how could i do that in jboss? thanks a lot. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840191#3840191 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840191 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Classloading issues
Hi all, I'm trying to use a 3rd party jar from a class located in my war file (WEB-INF/classes). Since the jar is shared with other ear file modules (specifically another ejb jar), I've placed it in ear file/lib and pointed to it from the war file/META-INF/MANIFEST.MF. The same mecahnism seems to work for my ejb jar, but in my war class I get NoClassDefFoundError. Any ideas / suggestions (is this manifest classpath supposed to work for war modules at all)? Help would be appriciated, Uri View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840192#3840192 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840192 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - How To Explicitly (from Java) Invalidate EJB Cache?
Hi there, I am running into a situation where, for a certain part of our applicaiton, I need to use raw SQL in order to attain the kind of performance we need. Essentially, what this means is that I need to insert / update 120,000 rows or so in a couple different tables. In my case these 120,000 rows map to an Entity bean in my application, and there is a VERY good chance that most (or all) of these EJB's will already be in the JBoss EJB cache. What I need (would really really like to be able to do) is to execute a method (hopefully somewhere in the JBoss internals) that basically invalidates all of my Entity Bean Foo instances from the EJB cache. If there is a MagicJBossClass.pleaseInvalidateAllEJBsOfType( FooEJB.class ) type method, that would really really be awesome. Can anyone point me in the right direction, I have gone through the 'for-pay' docs, and the forums, and have not been able to find any information thus far. I am assuming I might need to use the cache-invalidation-service.xml, which I can send JMS messages to. Unfortunately, the documentation mentions absolutely nothing about the service or how to use it, except that it is disabled by default and you talk to it via JMS. Thanks a ton. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840193#3840193 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840193 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Which Bean fits this scenario?
This is exactly what I looking for. Thank you very much James. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840194#3840194 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840194 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - ejbSelect within ejbPostCreate in 3.2.5 not working?
I am experiencing a problem in 3.2.5 that wasn't there in 3.2.2 as far as I can tell. I am calling ejbSelect from within ejbPostCreate - according to the spec this should be legal, as ejbSelect can be called from a pooled or ready state. Based on error log, though, I think the transaction architecture is not allowing this possibility - can anyone tell me if you can call ejbSelect from within ejbPostCreate on a CMR entity bean? Please? I thought this was a simple question, but haven't been able to get an answer - a simple YES or NO would allow me to rule this first possibility out and investigate deeper into what the problem might be. Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840195#3840195 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840195 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: 3.2.4 cluster problem
I think I'm having the same issue Oups I shouted after a sysadmin because I thought he misconfigured the network... Anyway, I've another solution: http://jroller.com/comments/julien.dubois?anchor=unicast_clustering_with_jboss It's not as good as upgrading JavaGroups IMHO, but it solves the problem, so I thought it might interest people in this thread. HTH. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840196#3840196 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840196 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: JBOSS-3.2.1 and LDAP Settings
It's just standard Java, here's a nice tutorial for you: http://java.sun.com/products/jndi/tutorial/ldap/index.html View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840197#3840197 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840197 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Failover Server has Old Replicated Session
That is set UseLocalCache to false. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840199#3840199 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840199 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Failover Server has Old Replicated Session
Fixed in JBoss 3.2.5. You will need to modify deploy\jbossweb-tomcat50.sar\META-INF\jboss-service.xml as follows: false View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840198#3840198 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840198 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - mssql-ds.xml vs mssql-xa-ds.xml
We are implementing JTA transactions over an SQLServer database. I am confused about the name of the file used to define data sources. Do I have to define local-tx-datasources in mssql-ds.xml, and xa-datasources in mssql-xa-ds.xml? The test we did indicated that the name of the file does not matter - we put everything in mssql-ds. I would really appreciate it if someone confirmed this. thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840200#3840200 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840200 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - compile failed Duke Bank from javax.swing.JOptionPane
Anyone had a similar problem that they resolved? I've installed j2ee-1_3-doc-tutorial-draft5.zip - the current 1.3 tut from Sun then I installed jbossj2ee-src.zip and edited build.properties to change jboss.home=/usr/local/jboss-3.2.3 The Struts files were already in the bank/jar from the bossj2ee-src.zip [bank]# ant -f jboss-build.xml compile Buildfile: jboss-build.xml prepare: compile: [javac] Compiling 55 source files to /home/hillel/jbossdocs/j2eetutorial/bank/build [javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient /EventHandle.java: In class `com.sun.ebank.appclient.EventHandle$8': [javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient /EventHandle.java: In method `com.sun.ebank.appclient.EventHandle$8.actionPerfor med(java.awt.event.ActionEvent)': [javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient /EventHandle.java:178: error: Can't find method `showInputDialog(Lcom/sun/ebank/ appclient/BankAdmin;Ljava/lang/String;)' in type `javax.swing.JOptionPane'. [javac] returned = JOptionPane.showInputDialog(frame, mess); [javac] ^ [javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient /EventHandle.java: In class `com.sun.ebank.appclient.EventHandle$7': [javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient /EventHandle.java: In method `com.sun.ebank.appclient.EventHandle$7.actionPerfor med(java.awt.event.ActionEvent)': [javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient /EventHandle.java:162: error: Can't find method `showInputDialog(Lcom/sun/ebank/ appclient/BankAdmin;Ljava/lang/String;)' in type `javax.swing.JOptionPane'. [javac]returned = JOptionPane.showInputDialog(frame, mess); [javac] ^ [javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient /EventHandle.java: In class `com.sun.ebank.appclient.EventHandle$4': [javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient /EventHandle.java: In method `com.sun.ebank.appclient.EventHandle$4.actionPerfor med(java.awt.event.ActionEvent)': [javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient /EventHandle.java:122: error: Can't find method `showInputDialog(Lcom/sun/ebank/ appclient/BankAdmin;Ljava/lang/String;)' in type `javax.swing.JOptionPane'. [javac]returned = JOptionPane.showInputDialog(frame, mess); [javac] ^ [javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient /EventHandle.java: In class `com.sun.ebank.appclient.EventHandle$3': [javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient /EventHandle.java: In method `com.sun.ebank.appclient.EventHandle$3.actionPerfor med(java.awt.event.ActionEvent)': [javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient /EventHandle.java:106: error: Can't find method `showInputDialog(Lcom/sun/ebank/ appclient/BankAdmin;Ljava/lang/String;)' in type `javax.swing.JOptionPane'. [javac]returned = JOptionPane.showInputDialog(frame, mess); [javac] ^ [javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient /EventHandle.java: In class `com.sun.ebank.appclient.EventHandle$1': [javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient /EventHandle.java: In method `com.sun.ebank.appclient.EventHandle$1.actionPerfor med(java.awt.event.ActionEvent)': [javac] /home/hillel/jbossdocs/j2eetutorial/bank/src/com/sun/ebank/appclient /EventHandle.java:78: error: Can't find method `showInputDialog(Lcom/sun/ebank/a ppclient/BankAdmin;Ljava/lang/String;)' in type `javax.swing.JOptionPane'. [javac]returned = JOptionPane.showInputDialog(frame, mess); [javac] ^ [javac] 5 errors BUILD FAILED file:/home/hillel/jbossdocs/j2eetutorial/bank/jboss-build.xml:49: Compile failed ; see the compiler error output for details. Total time: 2 seconds View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840201#3840201 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840201 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET SOAP] - RemoteAdaptorInvocationHandler - No Serializer Error
Hello below is client code I am trying to get to work. RemoteAdaptor ra = RemoteAdaptorInvocationHandler.createRemoteAdaptor( new URL(http://server/jboss-net/services/RemoteAdaptor;)); System.out.println(Default Domain: +ra.getDefaultDomain()); //This throws No Serializer... System.out.println(Registered? + ra.isRegistered(new ObjectName(jnms.test:service=Test))); When I try to run it I get the following exception java.io.IOException: No serializer found for class javax.management.ObjectName in registry [EMAIL PROTECTED] Has anyone used this? Can anyone point me in the right direction for solving this error, I spent some time looking for doing Calls and setting the serializers but didn't have much luck there either. thanks, Chris Buckley View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840202#3840202 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840202 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: SELECT multiple fields solution
You can create a BMP. /Goran View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840203#3840203 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840203 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: external static directories under 3.2.4
This seems to have been changed in JBoss-3.2.4/T 5.0.26 Copy a default web.xml from JBOSS_HOME\server\config-name\deploy\jbossweb-tomcat50.sar and place it in the JBOSS_HOME\server\config-name\conf directory and modify your context code in the server.xml to point to that file as follows.. Context docBase=C:/projects/classgrabber/webapp/classgrabber/old/Images path=/images defaultWebXml=${jboss.server.home.dir}/conf/web.xml/ View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840204#3840204 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840204 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET SOAP] - Re: Server
You can get the MessageContext from Axis and then get the HttpServletRequest from that context. For example, to get the remote host from within a Axis SOAP service, I do something like this: MessageContext msgctx = AxisEngine.getCurrentMessageContext(); | | HttpServletRequest req = (HttpServletRequest) msgctx.getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST); | | String remoteHost = req.getRemoteHost(); Best regards, Lance Nehring www.newparticles.com View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840206#3840206 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840206 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user