[JBoss-user] [Security JAAS/JBoss] - Re: Authentication in JBoss (login)
This link contains a failry thorough description of implementing JAAS support for your application: [url=http://www.jbossfaq.com/mvnforum/mvnforum/viewthread?thread=26]JBoss FAQ: Using JAAS in JBoss[/url] [EMAIL PROTECTED] ## JBoss hosting provided by [url=http://www.theBeanContainer.com]theBeanContainer.com[/url] ## View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836788#3836788 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836788 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: problem when i try to run client application.
I suspect 'Cart' is not bound in JNDI, so it can not be resolved. Can you post the content of your ejb-jar.xml? [EMAIL PROTECTED] View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836789#3836789 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836789 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - [ 962638 ] Exception in JMSCI message listener
Hi All, does somebody know what is this error ? in Our production running jboss 3.2.3 on redhat with postgres we got this error and the MDB stop processing. 10:06:27,631 WARN [jboss.tm.TransactionImpl] Transaction TransactionImpl:XidImpl [FormatId=257, GlobalId=xx.yyy..com//895, BranchQual=] timed out. status=STATUS_ACTIVE 10:06:27,632 ERROR [plugins.jms.JMSContainerInvoker] Exception in JMSCI message listener java.lang.InterruptedException thank for any suggestions. pch https://sourceforge.net/tracker/?func=detailaid=962638group_id=22866atid=376685 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836792#3836792 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836792 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET SOAP] - JBoss.NET / Axis 1.2 Java Collections
Hi I was just wondering if anyone tried this out... In the Java Web Services Tutorial 1.3 from Sun they wrote that the Java Collection Framework is supported by the new JAX-RPX Version 1.1 (Axis 1.2 uses JAX-RPC 1.1) - list attached below: Does this work with JBoss.NET / Axis?? How is this implemented ?? Has anyone any examples for this ?? cheers matt Table 12-1 Supported Classes of the Java Collections Framework java.util.Collection Subinterface Implementation Classes | List | ArrayList | LinkedList | Stack | Vector | | Map | HashMap | Hashtable | Properties | TreeMap | | Set | HashSet | TreeSet View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836793#3836793 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836793 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Running Java application inside JBoss
And you have the real advantage to seperate the Create, Start, Stop and Destroy steps of the lifecycle, which you have not it you treat the 'background' service as a pure POJO. bax View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836794#3836794 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836794 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: MySQL 4/JBoss 3.2.3 and CMP 2.0
Whenever your exception is being caused by a database error, the best bet is to see the exact SQL JBoss is sending to the database. There are two options for this. One is to enable logging in MySQL. In your my.cnf, you can add the line: log=/var/log/general.log This can get huge, and is not recommended in production, but is suitable for development. You can always comment it out and restart MySQL when it's no longer needed. Another tip to view recent transactions when the log is large is to stop MySQL, rename (mv) general.log, then restart MySQL, so you start from a new log. The other method is to enable logging of CMP in server/default/conf/log4j.xml, which should show the SQL being generated: !-- View CMP queries -- |category name=org.jboss.ejb.plugins.cmp | priority value=DEBUG/ |/category | When you see the potentially offending SQL, you can often copy and paste it into a command line MySQL client to determine the exact problem, if it isn't already clear. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836795#3836795 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836795 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: don't give client jsp files
Not precompiled JSP's could be a real security flaw. Under some circumstances the client will be able to generate his own code and send it to the container. % System.exit(0) % will be very funny then. unfortunately in german: http://tomcat.objektpark.org/pdf/04_04_tomcat_JM.pdf bax View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836796#3836796 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836796 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - adding record to CMR field
Hi everybody, I have to EJB with 1-N CMR field (properly configured with xdoclet). /** * @ejb:persistent-field * * @ejb:relation name=idLectureQuestion * role-name=each-lecture-has-a-lot-of-questions * target-ejb=QuestionEntity * target-role-name=a-lot-of-questions-belong-to-one-lecture * target-multiple=no * * @jboss:target-relation related-pk-field=id *fk-column=questions * * @jboss:column-name name=questions */ public abstract Collection getQuestions(); public abstract void setQuestions(Collection questions); now I tried to add a new Question to this field. So I created a new method in this EJB file which looks like that /** * @ejb:interface-method view-type=remote */ public void addQuestion(QuestionEntity question) { this.getQuestions().add(question); } But it is not working. I have the feeling that the new record is added to the Collection but it is somehow not written back to the bean. I remeber that I read something about just working with LocalInterfaces but I can not find the text again. What am I missing? Whats the point? thanks in advance View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836799#3836799 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836799 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: Nulls in CMR where clause
Thanks for your kind reply :))) Mhhhm, i do not see an end here either. The Java vs. DB NULL problem is an chicken-and-egg problem. The NULL in the DB is not the Java NULL, so it must be converted in both directions. That for you have to test if it is NULL. Circle closed. Do you have the full control over the Table and Relation layout? If you provide more detailed information about what you are modeling, I am sure there is a way like the address splitting approach. Not the one-size-fits-it-all, but here we have a special case, which should be solved in a general manner. Have done it the last 25 years ;-) bax View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836800#3836800 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836800 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Stateful session bean Problem
The servlet it stateless, it does not know about client1 and order1. If client1 and order1 does not agree about the same attribute to identify the workflow (the session) things get mixed up in the servlet. bax View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836801#3836801 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836801 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: JMSException when starting JBoss server...
HSQL is more a 'demo' database. I won't suggest you to use it with that amount of users. Regards, Stephane View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836802#3836802 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836802 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: MySQL 4/JBoss 3.2.3 and CMP 2.0
It should be | category name=org.jboss.ejb.plugins | priority value=TRACE class=org.jboss.logging.XLevel/ | /category | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836803#3836803 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836803 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Opening RMI to the Internet?
Hi everybody, so we switched over to HTTP-based JNDI which seems to work as ports 1099 and 1098 (RmiPort) are not used any longer. But the actual data communication seems to go over port still! Any ideas why this is so? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836804#3836804 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836804 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - J2SE 1.5.0 Beta 2
i know jboss can't run on J2SE-1.5.0-Beta-1 due to a JMX issue, but how about Beta 2, just released recently? and if not Beta 2, is jboss working with sun and will the issue be resolved in the final release of 1.5.0? would be interesting to get some more information on the issue as well. see http://java.sun.com/j2se/1.5.0/download.jsp. thanks, mike View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836805#3836805 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836805 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: [ 962638 ] Exception in JMSCI message listener
Trying to jump the queue for attention by posting unsubstantiated bug reports is not acceptable. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836806#3836806 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836806 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: J2SE 1.5.0 Beta 2
FAQ View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836807#3836807 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836807 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: context.lookup takes 7+ _seconds_ to return over LAN on
Sounds like a dns/host config issue to me. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836808#3836808 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836808 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: HELP - Cant Log into Mgt Console
You are either modifying the wrong files, or the security config is coming from somewhere else. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836809#3836809 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836809 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: HELP - Cant Log into Mgt Console
and org.jboss.security View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836811#3836811 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836811 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: HELP - Cant Log into Mgt Console
Enable TRACE logging for org.jboss.web View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836810#3836810 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836810 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: when shutting down jboss 3.2.3, topic destroying failed
Your post makes no sense. There is no topic delete in the context you post. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836812#3836812 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836812 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: CORBA Call back Client and Session beans
There are examples in the testsuite, e.g. the ubiquotous HelloWorld View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836813#3836813 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836813 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Problem starting Jboss 3.2.1
Looks obvious to me, it cannot establish the db connection on that port: Connection Refused View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836814#3836814 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836814 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Starting failed java.sql.SQLException: User not found: S
sa is the default sysadmin for hsqldb so what have you changed? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836815#3836815 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836815 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Syntax Error in jboss.xml???
Like it says, you have no resource-env-ref with than name in ejb-jar.xml View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836816#3836816 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836816 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: adding record to CMR field
As your method is only viewed on the remote interface, does the QuestionEntity a local interface of question ? I not, It can't work because you can only work with local interfaces on CMR getters and setters (It's the spec). View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836817#3836817 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836817 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Oracel XA and deployment error
Hi All!!! I have a question. This is normaly??? -- 15:40:25,000 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean ope ration 'checkIncompleteDeployments()' Cause: Incomplete Deployment listing: Packages waiting for a deployer: Incompletely deployed packages: MBeans waiting for classes: MBeans waiting for other MBeans: [ObjectName: jboss.jca:service=OracleXAExceptionFormatter state: CONFIGURED I Depend On: jboss:service=TransationManager Depends On Me: ] -- my configuration xa-datasource jndi-nameXAOracleDS/jndi-name track-connection-by-txtrue/track-connection-by-tx isSameRM-override-valuefalse/isSameRM-override-value xa-datasource-classoracle.jdbc.xa.client.OracleXADataSource/xa-datasource-class xa-datasource-property name=URLjdbc:oracle:thin:@db_host:1521:sid/xa-datasource-property xa-datasource-property name=Usermyusername/xa-datasource-property xa-datasource-property name=Passwordmyuserpassword/xa-datasource-property exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter /exception-sorter-class-name no-tx-separate-pools/ /xa-datasource depends optional-attribute-name=TransactionManagerServicejboss:service=TransationManager in jmx-console i see service TransactionManager and in JNDI i see XAOracleDS and may connect to my db and CMP work fine But i have a question This is normaly??? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836818#3836818 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836818 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Oracel XA and deployment error
Sorry lost some in my config | datasource | xa-datasource | jndi-nameXAOracleDS/jndi-name | track-connection-by-txtrue/track-connection-by-tx | isSameRM-override-valuefalse/isSameRM-override-value | xa-datasource-classoracle.jdbc.xa.client.OracleXADataSource/xa-datasource-class | xa-datasource-property name=URLjdbc:oracle:thin:@192.168.13.4:1521:dev/xa-datasource-property | xa-datasource-property name=Userjboss/xa-datasource-property | xa-datasource-property name=Passwordjbossserverpassword45/xa-datasource-property | exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter | /exception-sorter-class-name | no-tx-separate-pools/ | /xa-datasource | | mbean code=org.jboss.resource.adapter.jdbc.xa.oracle.OracleXAExceptionFormatter | name=jboss.jca:service=OracleXAExceptionFormatter | depends optional-attribute-name=TransactionManagerServicejboss:service=TransationManager | /depends | /mbean | /datasource | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836819#3836819 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836819 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: MySQL 4/JBoss 3.2.3 and CMP 2.0
I think I got it ! Your primary key class have only one field, and unfortunatly for you, JBoss 3.2.3 is bugged : where the primary key class has only one field, the generated SQL for testing a entity existence before its creation is incomplete (the formet depends for each database : with MSSQL, the WHERE clause is empty). So you have two solutions: 1) Migrate to another version of JBoss (I don't know the one which solve this) 2) As your primary key class contains a single field, you don't need it. Just declare the productID field as the primary key of the bean. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836820#3836820 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836820 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Advanced Documentation] - Re: any docs updates since March 2004?
Hi, I haven't received any update from ComponentSource, shall I contact their customer support? Peter View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836821#3836821 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836821 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Oracel XA and deployment error
You cannot spell Transaction (or Oracle :-) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836822#3836822 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836822 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - jboss clustering of two nodes on different m/cs
i had done jboss clustering of two nodes on different m/cs and session sharing .it is running fine on linux and windows but now i want to run schudler in clusterd mode how any body help me out [EMAIL PROTECTED] View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836824#3836824 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836824 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: Where is the request log from tomcat 5 supposed to be??
Thanks Scott...I had found it this morningamazing what you can do after you recharge the battery(sleep)... thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836825#3836825 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836825 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: thanks tbauer for help! but I have more problems! thanks
Glad you got it to work, but why don't you post your SOLUTION?? Also, it's really NOT cool to post a NEW THREAD to answer a question you started in a previous thread...post your solutions to the old thread...It just clogs the forum when you create new threads...thx... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836826#3836826 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836826 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Connection errors using Connector/J 3.0.13 with JBoss/MySQL
I was previously using Connector/J 3.0.11 and have been for a long time...I just replaced the 3.0.11 jar with 3.0.13 and now JBoss 3.2.4RC2 barfs big time.I know my configuration is correct, so I'm wondering if this is a JBoss problem with that jdbc driver or one that should be submitted to mysql.org?? at java.lang.Thread.run(Thread.java:552) Caused by: java.sql.SQLException: Cannot load connection class because of underlying exception: 'java.lang.NumberFormatException: For input string: localhost'. at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:409) at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:158) ... 132 more 07:10:17,749 ERROR [EntityContainer] Starting failed jboss.j2ee:jndiName=icsCorp/CorpTZLocales,service=EJB org.jboss.deployment.DeploymentException: Error while fixing table name; - nested throwable: (org.jboss.util.NestedSQLException: Could not create connection; - nested throwable: (java.sql.SQLException: Cannot load connection class because of underlying exception: 'java.lang.NumberFormatException: For input string: localhost'.); - nested throwable: (org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Cannot load connection class because of underlying exception: 'java.lang.NumberFormatException: For input string: localhost'.))) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836827#3836827 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836827 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Connection errors using Connector/J 3.0.13 with JBoss/My
Uhh, well, what I want to know is whether there is a bug in Connector/J 3.0.13 or is there another NEW feature in jboss 3.2.4FC2 that causes the connections to fail?? With Connector/J 3.0.13 I get a connection errors...If I stop the server, and replace it with 3.0.11 everything works fine Here's my datasource config: local-tx-datasource jndi-nameICSRegDS/jndi-name connection-urljdbc:mysql://localhost/icsboomerang?useUnicode=trueamp;characterEncoding=UTF8/connection-url driver-classcom.mysql.jdbc.Driver/driver-class user-nameicsbisadmin/user-name 1sqlmgr min-pool-size50/min-pool-size max-pool-size100/max-pool-size blocking-timeout-millis1/blocking-timeout-millis idle-timeout-minutes15/idle-timeout-minutes /local-tx-datasource View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836830#3836830 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836830 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Connection errors using Connector/J 3.0.13 with JBoss/My
I think from the error message (it is hard to tell since you don't post the full stacktrace) that the mysql driver is trying to parse localhost as a number. So either: 1) you have the url wrong 2) it is a bug in their driver View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836831#3836831 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836831 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Connection errors using Connector/J 3.0.13 with JBoss/My
1). I doubt it. 2). Possibly. I have submitted a bug to Mark Mathews at mysql.org View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836833#3836833 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836833 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] [JCA/JBoss] - Re: Connection errors using Connector/J 3.0.13 with JBoss/My
I had the same problem. Mark released 3.0.14 yesterday and the problem was solved. (See the change log). Jack tbauer wrote: Uhh, well, what I want to know is whether there is a bug in Connector/J 3.0.13 or is there another NEW feature in jboss 3.2.4FC2 that causes the connections to fail?? With Connector/J 3.0.13 I get a connection errors...If I stop the server, and replace it with 3.0.11 everything works fine --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Connection errors using Connector/J 3.0.13 with JBoss/My
Here's some more detailed informationHopefully someone can actually look into the code rather than just post terse(snippy) comments: Here's my datasource configuration: works with Connector/J 3.0.11 local-tx-datasource jndi-nameICSRegDS/jndi-name connection-urljdbc:mysql://localhost/icsboomerang?useUnicode=trueamp;characterEncoding=UTF8/connection-url driver-classcom.mysql.jdbc.Driver/driver-class user-nameicsbisadmin/user-name 1sqlmgr min-pool-size50/min-pool-size max-pool-size100/max-pool-size blocking-timeout-millis1/blocking-timeout-millis idle-timeout-minutes15/idle-timeout-minutes /local-tx-datasource Here's the errors throw using Connector/J 3.0.13 2004-05-29 09:10:51,529 DEBUG [class org.jboss.cache.invalidation.InvalidationManager$InvalidationGroupImpl.CorpTZLocalesBean] Counter reference value (++): 1 2004-05-29 09:10:52,393 WARN [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Throwable while attempting to get a new connection: null org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Cannot load connection class because of underlying exception: 'java.lang.NumberFormatException: For input string: localhost'.) at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:168) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:504) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:214) at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:532) at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:442) at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:312) at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:494) at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:885) at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102) at org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.fixTableName(SQLUtil.java:128) at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.init(JDBCEntityBridge.java:147) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:428) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:365) at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:147) at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:337) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:186) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:466) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837) at $Proxy16.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:367) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:186) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:466) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174) at $Proxy49.start(Unknown Source) at
[JBoss-user] [Persistence CMP/JBoss] - Re: adding record to CMR field
Also your relationship looks strange ! | @ejb:persistent-field | @jboss:column-name name=questions | are tags for cmp fields. This means that you create both a CMR and a CMP field with the same name. I don't advise you to do that. I'm surprising you got no errors during deployment. Can you post your descriptors ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836835#3836835 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836835 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Connection errors using Connector/J 3.0.13 with JBoss/My
If you post terse/snippy/incomplete questions you get terse/snippy/incomplete answers. http://www.jboss.org/wiki/Wiki.jsp?page=JBossForums Yes, the problem is in the mysql driver: Caused by: java.sql.SQLException: Cannot load connection class because of underlying exception: 'java.lang.NumberFormatException: For input string: localhost'. at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:409) at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:158) I bet you it works if you use 127.0.0.1 :-) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836836#3836836 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836836 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: when shutting down jboss 3.2.3, topic destroying failed
When I did 'ctrl + c' to stop jboss, the JMS seems to perform a close on the testTopic but failed. My question is how to gracefully shuts down the MDB that had the connection and session created for the testTopic that this kind of error won't happen when jboss is shuting down. So, I cut and paste the code from my MDB in ejbRemove to show you if there is anything that I should have done in that routine. Other than ejbRemove, I don't know anywhere else to look for things that a graceful shutdown can be achieved. Let me try one more time to make myself clear, when jboss shuts down, how MDB can perform a graceful shutting down itself so that the JMSDestinationManager.closeDestination won't encounter the error as listed in the following. Hope this makes sense now. Thank you. Alan - 2004-05-29 09:56:57,485 ERROR [org.jboss.mq.server.jmx.Topic.testTopic] Destroying failed javax.jms.JMSException: The destination is being used. at org.jboss.mq.server.JMSDestinationManager.closeDestination(JMSDestinationManager.java:807) at org.jboss.mq.server.jmx.DestinationMBeanSupport.destroyService(DestinationMBeanSupport.java:142) at org.jboss.system.ServiceMBeanSupport.destroy(ServiceMBeanSupport.java:284) at sun.reflect.GeneratedMethodAccessor62.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:546) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976) at $Proxy14.destroy(Unknown Source) at org.jboss.system.ServiceController.destroy(ServiceController.java:531) at org.jboss.system.ServiceController.destroy(ServiceController.java:522) at org.jboss.system.ServiceController.destroy(ServiceController.java:522) at org.jboss.system.ServiceController.destroy(ServiceController.java:522) at org.jboss.system.ServiceController.destroy(ServiceController.java:522) at sun.reflect.GeneratedMethodAccessor60.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:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy4.destroy(Unknown Source) at org.jboss.deployment.SARDeployer.destroy(SARDeployer.java:408) at org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:522) at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:473) at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:359) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 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:546) at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:849) at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:824) at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:812) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836837#3836837 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836837 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: when shutting down jboss 3.2.3, topic destroying failed
Ok, Your MDB should already have been stopped by the time it removes the topic. You have something else subscribed to the topic. In any case this works differently in 3.2.4 - it no longer throws that exception (which isn't very useful anyway). P.S. Holding one connection open per MDB instance is very inefficient. Use the resource adapter to pool connections instead. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836838#3836838 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836838 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: adding record to CMR field
everything is generated by xdoclet. Here is jbosscmp-jdbc.xml: ?xml version=1.0 encoding=UTF-8? !DOCTYPE jbosscmp-jdbc PUBLIC -//JBoss//DTD JBOSSCMP-JDBC 3.0//EN http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd; jbosscmp-jdbc java:/DefaultDS datasource-mappingHypersonic SQL/datasource-mapping enterprise-beans !-- To add beans that you have deployment descriptor info for, add a file to your XDoclet merge directory called jbosscmp-jdbc-beans.xml that contains the markup for those beans. -- ejb-nameQuestionEntity/ejb-name create-tabletrue/create-table remove-tabletrue/remove-table table-nameQuestionTable/table-name cmp-field field-nameid/field-name column-nameid/column-name /cmp-field cmp-field field-nameheadline/field-name column-nameheadline/column-name /cmp-field cmp-field field-namedescription/field-name column-namedescription/column-name /cmp-field cmp-field field-nameanswertype/field-name column-nameanswertype/column-name /cmp-field cmp-field field-nameanswers/field-name column-nameanswers/column-name /cmp-field ejb-nameLectureEntity/ejb-name create-tabletrue/create-table remove-tabletrue/remove-table table-nameLectureTable/table-name cmp-field field-nameid/field-name column-nameid/column-name /cmp-field cmp-field field-nameheadline/field-name column-nameheadline/column-name /cmp-field cmp-field field-namedescription/field-name column-namedescription/column-name /cmp-field cmp-field field-namequestions/field-name column-namequestions/column-name /cmp-field /enterprise-beans ejb-relation ejb-relation-nameidLectureQuestion/ejb-relation-name foreign-key-mapping/ ejb-relationship-role ejb-relationship-role-nameeach-lecture-has-a-lot-of-questions/ejb-relationship-role-name key-fields key-field field-nameid/field-name column-namequestions/column-name /key-field /key-fields /ejb-relationship-role ejb-relationship-role ejb-relationship-role-namea-lot-of-questions-belong-to-one-lecture/ejb-relationship-role-name key-fields/ /ejb-relationship-role /ejb-relation !-- To add jboss relationships for beans not managed by XDoclet, add a file to your XDoclet merge directory called jbosscmp-jdbc-relationships.xml that contains the ejb-relation/ejb-relation markups for those beans. -- /jbosscmp-jdbc View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836839#3836839 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836839 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: adding record to CMR field
Here is ejb-jar.xml: ?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 ![CDATA[No Description.]] display-nameGenerated by XDoclet/display-name enterprise-beans !-- Session Beans -- !-- To add session beans that you have deployment descriptor info for, add a file to your XDoclet merge directory called session-beans.xml that contains the markup for those beans. -- !-- Entity Beans -- ![CDATA[]] display-nameQuestion Entity Bean/display-name ejb-nameQuestionEntity/ejb-name de.unimannheim.wifo3.cobana.ejb.prototype.interfaces.QuestionEntityHome de.unimannheim.wifo3.cobana.ejb.prototype.interfaces.QuestionEntity local-homede.unimannheim.wifo3.cobana.ejb.prototype.interfaces.QuestionEntityLocalHome/local-home de.unimannheim.wifo3.cobana.ejb.prototype.interfaces.QuestionEntityLocal ejb-classde.unimannheim.wifo3.cobana.ejb.prototype.entity.QuestionEntityCMP/ejb-class persistence-typeContainer/persistence-type prim-key-classde.unimannheim.wifo3.cobana.ejb.prototype.interfaces.QuestionEntityPK/prim-key-class False cmp-version2.x/cmp-version abstract-schema-nameQuestionEntity/abstract-schema-name cmp-field ![CDATA[]] field-nameid/field-name /cmp-field cmp-field ![CDATA[]] field-nameheadline/field-name /cmp-field cmp-field ![CDATA[]] field-namedescription/field-name /cmp-field cmp-field ![CDATA[]] field-nameanswertype/field-name /cmp-field cmp-field ![CDATA[]] field-nameanswers/field-name /cmp-field query-method method-namefindAll/method-name method-params /method-params /query-method ejb-ql![CDATA[SELECT OBJECT(qe) FROM QuestionEntity qe]]/ejb-ql query-method method-namefindByAttributes/method-name method-params method-paramjava.lang.String/method-param method-paramjava.lang.String/method-param method-paramint/method-param method-paramjava.lang.Object/method-param /method-params /query-method ejb-ql![CDATA[SELECT OBJECT(qe) FROM QuestionEntity qe WHERE qe.headline = ?1 AND qe.description = ?2 AND qe.answertype = ?3]]/ejb-ql !-- Write a file named ejb-finders-QuestionEntityBean.xml if you want to define extra finders. -- ![CDATA[]] display-nameLecture Entity Bean/display-name ejb-nameLectureEntity/ejb-name de.unimannheim.wifo3.cobana.ejb.prototype.interfaces.LectureEntityHome de.unimannheim.wifo3.cobana.ejb.prototype.interfaces.LectureEntity local-homede.unimannheim.wifo3.cobana.ejb.prototype.interfaces.LectureEntityLocalHome/local-home de.unimannheim.wifo3.cobana.ejb.prototype.interfaces.LectureEntityLocal ejb-classde.unimannheim.wifo3.cobana.ejb.prototype.entity.LectureEntityCMP/ejb-class persistence-typeContainer/persistence-type prim-key-classde.unimannheim.wifo3.cobana.ejb.prototype.interfaces.LectureEntityPK/prim-key-class False cmp-version2.x/cmp-version abstract-schema-nameLectureEntity/abstract-schema-name cmp-field ![CDATA[]] field-nameid/field-name /cmp-field cmp-field ![CDATA[]] field-nameheadline/field-name /cmp-field cmp-field ![CDATA[]] field-namedescription/field-name /cmp-field cmp-field ![CDATA[]] field-namequestions/field-name /cmp-field query-method method-namefindAll/method-name method-params /method-params /query-method ejb-ql![CDATA[SELECT OBJECT(le) FROM LectureEntity le]]/ejb-ql query-method method-namefindByAttributes/method-name method-params method-paramjava.lang.String/method-param method-paramjava.lang.String/method-param method-paramjava.util.Collection/method-param /method-params /query-method ejb-ql![CDATA[SELECT OBJECT(le) FROM LectureEntity le WHERE le.headline = ?1 AND le.description = ?2]]/ejb-ql !-- Write a file named ejb-finders-LectureEntityBean.xml if you want to define extra finders. -- !-- To
[JBoss-user] [Persistence CMP/JBoss] - Re: adding record to CMR field
I am using j2sdk1.4.2_03/ and xdoclet-1.2.1/ but I am bound to jboss-3.0.7_jakarta-tomcat-4.1.24/ View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836841#3836841 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836841 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: when shutting down jboss 3.2.3, topic destroying failed
I should only have the connection and session created. Not sure what you mean by I have something else subscribed to the topic. In any case, I have a follow up question for the 3.2.3 case where the exception was thrown: will this kind of failure impact the 'redeployment' of the MDB? For example, I copy over my .ear file that has the MDB in there onto the deployment directory while JBoss is running? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836842#3836842 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836842 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Internationalization
I read a little about Nukes. And i want to use it for my portall. But it must be in russian language and eventualy multilinguale. What are your suggestions for starting with translations of menu and pages? Excuse my English, It's not my native language. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836844#3836844 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836844 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - how to distribute JBoss for the deployment
Sorry about the naiveness of the question that I would like to get more info on the followings regarding the distribution of JBoss and the deployment at the customer site. Really appreciate if people can point me to the related documentation or provide with the experiences. 1) the system requirement in general 2) the good pratice on distributing JBoss, the min/max/default configuration Thanks in advance. Alan View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836845#3836845 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836845 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - Marc is right
Marc is right.. Noise is good in that it does something of advertising.. what better advertising can JBoss get than unfactual fanatical baseless attacks :) You may notice that each time Sun attacks RedHat inthe same manner that RedHat has the saem attitued as JBoss .. noise is good as long as the download number sincreease.. -mattcox maybe you should read the JBoss4 roadmap before continuing that comment perhaps? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836846#3836846 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836846 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: adding record to CMR field
As I say to you before, two bad things: 1) Your LectureEntity bean has a cmp field named questions, and a cmr field named also questions. Remove the tags I indicate before: | @ejb:persistent-field | @jboss:column-name name=questions | or rename one of them (cmp or cmr) and put the appropriate getter and setter. 2) The QuestionEntity (addQuestion parameter) is a remote interface. You cannot set a cmr field with a remote interface (only a local). For that, you have two solutions: 2.1 : retrieve a local interface from your client if you can and change your method: | public void addQuestion(QuestionEntityLocal question) { | this.getQuestions().add(question); | } | 2.2 : if you can't, just pass the primary key and retrieve a local interface in the method: Add an ejb-ref to your bean: | * @ejb.ejb-ref | * ejb-name=QuestionEntity | * view-type=local | Then in your method: | public void addQuestion(Long questionId) { | try { | javax.naming.Context ic = new InitialContext(); | Object obj = ic.lookup(Your Question bean JNDI name); | // Something like java:comp/env/ejb/QuestionEntityLocal | QuestionEntityLocalHome Home = (QuestionEntityLocalHome)PortableRemoteObject.narrow(obj,QuestionEntityLocalHome.class); | QuestionEntityLocal question = Home.findByPrimaryKey(questionId); | this.getQuestions().add(question); | } catch(Exception e) { | // Error handling | } | } | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836847#3836847 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836847 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - Re: TSS is making me sick
marc fleury TheBetterSide.com I like it [/quote wrote : | | TheBetterSide.org | | I'll like it too. | | bax View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836848#3836848 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836848 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: when shutting down jboss 3.2.3, topic destroying failed
The message says you are trying to undeploy the topic at shutdown, but you still have subscribers waiting for a message (who cares?). From 3.2.4 it will throw off any subscribers, in fact it does the same thing in 3.2.3 but less eligantly - hence your stacktrace. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836854#3836854 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836854 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Running Java application inside JBoss
The deployment descriptor says you want it deployed. There is no disabled like with windows services. It follows the unix pattern, anything in the deploy directory starts. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836855#3836855 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836855 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: JBoss 3.2.2 abnormal termination
[EMAIL PROTECTED] wrote : CMP is irrevelent. | | JBoss never crashes, the JVM does. If it does not core dump when it receives | an errant signal I suggest (at the risk of repeating myself) you look at your OS config. I didn't find any JVM dump or core dump. Which OS configs you mean? Regards, Rafal View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836857#3836857 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836857 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Running Java application inside JBoss
ok, thank you. So if I want to disable a service deployed in my ear file and that is currently running I must delete that jar from the ear from what I understood. Tomorrow I'll do a few tests if I run into some issue I'll ask help here at the forums. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836858#3836858 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836858 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: how to avoid JNDI port conflicts at startup?
Yes, we definitely need to change the port number. The question is, is there a way to pick a fixed port number that will basically never have conflicts. I'm running on a Windows 2000 system. We had been using port 1099 for JNDI, but it seems that sometimes, some other process has grabbed that port. As I understand it, a port numbered over 1023 can be grabbed by basically any process. And such ports are typically chosen dynamically to create socket connections for other protocols like HTTP. 1099 is pretty close to 1023, and I believe these dynamically-assigned ports are generally chosen in increasing numerical order. So if I pick a much higher port number, like 11099, it's very unlikely to be used either for a dynamically-assigned port, or as the well known port for some other protocol. Just as 8080 works well as an alternate port for HTTP. So is this solution the standard one? Is it reliable? Is there a better way? Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836868#3836868 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836868 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user