[JBoss-user] [Clustering/JBoss] - Multi thread handling in Clustering

2005-06-12 Thread svdath
Hi, 
   We have an application in which we will be starting different threaded 
process to handle telephone calls and emails and etcWe explicitly start 
these process.

If we cluster this application how do we go about handling these threads

Should we start these threads in all of the clustered machines or should we 
just start in one of the machinesIf the machine in which the thread is 
started fails, how will the transfer take place

Thanks in advance.
-Vinaydath.S


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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Help requried for JBoss 3.2.5 behind Firewall

2005-06-12 Thread sanketdesai
Dear efly,

Thanks for your reply. But can you give me guidelines for how to 
configure JBoss for RMI over HTTP. Because I tried to configure it as per other 
posts of JBoss but no success yet. So, if you can provide guidelines (i.e. 
which files to modify, which particular parameters are needed etc..) then it 
would be very helpful.

regards,

Sanket.

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - JBoss 4.0 sp1 - java.io.NotSerializableException: org.jboss.

2005-06-12 Thread bbbear
Hi,

I don't know if this should be posted here but since the package name has a 
"mq" in it, thought to ask the expert in this forum. I have this warning all 
the time after I run my application, I do not understand how this is triggered 
and made such exception thrown from the UILClientILService class. This warning 
messages keep appearing from time to time. Do anyone experience this with JBoss 
4.0 before? Please share..

Thanks,

Regards,
bb

11:18:55,521 WARN  [AbstractInstanceCache] failed to passivate, id=e9w4izei-l
javax.ejb.EJBException: Could not passivate; failed to save state; 
CausedByException is:
org.jboss.mq.il.uil2.UILClientILService
at 
org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:404)
at 
org.jboss.ejb.plugins.StatefulSessionInstanceCache.passivate(StatefulSessionInstanceCache.java:93)
at 
org.jboss.ejb.plugins.AbstractInstanceCache.tryToPassivate(AbstractInstanceCache.java:180)
at 
org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy$OveragerTask.run(LRUEnterpriseContextCachePolicy.java:419)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
java.io.NotSerializableException: org.jboss.mq.il.uil2.UILClientILService
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369)
at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341)
at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369)
at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341)
at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
at 
org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:395)
at 
org.jboss.ejb.plugins.StatefulSessionInstanceCache.passivate(StatefulSessionInstanceCache.java:93)
at 
org.jboss.ejb.plugins.AbstractInstanceCache.tryToPassivate(AbstractInstanceCache.java:180)
at 
org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy$OveragerTask.run(LRUEnterpriseContextCachePolicy.java:419)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
11:18:55,548 WARN  [AbstractInstanceCache] failed to passivate, id=e9w4izks-m
javax.ejb.EJBException: Could not passivate; failed to save state; 
CausedByException is:
org.jboss.mq.il.uil2.UILClientILService
at 
org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:404)
at 
org.jboss.ejb.plugins.StatefulSessionInstanceCache.passivate(StatefulSessionInstanceCache.java:93)
at 
org.jboss.ejb.plugins.AbstractInstanceCache.tryToPassivate(AbstractInstanceCache.java:180)
at 
org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy$OveragerTask.run(LRUEnterpriseContextCachePolicy.java:419)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
java.io.NotSerializableException: org.jboss.mq.il.uil2.UILClientILService
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369)
at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341)
at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369)
at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341)
at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
at 
org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:395)
at 
org.jboss.ejb.plugins.StatefulSessionInstanceCache.passivate(StatefulSessionInstanceCache.java:93)
at 
org.jboss.ejb.plugins.AbstractInstanceCache.tryToPassivate(AbstractInstanceCache.java:180)
at 
org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy$OveragerTask.run(LRUEnterpriseContextCachePolicy.java:419)
at java.util.TimerThread.mainLo

[JBoss-user] [Installation & Configuration] - Re: Help requried for JBoss 3.2.5 behind Firewall

2005-06-12 Thread efly
I am familiar with that kind of problem. Rmi over http perhaps may help you to 
solve this.


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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - How to move messages to another queue temporarily?

