[JBoss-user] [Beginners Corner] - Re: SocketTimeoutException with TopicConnectionFactory and Q

2005-08-20 Thread echon
well, i have also the same problem.. :ยด(

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3890930#3890930

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3890930


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: application specific configuration data. Where is best

2005-08-20 Thread HenkoMannen
Hi Steve,

found any answers to your question? I'm looking for answers for the exact same 
question, and I must say I'm a bit puzzled about the lack of answers around 
here...

/Henrik

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3890924#3890924

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3890924


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - SocketTimeoutException:Read timed out after client connect t

2005-08-20 Thread gozen
I have a JMS client that connect to server. When I started the JMS client, the 
client managed to connect to server. And once connection was established, the 
client instantly send a message to server to record down the client startup 
time. 

Server log shows that client startup time was recorded(in the server log : 
2005-08-19 23:04:51,453 INFO  [ErrorLogControllerBean] error log created 
successfully). 

But after 2 mins, I got this java.net.socketTimeoutException:Read timed out in 
the server side. 

Client log shows socket timeout exception. JMS client has to reconnect to 
server. 

Why does this happen? How can I solve this problem?
Please help, thanks.

JMS client connection code
public void createConnection() throws NamingException, JMSException {
  | InitialContext iniCtx = new InitialContext(properties);
  | Object tmp = iniCtx.lookup("ConnectionFactory");
  | 
  | cf = (ConnectionFactory)tmp;
  | errorQueue = (Queue) iniCtx.lookup("queue/ErrorQueue");
  | 
  | connection = cf.createConnection();
  | connection.setExceptionListener(exListener);
  | connection.start();
  | }


JMS client sendMessage code
public void sendMessage(Serializable serializable, short queueType) {
  | try {
  | if (connection != null) {
  |   if (serializable != null) {
  | Session session = connection.createSession(false, 
Session.AUTO_ACKNOWLEDGE);
  | MessageProducer producer = = session.createProducer(errorQueue);
  | ObjectMessage objMsg = session.createObjectMessage(serializable);
  | producer.send(objMsg);
  | session.close();
  |  } else {
  |logger.warn("SessionDetails is null");
  |  }
  |   } else {
  |   logger.error("connection is null");
  |   }
  | } catch (Exception ex) {
  |logger.error(ex.getMessage(), ex);
  | }
  | }
 

Here is the server log

2005-08-19 23:04:50,906 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin 
ReadTask.run
2005-08-19 23:04:50,906 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin 
WriteTask.run
2005-08-19 23:04:50,906 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created 
ObjectOutputStream
2005-08-19 23:04:51,046 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created 
ObjectInputStream
2005-08-19 23:04:51,062 WARN  
[org.jboss.resource.security.ConfiguredIdentityLoginModule] Creating 
LoginModule with no configured password!
2005-08-19 23:04:51,093 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] 
Setting up the UILClientIL Connection
2005-08-19 23:04:51,093 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] 
The UILClientIL Connection is set up
2005-08-19 23:04:51,421 INFO  [ErrorLogControllerBean] Create error log for 
stationId = 5
2005-08-19 23:04:51,437 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.Station#findByPrimaryKey]
 Executing SQL: SELECT t0_Station.StationId FROM Station t0_Station WHERE 
t0_Station.StationId=?
2005-08-19 23:04:51,437 DEBUG 
[org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Using 
properties: {user=jboss, password=--hidden--}
2005-08-19 23:04:51,453 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCMySQLCreateCommand.ErrorLog] 
Executing SQL: INSERT INTO ErrorLog (ClassName, Level, Message, Exception, 
ErrorDate, StationId) VALUES (?, ?, ?, ?, ?, ?)
2005-08-19 23:04:51,453 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.Station] Executing SQL: 
SELECT Name, Description, Status, DeployDate, LastStartupDate, Rate, Currency, 
LastUsedDate, LocationId, AdContentId FROM Station WHERE (StationId=?)
2005-08-19 23:04:51,453 INFO  [ErrorLogControllerBean] error log created 
successfully
2005-08-19 23:04:51,453 DEBUG [org.jboss.ejb.StatelessSessionContainer] Useless 
invocation of remove() for stateless session bean
2005-08-19 23:04:51,453 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreEntityCommand.ErrorLog] Executing SQL: 
UPDATE ErrorLog SET StationId=? WHERE ErrorId=?
2005-08-19 23:06:51,953 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] 
Exiting on IOE
java.net.SocketTimeoutException: Read timed out 
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
at 
org.jboss.util.stream.NotifyingBufferedInputStream.read(NotifyingBufferedInputStream.java:67)
at 
java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2133)
at 
java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2313)
at 
java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2380)
at 
java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2452)
at 
java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2601)
at java.io.ObjectInpu

