[jboss-user] [Beginners Corner] - Re: org.jboss.mq.SpyJMSException: Cannot authenticate user

2008-12-28 Thread gan.gary
anyone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198541#4198541 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198541 ___ jboss-user mailing list jboss-user@lists.jboss.

[jboss-user] [Beginners Corner] - org.jboss.mq.SpyJMSException: Cannot authenticate user

2008-12-28 Thread gan.gary
I have a multithreaded app that stress test the JBoss version jboss-4.2.2.GA, and i got the following exception intermittened. IS this related to this JIRA ticket: https://jira.jboss.org/jira/browse/JBAS-1380? ERROR [STDERR] org.jboss.mq.SpyJMSException: Cannot authenticate user; - nested thro

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: remote path for log4j logging

2008-12-14 Thread gan.gary
anyone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196438#4196438 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196438 ___ jboss-user mailing list jboss-user@lists.jboss.

[jboss-user] [Installation, Configuration & DEPLOYMENT] - remote path for log4j logging

2008-12-11 Thread gan.gary
I have a JBoss app that with logging settings like: | | | | | | | | | | | | | | | how can i write the log into network shared folder (UNC)?

[jboss-user] [Beginners Corner] - Re: prepare failed with exception XAException.XAER_RMFAIL??

2008-11-22 Thread gan.gary
anyone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191519#4191519 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191519 ___ jboss-user mailing list jboss-user@lists.jboss.

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: what's wrong with my application? or Jboss problem?

2008-11-21 Thread gan.gary
anyone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191267#4191267 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191267 ___ jboss-user mailing list jboss-user@lists.jboss.

[jboss-user] [JBossMQ] - Re: java.io.IOException: Client is not connected

2008-11-20 Thread gan.gary
have you solved this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191075#4191075 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191075 ___ jboss-user mailing list jboss-use

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: what's wrong with my application? or Jboss problem?

2008-11-20 Thread gan.gary
since last time i solved another issue for txn timeout, in "jboss-service.xml" | 300 | ${jboss.server.data.dir}/tx-object-store | I found similar problem here, and only timeout setting left on "jboss-service.xml" is: | 1 | 300 | 300 | 600

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: what's wrong with my application? or Jboss problem?

