[JBoss Messaging] - Re: Listing JMS Messages using JMX doesn't give full message
by jhowell@redhat.com
I just ran an external client against the message. Here's what I get ....
Message: JBossMessage[0]:NON-PERSISTENT
TxtMessage: null
Message: JBossMessage[0]:NON-PERSISTENT
TxtMessage: null
Message: JBossMessage[0]:NON-PERSISTENT
TxtMessage: null
Message: JBossMessage[0]:NON-PERSISTENT
TxtMessage: null
Message: JBossMessage[0]:NON-PERSISTENT
TxtMessage: null
Message: JBossMessage[0]:NON-PERSISTENT
TxtMessage: null
Message: JBossMessage[0]:NON-PERSISTENT
TxtMessage: null
Message: JBossMessage[0]:NON-PERSISTENT
TxtMessage: null
Message: JBossMessage[0]:NON-PERSISTENT
TxtMessage: null
Message: JBossMessage[0]:NON-PERSISTENT
TxtMessage: null
Message: JBossMessage[0]:NON-PERSISTENT
TxtMessage: null
Message: JBossMessage[0]:NON-PERSISTENT
TxtMessage: null
Message: JBossMessage[0]:NON-PERSISTENT
TxtMessage: null
This was from an external client. If I run this from inside of an MBean, it is fine. You should be able to get these running locally in an MBean as a workaround.
Jay:)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049546#4049546
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049546
18 years, 10 months
[JBoss Messaging] - Re: Listing JMS Messages using JMX doesn't give full message
by jhowell@redhat.com
Hey Madhu
16:47:04,360 INFO [HelloWorldService] TxtMessage: some text
16:47:04,360 INFO [HelloWorldService] Message: JBossMessage[25411]:NON-PERSISTENT
16:47:04,360 INFO [HelloWorldService] TxtMessage: some text
16:47:04,360 INFO [HelloWorldService] Message: JBossMessage[25412]:NON-PERSISTENT
16:47:04,360 INFO [HelloWorldService] TxtMessage: some text
16:47:04,360 INFO [HelloWorldService] Message: JBossMessage[25413]:NON-PERSISTENT
16:47:04,360 INFO [HelloWorldService] TxtMessage: some text
16:47:04,360 INFO [HelloWorldService] Message: JBossMessage[25414]:NON-PERSISTENT
16:47:04,360 INFO [HelloWorldService] TxtMessage: some text
16:47:04,360 INFO [HelloWorldService] Message: JBossMessage[25415]:NON-PERSISTENT
16:47:04,360 INFO [HelloWorldService] TxtMessage: some text
16:47:04,360 INFO [HelloWorldService] Message: JBossMessage[25416]:NON-PERSISTENT
16:47:04,360 INFO [HelloWorldService] TxtMessage: some text
16:47:04,361 INFO [HelloWorldService] Message: JBossMessage[25417]:NON-PERSISTENT
16:47:04,361 INFO [HelloWorldService] TxtMessage: some text
16:47:04,361 INFO [HelloWorldService] Message: JBossMessage[25418]:NON-PE
I ran the test and the tests seem to come out fine. I've tried persistent and non persistent messages. I can't reproduce your error. I did not change your case.
Using your code you should be able to see at least the "TxtMessage:" text with no message.
Your output that you showed above does not show that. The output that you showed above is the default toString() which does not look like it includes the message.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049539#4049539
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049539
18 years, 10 months
[EJB 3.0] - Re: can any one help me - having a bad day with ejb3 server
by wiggy
alex -
i just read the nice books that tell me how fab this would all be (if it works) and i'm a little nieve that i hoped that this sort of basic stuff (like i couldnt implement it - but these folks are clever right) just works so that numpties like me can get on and right straight forward applications and not lose hours of effort trying to implement what the books/best practice say should just work.
Am i wrong to wih this - how many other poor aspiring geeks are squandering hours in effort trying to disambiguate concept from reality on the ground.
if theres a bug here/missing whole - shouldnt the smart folks be filling it so idiots liek me can get on with building houses and not figuring out why the plumbing deoesnt work
How come nothing says what does and doesnt work and how to get started without falling into the abyss everytime - this is so frustrating
Wiggy
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049538#4049538
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049538
18 years, 10 months
[Installation, Configuration & Deployment] - Re: Setting DefaultDS to use Postgresql in JBoss AS 5.0.0 Be
by fatbatman
Thanks for your response, sorry I should have been more specific in my initial question.
I'd done what you suggested above but I'm getting problems. These seem to stem from the fact that "qrtz_locks" table does not exist.
| ............
| 21:46:03,515 INFO [RARDeployment] Required license terms exist, view vfsfile:/D:/workspace/jboss-5.0.0.Beta2/server/default/deploy/jboss-local-jdbc.r
| ar/META-INF/ra.xml
| 21:46:03,750 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultD
| S'
| 21:46:06,218 WARN [QuartzTimerServiceFactory] sql failed: CREATE TABLE qrtz_job_details(JOB_NAME VARCHAR(80) NOT NULL, JOB_GROUP VARCHAR(80) NOT NULL
| , DESCRIPTION VARCHAR(120) NULL, JOB_CLASS_NAME VARCHAR(128) NOT NULL, IS_DURABLE VARCHAR(1) NOT NULL, IS_VOLATILE VARCHAR(1) NOT NULL, IS_STATEFUL VA
| RCHAR(1) NOT NULL, REQUESTS_RECOVERY VARCHAR(1) NOT NULL, JOB_DATA BINARY NULL, PRIMARY KEY (JOB_NAME,JOB_GROUP))
| 21:46:06,656 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
| 21:46:06,750 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
| 21:46:06,750 INFO [JobStoreCMT] Using db table-based data access locking (synchronization).
| 21:46:06,781 ERROR [AbstractKernelController] Error installing to Start: name=jboss.ejb:service=EJB3TimerService state=Create mode=Manual requiredStat
| e=Installed
| org.quartz.SchedulerConfigException: Failure occured during job recovery. [See nested exception: org.quartz.impl.jdbcjobstore.LockException: Failure o
| btaining db row lock: ERROR: relation "qrtz_locks" does not exist [See nested exception: org.postgresql.util.PSQLException: ERROR: relation "qrtz_lock
| s" does not exist]]
| at org.quartz.impl.jdbcjobstore.JobStoreSupport.initialize(JobStoreSupport.java:493)
| at org.quartz.impl.jdbcjobstore.JobStoreCMT.initialize(JobStoreCMT.java:144)
| at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1010)
| at org.quartz.impl.StdSchedulerFactory.getScheduler(StdSchedulerFactory.java:1152)
| at org.jboss.ejb3.timerservice.quartz.QuartzTimerServiceFactory.start(QuartzTimerServiceFactory.java:257)
| at org.jboss.ejb3.timerservice.quartz.jmx.EJB3TimerService.startService(EJB3TimerService.java:105)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
| ...........
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049537#4049537
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049537
18 years, 10 months