[JBoss-user] [EJB/JBoss] - Re: Root deploying

2005-08-20 Thread jactor
Is there not anyone with an idea of how to solve this?

If I have a deployment under the ROOT.war folder I have to include the classes 
that I am going to use in the war file as well which makes it deployed double 
up and this can give me headaches if I am going to bug-search the code...

Do I have to deploy things to the war file as well as the war folder?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3890920#3890920

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3890920


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Control license

2005-08-20 Thread soussou
Hi;


I would require a assistance for the following questions :

I must implement a  soft which lock an application : the use of the application 
is subjected to a licence. This licence is to activate by one encrypted key  
(its possible to use the application for one given length of time).
Authorization = Authorizes the use for a number access users limited + creation 
of a number limited of folder into the database.
 
How to solve the following problem:
 
- How to build the code of activation (I thought of a doublet:
hardware hash + a ID) ? 
- To control the authorizations into the database ?
- How to block the software properly?

Regards;

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3890913#3890913

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3890913


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Using JVM IL and DLQHandler Initialization Failure

2005-08-20 Thread bloodasp
I have the following code in jms-ds.xml


  | 
  | java:/XAConnectionFactory
  | 
  | java:/XAConnectionFactory
  | 
  | java:/XAConnectionFactory
  | 

I simple removed "java:/" and now no errors are displayed. Can anyone confirm 
If this is correct or did I simple get lucky?

Thanks!

I would also like to follow up my question on how to use JVM IL in sending JMS 
messages since the JMS client, queue and MDB will all run on the same JVM.

Thank you very much!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3890906#3890906

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3890906


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - JBoss 3.2.3 Class-loading Problem

2005-08-20 Thread jwcone
Using JBoss-3.2.3, I have a WAR I'm trying to deploy with isolated 
classloading.  In my jboss-web.xml, I have the following:

  | 
  | 
  | 
  | com.mydomain:loader=MyTestWar
  | 
  | java2ParentDelegation=false
  | 
  | 
  | 
  | 
  | 
Upon deployment, I get a java.lang.ClassCastException for each filter that is 
included in the web application.  The error message is "Exception starting 
filter".

My WAR's WEB-INF/lib directory includes the javax.servlet.jar file from 
JBOSS_HOME/server/default/lib.  If I remove javax.servlet.jar from the WAR's 
WEB-INF/lib and deploy, then deployment works, but when I access the web 
application I get at NoClassDefFoundError for 
javax/servlet/http/HttpServletRequest. (Of course).

So I'm having a classloading issue with javax.servlet.jar, but I'm not sure 
what I need to do to resolve the problem.  Any help is appreciated.




View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3890901#3890901

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3890901


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Character Encoding problems

2005-08-20 Thread bOOster
OS: Mac OS X 10.4.2 Workstation with last updated java.
JBOSS: 4.0.2

Have problems with servlets: 
All post forms have UTF-8 or CP1251 character encoding.After post -  damaged 
strings (such as - "? ??? ") received by - getParameter(). 
getCharacterEncoding function return - ISO 8859-1 encoding for both response 
and request. Is it a bug?

Have indentical encoding problem with MySQL JDBC drivers integrated in JBOSS. 
Postgre SQL external driver working well.

Please help receive normal Unicode or Cyrillic strings.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3890899#3890899

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3890899


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - cms portlet and 2.0.1_RC1

2005-08-20 Thread yxyang
Hi

I update my project to 2.0.1rc1. It works. 

But even i change the slide store to use file system, after i uploaded a file 
successfullly, the file is not under directory 
${JBOSS}/server/default/data/portal. 

Where is the content stored physically? I also search my postgresql database, 
there are a few slide_ table, but none of them seems like store the 
content. (postgresql does store some version id etc). I guess it is stored in 
the defauld data source like hsql, but how to confirm it? 

Thanks

Yang

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3890898#3890898

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3890898


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user