2008-11-20 Thread gan.gary
anonymous wrote : JMS related resource leak in the application or JMS configurations.?? Can explain more? I used JBoss search (http://www.redhat.com/search?q=java.net.SocketTimeoutException%3A+Read+timed+out&site=redhat&btnG=Search&entqr=0&sort=date%3AD%3AL%3Ad1&output=xml_no_dtd&client=externa

[jboss-user] [Beginners Corner] - Re: prepare failed with exception XAException.XAER_RMFAIL??

2008-11-18 Thread gan.gary
anyone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4190314#4190314 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4190314 ___ jboss-user mailing list jboss-user@lists.jboss.

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: what's wrong with my application? or Jboss problem?

2008-11-18 Thread gan.gary
you never see this error before? Is that a strange behaviour? I found little info on google. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4190313#4190313 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4190313 _

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: where to set the JAVA_OPTS for Max memory allocated

2008-11-18 Thread gan.gary
but I think this section( almost one third) has the most posts? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4190100#4190100 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4190100 ___

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: where to set the JAVA_OPTS for Max memory allocated

2008-11-17 Thread gan.gary
I assume JBoss has a small user-base? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189971#4189971 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189971 ___ jboss-user mailin

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: what's wrong with my application? or Jboss problem?

2008-11-17 Thread gan.gary
anyone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189970#4189970 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189970 ___ jboss-user mailing list jboss-user@lists.jboss.

[jboss-user] [Beginners Corner] - prepare failed with exception XAException.XAER_RMFAIL??

2008-11-16 Thread gan.gary
I have a JBoss server running . while it's running test, it hit these error msg: ...[com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.resources.arjunacore.preparefailed] [com.arjuna.ats.internal.jta.resources.arjunacore.preparefailed] XAResourceRecord.prepare - prepare failed

[jboss-user] [Installation, Configuration & DEPLOYMENT] - what's wrong with my application? or Jboss problem?

2008-11-16 Thread gan.gary
I have a jboss-4.2.2.GA under stress test environemnt. And i get over 160 error on a 100 threads stress test, with lots of different exceptions: org.jboss.mq.SpyJMSException: Cannot authenticate user; - nested throwable: (java.net.SocketTimeoutException: Read timed out) | org.jboss.mq.SpyJMSEx

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: where to set the JAVA_OPTS for Max memory allocated

2008-11-15 Thread gan.gary
Hi jaikiran, thanks. I want more input from more people. :) Because I found most of the threads I posted are either answered by you or PeterJ. I have a feel of thinking that this forum is only 3 of us :( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189604#41

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: where to set the JAVA_OPTS for Max memory allocated

2008-11-14 Thread gan.gary
anyone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189560#4189560 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189560 ___ jboss-user mailing list jboss-user@lists.jboss.

[jboss-user] [Beginners Corner] - Re: JBoss failed for stress test? Memory too low?

2008-11-14 Thread gan.gary
anyone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189559#4189559 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189559 ___ jboss-user mailing list jboss-user@lists.jboss.

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: why still getting

2008-11-14 Thread gan.gary
anyone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189558#4189558 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189558 ___ jboss-user mailing list jboss-user@lists.jboss.

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: why still getting

2008-11-13 Thread gan.gary
what if I stick with existing messaging? How can i get rid of that warning msg? It's because I could not even get back what I lost. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189256#4189256 Reply to the post : http://www.jboss.com/index.html?module=bb&op

[jboss-user] [Beginners Corner] - Re: JBoss failed for stress test? Memory too low?

2008-11-13 Thread gan.gary
anyone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189255#4189255 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189255 ___ jboss-user mailing list jboss-user@lists.jboss.

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Log4j hit error but no mail sent?

2008-11-12 Thread gan.gary
I forgot to add here as well: | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188974#4188974 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4188974 _

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Log4j hit error but no mail sent?

2008-11-12 Thread gan.gary
if searching for "Log4j", it seems nothing can be found on service=Logging,type=Log4jService under "jboss.system" & J2EEApplication=null,J2EEServer=Local,ServiceModule=jboss-service.xml,j2eeType=MBean,name=jboss.system:type=Log4jService,service=Logging under "jboss.management.local" View the o

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Log4j hit error but no mail sent?

2008-11-12 Thread gan.gary
I use a JBoss for queue. I have configured the SMTPAppender in "jboss-log4j.xml" in "C:\jboss-4.2.2.GA\server\default\conf". ( the add are hid) | | | | | | | | | | | The same settings I used for simple javaMa

[jboss-user] [Beginners Corner] - JBoss failed for stress test? Memory too low?

2008-11-12 Thread gan.gary
I am using .NET multithread (100 threads for 200, 000 records) app client to perform stress test on JBoss server. once i hit this msg & 5 records were lost when allocate default 512MB max memory, with all showing this msg: "org.jboss.mq.SpyJMSException: Cannot authenticate user; - nested throwab

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: where to set the JAVA_OPTS for Max memory allocated

2008-11-12 Thread gan.gary
Thanks erasmomarciano, jaikiran, PeterJ. I think i gotta modify the "run.bat" anyway, because I need to run the JBoss as windows service, "service.bat" which in turn will call "run.bat" thru': :cmdStart | REM Executed on service start | del .r.lock 2>&1 | findstr /C:"being used" > nul | if

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: why still getting

2008-11-12 Thread gan.gary
"PeterJ" wrote : The doc link you provided in your first post is for JBoss Message, but the location of the jms-ds.xml file you provided in your second post is for JBossMQ - two completely different messaging systems. If you want to make use of the recovery mechanisms, you need to first install

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: where to set the JAVA_OPTS for Max memory allocated

2008-11-12 Thread gan.gary
Thanks. why ? Any difference? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188774#4188774 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4188774 ___ jboss-user mailing list j

[jboss-user] [Installation, Configuration & DEPLOYMENT] - where to set the JAVA_OPTS for Max memory allocated

2008-11-12 Thread gan.gary
where's the best place to configure the max memory allocated for JBoss? In the "C:\jboss-4.2.2.GA\bin\run.bat", set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx1G or environment variable? Diff? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188714#4188714 Reply to

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: why still getting

2008-11-11 Thread gan.gary
from JBoss WIki: http://www.jboss.org/community/docs/DOC-12826 for resolution #2 : anonymous wrote : 2. Make sure the java:/DefaultJMSProvider is defined and working correctly. It's configured in the jms-ds.xml file or the hajms-ds.xml file I think it's configured by default in "C:\jboss-4.2

[jboss-user] [Installation, Configuration & DEPLOYMENT] - why still getting

2008-11-11 Thread gan.gary
my JBoss hit this: org.jboss.mq.SpyJMSException: Cannot authenticate user; - nested throwable: (java.io.IOException: Client is not connected) | 2008-11-08 03:03:40,515 ERROR [STDERR] at org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:72) | 2008-11-08 03:03:40,515 ERRO