2005-06-12 Thread mparaz
I'm using JBoss 4.0.2 with MySQL based persistence. I have a requirement that 
if any messages aren't processed by a certain time, I need to move them to 
another queue and reprocess the next day.

I do this by updating JMS_MESSAGE_LOG and changing the destination. However, I 
need JBoss shut down when doing this. I tried stopping the PersistenceManager 
but then when I do, I lose the queues and some of our other components stop 
working.

Any suggestions? Thanks.


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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Prblm starting JBoss 4.01 autom. on FreeBSD boot but run.sh

2005-06-12 Thread olathe
Dear subscribers

I?ve just started to evaluate JBoss and my preferred operating system on my 
servers is FreeBSD 5.3. I?ve managed to get it to run JBoss properly without to 
much trouble so it now serves .jsp pages, integrates with Apache 2.x via mod_jk 
without any problems etc. So far so good but there is one small problem that I 
would like to have some help with. The issue is that I?ve run into some 
peculiarities trying to have JBoss start automatically when the server boots.

The problem is that I was forced to edit the ?/usr/local/etc/rc.d/jboss.sh? 
boot script to get JBoss to start automatically. Normally this script checks if 
JBoss is supposed to start and if so runs jboss4ctl to start it. For some 
strange reason jboss4ctl doesn?t start JBoss. It gives no error messages, 
rather it says that JBoss starts normally. I?ve tried running it from the shell 
command line with the same result. If I then try to stop JBoss using ?jboss4ctl 
stop? I get a message saying that JBoss isn?t running.

If I instead go to the jboss4/bin directory and starts JBoss using ?run.sh?  I 
get a whole bunch of messages and after a while JBoss is up and running, 
working as far as I can tell perfectly.

So my temporary solution to the boot problem was to change the 
?/usr/local/etc/rc.d/jboss.sh? to use run.sh instead of jboss4ctl and then 
JBoss starts at boot time. This change worries me a bit though since obviously 
this isn?t the way it?s supposed to be done and I would like to know if anybody 
can give me some hint to solve this issue?

Kind regards, Ola Theander


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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Business specific exceptions

2005-06-12 Thread Kersam
I have a WebService which raises a business-specific exception.

public bla() throws MyException { ... }

The exception is in the the WSDL file and the wscompile -gen:client genereates 
the exception class on the client side.
But when i invoke the webservice i will only recive a 
javax.xml.rpc.soap.SOAPFaultException.
The same code is working with the Sun Application Server.
Whats wrong?

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Hibernate lazy instantiation problem

2005-06-12 Thread drapierwim
Can somebody help me I'm having a anonymous wrote : 
net.sf.hibernate.LazyInitializationException: Hibernate lazy instantiation 
problem

Since my junit tests doesnt fail. I think that the answer of my problem lies 
with the J2ee container.

I'm using JBoss 4sp1, Hibernate 2.1 and xdoclet1.2.2 and a MySql DB, below is 
my msql-ds.xml

 
  | 
  | 
  |   
  | MySqlDS
  | jdbc:mysql://server:3306/les
  | com.mysql.jdbc.Driver
  | root
  | root
  | 
TRANSACTION_READ_COMMITTED
  | false
  | 10
  | 30
  | 1
  | 15
  | 
org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter
  | select 
LAST_INSERT_ID()
  | 
  |mySQL
  | 
  |   
  | 
  | 

Thanks and sorry for my the poor english ;-)

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Virtual Host Question...again

2005-06-12 Thread Harm88
Hello, I am seeking advice on how to change the virtual host setting for my 
installation. Judging from responses to similar questions, I sense that the 
veterans are getting rather bored with this theme from newbees. Nevertheless, I 
will ask it again. 

Currently, I call my application using the following current url syntax, 
whereas I would like to change it to the desired url syntax. 

Current url: http://mylaptop:1977/myapp/mymainmenu.jsp 
Desired url: http://myapp/ mymainmenu.jsp 

