[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Multiple mail sessions

2008-10-03 Thread jonathanztaub
Thanks! It worked without any problems. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180210#4180210 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180210 ___ jboss-user mail

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Multiple mail sessions

2008-10-02 Thread jonathanztaub
Thanks, I'll try it later on. By the way, what is the benefit of having JBoss managing this resource? Does it perform some kinda of pooling under the hoods and other optimizations? Or is it equal in performance to creating a mail session in the code and not relying on managed resources? View th

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Multiple mail sessions

2008-10-01 Thread jonathanztaub
I'm developing an application that retrieves emails on behalf of clients (from yahoo, gmail, hotmail, etc.). Currently, I'm creating the mail session by myself. I know I can define my mail session in the mail-service.xml file. However, I have the following questions: * Is it possible to define mo

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss as Windows service - stopping the service powers d

2008-09-14 Thread jonathanztaub
"PeterJ" wrote : The service description looks OK, but I cringe at seeing JBossAS installed in Program Files - having spaces in a path can cause some Java libraries fits. I keep mine at d:\opt\jboss\jboss-4.2.3.GA. If you move it out of Program Files and the problem goes away, I will add this pr

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss as Windows service - stopping the service powers d

2008-08-20 Thread jonathanztaub
Sorry for the late response, as I was super busy with lots of stuff. Here is more information: run.log: | 19:56:24,343 WARN [JmsActivation] Failure in jms activation [EMAIL PROTECTED]([EMAIL PROTECTED] destination=queue/ServiceRequest isTopic=false tx=true durable=false reconnect=10 provider

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss as Windows service - stopping the service powers d

2008-08-14 Thread jonathanztaub
I have verified that this is a 32bit machine. I downloaded the JBoss Native 2.0.4 Win32, unzipped it and put it under: C:\Program Files\jboss-4.2.3.GA\jboss-native-2.0.4-windows-x86-ssl I'm using JRE 1.6_07 (doubt if it matters). I also observed this behavior on my desktop machine at work, which

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss as Windows service - stopping the service powers d

2008-08-13 Thread jonathanztaub
When JBoss starts, I see: OS-System: Windows 2003 5.2,x86 There aren't any x86 related directories. I also installed MySQL for Windows and I didn't download the 64bit installation. Whatever the underlying hardware is, at the end all that matters is what the OS is running as, I believe. Please co

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss as Windows service - stopping the service powers d

2008-08-13 Thread jonathanztaub
Forgot. I'm running JBoss 4.2.3. The service.bat had JBoss 5 for various description messages. Perhaps it is incompatiable with 4.2.3? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170446#4170446 Reply to the post : http://www.jboss.com/index.html?module

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss as Windows service - stopping the service powers d

2008-08-13 Thread jonathanztaub
"PeterJ" wrote : I have JBossAS running as a service on a Windows 2003 server and I shut it down every night for the backup and the server has never shut down. | | Also post the results of this command (replace service-name with the service name in service.bat): | | sc sq service-name

[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss as Windows service - stopping the service powers down

2008-08-12 Thread jonathanztaub
Browsing the internet, I found the following describing on how to setup JBoss as a Windows service - http://wiki.jboss.org/wiki/JBossNativeWindows I was able to successfully install it as a service. The weird and ANNOYING issue is that when I stop the service from within the Services administrat

[jboss-user] [EJB/JBoss] - Re: Annoying log warning:

2008-08-05 Thread jonathanztaub
I was able to reproduce this - it basically happens when I rollback a transaction. There are some files created under %JBOSS_HOME%\server\default\data\tx-object-store. I'm not sure whether this is JMS related at all. However, I still don't quite understand what the problem is and the logs are

[jboss-user] [EJB/JBoss] - More info....

2008-08-03 Thread jonathanztaub
As part of my development, I drop/create the database a lot of times, this means that I'm getting rid of JBoss' JMS related tables as well. If there was bad data in there, for whatever reason (dead message queue perhaps), it would have been gone. However, I still see the log messages. This caus

[jboss-user] [EJB/JBoss] - Re: Annoying log warning:

2008-08-03 Thread jonathanztaub
H.. Thanks for pointing this out. Perhaps I did something funky with the search. In any event, that thread doesn't really explain what the problem is, in "plain English" (other than not so useful stack trace message). View the original post : http://www.jboss.com/index.html?module=bb

[jboss-user] [JBossMQ] - Nested transaction is not working

2008-08-02 Thread jonathanztaub
I have a message driven bean which also persists data to the database. In case data persistence fails, I just log out an error and rollback the transaction. This causes the JMS transaction to be rolled back as well, resulting in redelivery of the message. I'm not interested in message redelivery

[jboss-user] [EJB/JBoss] - Annoying log warning:

2008-08-02 Thread jonathanztaub
I'm getting the following logging message quite often in my application which makes heavy JMS usage (persists messages to the database): | 17:38:46,640 WARN [loggerI18N] [com.arjuna.ats.internal.jta.resources.arjunacore.norecoveryxa] [com.arjuna.ats.internal.jta.resources.arjunacore.norecov

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Is it possible to configure deployment directory locatio

2008-07-21 Thread jonathanztaub
Thanks! This is precisely what I was looking for. Currently my priorities shifted elsewhere, but I'll sure give it a try once I have some more downtime. This is by far better than resorting to symlinks like solution. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtop

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Is it possible to configure deployment directory locatio

2008-07-18 Thread jonathanztaub
I was able to find an elegant hack to this. My workstation is Windows XP. There is a command line tool called "fsutil" which you can use to create symlinks like between files. However, it doesn't support creating such links for directories. There seem to be some hidden/undocumented OS API call wh

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Is it possible to configure deployment directory location?

2008-07-18 Thread jonathanztaub
I'm working with the default deployment directory. It is possible, for example, to have an exploded .war directory at some place other than the "default" directory? For example, have it on "C:\\my_web_app"? If so, what are the configuration changes I need to make? View the original post : http:

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Specifying the schema for EJBTimerService's TIMERS datab

2008-06-17 Thread jonathanztaub
Thanks guys but I already tried all of the above. MySQL does support the schema.table notation. In my mysql-ds.xml, I've configured the default database which is other than jboss. I guess I can configure the default database to be jboss and explicitly state the schema name in my data access objec

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Specifying the schema for EJBTimerService's TIMERS database

2008-06-15 Thread jonathanztaub
I'm trying to configure all of JBoss' related services database table to reside in their own schema (jboss). The database with the name of "jboss" was created and I was able to change successfully all of the JMS' configuration files to refer to this schema when performing create/insert/delete/se

[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss 5.0.0

2008-06-02 Thread jonathanztaub
I wasn't sure where to post this, as I haven't found a suitable forum. I searched a lot and couldn't find the following: * JBoss 5.0.0 application server scheduled release date * Whether it is going to be backwards compatible (.ear file) * JDK 6.0 support I'm starting a new project which may be de

[jboss-user] [Messaging, JMS & JBossMQ] - Re: MDB does not consume messages

2008-06-02 Thread jonathanztaub
"jaikiran" wrote : How about removing this message selector part and running your application again? Probably the messages sent to the queue do not match this selector and hence the MDB is not picking it up. | | | | messageSelector | | MessageFormat = 'Version 3.4' | | |

[jboss-user] [Messaging, JMS & JBossMQ] - Re: MDB does not consume messages

2008-06-01 Thread jonathanztaub
If it matters, the timer service is not installed. The log message is: WARN [JBossTimerServiceFactory] TIMER SERVICE IS NOT INSTALLED Though I don't believe it matters. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154907#4154907 Reply to the post : http:

[jboss-user] [Messaging, JMS & JBossMQ] - MDB does not consume messages

2008-06-01 Thread jonathanztaub
I'm using JBoss 4.2.2 on a Windows XP. I was able to configure JMS settings and am now able to send JMS messages to a queue and I can see the messages stored in my MySQL database. The problem is that the MDB does not seem to consume any messages. Here are snippets from the ejb-jar.xml (EJB 3) de