[JBoss-user] [Security & JAAS/JBoss] - Exception message propogation issue
Hi, I am using JAAS based authentication in my application, but if some exception condition occurs in server side login module and i set some message in the login exception, then i don`t recieve the exception message in EJB client. Also is it possible to throw customLoginException in the server side login module so that i can show the correct error message to my remote desktop client. Any help will be highly appreciated Thanks, Anuj View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843058#3843058 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843058 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: CMR field cannot write to database????
What version exactly are you using? If you have the source, what is the revision of org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge (server module)? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843056#3843056 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843056 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: simple UserTransaction question
JBoss returns the results the driver returned. So it means the query resulted in no results. Try writting a JDBC test. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843054#3843054 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843054 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Throughput of data low while using CMP/CMR entitybeans
ejbLoad will still be called on each instance because it's the spec. And this is not what causes performance problems. You could also use read-ahead for CMR. But lazy-resultset-loading is not implemented for CMR. In case of a finder, you just query the database and return results. In case of CMR, besides querying the database container will establish relationships. It's more expensive. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843053#3843053 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843053 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: CMR and compound primary keys
CustomerAddress has prim-key-class java.lang.Long. That's why it expects the primkey-field. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843052#3843052 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843052 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Creating deployment descriptors for relationships
Try with batch-cascade-delete http://www.jboss.org/wiki/Wiki.jsp?page=BatchCascadeDelete It will delete children first. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843051#3843051 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843051 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: How to configure element in the jbosscm
See free on-line docs Chapter 11 paragraph 'Entity Commands and Primary Key Generation' View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843050#3843050 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843050 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How to support Big5 char set with JBossMQ
It worked. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843048#3843048 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843048 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - jbind , network address 0.0.0.0, where can i change it.
switched to 3.2.5 recently, to use java1.5 this is on a laptop computer, so the server should be "localhost", ipaddress"127.0.0.1" (i work offline, creating and testing ejbs, most of the time) or my fixed private address 192.168.x.x instead it binds to "0.0.0.0"? so , my jmx-console opens at "http://0.0.0.0:8080/jmx-console"; the "old" 3.x jboss worked differently here. how can i change that? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843049#3843049 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843049 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - JMS messages gone when restarting JBoss
We are using JBoss 3.2.3. The JMS messages are all gone after we restart JBoss. It looks like all messages have been deleted and all tables have been recreated. The following is what we did in hsqldb-ds.xml file. 1) uncomment out tcp connection 2) comment out in-process db with file store 3) uncomment out mbean code Anyone can help? thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843047#3843047 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843047 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - access to jboss source
i need to download jboss 3.0.2 source to research a problem, but source forge only has binary distribution listed for this version. what should i do? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843046#3843046 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843046 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - How to configure element in the jbosscmp-jd
How to configure element in the jbosscmp-jdbc.xml? There are too many alterable options in element. What do they mean? When should I use them? And where can I find the related document about the usage of these commands? Any help is appreciated. Thank you. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843045#3843045 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843045 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - How to configure element in the jbosscmp-jd
How to configure element in the jbosscmp-jdbc.xml? There are too many alterable options in element. What do they mean? When should I use them? And where can I find the related document about the usage of these commands? Any help is appreciated. Thank you. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843044#3843044 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843044 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How to support Big5 char set with JBossMQ
Hi genman, Thanks for this help. I will try it and give you feedback asap. By the way, I am using the MapMessage and not the TextMessage, is it the same case? Thanks in advanced. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843043#3843043 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843043 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: setJMSExpiration() dont seem to work
I agree when you say anonymous wrote : You can also provide the expiration time as part of the user message headers, which do get copied over to the DLQ message.. So by changing the TTL on the DLQ the original message expiration increment by what is set in the TTL seconds so the message never get expired. How do i make it the message go, cause in reality this will eat a lot of resources. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843039#3843039 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843039 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: JBoss classloading behaviour
Hi Scott, Atleast the melodrama got me your attention and a reply!!! :) I was frustated earlier coz of my repeated posts to these forums turned up no replies. About flushing the resourceBlackList, how would I do that and an even bigger concern is that I don't want to introduce an app server-specific code into my app. So flushing the blackList would be less preferable. Thanks. Rahul. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843038#3843038 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843038 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - JBoss RSS through Proxy!
Does anyone know if there is a way to setup JBoss RSS module to use proxy? Cheers, Peja View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843037#3843037 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843037 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS fails under load
Use the JVM/IL for communication if you're working in one JVM. (java:/ConnectionFactory) If you're on Windows, you may need to increase the number of sockets/threads available. Search around for this. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843036#3843036 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843036 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: UIL2 loadtesting and threads
Do you close your connections when done? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843035#3843035 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843035 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - JMS fails under load
I'm developing an application that uses JBoss 3.2.4 as a EAI/workflow server. Here's my situation: I have a stateless session bean (call it Bean1) which is called every 30 seconds to look for new requests from a db table (I know...it's polling...no way around it). It reads a max of 5000 new rows and breaks each row into an individual message and sticks the message onto a queue (call it Queue1). A message driven bean (Bean2) gets the messages from Queue1 and creates two new messages: one for Queue2 and one for Queue3...It gets even more complicated from there. This all works fine when I'm testing it with one new message at a time, but my first performance test of it (with 100 new requests in the db) yielded the following exception: org.jboss.mq.SpyJMSException: Cannot authenticate user; - nested throwable: (java.io.IOException: Client is not connected) at org.jboss.mq.Connection.authenticate(Connection.java:1161) at org.jboss.mq.Connection.(Connection.java:248) at org.jboss.mq.Connection.(Connection.java:325) at org.jboss.mq.SpyConnection.(SpyConnection.java:66) at org.jboss.mq.SpyConnectionFactory.createConnection(SpyConnectionFactory.java:87) at org.jboss.mq.SpyConnectionFactory.createQueueConnection(SpyConnectionFactory.java:124) [cut] This happens when Bean2 tried to do a jndi lookup of Queue2 or Queue3, and this didn't happen each time. It occurred approximately 6% of the time. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843034#3843034 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843034 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How to support Big5 char set with JBossMQ
The internal transport representation for javax.jms.TextMessage is UTF. If you have captured the character data from the socket, which is what I assume you are using for talking with your C++ app, verify that you are constructing the string correctly. | Socket s; | byte b[] = new byte[1000]; | s.getInputStream().read(b, 0, 1000); | String str = new String(b, "big5"); | In other words, probably not a JMS bug. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843033#3843033 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843033 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: MSSQL: Error with ejb-ql when using PK class
I solved it. Wrong column names. Doh! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843032#3843032 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843032 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - suggestion needed
Hello, here's the situation: i've got a fairly elaborate app written for jboss 3.2.2RC2. it's almost done but i've been given the task of adding a new feature which will synchronous much of the data with an external accounting software package. for example, a user creates a new payment in jboss. i need a component that will be aware of the modification and send the PaymentBean off to be synchronised with the accounting software. I don't need help with the synchronization portion, that's all set. I need someone to suggest the best way of "listening" for entity bean modifications. Thanks, any help would be greatly appreciated. Deadline fast approaching. matt tucker View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843031#3843031 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843031 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Making a (singleton) MDB run in only one node of a cluster
I have a message-driven EJB which is listening to a queue which can only have a single listener (the queue can only be dequeued by one listener) so when I have one node running in a cluster a second node can't start due to this restriction (at least this is what appears to be going on). I am running both nodes using an Oracle AQ JMS Provider patch, and I have the Message-Driven EJB using a singleton configuration (this setup works fine in a non-clustered setting). Below is the start of the exception messages I get on the second node after running the first node on another machine (with no errors): 17:27:47,983 ERROR [DLQHandler] Initialization failed DLQHandler javax.jms.JMSException: Error creating the dlq connection: DLQ not bound at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:171) at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:237) at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:164) The nodes can see each other, as seen by the following messages: 17:27:38,499 INFO [DefaultPartition] Number of cluster members: 2 17:27:38,499 INFO [DefaultPartition] Other members: 1 17:27:38,499 INFO [DefaultPartition] Fetching state (will wait for 6 milliseconds): 17:27:39,210 INFO [HANamingService] Listening on /0.0.0.0:1100 17:27:39,220 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on /0.0.0.0:1102 , group=230.0.0.4, HA-JNDI address=10.10.10.78:1100 What can I do to make it so that the MDB is only started once, so that only the first node's MDB listens to the queue ? My systems are running Windows XP and JBoss 3.2.5, the JMS Provider is an Oracle Advanced Queue (using the patch provided for the JBoss/OAQ JMS Provider from sourceforge.net). Thanks in advance for any suggestions. -James View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843030#3843030 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843030 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Problem Casting Reference to javax.jms.Queue
Adrian, Thank you for your input, it may help someone refine my example to be 100% j2EE compliant. A good thing. Maybe you have time? If not you I would love it if another seasoned person like yourself could provide a complete example. It was my intent to be more verbose, and at least help someone like myself who may not know as much as you how to get going using a "cookbook" approach. anonymous wrote : | You should download and read the getting started guide. | | Your post will mislead people. | Great! do you have a URL for that? I would love to read it. I promise I looked around for help for a really long time, with no avail on finding a clear approach. I hope the document you refer to will provide a clearer explaniation and example. anonymous wrote : | Inside the jboss server, creating a remote jndi context and | lookup("ConnectionFactory") are both inappropriate. | Understood. The example is intended for a remote client, but I am interested in an approach that would be suitable for deployment. I would appreciate any verbose examples that fix all the problems this newbie's cookbook has created. anonymous wrote : | If you do think the posts on the WIKI are incomplete, you can "Edit this page". | I added this cookbook as an attachement to the wiki. Is that good enough? Respectfully, Clay View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843029#3843029 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843029 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Connection failure during managed transaction
I'm posting this here because from what I understand with JCA the container is responsible for transactions and pooling. Updating/inserting a large number of records from within a stateless session bean causes one of the items to randomly fail with the following messages: Warning that showed up in JBoss output immediately before exception: 15:41:01,225 WARN [TransactionImpl] Transaction TransactionImpl:XidImpl [FormatId=257, GlobalId=rick//124, BranchQual=] timed out. status=STATUS_ACTIVE Error and State from SQLException: error code=0 SQL state=HY000 Exception that I threw: com.rxstrategies.dao.DAOSystemException: Can't connect:Problem getting connection: javax.resource.ResourceException: Interrupted while requesting permit! Waited 0 ms, invocation time: 1090525261246 at com.rxstrategies.dao.AbstractDAOFactory.getConnection(AbstractDAOFactory.java:42) Previous exception: Caused by: org.firebirdsql.jdbc.FBSQLException: Problem getting connection: javax.resource.ResourceException: Interrupted while requesting permit! Waited 0 ms, invocation time: 1090525261246 at org.firebirdsql.jdbc.FBDataSource.getConnection(FBDataSource.java:82) at com.rxstrategies.dao.AbstractDAOFactory.getConnection(AbstractDAOFactory.java:27) JDBC bindings: [jdbc/FirebirdDS] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=NoTxCM,name=jdbc/FirebirdDS to JNDI name 'java:/jdbc/FirebirdDS' [jdbc/XA-Firebird-Rxs] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=TxCM,name=jdbc/XA-Firebird-Rxs to JNDI name 'java:/jdbc/XA-Firebird-Rxs' [DefaultDS] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=LocalTxCM,name=DefaultDS to JNDI name 'java:/DefaultDS' This is with Jaybird RC3, Firebird 1.5.1, and JBoss 3.2.5. I don't have a reproducible scenario I can send, but I can cause it to fail consistently. Rick DeBay View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843028#3843028 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843028 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Re: Using Resources element in server.xml
Its not supported. Use the web.xml/jboss-web.xml descriptors in the war/WEB-INF. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843027#3843027 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843027 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: startup class in Jboss 3.2.5
I have the same problem. Were you able to resolve it. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843026#3843026 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843026 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Problem Casting Reference to javax.jms.Queue
You should download and read the getting started guide. Your post will mislead people. 1) The client jars are in ${JBOSS.HOME}/client, you are using copies of the server jars. The WIKI even says compile it with jbossall-client.jar from that directory. 2) If you are not going to use jbossall-client.jar, you should use jboss-j2ee.jar not j2ee.jar. If you read the license carefully, you are not allowed to distribute j2ee.jar. If you have an older version, you are not even allowed to use it in a production application http://java.sun.com/j2ee/sdk_1.3/faq.html#licensing 3) Inside the jboss server, creating a remote jndi context and lookup("ConnectionFactory") are both inappropriate. In a true j2ee web application you should resource-refs. It is upto the person doing the deployment whether they want to use a remote connection factory. If you do think the posts on the WIKI are incomplete, you can "Edit this page". View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843025#3843025 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843025 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: DeploymentException: Local home interface not found
loubyansky: Thanks so much for the reply. I am using JBoss 3.2.5. My entity beans extend javax.ejb.EJBLocalHome: (ex) public interface RuleHomeLocal extends javax.ejb.EJBLocalHome { public RuleLocal findByPrimaryKey (java.lang.Long id) throws FinderException; public RuleLocal create () throws CreateException; public Collection findByRule() throws FinderException; } the stack trace looks like this: 14:36:47,062 INFO [EjbModule] Deploying CompareValueBean 14:36:47,547 INFO [EjbModule] Deploying SqlComponentBean 14:36:47,562 INFO [EjbModule] Deploying SqlComponentSeqIterBean 14:36:47,594 INFO [EjbModule] Deploying ClueBean 14:36:47,609 INFO [EjbModule] Deploying RuleClueBean 14:36:47,640 INFO [EjbModule] Deploying RuleBean 14:36:47,656 INFO [EjbModule] Deploying MatcherBean 14:36:47,703 INFO [EjbModule] Deploying RuleManagerBean 14:36:47,703 INFO [EjbModule] Deploying CandidateQuerySetFactoryBean 14:36:51,234 ERROR [EntityContainer] Starting failed jboss.j2ee:jndiName=Charm_Rule,service=EJB org.jboss.deployment.DeploymentException: Local home interface does not have the method findByPrimaryKey(java.lang.Long) at org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.start(JDBCQueryManager.java:170) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:498) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:396) 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.GeneratedMethodAccessor47.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:185) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837) at $Proxy17.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:185) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy40.start(Unknown Source) at org.jboss.ejb.EjbModule.startService(EjbModule.java:367) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221) at sun.reflect.GeneratedMethodAccessor47.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:185) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837) at $Proxy17.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:367) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Delegating
[JBoss-user] [Installation & Configuration] - MSSQL: Error with ejb-ql when using PK class
Hello- I have gotten JBoss to use a MSSQL database. I then realized I needed to write a PK class because my table had multiple PK fields. Now that I'm using a PK class I'm getting this error in my server.log: 2004-07-22 13:25:36,082 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.Pricing#findByCompanyID] Executing SQL: SELECT FROM PricingProfiles t0_p WHERE (t0_p.companyID = ?) 2004-07-22 13:25:36,180 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.Pricing#findByCompanyID] Find failedjava.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Incorrect syntax near the keyword 'FROM'. This is the finder I have in the ejb-ql.xml file: findByCompanyID java.lang.String select object(p) from PricingBean AS p where p.companyID=?1 I can't figure out why the query is not working. Any help is greatly appreciated. Thanks- Michael View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843023#3843023 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843023 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Problem Casting Reference to javax.jms.Queue
Ok, here is the solution. First of all I don't really like the example on the WIKI, it leaves out too many details that a newbie like me really needs to configure and test JMS on JBOSS. So I am going to be verbose and offer the full example. Hopefully I can add this solution to the WIKI as well. 1. Configure your project so that you have all the client JARS you will need, and make sure they are all in the classpath (lib). This will allow you to test your JMS producer and consumer remotely. This is the project structure I use to test: | .: | . | .. | build-jbossmq.xml | jbossmq.war | lib | .nbattrs | src | tree.txt | web | | | ./lib: | . | .. | concurrent.jar | j2ee.jar | jboss-common.jar | jbossmq.jar | jnpserver.jar | | ./src: | . | .. | com | | ./src/com: | . | .. | noi | | ./src/com/noi: | . | .. | jbossmq | | ./src/com/noi/jbossmq: | . | .. | app | | ./src/com/noi/jbossmq/app: | . | .. | message | util | | ./src/com/noi/jbossmq/app/message: | . | .. | SimpleConsumer.java | SimpleProducer.java | | ./src/com/noi/jbossmq/app/util: | . | .. | SysLogger.java | 2. Create the producer. | /* | * SimpleProducer.java | * | * Created on July 22, 2004, 11:30 AM | */ | | package com.noi.jbossmq.app.message; | | import javax.jms.*; | import javax.naming.*; | import java.util.Properties; | import com.noi.jbossmq.app.util.*; | | public class SimpleProducer { | | /** | * Main method. | * | * @param args the destination used by the example, | * its type, and, optionally, the number of | * messages to send | */ | public static void main(String[] args) { | | String messages[] = {"MESSAGE A" , | "MESSAGE B" , | "MESSAGE C" , | "MESSAGE D"}; | | QueueConnectionFactory queueConnectionFactory = null; | Queue testQueue = null; | | try { | SysLogger.info("Creating jndi context - alternatively use a jndi.properties"); | Properties properties = new Properties(); | properties.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); | properties.put(Context.PROVIDER_URL, "jnp://192.168.1.7:1099"); | InitialContext jndiContext = new InitialContext(properties); | queueConnectionFactory = (QueueConnectionFactory) jndiContext.lookup("ConnectionFactory"); | testQueue = (Queue) jndiContext.lookup("queue/testQueue"); | } catch (NamingException nameEx) { | SysLogger.info("Naming Exception: " + nameEx.toString()); | } | | SysLogger.info("made queue"); | QueueConnection queueConnection = null; | | try { | | SysLogger.info("trying to send message"); | queueConnection = queueConnectionFactory.createQueueConnection(); | QueueSession queueSession = queueConnection.createQueueSession(false,Session.AUTO_ACKNOWLEDGE); | QueueSender queueSender = queueSession.createSender(testQueue); | TextMessage textMessage = queueSession.createTextMessage(); | SysLogger.info("send each message"); | for (int msgCount = 0; msgCount < messages.length; msgCount++) | { | textMessage.setText(messages[msgCount]); | queueSender.send(textMessage); | SysLogger.info(" sending line " + msgCount + " : " + messages[msgCount]); | } | | textMessage.setText("end of message"); | queueSender.send(textMessage); | SysLogger.info(" sending last line " + " : " + textMessage.getText()); | | queueConnection.close(); | | SysLogger.info(" sender closed"); | | } catch (javax.jms.JMSException jmsEx) {System.out.println("JMS Exception: " + jmsEx.toString()); | } finally { if (queueConnection != null) | { try | { queueConnection.close(); | } catch (javax.jms.JMSException jmse) { | SysLogger.info("jms exception."); | } | } | } | | | } | } | 3. Create the Consumer | /* | * SimpleConsumer.java | * | * Created on July 22, 2004, 12:30 PM | */ | | package com.noi.jbossmq.app.message; | import javax.jms.*; | import javax.naming.*; | import java.util
[JBoss-user] [Beginners Corner] - Re: Storing lastUpdatedBy for database update history
Check out the "audit" element in http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_2.dtd and see if "updated-by" and "updated-time" is what you are looking for. As you stated, Entity Beans need to be put in a JAAS security domain to make this make - otherwise you cannot retrieve the principal. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843021#3843021 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843021 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: MySQL error with JMS-Server
One more problem, nothing with the JMS, but with an (MySQL)CMP bean I get an error NoSuchMethodError, but I cant see what method is being called, it is a simple bean with one field, and the code works both in Hypersonic JBOSS setup and in the MySQL setup, but with the Mysql setup I get the exception on deplolyment. Everything works fine, I just hate strange exceptions in my log file: I am using the the jbosscmp.. file and nothing looks strange there. I dont have any ideas on this one? :39:48,809 WARN [ServiceController] Problem starting service jboss.j2ee:jndiName=org/retro/gis/system/HelloWorldCMPHome,service=EJB RuntimeErrorException: java.lang.NoSuchMethodError Cause: java.lang.NoSuchMethodError at org.jboss.mx.server.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:99) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:64) 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:185) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837) at $Proxy17.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:367) at java.lang.reflect.Method.invoke(Native Method) at org.jboss.mx.server.ReflectedDispatcher.dispatch(Reflected ... . .. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843020#3843020 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843020 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: deploy single jsp page
"bogonisa" wrote : What do you mean exploded war. War files that are not "zipped", e.g. in their original directory structure. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843019#3843019 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843019 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Oracle XA Datasources
I have done as you suggested and debugged JBoss and have found that the xaResource datamember of XAManagedConnection is null. This value is set by the last statement in this function. | public XAManagedConnection(XAManagedConnectionFactory mcf, XAConnection xaConnection, Properties props, | int transactionIsolation, int psCacheSize, boolean doQueryTimeout) throws SQLException | { | super(mcf, xaConnection.getConnection(), props, transactionIsolation, psCacheSize, doQueryTimeout); | this.xaConnection = xaConnection; | xaConnection.addConnectionEventListener(new ConnectionEventListener() | { | public void connectionClosed(javax.sql.ConnectionEvent ce) | { | //only we can do this, ignore | } | | public void connectionErrorOccurred(javax.sql.ConnectionEvent ce) | { | SQLException ex = ce.getSQLException(); | broadcastConnectionError(ex); | } | }); | this.xaResource = xaConnection.getXAResource(); | } | xaConnection is an instance of oracle.jdbc.xa.client.OracleXAConnection. xaConnection.getXAResource is returning null on each call. The datamember, m_xarsrc, in xaCOnnection is null. What might be wrong in my configuration that would not tell Oracle that an XA resource is required. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843018#3843018 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843018 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Another noob question re properties..
I've looked (seemingly) all over, but I cannot figure out where to edit basic properties for html templates; e.g. "user.RegisterNow". I know this must be obvious..I have checked the JBoss/Tomcat docs. I was hoping this was something I could do from web-console, but I cannot even find an .xml file for this. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843017#3843017 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843017 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: Broken pipe in Coyote/Tomcat
yes, this happen because the network connection has been borken between client and server. so when tomcat use the socket to write the bytes on the output stream it receives that exception that is logged. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843016#3843016 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843016 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Using Resources element in server.xml
Hi! There is a feature in standalone Tomcat http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/resources.html which alows you to provide JNDI provider for your custom storage where you have your web. app. to Tomcat. And Tomcat will use this JNDI provider in order to work with your web. app. It works perfectly with standalone Tomcat, but when I try to integrate this into JBoss3.2.5 with embedded Tomcat5.0.26 some strange things happen. At this point I don't know if I'm missing something in configuration or it shouldn't work at all with JBoss/embedded Tomcat. Can somebody,please, clarify that it is supported by JBoss/embedded Tomcat? Regards. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843015#3843015 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843015 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - JBoss and hsqldb-ds.xml editing ( pb with data base managing
Thank you for the yesterday reply ! Now i am not sure of the right editing of my hsqldb-ds.xml file before modifyi,g the file : jdbc:hsqldb:${jboss.server.data.dir}/hypersonic/localDB jdbc:hsqldb:D:/informatique/jboss3.2.3/server/data/hypersonic/localDB D:/informatique/jboss3.2.3/server/data/hypersonic/localDB is the path Thank you for your help, Antoine View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843013#3843013 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843013 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - JBoss and hsqldb-ds.xml editing ( pb with data base managing
Thank you for the yesterday reply ! Now i am not sure of the right editing of my hsqldb-ds.xml file before modifyi,g the file : jdbc:hsqldb:${jboss.server.data.dir}/hypersonic/localDB jdbc:hsqldb:D:/informatique/jboss3.2.3/server/data/hypersonic/localDB D:/informatique/jboss3.2.3/server/data/hypersonic/localDB is the path Thank you for your help, Antoine View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843014#3843014 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843014 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Is this a bug? stateful session bean is acting like stat
Thank you so much James, I think you are totally right. I did some further testing by doing System.out.println(this); in the bean class, so that I can see the bean's memory location on the jboss console. For a slsb, the memory location has been always the same across multiple create() calls even from two different pc's and calls made several hours apart. This confirms that jboss only keeps one instance in the pool in my near-idle environment. On the other hand, if I change the bean to a sfsb in ejb-jar.xml, System.out.println(this) prints a different memory location with each create() call! This behavior again matches your description :) Thank you again James, now I think I got it! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843012#3843012 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843012 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET & SOAP] - Re: 4.0.0RC1: changes in deploying a wsr archive?
The proprietary jboss.net wsr is not supported by the ws4ee deployer. Use the standard webservices descriptors/deployments as defined in the j2ee 1.4 tutorial. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843011#3843011 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843011 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Port assignments -- necessary ? And if so then how to confi
Do you need to modify or specify any port numbers for the multiple servers/VMs in a cluster ? I am assuming that each VM (node) in the cluster will need to listen to different ports, and this might not be taken care of magically by JBoss, as witnessed below by my second instance (node) in a cluster not being able to start the WebService since another node is already listening to to the port. I run one instance of JBoss via "run-c all" and when I run another instance of JBoss (which will make it the second node in the cluster, right ?) I get the following exception: 13:57:57,278 ERROR [WebService] Starting failed jboss:service=WebService java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331) at java.net.ServerSocket.bind(ServerSocket.java:318) at java.net.ServerSocket.(ServerSocket.java:185) at org.jboss.web.WebServer.start(WebServer.java:178) at org.jboss.web.WebService.startService(WebService.java:286) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221) Any insights or suggestions will be appreciated, thanks in advance. -James View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843010#3843010 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843010 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Setting up an alias in Apache to a WAR file inside an EAR
Hi, I was wondering if anybody knows how to setup an alias to do this. I did the following, which works if I deploy a simple standalone WAR file: httpd.conf (apache): # Alias jsp to the JBoss's JSPs web archive. Alias /myjsps "C:/jboss-3.2.5/server/default/deploy/simple.war" This works so I can do this: http://localhost/myjsps/index.jsp So I don't have to do: http://localhost:8080/myjsps/index.jsp Now, when I bundle my WAR file in my EAR file and deploy my EAR file it doesn't work. Does anybody know how I can do this? I don't want to go through 8080 and have Apache redirect all JSP/Servlet content onto Tomcat at 8080 but I don't know how to setup the HTTPD.conf file when my WAR is inside my EAR. Any ideas? Thanks, Mike View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843009#3843009 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843009 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET & SOAP] - 4.0.0RC1: changes in deploying a wsr archive?
My examples of 4.0.0DR4 with XDoclet cannot be deployed anymore. Where can I find examples how to deploy web services with EJBs in 4.0.0RC1 using XDoclet? Especially with the subtask . Are there changes in the generated web-service.xml or in the packaging of a wsr archive? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843008#3843008 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843008 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Handling many NON_PERSISTENT messages and staying alive
I don't see anything wrong with dropping NON_PERSISTENT messages rather than putting them on disk. They are lost in the event of a reboot, so you need a design that can cope with the non guaranteed delivery of the message. JBossMQ doesn't currently implement it that way. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843007#3843007 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843007 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Creating deployment descriptors for relationships
I have two tables in my database, users and usercontact. Users primary key is userId, UserContact primary key and foreign key use the userId from the Users table. My deployment descriptor describing this relationship is below. When I try to remove a user from the database I get the error reported below. How do I describe the relationship so the container knows to remove the UserContact row prior to the Users row? ejbjar.xml: < !-- this is a One to One relationship --> < ejb-relation> < ejb-relation-name>UserContact_userId< /ejb-relation-name> < ejb-relationship-role> < description>UserContact has one Users< /description> < ejb-relationship-role-name>UserContact_has_Users< /ejb-relationship-role-name> < multiplicity>One< /multiplicity> < relationship-role-source> < ejb-name>MSSQLServer2000MetaData_UserContact< /ejb-name> < /relationship-role-source> < cmr-field> < cmr-field-name>userId< /cmr-field-name> < /cmr-field> < /ejb-relationship-role> < ejb-relationship-role> < description>one Users exists for UserContact< /description> < ejb-relationship-role-name>UsersRole< /ejb-relationship-role-name> < multiplicity>One< /multiplicity> < cascade-delete/> < relationship-role-source> < description>Users< /description> < ejb-name>MSSQLServer2000MetaData_Users< /ejb-name> < /relationship-role-source> < /ejb-relationship-role> < /ejb-relation> error: 2004-07-22 13:09:37,812 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCRemoveEntityCommand.MSSQLServer2000MetaData_Users] Executing SQL: DELETE FROM Users WHERE UserID=? 2004-07-22 13:09:37,828 ERROR [org.jboss.ejb.plugins.cmp.jdbc.JDBCRemoveEntityCommand.MSSQLServer2000MetaData_Users] Could not remove Primary key: Raghu java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]DELETE statement conflicted with COLUMN REFERENCE constraint 'FK__UserConta__UserI__7C8480AE'. The conflict occurred in database 'MetaData', table 'UserContact', column 'UserID'. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843006#3843006 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843006 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Handling many NON_PERSISTENT messages and staying alive
Hi Adrian. Thanks for the response. So A3) is completely wrong, not the whole story or another valid option. I thought that once a message gets passed to saveToStorage() and the cache references to it have been softened, then nothing else has got a handle on iti'm not so familiar with the code...sorry. I would really appreciate your thoughts on dropping NON_PERSISTENT messages though. Is it a requirement you've come accross before? Or does it sound like such a requirement shows a broken design? Thanks for the pointers to MessageCache and BasicQueue. Hopefully i'll get the time to dive in and give it a go. Ah maybe you mean modifiying these classes such that they bypass the persistence manager completely. Not sure. cheers View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843005#3843005 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843005 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Re: Filter
any hint guys? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843004#3843004 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843004 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: JBoss classloading behaviour
Thanks for the melodrama. Flush the class loader blacklist and look at how the aop framework generates classes. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843003#3843003 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843003 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - JBoss, Apache Axis, Tomcat and SSL confusion
Hi, I have JBoss 3.2.3 as the server software on my computer. I have Apache Axis (web services) installed on JBoss as a web application, and the JBoss has integrated Tomcat. Now, I'm trying to get the web services to be SSL enabled. Should I configure Tomcat, Apache Axis, or JBoss itself in order to make the web service SSL enabled? Any help is appreciated! :-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843001#3843001 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843001 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: Broken pipe in Coyote/Tomcat
"cooper" wrote : usually that kind of exception should not appear in the log, tomcat is too verbose. this is the kind of stuff expected in a web server So I shouldn't worry about it...? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843000#3843000 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843000 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: How to get all the users who have been authenticated by
You could develop your user management module. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842997#3842997 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842997 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - JBoss classloading behaviour
Hi, I have seen this classloading issue in JBoss and it has caused me great pain. I am using JBoss 3.2.4. The scenario is like this: I generate java classes on-the-fly in my application and then try to load those classes. But I perform the class generation only the first time when the classes have not already been generated by a previous run of my application. So in my code I first try to load, say class ABC, using Class.forName() and if it fails I know that I need to generate the classes. I then generate the classes and then try to load again using Class.forName(). This is were it fails with a ClassNotFoundException though the classes are present. I then stepped thru a debugger into Jboss src and found out that when u try to load a class and if that class is not found, it is places in a resourceBlackList (UnifiedLoaderRepository) and hence that class could never be loaded again even though it might be present in the classloader's path. So my first check using the Class.forName() would put the class ABC in the black list and hence would not load that class even after it was generated at runtime by my app. Can somebody tell me if this is a bug or a feature? I have posted my problems regarding classloading of runtime-generated classes in Jboss earlier on JBoss forums, but seems like nobody knows much or atleast bothers to reply. Seems like the classloading issue is a no-no in Jboss forums. Have heard people complaining about JBoss's classloading scheme too. Anyway, I would appreciate if anybody could reply to my query. Thanks. Rahul. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842996#3842996 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842996 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: 4.0.0RC1: Where is JBoss.NET?
jboss.net has been replaced with the j2ee 1.4 compliant web services implementation supplied by the jboss-ws4ee.sar and can be found at: http://localhost:8080/ws4ee/ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842994#3842994 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842994 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Handling many NON_PERSISTENT messages and staying alive
If you want it to drop NON_PERSISTENT messages rather than putting them putting them on disk it would require a modification to the MessageCache and BasicQueue to remove the message from the queue (assuming it hasn't already been received by a client). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842993#3842993 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842993 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Handling many NON_PERSISTENT messages and staying alive
That is a bug, it is not setting the stored status of the message reference: org.jboss.mq.pm.none.PersistenceManager should be: |public void removeFromStorage(MessageReference mh) throws JMSException |{ | if (delegate == null || mh.inMemory()) | { | cache.remove(mh); | mh.setStored(MessageReference.NOT_STORED); | } | else | ((CacheStore) delegate).removeFromStorage(mh); | |} | |public void saveToStorage(MessageReference mh, SpyMessage message) throws JMSException |{ | if (delegate == null || mh.inMemory()) | { | cache.put(mh, message); | mh.setStored(MessageReference.STORED); | } | else | ((CacheStore) delegate).saveToStorage(mh, message); |} | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842992#3842992 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842992 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Modifying jcomponent
| ClassPool pool = ClassPool.getDefault(); | CtClass cc = pool.get("javax.swing.JComponent"); | CtMethod m = cc.getDeclaredMethod("paint"); | m.insertBefore("((java.awt.Graphics2D)$1).setRenderingHint(java.awt.RenderingHints.KEY_ANTIALIASING, java.awt.RenderingHints.VALUE_ANTIALIAS_ON);"); | I am trying to modify all jcomponents so that they have antialiasing enabled when they are painted. However, this doesnt quite seem to work. I want this to be a runtime, change. I do not want to write the class to disk and then use it (as it would breach the sun license). What am I doing wrong? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842991#3842991 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842991 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: CMR and compound primary keys
I have confirmed that there is no other jbosscmp-jdbc.xml, and I know that it's finding the given one since if I change the example code to use a non-composite primary key the whole thing works. >From the error message, it looks like JBoss is looking for a in the >ejb-jar.xml, but obviously there is none since it's a compound primary key. Suggestions? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842990#3842990 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842990 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - 4.0.0RC1: Where is JBoss.NET?
After installing 4.0.0RC1 the URL http://localhost:8080/jboss-net doesn't work any more. I also cannot find the subdirectory server/default/deploy/jboss-net.sar Am I missing something? Any hint is appreciated! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842989#3842989 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842989 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Using Null Persistence Manager
I have found out that the 'null pm' does not simply drop messages, he stores them in a ConcurrentHashMap. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842988#3842988 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842988 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Handling many NON_PERSISTENT messages and staying alive
Hello. This question is about how to configure JBossMQ to cope with a huge flood of messages that are NON_PERSISTENT. Assumptions: - A NON_PERSISTENT message does not have to be stored persistently, server may drop/lose some. The javadoc says: anonymous wrote : | This is the lowest-overhead delivery mode because it does not require | that the message be logged to stable storage. The level of JMS provider | failure that causes a NON_PERSISTENT message to be lost is not defined. - The MessageCache is good since it stops me hitting a OutOfMemoryException - It is fatal (from a performance standpoint) for the cache to begin storing messages to secondary storage. This will only make the situation worse if we are being flooded with messages. Questions and attempted answers: Q1) When does JBoss drop NON_PERSITENT messages? A1) Reboot i presume? Q2) Can the NullPersistenceManager be used in this scenario? A2) I don't think so since it stores all the messages in a Map in memory and will not drop messages. So we'll start running out of memory [i tried this, see below]. Q3) If my requirement is for JBoss to still be responsive when i get a flood of messages and i'm happy to lose messages what are my options? A3) I imagine i could write my own org.jboss.mq.pm.PersistenceManager/CacheStore whose implementation of saveToStorage() just loses the message. I would be very grateful for input/feedback on these questions/answer attempts. I did try replacing deploy/jms/hsqldb-jdbc-service.xml with examples/jms/null-persistence-service.xml and running my stress client with the default jvm heap size. What i observe is that the CPU hits 100%. If i enable tracing i very rapidly get GIGA bytes of logs. Looking at them there is an awful lot of the following: | 2004-07-22 16:53:24,187 TRACE [org.jboss.mq.server.MessageReference] saveToStorage rejected by cache 12630 msg=12629 hard NOT_STORED NON_PERSISTENT queue=TOPIC.testTopic.ID:1.-2147483648 priority=4 lateClone=false hashCode=14952304 | 2004-07-22 16:53:24,187 TRACE [org.jboss.mq.server.MessageReference] saveToStorage rejected by cache 12630 msg=12629 hard NOT_STORED NON_PERSISTENT queue=TOPIC.testTopic.ID:1.-2147483648 priority=4 lateClone=false hashCode=14952304 | 2004-07-22 16:53:24,187 TRACE [org.jboss.mq.server.MessageReference] saveToStorage rejected by cache 12630 msg=12629 hard NOT_STORED NON_PERSISTENT queue=TOPIC.testTopic.ID:1.-2147483648 priority=4 lateClone=false hashCode=14952304 | 2004-07-22 16:53:24,187 TRACE [org.jboss.mq.server.MessageReference] saveToStorage rejected by cache 12630 msg=12629 hard NOT_STORED NON_PERSISTENT queue=TOPIC.testTopic.ID:1.-2147483648 priority=4 lateClone=false hashCode=14952304 | 2004-07-22 16:53:24,187 TRACE [org.jboss.mq.server.MessageReference] saveToStorage rejected by cache 12630 msg=12629 hard NOT_STORED NON_PERSISTENT queue=TOPIC.testTopic.ID:1.-2147483648 priority=4 lateClone=false hashCode=14952304 | | ... | 2004-07-22 16:53:24,687 TRACE [org.jboss.mq.server.TracingInterceptor] CALLED : transact | 2004-07-22 16:53:24,687 TRACE [org.jboss.mq.server.TracingInterceptor] ARG: [EMAIL PROTECTED] | 2004-07-22 16:53:24,687 TRACE [org.jboss.mq.server.BasicQueue] acknowledge AcknowledgementRequest:ACK,TOPIC.testTopic,ID:21-1090507594531644 12614 [EMAIL PROTECTED]:1.-2147483648} | 2004-07-22 16:53:24,687 TRACE [org.jboss.mq.server.TracingInterceptor] RETURN : transact | 2004-07-22 16:53:24,687 TRACE [org.jboss.mq.server.MessageReference] saveToStorage rejected by cache 12630 msg=12629 hard NOT_STORED NON_PERSISTENT queue=TOPIC.testTopic.ID:1.-2147483648 priority=4 lateClone=false hashCode=14952304 | 2004-07-22 16:53:24,687 TRACE [org.jboss.mq.server.TracingInterceptor] CALLED : receive | 2004-07-22 16:53:24,687 TRACE [org.jboss.mq.server.TracingInterceptor] ARG: -2147483648 | 2004-07-22 16:53:24,687 TRACE [org.jboss.mq.server.TracingInterceptor] ARG: -1 | 2004-07-22 16:53:24,687 TRACE [org.jboss.mq.security.ServerSecurityInterceptor] Checking receive authorize on ConnectionToken:ID:1/0936deaa2c42a73e515828be586c1022 subId=-2147483648 | 2004-07-22 16:53:24,687 TRACE [org.jboss.mq.security.SecurityManager] Checking authorize on subjectInfo: SubjectInfo {subject=Betreff: |Principal: guest |Principal: Roles(members:j2ee,guest,john) | ;principal=null;roles=Roles(members:j2ee,guest,john) for rolePrincipals [durpublisher, publisher, guest] | 2004-07-22 16:53:24,687 TRACE [org.jboss.mq.server.BasicQueue] receive Subscription[subId=-2147483648connection=ConnectionToken:ID:1/0936deaa2c42a73e515828be586c1022 destination=TOPIC.testTopic messageSelector=null Local Create] wait=false [EMAIL PROTECTED]:1.-2147483648} | 2004-07-22 16:53:24,687 TRACE [org.jboss.mq.server.MessageReference] saveToStorage rejected by cache 12630 msg=12629 hard NOT_STORED NON_PERSISTENT queue=TOPIC.testTopic.ID:1.-2147483648 priority=4 lateClone=false
[JBoss-user] [Persistence & CMP/JBoss] - OJB Persistence in JBoss
Hi, I have made an application with OJB Persistence and Struts STXX (struts-1.1) and i deploy it in JBoss 3.2.3. The application work fine and i don't have any problem. When i deploy another application in the same JBoss, developed in JDBC and not using OJB's, two applications work fine. But when i deploy the OJB application again, it doesn't work again and i have to delete the second (no OJB). How can i put two applications in my JBoss when onde of them are in OJB Persistence?! When i try to run, JBoss hava this exception: 14:32:43,080 ERROR [Engine] StandardWrapperValve[action]: Servlet.service() for servlet action threw exception javax.servlet.ServletException: The data "null" is not legal for a JDOM attribute: A null is not a legal XML value. at org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:545) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:486) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1480) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:506) 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) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:197) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677) at java.lang.Thread.run(Thread.java:534) 14:32:43,090 ERROR [Engine] - Root Cause - org.jdom.IllegalD
[JBoss-user] [HTTPD, Servlets & JSP] - static context in jboss-3.2.5
Hi, I had a static context configured in jboss-3.2.3 by adding a "Context" tag to the Tomcat jboss-service.xml. It looks like for version 3.2.5 the configuration changed, so I tried to do add the Context tag in server.xml, but it didn't work. Can someone tell me how to add a static context with the new Tomcat configuration? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842985#3842985 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842985 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: JBoss and Rarional quantify problem
It seems that this feature is not yet implemented in the Rational Suite for all Unix plfatforms. It may be available for Solaris but its not for Linux. See this article for some hints: http://www-1.ibm.com/support/docview.wss?uid=swg21117914 "What application servers does Rational PurifyPlus (Unix) support for profiling J2EE applications?" Up to now I found no quantify tool that could help me. Too bad. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842984#3842984 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842984 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Error doing file operations from my deployed war file on JBo
Hi, I am trying to create a directory within my exploded WAR directory. It gives "ACCESS DENIED" exception. Same activity I am able to perform when I do it from my file in my deployed EAR. The same operations were working fine in JBOss 3.2.1. Any pointers will be greatly appreciated, Regards, Vikash View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842983#3842983 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842983 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Scoped beans & Remote classloader issue
You need to redundantly include the classes in question in the web layer, and scope its deployment as well. I will have to look into why the remote class loading would break with a scoped ejb deployment. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842981#3842981 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842981 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Tag lib deprecated methods aren't found...
When a method is defined as deprecated i get an exception saing that the setter method isn't found. There is the need to mark it as deprecated to warn the developers that they should not use that attribute but not forbid them of using it (compatibility issues). The setter methods are inherited (didn't test with class specific deprecaded methods). I'm using JBoss 3.2.4 over win XP Daniel Campelo View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842980#3842980 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842980 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: J2EE
I use j2se and is OK java version "1.4.0_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_01-b03) Java HotSpot(TM) Client VM (build 1.4.0_01-b03, mixed mode) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842979#3842979 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842979 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Re: (Jboss 3.2.4)JasperException:
I am having the same problem. I am using JSP 1.2 which works ok with Tomcat 4.x, but when I try to deploy to a recent version of JBoss or Tomcat 5 I get that error. I do an include of a header file (with no parameters) like this: Then in the header.jsp file have a simple JSTL statement which does this: Logged in. Not logged in. I get the error and the page does not display. If I remove the JSTL from header.jsp it works ok. Where did you put the dummy jsp:param? I tried putting inside tags, but that didn't help. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842978#3842978 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842978 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Where do I find an example project of CMP with Jboss?
http://www.tusc.com.au/tutorial/html/ google helps View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842977#3842977 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842977 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - ejb-link in local references
Hi, I am using 3.0.8 Jboss and have a problem with local reference. As far as I know ejb-link is obligatory for local references, so is it possible to achieve communication beanA<->beanB through local references if they are in different jar files. >From my testing it seems that beanB must be deployed before I can use it in deploying >beanA. So it is a loop in peer-to-peer communication and you cannot deploy them in >such style. Is there any chance to resolve that issue or I need to use then remote lookups? Do anybody know if any JBoss version support ejb-link optional for local references? Thanks in advance, Albert View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842976#3842976 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842976 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Jboss-service.xml External Context Configuration, JNDI, LDAP
Hi everybody, I'm trying to work LDAP under Jboss via JNDI so I've completed the jboss-service.xml file under my server configuration with this : | external/ldap/jboss | jboss.ldap | javax.naming.ldap.InitialLdapContext | true | And also I've got the jboss.ldap file : java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory | java.naming.provider.url=ldap://localhost:391/x | java.naming.security.principal=x | java.naming.security.authentication=simple | java.naming.security.credentials=x I try to access to my ldap via a simple jsp like this : <%@ page language="Java" import="javax.naming.*" | import="javax.naming.ldap.*" | import="javax.naming.directory.*" | %> | | <% | InitialContext iniCtx = new InitialContext(); | LdapContext ldapCtx = (LdapContext) iniCtx.lookup("external/ldap/jboss"); | Attributes answer = ldapCtx.getAttributes("ou=personnes"); | for(NamingEnumeration ae=answer.getAll();ae.hasMore();) { | Attribute attr = (Attribute)ae.next(); | out.println("attribute : " + attr.getID()); | for(NamingEnumeration e = attr.getAll();e.hasMore();out.println("value : " + e.next())); | } | %> On the first time I try to work it, I've got the message which indicate me that my configuration of my external bean is wrong. the problem comes from the attribute Properties which does not retrieve my data from my jboss.ldap file, but just the name of the file However, if I specify under the jmx console, the name of my file jboss.ldap under the field PropertyURL, and then I apply the changes, everything works, and I find my parameters in the property field... So what I want, is to know how configure my jboss-service file in order to retrieve my data directly, without going under jmx console and make manipulations. Thanks in advance Matt View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842974#3842974 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842974 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - J2EE
Hi, is necessary j2ee for using jboss or is possible using jboss on j2se? thank Please, excuse me for my english View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842973#3842973 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842973 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Redelivery of rollbacked Messages
I'm interested me too! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842972#3842972 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842972 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Where do I find an example project of CMP with Jboss?
Hi, is there any source I could look at to find an example project that uses a CMP in Jboss? I need to code an access to a MySQL database. It would be just wonderful it it were also an Eclipse project. Thanks in advance, View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842971#3842971 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842971 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: MySQL error with JMS-Server
Nevermind, I needed to configure the JBossMQ to create the tables for MySQL View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842970#3842970 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842970 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - OJB Persistence in JBoss
Hi, I have made an application with OJB Persistence and Struts STXX (struts-1.1) and i deploy it in JBoss 3.2.3. The application work fine and i don't have any problem. When i deploy another application in the same JBoss, developed in JDBC and not using OJB's, two applications work fine. But when i deploy the OJB application again, it doesn't work again and i have to delete the second (no OJB). How can i put two applications in my JBoss when onde of them are in OJB Persistence?! When i try to run, JBoss hava this exception: 14:32:43,080 ERROR [Engine] StandardWrapperValve[action]: Servlet.service() for servlet action threw exception javax.servlet.ServletException: The data "null" is not legal for a JDOM attribute: A null is not a legal XML value. at org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:545) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:486) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1480) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:506) 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) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:197) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java
[JBoss-user] [Advanced Documentation] - Re: Ojb Persistence Applications
Hi, I have made an application with OJB Persistence and Struts STXX (struts-1.1) and i deploy it in JBoss 3.2.3. The application work fine and i don't have any problem. When i deploy another application in the same JBoss, developed in JDBC and not using OJB's, two applications work fine. But when i deploy the OJB application again, it doesn't work again and i have to delete the second (no OJB). How can i put two applications in my JBoss when onde of them are in OJB Persistence?! When i try to run, JBoss hava this exception: 14:32:43,080 ERROR [Engine] StandardWrapperValve[action]: Servlet.service() for servlet action threw exception javax.servlet.ServletException: The data "null" is not legal for a JDOM attribute: A null is not a legal XML value. at org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:545) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:486) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1480) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:506) 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) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:197) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java
[JBoss-user] [Beginners Corner] - Looking for Help
My company is supporting a Struts-based website deployed under JBoss. The code was built and deployed from JBuilder, and I no longer have access to the orginal developers. If there are any developers that would be interested in taking on something like this, please contact me via email. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842968#3842968 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842968 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Deploying two applications in JBoss
Hi, I have made an application with OJB Persistence and Struts STXX (struts-1.1) and i deploy it in JBoss 3.2.3. The application work fine and i don't have any problem. When i deploy another application in the same JBoss, developed in JDBC and not using OJB's, two applications work fine. But when i deploy the OJB application again, it doesn't work again and i have to delete the second (no OJB). How can i put two applications in my JBoss when onde of them are in OJB Persistence?! When i try to run, JBoss hava this exception: 14:32:43,080 ERROR [Engine] StandardWrapperValve[action]: Servlet.service() for servlet action threw exception javax.servlet.ServletException: The data "null" is not legal for a JDOM attribute: A null is not a legal XML value. at org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:545) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:486) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1480) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:506) 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) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:197) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java
[JBoss-user] [Persistence & CMP/JBoss] - Solved: Firebird, XDoclet and autoincrement
Hi, maybe this could come in hand for anyone who wants to use Firebird-incremented IDs with CMP and XDoclet: Supposing you have a table with the PK "ID" as an int: 1. You have to create a generator for each table: | create generator gen_TABLENAME; | COMMIT; | 2. Tell jBoss via XDoclet that the new ID is generated via the generator: | * @jboss.unknown-pk | *class = "java.lang.Integer" | *column-name="id" | *auto-increment = "true" | * | * @jboss.entity-command | *name="pk-sql" | * | * @jboss.entity-command-attribute | *name="pk-sql" | *value="SELECT gen_id( gen_TABLENAME, 1 ) from RDB$DATABASE;" | That's it! Background: 1. There's no Firebird-Keygen-Plugin like "mysql-get-generated-keys" plus "org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCMySQLCreateCommand". 2. The "get-generated-keys"-method does not work because the Firebird JDBC driver is not JDBC30-ready yet: | public synchronized PreparedStatement prepareStatement(String param1, int param2) | throws SQLException | { | throw new SQLException("not yet implemented"); | } | But in the future this would be the better solution. HTH, Matthias View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842965#3842965 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842965 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Problem in installing castorJDO Mbean between jboss 3.2.3 an
hi all, i have been developing apps on jboss 3.2.3 for a long time, using CastorJDO Mbean, and never had any problems at all. Recently, i moved to jboss 3.2.5, tried to install CastorJDO MBean and got exceptions. First of all, let me summarize what i did with both versions: - with 3.2.3, i just placed CastorMBean.sar in server\default\deploy directory - with 3.2.5 i first did the same as above, and got following exception: 14:41:46,953 INFO [NamingService] Started jnpPort=1099, rmiPort=1098, backlog=5 0, bindAddress=/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jbo [EMAIL PROTECTED] 14:41:49,343 WARN [NestedThrowable] Duplicate throwable nesting of same base ty pe: class org.jboss.deployment.DeploymentException is assignable from: class org .jboss.deployment.DeploymentException 14:41:49,343 ERROR [MainDeployer] could not create deployment: file:/C:/jboss-3. 2.5/server/default/deploy/castorMBean.sar org.jboss.deployment.DeploymentException: create operation failed for package fi le:/C:/jboss-3.2.5/server/default/deploy/castorMBean.sar; - nested throwable: (o rg.jboss.deployment.DeploymentException: Unexpected error during load of: org.jb oss.jdo.castor.CastorJDOImpl, msg=org/exolab/castor/jdo/DataObjects; - nested th rowable: (java.lang.ClassNotFoundException: Unexpected error during load of: org .jboss.jdo.castor.CastorJDOImpl, msg=org/exolab/castor/jdo/DataObjects)) at org.jboss.deployment.SARDeployer.create(SARDeployer.java:227) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:790) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:644) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608) at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.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:185) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy7.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen tScanner.java:304) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS canner.java:478) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. doScan(AbstractDeploymentScanner.java:201) at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A bstractDeploymentScanner.java:274) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS upport.java:271) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB eanSupport.java:221) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.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:185) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl ler.java:837) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:367) at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.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:185) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy4.start(Unknown Source)
[JBoss-user] [Installation & Configuration] - MySQL error with JMS-Server
I just created a MySQL datasource but it seems like one of the JBOSS system tables didnt get created: The table in mysql is not there, do I need to create it manually? I think the system got out of sync, hmm, any ideas? 'jboss.JMS_MESSAGES' I am using a basic mysql-ds.xml with user name and password, I never use JMS, so I dont know why this aspect of jboss is giving me trouble. I guess I shouldnt care, but I want to resolve problems now before Ver 12.18 Distrib 4.0.11a-gamma, for mandrake-linux-gnu (i586 jboss3.2.5 Interesting message: Cause: org.jboss.mq.SpyJMSException: Could not resolve uncommited transaction 9:05:03,705 INFO [JmsXA] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=TxCM,name=JmsXA to JNDI name 'java:/JmsXA' 09:05:03,721 INFO [DefaultDS] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=LocalTxCM,name=DefaultDS to JNDI name 'java:/DefaultDS' 09:05:04,112 ERROR [PersistenceManager] Starting failed jboss.mq:service=PersistenceManager org.jboss.mq.SpyJMSException: Could not resolve uncommited transactions. Message recovery may not be accurate; - nested throwable: (java.sql.SQLException: General error, message from server: "Table 'jboss.JMS_MESSAGES' doesn't exist") at org.jboss.mq.pm.jdbc2.PersistenceManager.resolveAllUncommitedTXs(PersistenceManager.java:337) at org.jboss.mq.pm.jdbc2.PersistenceManager.startService(PersistenceManager.java:1360) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221) at java.lang.reflect.Method.invoke(Native Method) 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:185) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837) at $Proxy17.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:367) at org.jboss.system.ServiceController.start(ServiceController.java:389) at org.jboss.system.ServiceController.start(ServiceController.java:389) at java.lang.reflect.Method.invoke(Native Method) 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:185) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:251) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:836) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:645) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842963#3842963 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842963 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: tusc tutorial
Thanks. I wasnt using the correct jboss.server file. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842962#3842962 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842962 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Stateful passivation problem
Hi ! After activation of serialized session beans JBoss (I use 2.4.10) don't delete *ser files (actualy if bean live in package - i.e. - bean serialized file lay ander directory that named like package name - see jboss sources and java doc - java.io.File don't delete file if you point to file thru directory) IMHO, particular decision of this: put in bin/run.sh: rm -fr /usr/local/jboss-2.4.10/db/sessions/* View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842961#3842961 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842961 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - sql query for
Hi ! Is anyone know how write sql query in jboss jaws.xml for decision: "is date greater or later than given date". I try gt; and lt;but I got java.rmi.NoSuchObjectException. === jaws.xml === Log findByPeriod date > {0} AND date < {1} date DESC = JBoss version - 2.4.10 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842959#3842959 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842959 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Show generated SQL statements in console
dho, Actually Alexey pointed out how to turn on just the cmp queries instead of all the crap that gets out in the approach i mentioned. I am posting what alexey posted in one of my topics. Hope it helps Reposting XML in the code block Code: _ Alexey Loubyansky CMP Lead Developer JBoss, Inc View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842957#3842957 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842957 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Show generated SQL statements in console
Here is the code block. i forgot to put code tags around it | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842958#3842958 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842958 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Customizing sql-query in jaws.xml
Hi ! Is anyone know how write sql query in jboss jaws.xml for decision: "is date greater or later than given date". I try gt; and lt;but I got java.rmi.NoSuchObjectException. === jaws.xml === Log findByPeriod date > {0} AND date < {1} date DESC = JBoss version - 2.4.10 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842956#3842956 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842956 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Scoped beans & Remote classloader issue
Hello, In a JBoss 3.2.4 server, I have deployed several enterprise javabeans (each as a separate .jar, not in an .ear bundle). These beans are completely self-contained, as they include all their needed dependencies inside the jar files (and have a reference to them in the Class-Path entry in their MANIFEST.MF). The problem shows when I want these beans to be scoped, this is, to have their own classloader inside JBoss and not use the unified classloader so that each bean does not see the others' classes, something very important for my software architecture. For this, I set in the jboss.xml file of each of my ejb .jar files the following: | some.dot.com:loader=[some unique name] | And in the jboss-service.xml file I enable CallByValue for the EJB Deployer. ...and with this I get the results I expected. The problem is, I need some of my ejbs to return to the web tier classes of which this web tier only has an interface (not the real implementations, which may vary). This means that, when the web tier receives the data, it should ask JBoss for the concrete implementation of the class via Remote Class Loading. For this, I have set in jboss-service.xml: | | 8083 | true | ${jboss.bind.address} | ${jboss.bind.address} | | Which made remote classloading work perfectly before I scoped my ejbs, and which now simply makes JBoss return a ClassNotFoundException when tomcat asks for the implementation class. I supose this means that the remote classloader cannot access the ejbs' concrete classloaders now they're not unified but... Can this behaviour be changed? Can I configure it some way so that I can do remote classloading with scoped beans? Thanks. Cruinne. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842954#3842954 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842954 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Customizing sql-query in jaws.xml
Hi ! Is anyone know how write sql query in jboss jaws.xml for decision: "is date greater or later than given date". I try gt; and lt;but I got java.rmi.NoSuchObjectException. === jaws.xml === Log findByPeriod date > {0} AND date < {1} date DESC = JBoss version - 2.4.10 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842955#3842955 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842955 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Customizing sql query in jaws.xml
Hi ! Is anyone know how write sql query in jboss jaws.xml for decision: "is date greater or later than given date". I try gt; and lt;but I got java.rmi.NoSuchObjectException. === jaws.xml === Log findByPeriod date > {0} AND date < {1} date DESC = JBoss version - 2.4.10 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842953#3842953 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842953 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Throughput of data low while using CMP/CMR entitybeans
Alexey, Thanks For your responses. I deeply appreciate it. I need one small clarification or confirmation . The CMP query for generating related beans seems to be on each individual entity (i see ejbLoad being called for each entity). In a finder you specify the query to get all the entities and assoicate them with entity bean instances. hence using a finder will be more efficient Is my understanding right??? Thanks in advance, View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842952#3842952 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842952 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Using Null Persistence Manager
Hello. I'm trying to follow the instructions at: http://www.jboss.org/wiki/Wiki.jsp?page=ConfigJBossMQNullPersistence My steps: 1) remove deploy/jms/hsqldb-jdbc-service.xml 2) drop examples/jms/null-persistence-service.xml into deploy/jms 3) start jboss 4) run simple stress client on queue/testQueue As far as i understand i now have one persistence manager with the ObjectName 'jboss.mq:service=PersistenceManager' and class 'org.jboss.mq.pm.none.PersistenceManager'. The DestinationManager also uses this persistence manager ('null pm'). So if JBoss is processing messages and the MessageCache signals that memory is getting tight, it uses its CacheStore ('null pm') to persist messages. The 'null pm' does not actually persist anything. References to messages may be softened by the MessageCache. Finally if the jvm is running out of memory, it can clear the soft references and thus all reference to those particualar messages would be lost (this behavior may well be desirable DeliveryMode.NON_PERSITENT). Is this summary correct? Q1) Wiki says change the name of the persistence manager from the default...why? Is this not a valid setup? Or is this referring to the scenario where you want multiple pms? Q2) Wiki says i can configure my destinations w.r.t caching and persistence. The only thing i can see here is to configure a queue definition with a particular DestinationManager. Is this what is meant? Q3) Does the 'TemporaryInMemory' attribute in the DestinationManager only apply to temporary topics/queues? Should http://www.jboss.org/wiki/Wiki.jsp?page=ConfigDestinationManager make this explicit? Q4) What is the default behavior of the 'null pm' for say messages in a Queue (non-temporary). cheers View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842951#3842951 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842951 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Increasing log4j categories level
And in log4j file i have placed anonymous wrote : | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842949#3842949 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842949 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Increasing log4j categories level
it cant be seen i will remove the bigger smaller signes anonymous wrote : |category name="someclass" | priority value="DEBUG"/ |/category | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842950#3842950 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842950 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Increasing log4j categories level
In log4j.xml I see anonymous wrote : | | | | is there a possibility to increase some categories level ? something like anonymous wrote : | | | | anonymous wrote : | | | | while the rest will still be in INFO level? | | | | (I tried it for a class of mine and it didnt work I have initialized my logger like this: ) | | | | | | | public static Logger _log = Logger.getLogger("someclass"); | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842948#3842948 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842948 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: JBoss 3.2.5 under Linux
I solved the Problem Just added the hostname to /etc/hosts: 127.0.0.1 hostnamexyz View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842947#3842947 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842947 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user