Naturally, I have read the manual, and have tried to reproduce the example in 
ADMINGUIDE.PDF, Page 325/6 (Section 9.6: Setting up Virtual Hosts). Further, I 
have searched this forum and have come across various questions similar to mine 
with similar suggestions. However, I have not been able to succeed (404 errors 
for example). One thing that is unique about my installation is that I found 
that the default HTTP port of 8080 conflicts with the TSNLISTENER for ORACLE 
which is also running on my laptop. Therefore, I have changed this port (from 
8080 to 1977) according to the server.xml file attached. 

Before making any further changes, I would like to ask if there is any thing 
that I have missed in my setup or if there are other suggestions for further 
changes? For example, are there any other changes that are needed to coincide 
with the HTTP port change? 

*** 
1. jboss-web.xml 

 
 
/ 
myapp.com 
 

2. server.xml 



 
 


 


 



 

 


autoDeploy="false" deployOnStartup="false" deployXML="false"> 
myapp.com 


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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - EJB QL that uses an in clause does not work.

2005-06-12 Thread robr
I am trying to use a method in an EJB that uses a select statement that uses 
the in clause.

An sql example would be select * from quote q where q.id in ('sw','se')

My code looks like the following.

priceMatrixEntityHome.java

  | Collection findRowsById(String sIds) throws RemoteException, 
FinderException;
  | 

ejb-jar.xml definition for bean - query part at the end

  |   
  |   PriceMatrix Entity Bean
  |   PriceMatrix Entity Bean
  |   priceMatrixEntityEJB
  |   
com.dynix.webquotes.ejb.entity.admin.priceMatrixEntityHome
  |   
com.dynix.webquotes.ejb.entity.admin.priceMatrixEntity
  |   
com.dynix.webquotes.ejb.entity.admin.priceMatrixEntityBean
  |   Container
  |   java.lang.String
  |   False
  |   2.x
  |   priceMatrixEntityEJB
  |   
  |   ID
  |   id
  |   
  |   
  |   Description
  |   descr
  |   
  |   
  |   Type
  |   type
  |   
  |   
  |   Base
  |   base
  |   
  |   
  |   Staff
  |   staff
  |   
  |   
  |   Bib
  |   bib
  |   
  |   
  |   Item
  |   item
  |   
  |   
  |   Location
  |   location
  |   
  |   id
  |   
  | 
  |Return Entity beans for that match id list passed in.
  | 
  | 
  |   findRowsById
  |   
  |   java.lang.String
  |   
  | 
  | 
  |   
  | 
  |   
  |   
  | 

Java code I am using to call the findRowsbyID method

  | cSelPMRows = pricMatrixEntityHome.findRowsById("'hacad'");
  | 

The above code doesn't return any rows.  If I change the code to the following 
I get a row back.


  | cSelPMRows = pricMatrixEntityHome.findRowsById("hacad");
  | 

My problem I need this to be dynamic.  My in clause may need to contain one or 
more elements.

I tried the following code and it did not work.


  | cSelPMRows = pricMatrixEntityHome.findRowsById("hacad,hpublic");
  | 

I try the following sql statement and it gets two rows back.

  | select * from pricematrix where id in ('hacad','hpublic')
  | 

I am sure that my problem is that I do not know how to format the sIds 
parameter that is being sent in the findRowsById function.


  | Collection findRowsById(String sIds) throws RemoteException, 
FinderException;
  | 

I assumed I should have created a string like "'ida','idb','idc'" and pass it 
in.  My test showed that it did not like the single quotes because the 
"'hacad'" parameter did not work whereas the "hacad" parameter does work.

Maybe I need to pass in a String[] with an element for each ID i am interested 
in.  Anybody know how to do this correctly.  I will keep playing and post a 
solution when I figure it out.  Hope someone beats me to the answer.

Thanks.


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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Load-balancing HTTP requests without sessionid/cookie?

2005-06-12 Thread thebadpete
Hi there,

Due to application semantics(client requests use HTTP protocol but are not 
required to set cookies or send back sessionids; they are really using HTTP as 
a data transport to send/receive data), I cannot use the usual load-balancing 
methods (e.g Apache + mod_jk12). I am wondering, given this restriction, is it 
still possible to have the incoming HTTP requests load-balanced in a 
"sticky-session" fashion? That is, say, if client A comes in, and it gets 
forwarded to node A of the JBoss cluster, then subsequent requests of A all get 
routed to node A? Any software/hardware-based solutions you can suggest? TIA!

