[EJB 3.0] - Re: Own DLQ for EJB3-MDB via ActivationConfigProperty doesn'
by jaikiran
Let's see if we can find something in the logs. In my server.log file (under %JBOSS_HOME%/server/< serverName>/log folder) i see this:
anonymous wrote : 2009-02-27 17:07:51,666 DEBUG [org.jboss.resource.adapter.jms.inflow.JmsActivation] (WorkManager(2)-2) Setting up org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@2c0b34(ra=org.jboss.resource.adapter.jms.JmsResourceAdapter(a)5df015 destination=queue/tutorial/example destinationType=javax.jms.Queue tx=true durable=false reconnect=10 provider=java:/DefaultJMSProvider user=null maxMessages=1 minSession=1 maxSession=15 keepAlive=60000 useDLQ=true DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/tutorial/Junk DLQUser=null DLQMaxResent=5)
|
| ...
|
| 2009-02-27 17:07:51,670 DEBUG [org.jboss.resource.adapter.jms.inflow.JmsActivation] (WorkManager(2)-2) Using context {java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces:org.jboss.naming:org.jnp.interfaces} for org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@2c0b34(ra=org.jboss.resource.adapter.jms.JmsResourceAdapter(a)5df015 destination=queue/tutorial/example destinationType=javax.jms.Queue tx=true durable=false reconnect=10 provider=java:/DefaultJMSProvider user=null maxMessages=1 minSession=1 maxSession=15 keepAlive=60000 useDLQ=true DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/tutorial/Junk DLQUser=null DLQMaxResent=5)
|
The queue/tutorial/Junk is my custom DLQ configured on the MDB:
@MessageDriven(activationConfig =
| {
| @ActivationConfigProperty(propertyName="destinationType", propertyValue="javax.jms.Queue"),
| @ActivationConfigProperty(propertyName="destination", propertyValue="queue/tutorial/example"),
| @ActivationConfigProperty(propertyName="DLQJNDIName", propertyValue="queue/tutorial/Junk")
| })
| public class ExampleMDB ...
|
What do your logs show?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213689#4213689
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213689
15 years, 2 months
[Installation, Configuration & DEPLOYMENT] - Starting JBoss as a Service on Windows XP has an issue
by parag.goyal
Hi All,
I have installed JBoss4.2.2 as a service on Windows XP . So that we can start or stop JBoss AS as a window service. I faced problem that whenever trailing backslash ("\") appears at the end of value of PATH (PATH in "system variables" not in "user variables")
For e.g.
PATH =%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\MSSQL7\BINN;C:\PROGRA~1\ULTRAE~1;C:\Program Files\CA\Unicenter Software Delivery\BIN;C:\Lang\JProbe 7.0\bin\
JBoss will not start as a windows service.
As per my observation its a bug of service wrapper of JBoss4.2.2 "jbosssvc.exe"
JBoss 4.2.2 AS starts well as a service if value of PATH( system variable) is without backslash "\" at the end.
like below :
PATH =%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\MSSQL7\BINN;C:\PROGRA~1\ULTRAE~1;C:\Program Files\CA\Unicenter Software Delivery\BIN;C:\Lang\JProbe 7.0\bin
Run.log is shown below when JBoss 4.2.2 AS is not able to start as a service:
Please help me to fix this issue,if there is any other solution please suggest me.
Thanks in Advance
Parag Goyal
===============================================================================
|
| JBoss Bootstrap Environment
|
| JBOSS_HOME: C:\Lang\JBoss\jboss-4.2.2.GA
|
| JAVA: C:\Lang\Java\jdk1.6.0_03\bin\java
|
| JAVA_OPTS: -Djava.library.path="C:\Lang\JBoss\jboss-4.2.2.GA\bin\native;C:\Program Files\CA\Dcs\DMScripting\;C:\Program Files\CA\DCS\CAWIN\;C:\Program Files\MKS\IntegrityClient\bin;C:\Lang\MKS\IntegrityClient\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\MSSQL7\BINN;C:\PROGRA~1\ULTRAE~1;C:\Program Files\CA\Unicenter Software Delivery\BIN;C:\Lang\JProbe 7.0\bin\" -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
|
| CLASSPATH: C:\Lang\Java\jdk1.6.0_03\lib\tools.jar;C:\Lang\JBoss\jboss-4.2.2.GA\bin\run.jar
|
| ===============================================================================
|
| Usage: java [-options] class [args...]
| (to execute a class)
| or java [-options] -jar jarfile [args...]
| (to execute a jar file)
|
| where options include:
| -client to select the "client" VM
| -server to select the "server" VM
| -hotspot is a synonym for the "client" VM [deprecated]
| The default VM is client.
|
| -cp <class search path of directories and zip/jar files>
| -classpath <class search path of directories and zip/jar files>
| A ; separated list of directories, JAR archives,
| and ZIP archives to search for class files.
| -D<name>=<value>
| set a system property
| -verbose[:class|gc|jni]
| enable verbose output
| -version print product version and exit
| -version:<value>
| require the specified version to run
| -showversion print product version and continue
| -jre-restrict-search | -jre-no-restrict-search
| include/exclude user private JREs in the version search
| -? -help print this help message
| -X print help on non-standard options
| -ea[:<packagename>...|:<classname>]
| -enableassertions[:<packagename>...|:<classname>]
| enable assertions
| -da[:<packagename>...|:<classname>]
| -disableassertions[:<packagename>...|:<classname>]
| disable assertions
| -esa | -enablesystemassertions
| enable system assertions
| -dsa | -disablesystemassertions
| disable system assertions
| -agentlib:<libname>[=<options>]
| load native agent library <libname>, e.g. -agentlib:hprof
| see also, -agentlib:jdwp=help and -agentlib:hprof=help
| -agentpath:<pathname>[=<options>]
| load native agent library by full pathname
| -javaagent:<jarpath>[=<options>]
| load Java programming language agent, see java.lang.instrument
| -splash:<imagepath>
| show splash screen with specified image
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213645#4213645
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213645
15 years, 2 months
[JBoss jBPM] - Re: Transaction Issue
by Toriton
Another configuration:
| <property name="hibernate.dialect">org.hibernate.dialect.Oracle10gDialect</property>
| <property name="hibernate.current_session_context_class">org.hibernate.context.ThreadLocalSessionContext</property>
| <property name="hibernate.connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
| <property name="hibernate.connection.url">jdbc:oracle:thin:@localhost:1521:XE</property>
| <property name="hibernate.connection.username">system</property>
| <property name="hibernate.connection.password">123</property>
| <property name="hibernate.query.substitutions">true 1, false 0</property>
| <property name="hibernate.transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</property>
| <property name="hibernate.transaction.manager_lookup_class">org.hibernate.transaction.JBossTransactionManagerLookup</property>
|
same error.
The Transaction Manager.. is specified for JBoss i think that i can't change it for another right?..
Thanks in advance for any reply.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213642#4213642
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213642
15 years, 2 months