[jboss-user] [Beginners Corner] - Re: why Session would close under stress test?

2008-09-23 Thread gan.gary
OMG, it's becase the queue is so long until it over the transaction timeout View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4178293#4178293 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4178293 ___

[jboss-user] [Beginners Corner] - Re: why Session would close under stress test?

2008-09-14 Thread gan.gary
anyone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176353#4176353 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176353 ___ jboss-user mailing list jboss-user@lists.jboss.

[jboss-user] [Beginners Corner] - Re: why Session would close under stress test?

2008-09-12 Thread gan.gary
"francis17101970" wrote : You should provide some more info about your system. the log file is rolled, since the log4j with FileRolling is used. I have posted the earliest error logged. "francis17101970" wrote : You should provide some more info about your system. | Anyway it is it seems that

[jboss-user] [Beginners Corner] - Re: why Session would close under stress test?

2008-09-11 Thread gan.gary
anyone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176013#4176013 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176013 ___ jboss-user mailing list jboss-user@lists.jboss.

[jboss-user] [Beginners Corner] - why Session would close under stress test?

2008-09-10 Thread gan.gary
I have a JBoss under stresstest and under what condition the Session would close? and the very first log is: 2008-09-10 09:01:40,695 WARN [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_2] TwoPhaseCoordinator.beforeCompletion - failed for nu

[jboss-user] [Beginners Corner] - Re: MDB cannot be created when running in

2008-08-30 Thread gan.gary
"jaikiran" wrote : | Then i started another node in the cluster and the EAR was picked up by the farm service. When the MDB was being deployed, the queue was not created again because the node found it already existing in the cluster: | what if I want it to be created on the second node. I

[jboss-user] [Beginners Corner] - Re: MDB cannot be created when running in