Regards,
 Pete

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Joining multiple EJBs

2005-06-12 Thread jaybossy
Hi, I was wondering is there a way I can JOIN multiple EJBs on a particular 
field using EJB-QL and/or JBoss-QL without manually setting up the 
relationships ?

Ie, something that mimicks,

Select p.FName, s.Name, d.districtID
FROM Person p INNER JOIN  School s ON p.schoolID = s.schoolID INNER 
 JOIN District d ON s.districtID = d.districtID
WHERE p.schoolID = s.schoolID AND s.districtID = d.districtID

OR

Select p.FName, s.Name, d.districtID
FROM Person p, School s, District d
WHERE p.schoolID = s.schoolID AND s.districtID = d.districtID

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Patch to URL

2005-06-12 Thread [EMAIL PROTECTED]
CTO not CEO, sorry.

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Patch to URL

2005-06-12 Thread [EMAIL PROTECTED]
Scott Starsk who is the CEO of JBoss took time to answer you, you should listen 
to him so you wouldn't complain that nobody answers your unrelated question.

Having a domain name poiting to an IP address has nothing to do with JBoss. 
What you want to do is only a matter of DNS it depends on your hardware 
configuration (network) and OS you are running.

Look at DNS resources like http://www.tldp.org/HOWTO/DNS-HOWTO.html



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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Patch to URL

2005-06-12 Thread jactor
I am glad that I have plenty of things to occupy myself with and does not have 
a due-date, because answer to questions here are rather slow...

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: how to write a JSP only portlet

2005-06-12 Thread martingi
This is getting difficult for me... I tried to do some analogical reasoning 
between JSP (get/ post requests) and portal pages (render/ action requests). 
But this doesn't seem to work, because get/ post requests of a JSP are not 
compiled into a servlet's doGet/ doPost methods, but rather into a single 
_jspService method. 

But wouldn't it be possible to compile a java portal page (jpp) into some 
Portlet type with a _jppService method? If you would mark a scriptlet in the 
jpp with an element which includes attributes like the method name and request 
type you could compile a portlet which dispatches the request to the 
corresponding methods.

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Initial Portal config problems with MySQL

2005-06-12 Thread rickprice407
Removed the sar and the forums ear and now get this exception:

08:21:05,061 INFO  [ex] Bound to JNDI name: queue/ex
08:21:05,108 INFO  [testTopic] Bound to JNDI name: topic/testTopic
08:21:05,124 INFO  [securedTopic] Bound to JNDI name: topic/securedTopic
08:21:05,124 INFO  [testDurableTopic] Bound to JNDI name: topic/testDurableTopic

08:21:05,124 INFO  [testQueue] Bound to JNDI name: queue/testQueue
08:21:05,265 INFO  [UILServerILService] JBossMQ UIL service available at : /0.0.
0.0:8093
08:21:05,390 INFO  [DLQ] Bound to JNDI name: queue/DLQ
08:21:06,046 INFO  [ConnectionFactoryBindingService] Bound connection factory fo
r resource adapter for ConnectionManager 'jboss.jca:service=ConnectionFactoryBin
ding,name=JmsXA to JNDI name 'java:JmsXA'
08:21:06,390 INFO  [WrapperDataSourceService] Bound connection factory for resou
rce adapter for ConnectionManager 'jboss.jca:service=DataSourceBinding,name=Port
alDS to JNDI name 'java:PortalDS'
08:21:06,452 ERROR [MainDeployer] could not create deployment: file:/C:/jboss-4.
0.2/server/default/deploy/portal-mysql-ds.xml
org.jboss.deployment.DeploymentException: Trying to install an already registere
d mbean: jboss.jca:service=LocalTxCM,name=PortalDS
at org.jboss.system.ServiceCreator.install(ServiceCreator.java:70)
at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigura
tor.java:153)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
:118)
at org.jboss.system.ServiceController.install(ServiceController.java:202
)
at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.install(Unknown Source)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:220)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:121)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.ja
va:273)
at $Proxy35.create(Unknown Source)
at org.jboss.deployment.XSLSubDeployer.create(XSLSubDeployer.java:224)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:121)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy8.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:325)
at org.jboss.deployment.scanner.URLDeploymentSc

