[jboss-user] [JBoss Messaging] - Re: UnknownHostException (Error setting up SocketClientInvok

2009-03-04 Thread chicken
Thanks for your ideal, I will try. but I don't know why the second node can detect the first node as we see in the error message. I think maybe there is some where to configure to declare the server name. I could not find out the instruct in JBoss_Messaging_User_Guide.pdf View the original post

[jboss-user] [JBoss Messaging] - Re: UnknownHostException (Error setting up SocketClientInvok

2009-03-03 Thread chicken
"gaohoward" wrote : Please check if the machine name StgApps15 is resolvable on your network. | | StgApps15 is the first node in the cluster. I start the first node without any error massage. when I start the second node, I get this error. I wonder why the second node can detect the name "

[jboss-user] [JBoss Messaging] - UnknownHostException (Error setting up SocketClientInvoker f

2009-03-03 Thread chicken
Dear all, I am using JBoss Messaging 1.4.0. It is the default JMS provider in JBoss Enterprise Application Platform 4.3. I don't change any configuration for Messaging service. I get this error message from log file when I run JBoss in clustering mode | 2009-03-03 17:31:07,061 WARN [org.jb

[jboss-user] [JBoss Messaging] - Re: ClassCastException when casting ObjectMessage object

2009-02-04 Thread chicken
I deploy my applicaiton in the webapps.war folder: server/default/deploy/webapps.war it is unpbacked. my Application run on Solaris 9. to redeploy my application: - I compile and copy new classes to server/default/deploy/webapps.war/WEB-INF/classes by Ant program. - then I use VI editor to modify

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: I have a problem with character display when convert fro

2009-02-03 Thread chicken
I fixed this problem: response.setContentType("text/html;charset=" + strEncoding + "; pageEncoding=" + strEncoding); Thanks for reading View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4206798#4206798 Reply to the post : http://www.jboss.com/index.html?module=

[jboss-user] [JBoss Messaging] - Re: ClassCastException when casting ObjectMessage object

2009-02-03 Thread chicken
I change the two lines to if (message instanceof ObjectMessage) { | System.out.println(CustomMessageBean.class.getClassLoader().toString() + " - " + CustomMessageBean.class.getProtectionDomain().getCodeSource().getLocation().toString()); | System.out.println(message.getClass().getCl

[jboss-user] [JBoss Messaging] - Re: ClassCastException when casting ObjectMessage object

2009-02-03 Thread chicken
sorry, I could not add exactly your code because "message.class" will have an compile error "message cannot be resolved to a type" View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4206468#4206468 Reply to the post : http://www.jboss.com/index.html?module=bb&op

[jboss-user] [JBoss Messaging] - Re: ClassCastException when casting ObjectMessage object

2009-02-03 Thread chicken
after I added these line of codes in the Catch clause: System.out.println(CustomMessageBean.class.getClassLoader().toString() + " - " + CustomMessageBean.class.getProtectionDomain().getCodeSource().getLocation().toString()); | System.out.println(mailBeanJMS.getClass().getClassLoade

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - I have a problem with character display when convert from We

2009-02-03 Thread chicken
Dear all I am convert a web application from Weblogic to JBoss 4.3.0. now I can not display character correctly. I try to make a servlet it gets charset value from charset parameter and displays a java string in corresponding char set: public void doPost(HttpServletRequest request, Ht

[jboss-user] [JBoss Messaging] - Re: ClassCastException when casting ObjectMessage object

2009-02-02 Thread chicken
yes, I did, both sender and receiver side use the same CustomMessageBean class View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4206174#4206174 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4206174

[jboss-user] [JBoss Messaging] - Re: ClassCastException when casting ObjectMessage object

2009-02-02 Thread chicken
after I add the serialVersionID, i get the old error and new error about log4j, I am using log4j 1.2.15 17:08:13,650 INFO [STDOUT] ERROR: java.lang.ClassCastException: CustomMessageBean | 17:08:13,652 INFO [WebappClassLoader] Illegal access: this web application instance has been stopped a

[jboss-user] [JBoss Messaging] - Re: ClassCastException when casting ObjectMessage object

2009-02-01 Thread chicken
thank you so much for your quickly help I mean I reload my web application: I usually modify the web.xml in my application so that the application reloads and applies my new source. the onMessage() method only throws the exception after I reload my application and run the function that uses JMS

[jboss-user] [JBoss Messaging] - ClassCastException when casting ObjectMessage object

2009-02-01 Thread chicken
Dear all I have a problem with JMS on JBoss 4.3.0. My queue works well but whenever after I reload my application I could not cast the queue object to my custom message object (CustomMessageBean ): ERROR: java.lang.ClassCastException: CustomMessageBean public void onMessage(Message message) {

[jboss-user] [Clustering/JBoss] - Re: A serious problem with Tomcat - JBoss - Log4j-1.2.1

2009-01-23 Thread chicken
Dear all, This is a Tomcat issue for Log4J case. I solved by setting org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false Thanks anyway. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4204248#4204248 Reply to the post : http://www.jboss

[jboss-user] [Clustering/JBoss] - A serious problem with Tomcat - JBoss - Log4j-1.2.15

2009-01-21 Thread chicken
Dear all I am running JBoss Application Server 4.3.0 and Log4j-1.2.15 for my application. every times I reload my application by modifying the web.xml My application is down. looking for in the server.log file i get the error message: "log4j:ERROR LogMananger.repositorySelector was null likely du

[jboss-user] [Clustering/JBoss] - Re: JBoss Clustering hang because of log4j

2009-01-20 Thread chicken
Thank you for your help "bstansbe...@jboss.com" wrote : | | Can you tell me what all those special characters say? | I think this is broken Korean Message. I don't know how to config JBoss write to the log file in Korean correctly. please tell me if you know. "bstansbe...@jboss.com" wrot

[jboss-user] [Clustering/JBoss] - JBoss Clustering hang because of log4j

2009-01-16 Thread chicken
Dear all. I run my application on JBoss Application Clustering Ver 4.2.3 JDK: 1.5.0_16 Jboss hangs on in every morning and I find out these error in the server.log file: 2009-01-16 02:39:53,793 DEBUG [org.jboss.web.tomcat.service.session.JBossCacheManager] Looking for sessions that have expired

[jboss-user] [Clustering/JBoss] - Re: some errors occur when update war file in farm folder

2009-01-12 Thread chicken
I am using JBoss 4.2.3 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201204#4201204 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4201204 ___ jboss-user mailing list jboss-us

[jboss-user] [Clustering/JBoss] - some errors occur when update war file in farm folder

2009-01-12 Thread chicken
Dear all I have twos nodes that form a cluster. When I use ant command to update my application (a war file in the farm folder) ==> my application undeploy, redeploy successfully. after my application redeploy successfully I get some error: - 2009-01-13 11:05:

[jboss-user] [Clustering/JBoss] - Re: how to share file system folder accoss Jboss Application

2008-11-05 Thread chicken
"noelo" wrote : Some suggestions | | If its properties that you want to load you could look at the Jboss property-service. | It also might be an idea to bind the data to jndi and look it up in your apps.. | Alternatively you could look at look at using jboss cache. | | regards | N

[jboss-user] [Clustering/JBoss] - Re: how to share file system folder accoss Jboss Application

2008-11-04 Thread chicken
are there any suggestions for me, please? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186895#4186895 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4186895 ___ jboss-user m

[jboss-user] [Clustering/JBoss] - how to share file system folder accoss Jboss Application Ins

2008-11-03 Thread chicken
Dear all I am going to deploy my application on Jboss Application Clustering. My application stores and access data in a folder. I don't know how to make sure that all Instances use the same data when I run it on Clustering Environment. Perhaps I have to create public folder on my network and pe