2008-08-26 Thread gan.gary
thanks, you still can remember my last post :) . The first in cluster will get: 2008-08-22 12:13:06,152 WARN [org.jboss.ejb3.mdb.MessagingContainer] destination not found: queue/XXX/YYY reason: javax.naming.NameNotFoundException: queue/XXX/YYY | 2008-08-22 12:13:06,152 WARN [org.jboss.ejb3.m

[jboss-user] [Beginners Corner] - Re: MDB cannot be created when running in

2008-08-25 Thread gan.gary
from the server.log, I can tell the second(or following running JBoss instance) in the network is clustered: INFO [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] Number of cluster members: 2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=417

[jboss-user] [Beginners Corner] - MDB cannot be created when running in "all" configuration

2008-08-25 Thread gan.gary
I have a JBoss app. When it's running in "default" configuration on different PC in the network (let say: 10.10.10.10, 10.10.10.11, 10.10.10.12) with this MDB, everything is fine (context/global JNDI can be created). @MessageDriven(activationConfig = | { | | @ActivationConfigPropert

[jboss-user] [Beginners Corner] - Re: failed on all configuration, but ok on default configura

2008-08-13 Thread gan.gary
no, I still could not get it: Global JNDI Namespace | +- TransactionSynchronizationRegistry (class: com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionSynchronizationRegistryImple) | +- UserTransactionSessionFactory (proxy: $Proxy14 implements interface org.jboss.tm.usertx.in

[jboss-user] [Beginners Corner] - Re: failed on all configuration, but ok on default configura

2008-08-13 Thread gan.gary
H iJakiran, you meant this? Example 6.8. The MDB jboss.xml descriptor | | | | | | TextMDB | queue/B | | jms/QCF | ConnectionFactory | | | | but why I only f

[jboss-user] [Beginners Corner] - Re: failed on all configuration, but ok on default configura

2008-08-11 Thread gan.gary
anyone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169869#4169869 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4169869 ___ jboss-user mailing list jboss-user@lists.jboss.

[jboss-user] [Beginners Corner] - Re: failed on all configuration, but ok on default configura

2008-08-07 Thread gan.gary
Sorry, i think I was wrong. When it's in "default" mode, it created automatically 11:27:02,213 WARN [MessagingContainer] Could not find the queue destination-jnd | i-name=queue/AAA/BBB | 11:27:02,213 WARN [MessagingContainer] destination not found: queue/AAA/BBB reason: javax.naming.NameNot

[jboss-user] [Beginners Corner] - failed on all configuration, but ok on default configuration

2008-08-07 Thread gan.gary
I have a hibernate, when I deploy in "default" configuration, everything is ok; but when deply to "all" configuration, i get: 2008-08-08 09:41:15,799 INFO [org.hibernate.impl.SessionFactoryImpl] building session factory | 2008-08-08 09:41:16,549 INFO [org.hibernate.impl.SessionFactoryObject

[jboss-user] [Beginners Corner] - Re: set a rolled-back txn back to active

2008-07-31 Thread gan.gary
anyone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168081#4168081 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4168081 ___ jboss-user mailing list jboss-user@lists.jboss.

[jboss-user] [Beginners Corner] - Re: Message redelivered=6, instead of 10??

2008-07-31 Thread gan.gary
anyone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167924#4167924 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167924 ___ jboss-user mailing list jboss-user@lists.jboss.

[jboss-user] [Beginners Corner] - Re: Message redelivered=6, instead of 10??

2008-07-30 Thread gan.gary
anonymous wrote : Which version of JBoss are you using? jboss-4.2.2.GA anonymous wrote : Also, are you using EJB3 or EJB2.x? I think EJB3 anonymous wrote : Can you post your MDB (if it is configured through annotations)? you meant this: @MessageDriven(activationConfig = | { | @Activati

[jboss-user] [Beginners Corner] - Re: Message redelivered=6, instead of 10??

2008-07-30 Thread gan.gary
ejb-jar.xml? I never change anything. Futhermore, I do not have this file, I only have: 1) ejb-deployer.xml 2) ejb3-clustered-sfsbcache-service.xml 3) ejb3-entity-cache-service.xml 4) ejb3-interceptors-aop.xml in my JBoss directory. View the original post : http://www.jboss.com/index.html?modu

[jboss-user] [Beginners Corner] - Re: Message redelivered=6, instead of 10??

2008-07-29 Thread gan.gary
anyone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167476#4167476 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167476 ___ jboss-user mailing list jboss-user@lists.jboss.

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: log multile FILEs appender on JBoss

2008-07-29 Thread gan.gary
thanks, PeterJ. I think it's something like this in POJO: static final Logger logger = Logger.getLogger(AAA.class); | static final Logger loggerTxn = Logger.getLogger("txn." + AAA.class); and something like this in "jboss-log4j.xml": | | | | | |

[jboss-user] [Beginners Corner] - Message redelivered=6, instead of 10??

2008-07-28 Thread gan.gary
I have a Jboss apps, when it hit exception: 09:39:36,858 WARN [AbstractDLQHandler] Message redelivered=6 max=5 sending it t | o the dlq SpyTextMessage { | Header { |jmsDestination : QUEUE.XXX/TestResults |jmsDeliveryMode : 2 |jmsExpiration : 0 |jmsPriority : 4

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: reuse same transaction hit error in JBoss

2008-07-26 Thread gan.gary
anyone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166829#4166829 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166829 ___ jboss-user mailing list jboss-user@lists.jboss.

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: reuse same transaction hit error in JBoss

2008-07-26 Thread gan.gary
anyone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166828#4166828 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166828 ___ jboss-user mailing list jboss-user@lists.jboss.

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JAVA_HOME is not set. Unexpected results may occur.? JB

2008-07-26 Thread gan.gary
"PeterJ" wrote : The fact that new system properties are not found by the services until after you reboot the PC is not a JBoss Native bug - it is the operating system, and specifically the service manager, that is not registering the env var changes until a reboot. Therefore you should not have

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: log multile FILEs appender on JBoss

2008-07-25 Thread gan.gary
"PeterJ" wrote : The logger that the code is getting is not the appender, but rather the category (perhaps it should be Lopgger.getLoggerCategory()). | | If you want to log to different log files you must use different categories. Example: | | | | | | | | | | |

[jboss-user] [Installation, Configuration & DEPLOYMENT] - log multile FILEs appender on JBoss

2008-07-25 Thread gan.gary
let's say I have this in my POJO: static final Logger logger = Logger.getLogger(OrderHandler.class); and this in my "jboss-log4j.xml" | | | | | | | | | | | | | what if I need to lo

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JAVA_HOME is not set. Unexpected results may occur.? JB

2008-07-25 Thread gan.gary
"jaikiran" wrote : anonymous wrote : No, I set it at system environment variable (the bottom one). | | %JAVA_HOME% = C:\Program Files\Java\jdk1.5.0_15 | Is this exactly how you set the JAVA_HOME? Then it is incorrect. There should be no % while setting the value. | that's on run.bat.

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JAVA_HOME is not set. Unexpected results may occur.? JB

2008-07-25 Thread gan.gary
"jaikiran" wrote : anonymous wrote : No, I set it at system environment variable (the bottom one). | | | | %JAVA_HOME% = C:\Program Files\Java\jdk1.5.0_15 | | Is this exactly how you set the JAVA_HOME? Then it is incorrect. There should be no % while setting the value. | No,

[jboss-user] [Beginners Corner] - Re: Where the cached data stores if JBoss shut down suddenly

2008-07-25 Thread gan.gary
Is JBoss stored all the cached data in HSQL (embedded database ?) and perform some sort of Microsoft Syn service (http://code.msdn.microsoft.com/sync )? or SQL CE Merge replication (http://msdn.microsoft.com/en-us/library/ms171927.aspx ) at run time? View the original post : http://www.jboss.c

[jboss-user] [Beginners Corner] - Re: set a rolled-back txn back to active

2008-07-25 Thread gan.gary
Is this the limitation of JBoss JTX on local-txn: anonymous wrote : When more than one recoverable resource is involved in the transaction, management of the commit gets more complicated. Simply asking each of the recoverable resources to commit changes to stable storage is not enough to mainta

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JAVA_HOME is not set. Unexpected results may occur.? JB

2008-07-24 Thread gan.gary
What the hell, I re-started my PC and everything works fine. I suspect the %JAVA_HOME% has not taken effect yet, thought I open another command shell.I think I need to report to JBoss bugzilla. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166536#4166536 Re

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JAVA_HOME is not set. Unexpected results may occur.? JB

2008-07-24 Thread gan.gary
"Subemontes" wrote : Well, I think, but I'm not sure, that Server dll and Server Java are only included in SDK installs. | | Maybe that's the problem ? | | Btw, edit the .bat and put an | echo JAVA_HOME: %JAVA_JOME% | echo JRE_HOME: %JRE_HOME% (or something like that) I put this in

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JAVA_HOME is not set. Unexpected results may occur.? JB

2008-07-24 Thread gan.gary
anonymous wrote : When running JBossAS as a service in Windows, you must make sure that you set JAVA_HOME in the System Variables section of the Environment Variables tab on the system properties dialog. Setting JAVA_HOME in the User Variables section will not work! No, I set it at system envi

[jboss-user] [Installation, Configuration & DEPLOYMENT] - JAVA_HOME is not set. Unexpected results may occur.? JBoss

2008-07-24 Thread gan.gary
When I install JBoss as windows service, it works fine, but after several test on VPC, I hit this error: anonymous wrote : Starting JBoss Application Server 5.0 [2008-07-24 04:18:06] | ECHO is off. | JAVA_HOME is not set. Unexpected results may occur. | Set JAVA_HOME to the directory of yo

[jboss-user] [Beginners Corner] - set a rolled-back txn back to active

2008-07-23 Thread gan.gary
have Java/HIbernate apps. When run in Eclipse/JAR file with this, it works fine. public void saveToDatabase() throws Exception | { | Transaction txReporting = null; | try{ |txReporting = sesReporting.beginTransaction(); | ...

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: reuse same transaction hit error in JBoss

2008-07-23 Thread gan.gary
some similar issues are: 1) connection time out http://www.jboss.com/?module=bb&op=viewtopic&t=87750 (but it only happend on re-used txn) 2) JBoss is obsolete http://www.jboss.com/?module=bb&op=viewtopic&t=111919(but my is 4.2.2) anyone? View the original post : http://www.jboss.com/index.html?

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: reuse same transaction hit error in JBoss

2008-07-23 Thread gan.gary
when i do this in between code: txReporting.rollback(); | if(txReporting.wasRolledBack()) |System.out.printf("txReporting.wasRolledBack \n"); | if(txReporting.isActive()) | System.out.printf("txReporting.isActive \n"); It never show "txReporting.isActive" after txn.rolled

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - reuse same transaction hit error in JBoss

2008-07-23 Thread gan.gary
I have Java/HIbernate apps. When run in Eclipse/JAR file with this, it works fine. public void saveToDatabase() throws Exception | { | Transaction txReporting = null; | try{ |txReporting = sesReporting.beginTransaction(); | ...

[jboss-user] [Beginners Corner] - Where the cached data stores if JBoss shut down suddenly

2008-07-22 Thread gan.gary
Where the cached data stores if JBoss shut down suddenly, while it's processing it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166057#4166057 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166057 __

[jboss-user] [Clustering/JBoss] - Re: new to JBoss failover cluster

2008-07-17 Thread gan.gary
anyone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165046#4165046 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165046 ___ jboss-user mailing list jboss-user@lists.jboss.

[jboss-user] [Beginners Corner] - Re: use file rolling from log4j

2008-07-07 Thread gan.gary
thanks, you clear my doubt. Actually I also checked the log file. Thanks again. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162793#4162793 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4162793 ___

[jboss-user] [Beginners Corner] - use file rolling from log4j

2008-07-06 Thread gan.gary
By using file rolling from log4j, do i need to add this line: in : | | | | | | | | | | I thought it's "INFO" by default? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=41626

[jboss-user] [Clustering/JBoss] - concept of JBoss clustering

2008-07-06 Thread gan.gary
I am new to JBoss clustering. 1) if the pc that hosts the JBoss AS is down, while the JBoss is in the process the queue, what will happen? Will HA singleton able to move all the cache data to another live-clustered JBoss AS? 2) my client is a vb6 apps. if I set something like (in "jndi.properti

[jboss-user] [Beginners Corner] - Re: JBoss failed for stress test? Or Log4j?

2008-07-06 Thread gan.gary
never mind, thanks anyway View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162656#4162656 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4162656 ___ jboss-user mailing list jboss

[jboss-user] [Beginners Corner] - Re: JBoss failed for stress test? Or Log4j?

2008-07-04 Thread gan.gary
thanks for your info. Looks like my client failed for reason. BTW, DO you have any idea on failover cluster? While trying to setup a new JBoss apps, I come across with failover clustering, does anyone have any advices on this, other than the link at Jboss doc: Chapter 16. Clustering http://do

[jboss-user] [Beginners Corner] - Re: JBoss failed for stress test? Or Log4j?

2008-07-04 Thread gan.gary
will log file cause JBoss terminate? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162547#4162547 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4162547 ___ jboss-user mailing

[jboss-user] [Beginners Corner] - Re: JBoss failed for stress test? Or Log4j?

2008-07-04 Thread gan.gary
thanks for the solution. Can i confirm it's the (4 GB for files) size limit on windows for 32 bit NTFS? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162488#4162488 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=416248

[jboss-user] [Beginners Corner] - JBoss failed for stress test? Or Log4j?

2008-07-03 Thread gan.gary
I have a Vb6 client that consume JBoss/Hibernate. While doing the stress test for overnight, VB6 run completely and JBoss is still up but data processed half. And I found the log produced is with size: 4.01 GB (4,314,379,264 bytes) with this setting: | | | | |

[jboss-user] [Beginners Corner] - Re: Remote conenct JBoss AS

2008-07-02 Thread gan.gary
great, thanks!. You solved my problem. I found my problem is casued by IP problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162001#4162001 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4162001 ___

[jboss-user] [Beginners Corner] - Re: Remote conenct JBoss AS

2008-07-02 Thread gan.gary
why call run.bat < .r.lock -b 0.0.0.0 >> run.log 2>&1 instead of call run.bat -b 0.0.0.0 < .r.lock >> run.log 2>&1 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161953#4161953 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode

[jboss-user] [Beginners Corner] - Re: Remote conenct JBoss AS

2008-07-02 Thread gan.gary
even I removed & re-installed & changed to this: :cmdStart | REM Executed on service start | del .r.lock 2>&1 | findstr /C:"being used" > nul | if not errorlevel 1 ( | echo Could not continue. Locking file already in use. | goto cmdEnd | ) | echo Y > .r.lock | jbosssvc.exe -p 1

[jboss-user] [Beginners Corner] - Re: Remote conenct JBoss AS

2008-07-01 Thread gan.gary
"jaikiran" wrote : service.bat acts just like a wrapper over the run.bat. So edit your service.bat to include the -b option as follows: | | :cmdStart | | REM Executed on service start | | call run.bat -b 0.0.0.0>run.log | | | | | :cmdRestart | | REM Executed on servi

[jboss-user] [Beginners Corner] - Re: Remote conenct JBoss AS

2008-07-01 Thread gan.gary
it only mentioned using as normal app. what If my JBoss set as JBoss Native windows service? Do i need to modify "service.bat"? :cmdInstall | jbosssvc.exe -imwdc %SVCNAME% "%DIRNAME%" "%SVCDISP%" "%SVCDESC%" service.bat | if not errorlevel 0 goto errExplain | echo Service %SVCDISP% install

[jboss-user] [Beginners Corner] - Remote conenct JBoss AS

2008-07-01 Thread gan.gary
I tried to Remote conenct JBoss AS, but unavail ( cannot see JMX console). I already turn-off fire wall on both sides. Do I need to add port (8080) even turn-off firewall? If add program, what program needs to be added? run.bat? View the original post : http://www.jboss.com/index.html?module=bb

[jboss-user] [Beginners Corner] - Re: read a local properties file

2008-07-01 Thread gan.gary
great, thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161913#4161913 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161913 ___ jboss-user mailing list jboss-user@lists

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss as window service

2008-07-01 Thread gan.gary
thanks! you help me to solve the problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161710#4161710 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161710 ___ jboss-user ma

[jboss-user] [Beginners Corner] - read a local properties file

2008-06-30 Thread gan.gary
Hi all, I have a JBoss+Hbernate app. I need a configurable file. Can i keep it in "jboss-service.xml" or a new properties file? But eventually my hibernate is going to package into an *.jar file. How are user going to configure? View the original post : http://www.jboss.com/index.html?module=bb

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss as window service

2008-06-30 Thread gan.gary
great, thanks! BTW, do you have any idea on failover cluster? I posted post on that section but no one reply. anonymous wrote : While trying to setup a new JBoss apps, I come across with failover clustering, does anyone have any advices on this, other than the link at Jboss doc: Chapter 16. Cl

[jboss-user] [Clustering/JBoss] - new to JBoss failover cluster

2008-06-29 Thread gan.gary
While trying to setup a new JBoss apps, I come across with failover clustering, does anyone have any advices on this, other than the link at Jboss doc: Chapter 16. Clustering http://docs.jboss.org/jbossas/jboss4guide/r4/html/cluster.chapt.html & http://wiki.jboss.org/wiki/JBossHA ? Any simple h

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss as window service

2008-06-29 Thread gan.gary
"jaikiran" wrote : anonymous wrote : | | Starting JBoss Application Server 5.0 [2008-06-30 08:49:38] | | 'run.bat' is not recognized as an internal or external command, | | operable program or batch file. | | Where did you extract the JBossNative zip file? It should be extracted t

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss as window service

2008-06-29 Thread gan.gary
and %JBOSS_HOME% = C:\jboss\jboss-4.2.2.GA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161380#4161380 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161380 ___ jboss-user m

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss as window service

2008-06-29 Thread gan.gary
For this: Starting JBoss Application Server 5.0 [2008-06-30 08:49:38] | 'run.bat' is not recognized as an internal or external command, | operable program or batch file. | Shutdown JBoss Application Server 5.0 service [2008-06-30 08:49:38] I found there's no run.bat at "jboss-native-2.0.4-wi

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss as window service

2008-06-29 Thread gan.gary
"PeterJ" wrote : Where do you have JAVA_HOME defined? In the User Variables or the System Variables? It has to be set in System Variables. System Variables: C:\Program Files\Java\jdk1.5.0_15 "PeterJ" wrote : What account are you using for the service? If you set up a special account, did you ma

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss as window service

2008-06-29 Thread gan.gary
"jaikiran" wrote : What does the run.log in the %JBOSS_HOME%/bin folder show? | why I get this at error log? Starting JBoss Application Server 5.0 [2008-06-30 08:49:38] | 'run.bat' is not recognized as an internal or external command, | operable program or batch file. | Shutdown JBoss Ap

[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss as window service

2008-06-28 Thread gan.gary
I tried to set JBoss as window service("jboss-native-2.0.4-windows-x86-ssl.zip" as describe at: http://wiki.jboss.org/wiki/JBossNativeWindows But I get this error, why? The JBoss Application Server 5.0 service could not be started. | The service did not reprot an error. | More help is availabl

[jboss-user] [EJB/JBoss] - Re: where to monitor message queue length from jmx-console?

2008-06-26 Thread gan.gary
greats, thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160767#4160767 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4160767 ___ jboss-user mailing list jboss-user@list

[jboss-user] [EJB/JBoss] - where to monitor message queue length from jmx-console?

2008-06-25 Thread gan.gary
I have a JBoss that using Hibernae thru' JMS/EJB. I Know JBoss has a console (jmx-console) . But where can I inspect the message queue length that I send from client? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160716#4160716 Reply to the post : http://w

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Clustering for failover

2008-06-22 Thread gan.gary
While trying to setup a new JBoss apps, I come across with failover clustering, does anyone have any advices on this, other than the link at Jboss doc: Chapter 16. Clustering http://docs.jboss.org/jbossas/jboss4guide/r4/html/cluster.chapt.html ? View the original post : http://www.jboss.com/i

  1   2   >