[JBoss-user] [JBoss Portal] - Re: Portal is up and running but I can not register a new us (Repost)

2005-06-12 Thread [EMAIL PROTECTED]
it has been fixed in 2.0 RC3 which is available for download.

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: how to write a JSP only portlet

2005-06-12 Thread [EMAIL PROTECTED]
the request dispatcher is not available during the processAction

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: how to write a JSP only portlet

2005-06-12 Thread martingi
I didn't get that much into this ;-(
But couldn't you use/extend the portlet tag lib for actionrequests?

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: how to write a JSP only portlet

2005-06-12 Thread [EMAIL PROTECTED]
while it is easy to script the rendering phase, how do you script the 
processAction ?

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Portal is up and running but I can not register a new us

2005-06-12 Thread [EMAIL PROTECTED]
it has been fixed in 2.0 RC2 which is available for download.

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: HashMap get method - invocation time

2005-06-12 Thread yos_titi
Hi.

I'm a programmer from the same group, and I would like to elaborate more, as 
this is a pressing issue for us. So I'm sorry in advance for the length of the 
response ( - :

We currently are using a system that has an implementation
of a cache that uses several static hashmaps in order to manage all in-memory 
static objects. We're trying to use jbosscache (AOP) behind the scenes to make 
the move to a distributed application. We chose jbosscache because it offers 
(or at least claims to offer) a way to work with distributed applications with 
very little added code. 

The idea was to put all our hashmaps on an instance of treecacheAOP,
and to let the cacheMapInterceptor (and of course all aspectized sub POJOs) do 
all the distributed work behind the scenes. Our module includes a load which 
consists of non-frequent put actions, but a very heavy load of get actions. 

We joined two servers as a cluster and ran the following test: Server number 1 
performed a put of a hashmap on the cache once in the initialization stage of 
the server. It also ran a thread that changed a member of the map every 30 
seconds (just to add some noise). Server 2 did  map = cahce.cache.getObject  on 
 its initialization routine and then performed a map.get(object) on each 
transaction. 

After debugging the code we learned that the MapInterceptor.get calls getObject 
which goes to the network each time. As we need to perform for each user 
transaction several get operations on diffrent hash maps, this is not 
acceptable. 

The question is: why does getObject goes to the network each time? 
And, if this is a bug, what can we do? (A side from dropping jbosscache). We 
thought about creating our own implementation of a cached map, which holds all 
aspectized pojos localy, and performs getObject only if the local key does not 
exist. But then we will have to deal with the removal of objects from the cache 
(Unless the POJO reference itself will become null?). 

Any suggestions (Please)?


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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: how to write a JSP only portlet

2005-06-12 Thread martingi
It shouldn't be possible to use JSP or servlets, because the starting point of 
a portlet application needs to implement the Portlet interface. But maybe it 
would be interesting to specify something like Java Portal Pages to offer some 
scripting possibilities.

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Web Console

2005-06-12 Thread darranl
The most common cause for this problem is if your web browser is not configured 
touse the JVM plug-in.

I am assuming that you are using the JDK from Sun and Internet Explorer.  When 
you installed the JDK when it reached the point to install the JRE you should 
have been prompted to say if you want to use the JVM with your web browser.

If you did not take this option you should be able to find Java in Control 
Pannel and re-enable the association.

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Error! org.jboss.mq.SpyJMSException: Could not remov

2005-06-12 Thread wikey
similar threads
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848238#3848238

is my problem due to dead lock...is the solution can be applied to hypersonic 
database?



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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Web Console

2005-06-12 Thread venkitachalam_s81
I have installed jboss-4.0.1 on WinXP. Now while accessing 
http://localhost:8080/web-console though the navigation applet on the left side 
starts, it appears blank with no options listed. version of java - 1.4 Please 
help


thanks
Venki

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user