[JBoss-user] News

2003-02-18 Thread Kim, Yong
I am not sure if the rumor is true or not.

http://www.thestreet.com/_yahoo/tech/billsnyder/10069372.html

Mitch


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] JavaMail DCH for MIME error

2003-02-13 Thread Kim, Yong
How's your code look like when specifying the content type?

Mitchell

-Original Message-
From: Mauricio De Diana [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 1:31 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] JavaMail DCH for MIME error


I´m trying to send a simple e-mail, based on the
example provided on JBoss` online help (at
http://www.jboss.org/online-manual/HTML/ch11s98.html).
But I always get the error:
javax.activation.UnsupportedDataTypeException: no
object DCH for MIME type text/plain

My mail-service.xml contains:

classpath codebase=lib
archives=mail.jar, activation.jar, mail-plugin.jar/

mbean code=org.jboss.mail.MailService
   name=jboss:service=Mail
  attribute name=JNDINamejava:/Mail/attribute
  attribute name=UsermyUser/attribute
  attribute name=PasswordmyPassword/attribute
  attribute name=Configuration
 configuration
property name=mail.transport.protocol
value=smtp/
property name=mail.user value=nobody/
property name=mail.smtp.host
value=mySMTPHost/
property name=mail.from value=myAddress/
property name=mail.debug value=false/
 /configuration
   /attribute
/mbean

And the stack trace is:
2003-02-13 14:03:32,547 ERROR [STDERR]
javax.mail.SendFailedException: Sending failed;
  nested exception is:
class javax.mail.MessagingException:
IOException while sending message;
  nested exception is:
javax.activation.UnsupportedDataTypeException:
no object DCH for MIME type text/plain
2003-02-13 14:03:32,549 ERROR [STDERR]  at
javax.mail.Transport.send0(Transport.java:218)
2003-02-13 14:03:32,549 ERROR [STDERR]  at
javax.mail.Transport.send(Transport.java:80)
2003-02-13 14:03:32,550 ERROR [STDERR]  at
ejb.MailTestBean.sendMail(MailTestBean.java:37)
2003-02-13 14:03:32,550 ERROR [STDERR]  at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
2003-02-13 14:03:32,559 ERROR [STDERR]  at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
2003-02-13 14:03:32,560 ERROR [STDERR]  at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
2003-02-13 14:03:32,560 ERROR [STDERR]  at
java.lang.reflect.Method.invoke(Method.java:324)
2003-02-13 14:03:32,560 ERROR [STDERR]  at
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(Stateles
sSessionContainer.java:660)
2003-02-13 14:03:32,561 ERROR [STDERR]  at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(Cach
edConnectionInterceptor.java:186)
2003-02-13 14:03:32,561 ERROR [STDERR]  at
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSe
ssionInstanceInterceptor.java:77)
2003-02-13 14:03:32,561 ERROR [STDERR]  at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor
.java:107)
2003-02-13 14:03:32,562 ERROR [STDERR]  at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.
java:228)
2003-02-13 14:03:32,562 ERROR [STDERR]  at
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:92)
2003-02-13 14:03:32,562 ERROR [STDERR]  at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:13
0)
2003-02-13 14:03:32,563 ERROR [STDERR]  at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:204)
2003-02-13 14:03:32,563 ERROR [STDERR]  at
org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.jav
a:313)
2003-02-13 14:03:32,563 ERROR [STDERR]  at
org.jboss.ejb.Container.invoke(Container.java:712)
2003-02-13 14:03:32,564 ERROR [STDERR]  at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
2003-02-13 14:03:32,564 ERROR [STDERR]  at
org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:382)
2003-02-13 14:03:32,564 ERROR [STDERR]  at
sun.reflect.GeneratedMethodAccessor22.invoke(Unknown
Source)
2003-02-13 14:03:32,565 ERROR [STDERR]  at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
2003-02-13 14:03:32,565 ERROR [STDERR]  at
java.lang.reflect.Method.invoke(Method.java:324)
2003-02-13 14:03:32,565 ERROR [STDERR]  at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
2003-02-13 14:03:32,566 ERROR [STDERR]  at
sun.rmi.transport.Transport$1.run(Transport.java:148)
2003-02-13 14:03:32,566 ERROR [STDERR]  at
java.security.AccessController.doPrivileged(Native
Method)
2003-02-13 14:03:32,566 ERROR [STDERR]  at
sun.rmi.transport.Transport.serviceCall(Transport.java:144)
2003-02-13 14:03:32,567 ERROR [STDERR]  at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
2003-02-13 14:03:32,567 ERROR [STDERR]  at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:7
01)
2003-02-13 14:03:32,567 ERROR [STDERR]  at
java.lang.Thread.run(Thread.java:536)

Does anyone know what can be the problem?
Thanks for any help.

Dediana


___
Busca Yahoo!
O serviço de busca mais 

RE: [JBoss-user] Run Client Using RMI

2003-02-12 Thread Kim, Yong
Hi, Matthew.

All I had to do was to uncomment the line below in the jndi.properties file
and replace the localhost with property hostname or IP.  Make sure
jndi.properties file is in your classpath.

#java.naming.provider.url=localhost

I have a standalone Java appliation that's sending a JMS message to the
queue on the server by looking up the queue using JNDI.  I know it works,
so...

Mitchell

-Original Message-
From: Hanson, Matthew [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 9:24 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [JBoss-user] Run Client Using RMI


Alright, folks...  I'm now getting desperate...  I know it is possible to
connect to a Win NT4.0 machine running jboss-3.0.4_tomcat-4.1.12 from an
HP-UX machine.  I have not been able to find out how to do it on the forums.
I am a little unclear about how the Win NT4.0 IP should be declared on the
client machine (jndi.properties?) and what server configuration changes need
to occur.  I don't wanna flood the user group here, but the forums have me
going in every direction.

I have seen posts saying to just change jndi.properties on the client to
point to the right host.  Then I have seen posts saying HTTP invokation is
the only way for this to work.  Then I see that I may need to use jproxy or
SOAP to get this done.  I just have a simple client needing to call the
server from a different machine.  There has to be a source of information
that can guide me through the changes needed to every file that is affected
by the client move.  I'm sure this can include
additions/deletions/modifications to xml files to config of both server and
client.  I'm sure this can include changing the word localhost to a real
host or IP in one or a great many files.  I'm sure this can include changes
to source files and xdoclet/jboss tags.

The forums and replies to my post only ever address one subset of all of
these potential changes.  And the coverage of the required change is usually
so high level that it amounts to guesswork as to what the exact change
entails...

Is there no place where I can find out how to accomplish my task?  I hope I
can get this to work.

If anyone can make my situation clear, please help me.

Thanks - Matt Hanson

Here is my original post:
 Hi--
 
 OK - Please don't slam me too hard for this mail.  I
 wanna move my jboss
 client from the machine where jboss is installed
 (i.e., localhost) to our hp
 machine.  I just wanna make sure that the test
 client can make the call
 properly over the network.  Someone has surely
 answered this question before
 - make configuration file changes are required to do
 this?
 
 For what I've read so far, I believe most of the
 client changes entail
 updating the jndi.properties
 'java.naming.provider.url=localhost' entry to
 'java.naming.provider.url=jnp://somehostname:1099/'.
  Are there other
 changes that are needed beside this?  To the client
 only?  Both client
 and/or server?  For localhost, can I simply change
 this val to the IP for
 the machine where jboss is running?  I tried this,
 but the app timed out, so
 I know I'm still dumb on some of the issues.
 
 Please help!
 
 Thanks!
 Matt Hanson!

-Original Message-
From: Hanson, Matthew [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 11, 2003 10:41 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [JBoss-user] Run Client Using RMI


hi - adding to my last post...  jboss currently is running on an NT4.0
machine, and i am trying to port the client to our hp-ux machine...  the
communication layer between these types of hardware is very fuzzy to me...
i am not ready to move everything over to unix, so i would like to test
things very incrementally...  even if this configuration seems illogical, is
it possible?

thanks!

-Original Message-
From: Nicholas [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 10, 2003 9:56 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Run Client Using RMI


For remote [and local] connections, I have never used
the decorated URL you showed in your email. I simply
used:

java.naming.provider.url=hostname:port

If it is timing out, make sure you can actually ping
the server from your client box..:)

Also, make sure all the required  stuff  (that is a
technical term) is in your client classpath.

Lastly, make sure you are infact running the JNDI port
on the port you are trying to connect to.

Cheers.

//Nicholas


--- Hanson, Matthew [EMAIL PROTECTED]
wrote:
 Hi--
 
 OK - Please don't slam me too hard for this mail.  I
 wanna move my jboss
 client from the machine where jboss is installed
 (i.e., localhost) to our hp
 machine.  I just wanna make sure that the test
 client can make the call
 properly over the network.  Someone has surely
 answered this question before
 - make configuration file changes are required to do
 this?
 
 For what I've read so far, I believe most of the
 client changes entail
 updating the jndi.properties
 'java.naming.provider.url=localhost' entry to
 

RE: [JBoss-user] Run Client Using RMI

2003-02-12 Thread Kim, Yong
If your problem is only with client unable to talk to the server, don't
touch the server-side jndi.properties file.  Leave it as commented.

Just uncomment the client side jndi.properties file and when you run the
your test client, make sure that the jndi.properties file is in the
classpath.

BTW, What kind of error did you get anyway?

Mitch

-Original Message-
From: Hanson, Matthew [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 12:07 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [JBoss-user] Run Client Using RMI


thanks for the response...  there are jndi.properties files in both the
client directory and, in our case, $JBOSS_HOME/server/default/conf.

(a) here is the property (with comment) from the server dir:

# Do NOT uncomment this line as it causes in VM calls to go over
# RMI!
#java.naming.provider.url=localhost

i had originally assumed that i should not uncomment this line, because i
was told not to :) :)...  hopefully i was just wrong and, as normal, should
ignore orders :)...

(b) the client properties file java.naming.provider.url property was
definitely uncommented before deployment.  i modified that property to
change it from localhost to my win machine's ip...  that hadn't helped.

i think you are saying i should uncomment the server property.  please let
me know which properties file is should modify, ok?

if that's all i gotta do, i would be psyched.

thanks!
matt hanson!

-Original Message-
From: Kim, Yong [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 9:09 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [JBoss-user] Run Client Using RMI


Hi, Matthew.

All I had to do was to uncomment the line below in the jndi.properties file
and replace the localhost with property hostname or IP.  Make sure
jndi.properties file is in your classpath.

#java.naming.provider.url=localhost

I have a standalone Java appliation that's sending a JMS message to the
queue on the server by looking up the queue using JNDI.  I know it works,
so...

Mitchell

-Original Message-
From: Hanson, Matthew [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 9:24 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [JBoss-user] Run Client Using RMI


Alright, folks...  I'm now getting desperate...  I know it is possible to
connect to a Win NT4.0 machine running jboss-3.0.4_tomcat-4.1.12 from an
HP-UX machine.  I have not been able to find out how to do it on the forums.
I am a little unclear about how the Win NT4.0 IP should be declared on the
client machine (jndi.properties?) and what server configuration changes need
to occur.  I don't wanna flood the user group here, but the forums have me
going in every direction.

I have seen posts saying to just change jndi.properties on the client to
point to the right host.  Then I have seen posts saying HTTP invokation is
the only way for this to work.  Then I see that I may need to use jproxy or
SOAP to get this done.  I just have a simple client needing to call the
server from a different machine.  There has to be a source of information
that can guide me through the changes needed to every file that is affected
by the client move.  I'm sure this can include
additions/deletions/modifications to xml files to config of both server and
client.  I'm sure this can include changing the word localhost to a real
host or IP in one or a great many files.  I'm sure this can include changes
to source files and xdoclet/jboss tags.

The forums and replies to my post only ever address one subset of all of
these potential changes.  And the coverage of the required change is usually
so high level that it amounts to guesswork as to what the exact change
entails...

Is there no place where I can find out how to accomplish my task?  I hope I
can get this to work.

If anyone can make my situation clear, please help me.

Thanks - Matt Hanson

Here is my original post:
 Hi--
 
 OK - Please don't slam me too hard for this mail.  I
 wanna move my jboss
 client from the machine where jboss is installed
 (i.e., localhost) to our hp
 machine.  I just wanna make sure that the test
 client can make the call
 properly over the network.  Someone has surely
 answered this question before
 - make configuration file changes are required to do
 this?
 
 For what I've read so far, I believe most of the
 client changes entail
 updating the jndi.properties
 'java.naming.provider.url=localhost' entry to
 'java.naming.provider.url=jnp://somehostname:1099/'.
  Are there other
 changes that are needed beside this?  To the client
 only?  Both client
 and/or server?  For localhost, can I simply change
 this val to the IP for
 the machine where jboss is running?  I tried this,
 but the app timed out, so
 I know I'm still dumb on some of the issues.
 
 Please help!
 
 Thanks!
 Matt Hanson!

-Original Message-
From: Hanson, Matthew [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 11, 2003 10:41 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [JBoss-user] Run Client Using RMI


hi

[JBoss-user] JBossMQ, JMS MDB

2003-02-10 Thread Kim, Yong
Hi,
I am really in a state of confusion with regards to JBossMQ, JMS  MDB.  I
am not sure if my configuration is screwed up or the fact that I have
believed as true has turned out to be false!  Please bear with me.

I have created a MDB called EmailManagerMDB.  Currently, it has nothing in
it.  It's basically a skeleton code.  Inside the onMessage method, it only
has System.out.println method.  I also created a stand-alone Java
application that sends a message to a queue called, queue/EmailQueue which
seems to be working fine.  I have checked that this is working from
jmx-console.  QueueDepth increases everytime I send a message.

Basically, the problem was that MDB wasn't being invoked when a message is
sent to the queue.  The client code was sending a message to a queue called
queue/EmailQueue and the EmailManagerMDB was configured to listen to
queue/EmailQueue in the jboss.xml file.  I have included both jboss.xml
and ejb-jar.xml files at the end of this email.  I also have includes both
MDB and the client code.

Here is the dillema.  The way I made the MDB gets invoked was that I changed
the client code to send the message to queue/EmailManagerMDB not
queue/EmailQueue.  Now, my state of confusion starts.  First, when I
deployed the MDB, I got some strange message from the console saying,
[JMSContainerInvoker] destination not found: queue/EmailManagerMDB reason:
javax.naming.NameNotFoundException: EmailManagerMDB not bound
 [JMSContainerInvoker] creating a new temporary destination:
queue/EmailManagerMDB  I don't understand why I get this message.  In the
jbossmq-destinations-service.xml, I have added following queue entry.

  mbean code=org.jboss.mq.server.jmx.Queue
 name=jboss.mq.destination:service=Queue,name=EmailQueue
depends
optional-attribute-name=DestinationManagerjboss.mq:service=DestinationMan
ager/depends
  /mbean
.

Why does JMSContainerInvoker creates this temporary queue when it was
configured to listen to queue/EmailQueue.  I thought that MDB listens to a
queue and it's onMessage method gets called when a messages get inserted
into the queue!

Am I wrong?

Thanks in advance.


Below is the jboss.xml file.

?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE jboss PUBLIC -//JBoss//DTD JBOSS 3.0//EN
http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd;

jboss

   enterprise-beans

  session
 ejb-namecom.kimion.ejb.ShoppingCartManagerBean/ejb-name
 jndi-namecom/kimion/ejb/ShoppingCartManager/jndi-name
 
local-jndi-namecom/kimion/ejb/ShoppingCartManagerLocal/local-jndi-name
  /session
  session
 ejb-namecom.kimion.ejb.ProductManagerBean/ejb-name
 jndi-namecom/kimion/ejb/ProductManager/jndi-name
 
local-jndi-namecom/kimion/ejb/ProductManagerLocal/local-jndi-name
  /session
  session
 ejb-namecom.kimion.ejb.MemberManagerBean/ejb-name
 jndi-namecom/kimion/ejb/MemberManager/jndi-name
 
local-jndi-namecom/kimion/ejb/MemberManagerLocal/local-jndi-name
  /session

  message-driven
 ejb-nameEmailManagerMDB/ejb-name
 destination-jndi-namequeue/EmailQueue/destination-jndi-name
  /message-driven

   /enterprise-beans

   resource-managers
   /resource-managers

/jboss

And here is the ejb-jar.xml file.

?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise
JavaBeans 2.0//EN http://java.sun.com/dtd/ejb-jar_2_0.dtd;

ejb-jar 

   description![CDATA[No Description.]]/description
   display-nameGenerated by XDoclet/display-name

   enterprise-beans

  !-- Session Beans --
  session 
 description![CDATA[Created Feb 25, 2002 2:07:04
PM]]/description
 display-nameShoppingCartBean/display-name

 ejb-namecom.kimion.ejb.ShoppingCartManagerBean/ejb-name

 homecom.kimion.ejb.ShoppingCartManagerHome/home
 remotecom.kimion.ejb.ShoppingCartManager/remote
 
local-homecom.kimion.ejb.ShoppingCartManagerLocalHome/local-home
 localcom.kimion.ejb.ShoppingCartManagerLocal/local
 ejb-classcom.kimion.ejb.ShoppingCartManagerBean/ejb-class
 session-typeStateless/session-type
 transaction-typeContainer/transaction-type

  /session

  session 
 description![CDATA[This EJB utilizes Data Access Command Beans
pattern.]]/description
 display-nameProductBean/display-name

 ejb-namecom.kimion.ejb.ProductManagerBean/ejb-name

 homecom.kimion.ejb.ProductManagerHome/home
 remotecom.kimion.ejb.ProductManager/remote
 local-homecom.kimion.ejb.ProductManagerLocalHome/local-home
 localcom.kimion.ejb.ProductManagerLocal/local
 ejb-classcom.kimion.ejb.ProductManagerBean/ejb-class
 session-typeStateless/session-type
 transaction-typeContainer/transaction-type

  /session

  session 
 description![CDATA[This EJB utilizes Data Access Command Beans
pattern.]]/description
 display-nameMemberBean/display-name

 

RE: [JBoss-user] JBossMQ, JMS MDB

2003-02-10 Thread Kim, Yong
Thanks for sharing your valuable past experience with me.

I will definately rethink my design.

Originally I had a stateless session bean to send out emails to many people
as some type of batch.  More specifically, it was sending ONE email per
contact; it didn't use CCs, BCCs, or anything else.  Therefore, if there are
10 contacts to send emails to, it has to talk to the SMTP server 10 times.
During the process, I was getting many instances of error state saying,
SMTP server cannot be contacted at port 25... or something like that.  I
was thinking SMTP server wasn't able to handle the load.  It wasn't even a
hugh load.  So, I really wanted to have some type of guaranteed deliver of
messages by retrying...  That's why I started thinking about implementing
MDB for this.  I don't know what other people had to do to make this type of
task working.

Regardless of what I am trying to accomplish, I believe my question is
genenric enough in terms of JBossMQ, JMS, and MDB.  Can anyone help me to
understand what's going on?

Thanks,
Mitchell


-Original Message-
From: David Ward [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 10, 2003 12:08 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] JBossMQ, JMS  MDB


Yong,

I don't know the answer to your question, but I thought I'd share with 
you something we learned on a past project:

We also *thought* it would be a good idea to have an MDB receive 
messages for the sake of queing up email to send (the MDB used the 
JavaMail api inside it), thinking it would return application flow back 
to the user faster.  We learned it's not.

Using OptimizeIt!, we found the serialization of the objects sent to the 
MDB took longer than the actual time sending the email inside the 
onMessage method of the MDB.  The MDB container had to serialize the 
objects, even though it was in the same JVM, since it needed to 
guarantee durability.

Just something for you to consider before you go too far down this path. 
  The only thing you might be buying yourself is a slower, more 
complicated app - and maybe a little experience working with MDB's.

David

--

Kim, Yong escribió::
 Hi,
 I am really in a state of confusion with regards to JBossMQ, JMS  MDB.  I
 am not sure if my configuration is screwed up or the fact that I have
 believed as true has turned out to be false!  Please bear with me.
 
 I have created a MDB called EmailManagerMDB.  Currently, it has nothing in
 it.  It's basically a skeleton code.  Inside the onMessage method, it only
 has System.out.println method.  I also created a stand-alone Java
 application that sends a message to a queue called, queue/EmailQueue
which
 seems to be working fine.  I have checked that this is working from
 jmx-console.  QueueDepth increases everytime I send a message.
 
 Basically, the problem was that MDB wasn't being invoked when a message is
 sent to the queue.  The client code was sending a message to a queue
called
 queue/EmailQueue and the EmailManagerMDB was configured to listen to
 queue/EmailQueue in the jboss.xml file.  I have included both jboss.xml
 and ejb-jar.xml files at the end of this email.  I also have includes both
 MDB and the client code.
 
 Here is the dillema.  The way I made the MDB gets invoked was that I
changed
 the client code to send the message to queue/EmailManagerMDB not
 queue/EmailQueue.  Now, my state of confusion starts.  First, when I
 deployed the MDB, I got some strange message from the console saying,
 [JMSContainerInvoker] destination not found: queue/EmailManagerMDB
reason:
 javax.naming.NameNotFoundException: EmailManagerMDB not bound
  [JMSContainerInvoker] creating a new temporary destination:
 queue/EmailManagerMDB  I don't understand why I get this message.  In the
 jbossmq-destinations-service.xml, I have added following queue entry.
 
   mbean code=org.jboss.mq.server.jmx.Queue
name=jboss.mq.destination:service=Queue,name=EmailQueue
 depends

optional-attribute-name=DestinationManagerjboss.mq:service=DestinationMan
 ager/depends
   /mbean
 .
 
 Why does JMSContainerInvoker creates this temporary queue when it was
 configured to listen to queue/EmailQueue.  I thought that MDB listens to
a
 queue and it's onMessage method gets called when a messages get inserted
 into the queue!
 
 Am I wrong?
 
 Thanks in advance.
 
 
 Below is the jboss.xml file.
 
 ?xml version=1.0 encoding=ISO-8859-1?
 !DOCTYPE jboss PUBLIC -//JBoss//DTD JBOSS 3.0//EN
 http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd;
 
 jboss
 
enterprise-beans
 
   session
  ejb-namecom.kimion.ejb.ShoppingCartManagerBean/ejb-name
  jndi-namecom/kimion/ejb/ShoppingCartManager/jndi-name
  
 local-jndi-namecom/kimion/ejb/ShoppingCartManagerLocal/local-jndi-name
   /session
   session
  ejb-namecom.kimion.ejb.ProductManagerBean/ejb-name
  jndi-namecom/kimion/ejb/ProductManager/jndi-name
  
 local-jndi-namecom/kimion/ejb/ProductManagerLocal/local-jndi-name
   /session

[JBoss-user] Interesting article! JBoss is scaring BEAway!!!

2003-02-07 Thread Kim, Yong
http://www.thestreet.com/_yahoo/tech/billsnyder/10067438.html

Mitchell


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Help with MBean

2002-11-11 Thread Kim, Yong
Hi, 
I am currently developing a service that will run under JBoss 3.x.x that's
will open a server socket and processes the incoming XML packets...  and I
have decided to make it a MBean component...  By the way, my service creates
multiple internal threads as well that processes each XML packets.  However,
when I deploy the sar file, JBoss stops the startup process.  It just
displays the message saying my service has been started and stops right
there.  I think it is stuck in a endless loop where server socket waits and
accepts the incoming XML packets...
I thought that when a MBean gets deployed, it gets deployed as individual
thread...  am I wrong?  Should it run in its own thread?

Basically, the service is doing similar stuff as Jetty or Tomcat...

If anyone is willing to help me with this issue, I will provided more
detailed information...  

Thanks,
Mitchell


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Help with MBean

2002-11-11 Thread Kim, Yong
Forget about this... I am all set.

Mitch

-Original Message-
From: Kim, Yong [mailto:Yong.Kim;Staples.com]
Sent: Monday, November 11, 2002 4:43 PM
To: '[EMAIL PROTECTED]'
Subject: [JBoss-user] Help with MBean


Hi, 
I am currently developing a service that will run under JBoss 3.x.x that's
will open a server socket and processes the incoming XML packets...  and I
have decided to make it a MBean component...  By the way, my service creates
multiple internal threads as well that processes each XML packets.  However,
when I deploy the sar file, JBoss stops the startup process.  It just
displays the message saying my service has been started and stops right
there.  I think it is stuck in a endless loop where server socket waits and
accepts the incoming XML packets...
I thought that when a MBean gets deployed, it gets deployed as individual
thread...  am I wrong?  Should it run in its own thread?

Basically, the service is doing similar stuff as Jetty or Tomcat...

If anyone is willing to help me with this issue, I will provided more
detailed information...  

Thanks,
Mitchell


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] JBoss, JCA, and PeopleSoft

2002-10-17 Thread Kim, Yong
I will certainly do that.
Thanks.

-Original Message-
From: David Jencks [mailto:davidjencks;directvinternet.com]
Sent: Wednesday, October 16, 2002 2:31 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] JBoss, JCA, and PeopleSoft


I haven't heard of anyone trying.  You need a jca adapter, there are
several commercial ones.  AFAIK none of these big ERP systems provide a
free downloadable tryout version, so you really need to be a preexisting
customer to experiment, so I can't.

Let us know how you get on with this and if there are problems

thanks
david jencks

On 2002.10.16 14:10:41 -0400 Kim, Yong wrote:
 Has anyone worked on above area?  Has anyone successfully used Jboss to
 access PeopleSoft?  Even possible?  I couldn't find any information from
 the
 online forum...  
 
 Thanks,
 Mitchell
 
 
 ---
 This sf.net email is sponsored by: viaVerio will pay you up to
 $1,000 for every account that you consolidate with us.
 http://ad.doubleclick.net/clk;4749864;7604308;v?
 http://www.viaverio.com/consolidator/osdn.cfm
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 


---
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Jetty Question

2002-10-16 Thread Kim, Yong

Is the /Foo valid path in terms of the web application's context root?
That's all I can think of.  The problem you are having is the most basic
feature of JSP/HTML...  It's working fine for me.  Have you set the web
app's context root correctly?  Double check...
 
Mitchell

-Original Message-
From: Greg Turner [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 15, 2002 7:27 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Jetty Question


Thanks, buts its not a Struts specific thing.

Its something that should be in the Html spec, and I am wanting to know if
Jetty is doing the correct thing according to the Html spec.

According to one Html reference, I found on the web, the action is a URI.
URIs can be absolute, or relative.

An absolute URI can be something like action= http://www.;
http://www.So its obvious we are dealing with the relative
situation.

Greg




Dmitri Colebatch wrote:


This is really a struts question, but I'll have a go...



  

In a form element,

form method=post name=Form0 action=/Foo



should the action value have a preceeding / as I have written here.

It appears, that if the / is there, Jetty does not pick up any of the

request parameters submitted by the form.  If it is not there, then the

request parameters are picked up.   By picked up, I mean

HttpServletRequest.getParameter (param name) returns the correct value.





the action should correspond to the _name_ of the action in

struts-config.xml (in this case, I'm guessing Foo).  Its not a path value,

and so shouldn't have the '/'



  

Or is this a bug with my web browser that is submitting the form,

Netscape 7.0 on Win2000?





the behaviour seems reasonable to me.



cheers

dim







---

This sf.net email is sponsored by: viaVerio will pay you up to

$1,000 for every account that you consolidate with us.

http://ad.doubleclick.net/clk;4749864;7604308;v
http://ad.doubleclick.net/clk;4749864;7604308;v ?

http://www.viaverio.com/consolidator/osdn.cfm
http://www.viaverio.com/consolidator/osdn.cfm 

___

JBoss-user mailing list

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 

https://lists.sourceforge.net/lists/listinfo/jboss-user
https://lists.sourceforge.net/lists/listinfo/jboss-user 





  


-- 

Greg Turner, JBoss Authorized Consultant



Tiburon Enterprise Systems

http://www.tiburon-e-systems.com http://www.tiburon-e-systems.com 

Box 1171

Tiburon, CA 94920

415-927-2543




---
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] JBoss, JCA, and PeopleSoft

2002-10-16 Thread Kim, Yong

Has anyone worked on above area?  Has anyone successfully used Jboss to
access PeopleSoft?  Even possible?  I couldn't find any information from the
online forum...  

Thanks,
Mitchell


---
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] JBoss 3.0.1 and Oracle-XA

2002-09-23 Thread Kim, Yong

Do you have to use oci?
If not, chanage that to thin.

So, you should have something like URL=jdbc:oracle:thin:@banklab3:1521:ora8

Mitchell

-Original Message-
From: Jon Haugsand [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 23, 2002 10:07 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] JBoss 3.0.1 and Oracle-XA



I am trying to get Oracle-XA to work with JBoss 3.0.1, by doing the
following:

 1. I copy the docs/examples/jca/oracle-xa-service.xml
 2. I change the line with URL=jdbc:oracle:oci8:@tc
to URL=jdbc:oracle:oci8:@banklab3:1521:ora8
 3. I insert username and password
 4. I include an attribute  name=Padtrue/attribute into
jboss-service.xml


It looks like the mbean is registrated, but I get error message that
complain with no ocijdbc8 in java.library.path

 I assume no 2 above is not correct.  But how should the URL be then?

-- 
  Jon Haugsand, [EMAIL PROTECTED]
  Norges Bank, http://www.norges-bank.no



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] JBoss yearly subscription

2002-09-19 Thread Kim, Yong

Sorry.  I didn't see that from flashline.

Mitchell

-Original Message-
From: Dain Sundstrom [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 19, 2002 4:18 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] JBoss yearly subscription


CDs cost $500.  The $99 subscription is download only. See 
http://www.jboss.org/services/subscription.jsp for more information.

-dain

Kim, Yong wrote:
 I have purchased the $99.00 JBoss subscription recently... but I haven't
 received any CD yet.
 When do I get it?
 
 Mitchell



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] 3.0.2: java.lang.LinkageError: loader constraints violated when l inking com/tw/imgfactory/ejb/Image class

2002-09-17 Thread Kim, Yong

I just noticed that I am getting the same error messages!
So I tried to find out about this message thread from mail-archive.com but
the search doesn't work... 
Therefore, being impatient, I'd like to ask you what this error means!?
Please let me know...

Thanks,
Mitchell

-Original Message-
From: Bobby Abraham [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 17, 2002 9:40 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] 3.0.2: java.lang.LinkageError: loader
constraints violated when l inking com/tw/imgfactory/ejb/Image class


David Jencks wrote:
 On 2002.09.16 13:15:53 -0400 Bobby Abraham wrote:
 
...

I have seen numerous references to ear scoping in the email list but 
have yet to find out how this is done.  Have I missed a reference to it 
or an example which uses it?
 
 
 Did you look in the quickstart guide? Otherwise find -name jboss-app.xml
in
 the testsuite directory will give you some examples.

Yes the quickstart guide makes no mention of these that I could find.

The example I think you are refering to looks as follows:
Inside jboss-app.xml

jboss-app
 
loader-repositoryjboss.test.cts:loader=cts-cmp2v2.ear/loader-repository
/jboss-app

Does this mean that classes inside cts-cmp2v2.ear are loaded inside 
there own class loader ?

What is the reference to jboss.test.cts mean (I assume this is a 
package reference) ?

Does the file jboss-app.xml get deployed along side jboss.xml inside the 
ear file ?

-- 
Bobby Abraham  [EMAIL PROTECTED]
Computer Manangement USA, Inc  +1 407 514 3018
Orlando, FL




---
Sponsored by: AMD - Your access to the experts on Hammer Technology! 
Open Source  Linux Developers, register now for the AMD Developer 
Symposium. Code: EX8664 http://www.developwithamd.com/developerlab
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
Sponsored by: AMD - Your access to the experts on Hammer Technology! 
Open Source  Linux Developers, register now for the AMD Developer 
Symposium. Code: EX8664 http://www.developwithamd.com/developerlab
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] mail-archive.com

2002-09-17 Thread Kim, Yong

Why can't I search for messages on mail-archive.com?

Mitchell


---
Sponsored by: AMD - Your access to the experts on Hammer Technology! 
Open Source  Linux Developers, register now for the AMD Developer 
Symposium. Code: EX8664 http://www.developwithamd.com/developerlab
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] How to use application specific properties

2002-09-12 Thread Kim, Yong

I use external configuration file just because of the reason you mentioned,
I am not sure I like this because different machines/servers need different
properties.  And I created a static class that reads in the key=value pairs
from the file and store in memory as long as the contains stays running.

Mitchell

-Original Message-
From: Jon Haugsand [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 7:15 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] How to use application specific properties


We have a local property file containg such things like name of
machines, files, ip-addresses and such for legacy interfaces.  I found
out (the hard way) that I could place this file in the
${JBOSS_HOME}/bin directory, presumably because it is from there we
run the server.  It shouldn't stay there of course, and further we
need it within the client too.

I know we could use some property mechanism within ejb-jar.xml, but I
cannot figure out how to get this with XDoclet and I am not sure I
like this because different machines/servers need different
properties.

Is there a Right (tm) way to do this?

-- 
  Jon Haugsand, [EMAIL PROTECTED]
  Norges Bank, http://www.norges-bank.no



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Http Session Clustering problem

2002-09-12 Thread Kim, Yong

 Are you sure your class is not present in two differents xARs?
What possibly can go wrong if there are multiple copies of the same class in
different xARs as long as they are all same???  What's your implication?
Maybe I am missing something...  Please enlighten me.

Thanks for your reply,
Mitchell 

-Original Message-
From: Sacha Labourey [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 3:14 AM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] Http Session Clustering problem


Maybe because you write an e-mail every 2-hours with a new question: people
sleep and are at work sometime.

Are you sure your class is not present in two differents xARs? What is your
packaging structure?

 -Message d'origine-
 De : [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]De la part de Kim, Yong
 Envoyé : mercredi, 11 septembre 2002 21:17
 À : '[EMAIL PROTECTED]'
 Objet : RE: [JBoss-user] Http Session Clustering problem


 Why is everyone so quiet?!  Nobody uses JBoss HTTP session clustering in
 their environment?  Am I the only one having this issue?



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] How to use application specific properties

2002-09-12 Thread Kim, Yong

David,
If you don't mind, would you share that code us?  Very appreciated.

Thanks,
Mitchell

-Original Message-
From: David Jencks [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 10:05 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] How to use application specific properties


You can also use the ClassPathExtension mbean (in org.jboss.deployment) to
explicitly load a file into the classpath and access it as a resource.  I
wrote it to get a license file needed by a driver into the classpath.

david jencks

On 2002.09.12 08:01:10 -0400 Scott M Stark wrote:
 Use the SystemPropertiesService. See the
 server/default/deploy/properties-service.xml
 for details.
 
 
 Scott Stark
 Chief Technology Officer
 JBoss Group, LLC
 
 
 - Original Message - 
 From: Jon Haugsand [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, September 12, 2002 4:14 AM
 Subject: [JBoss-user] How to use application specific properties
 
 
  We have a local property file containg such things like name of
  machines, files, ip-addresses and such for legacy interfaces.  I found
  out (the hard way) that I could place this file in the
  ${JBOSS_HOME}/bin directory, presumably because it is from there we
  run the server.  It shouldn't stay there of course, and further we
  need it within the client too.
  
  I know we could use some property mechanism within ejb-jar.xml, but I
  cannot figure out how to get this with XDoclet and I am not sure I
  like this because different machines/servers need different
  properties.
  
  Is there a Right (tm) way to do this?
  
  -- 
Jon Haugsand, [EMAIL PROTECTED]
Norges Bank, http://www.norges-bank.no
 
 
 
 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Http Session Clustering problem

2002-09-12 Thread Kim, Yong

Sacha,
I have gone through all of my ear, jar, war, and so on to see if I have
multiple copies of the same class and they are not.  I was sure about this
but wanted to double check.

Anyway, I am still having the same problem and this is driving me crzay.

Here is the most recent error messages...  They are same as before... but.

Thanks, Mitchell.

10:59:08,595 ERROR [MarshallingInterceptor] could not get Attribute:
credential
java.io.InvalidClassException:
com.staples.business.security.ApplicationSecurityCredential; Local class not
compatible: stream classdesc serialVersionUID=4701685434102361783 local
class serialVersionU
ID=4723640482285792951
at
java.io.ObjectStreamClass.validateLocalClass(ObjectStreamClass.java:523)
at java.io.ObjectStreamClass.setClass(ObjectStreamClass.java:567)
at
java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:936)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at
java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at
org.mortbay.j2ee.session.MarshallingInterceptor.demarshal(MarshallingInterce
ptor.java:84)
at
org.mortbay.j2ee.session.MarshallingInterceptor.getAttribute(MarshallingInte
rceptor.java:93)
at
org.mortbay.j2ee.session.StateInterceptor.getAttribute(StateInterceptor.java
:43)
at
org.mortbay.j2ee.session.StateInterceptor.getAttribute(StateInterceptor.java
:43)
at
org.mortbay.j2ee.session.TypeCheckingInterceptor.getAttribute(TypeCheckingIn
terceptor.java:90)
at
org.mortbay.j2ee.session.StateAdaptor.getAttribute(StateAdaptor.java:204)
at
org.apache.jsp.securitychecker$jsp._jspService(securitychecker$jsp.java:447)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:201)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:344)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandl
er.java:313)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:554)
at
org.mortbay.jetty.servlet.WebApplicationHandler.handle(WebApplicationHandler
.java:199)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1572)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1522)
at org.mortbay.http.HttpServer.service(HttpServer.java:795)
at org.jboss.jetty.Jetty.service(Jetty.java:531)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:784)
at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:941)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:799)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:186)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:322)
at org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:716)
at java.lang.Thread.run(Thread.java:484)


-Original Message-
From: Sacha Labourey [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 3:14 AM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] Http Session Clustering problem


Maybe because you write an e-mail every 2-hours with a new question: people
sleep and are at work sometime.

Are you sure your class is not present in two differents xARs? What is your
packaging structure?

 -Message d'origine-
 De : [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]De la part de Kim, Yong
 Envoyé : mercredi, 11 septembre 2002 21:17
 À : '[EMAIL PROTECTED]'
 Objet : RE: [JBoss-user] Http Session Clustering problem


 Why is everyone so quiet?!  Nobody uses JBoss HTTP session clustering in
 their environment?  Am I the only one having this issue?



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] How to use application specific properties

2002-09-12 Thread Kim, Yong

Thanks, David.

-Original Message-
From: David Jencks [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 11:17 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] How to use application specific properties




  mbean code=org.jboss.deployment.ClasspathExtension
name=jboss.jdo.lido:service=license
attribute
name=MetadataURLfile:[EMAIL PROTECTED]@/thirdparty/libelis/lido/etc//attri
bute
  /mbean

This adds a UnifiedClassloader for the directory (or url) named in
MetadataURL to the jboss unified loader repository.  I don't think I made
this scopable, although that would be a good idea.

Use of the license file in the named directory is in proprietary code, but
I imagine they are doing something like

this.getClass().getResourceAsStream(lido.license);

Looks like I could have named the attribute better...

david jencks


On 2002.09.12 10:40:07 -0400 Kim, Yong wrote:
 David,
 If you don't mind, would you share that code us?  Very appreciated.
 
 Thanks,
 Mitchell
 
 -Original Message-
 From: David Jencks [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, September 12, 2002 10:05 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [JBoss-user] How to use application specific properties
 
 
 You can also use the ClassPathExtension mbean (in org.jboss.deployment)
 to
 explicitly load a file into the classpath and access it as a resource.  I
 wrote it to get a license file needed by a driver into the classpath.
 
 david jencks
 
 On 2002.09.12 08:01:10 -0400 Scott M Stark wrote:
  Use the SystemPropertiesService. See the
  server/default/deploy/properties-service.xml
  for details.
  
  
  Scott Stark
  Chief Technology Officer
  JBoss Group, LLC
  
  
  - Original Message - 
  From: Jon Haugsand [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Thursday, September 12, 2002 4:14 AM
  Subject: [JBoss-user] How to use application specific properties
  
  
   We have a local property file containg such things like name of
   machines, files, ip-addresses and such for legacy interfaces.  I
 found
   out (the hard way) that I could place this file in the
   ${JBOSS_HOME}/bin directory, presumably because it is from there we
   run the server.  It shouldn't stay there of course, and further we
   need it within the client too.
   
   I know we could use some property mechanism within ejb-jar.xml, but I
   cannot figure out how to get this with XDoclet and I am not sure I
   like this because different machines/servers need different
   properties.
   
   Is there a Right (tm) way to do this?
   
   -- 
 Jon Haugsand, [EMAIL PROTECTED]
 Norges Bank, http://www.norges-bank.no
  
  
  
  ---
  This sf.net email is sponsored by:ThinkGeek
  Welcome to geek heaven.
  http://thinkgeek.com/sf
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-user
  
  
 
 
 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 
 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Http Session Clustering problem

2002-09-12 Thread Kim, Yong

As far as I know, the class conforms to all the requirements to be
SERIALIZABLE but I can still try it.  Who knows.
Let me try it.

Mitchell Kim

-Original Message-
From: Greg Turner [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 11:29 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Http Session Clustering problem


Have you verified that your object is truely serializable.  Implementing
Serializable is not a sufficient condition !   Verify by writing a simple
program with main that instantiates your object, serializes it to a file,
and
then read back in from file.

Kim, Yong wrote:

 Sacha,
 I have gone through all of my ear, jar, war, and so on to see if I have
 multiple copies of the same class and they are not.  I was sure about this
 but wanted to double check.

 Anyway, I am still having the same problem and this is driving me crzay.

 Here is the most recent error messages...  They are same as before... but.

 Thanks, Mitchell.

 10:59:08,595 ERROR [MarshallingInterceptor] could not get Attribute:
 credential
 java.io.InvalidClassException:
 com.staples.business.security.ApplicationSecurityCredential; Local class
not
 compatible: stream classdesc serialVersionUID=4701685434102361783 local
 class serialVersionU
 ID=4723640482285792951
 at
 java.io.ObjectStreamClass.validateLocalClass(ObjectStreamClass.java:523)
 at java.io.ObjectStreamClass.setClass(ObjectStreamClass.java:567)
 at
 java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:936)
 at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
 at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
 at
 java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
 at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
 at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
 at

org.mortbay.j2ee.session.MarshallingInterceptor.demarshal(MarshallingInterce
 ptor.java:84)
 at

org.mortbay.j2ee.session.MarshallingInterceptor.getAttribute(MarshallingInte
 rceptor.java:93)
 at

org.mortbay.j2ee.session.StateInterceptor.getAttribute(StateInterceptor.java
 :43)
 at

org.mortbay.j2ee.session.StateInterceptor.getAttribute(StateInterceptor.java
 :43)
 at

org.mortbay.j2ee.session.TypeCheckingInterceptor.getAttribute(TypeCheckingIn
 terceptor.java:90)
 at
 org.mortbay.j2ee.session.StateAdaptor.getAttribute(StateAdaptor.java:204)
 at

org.apache.jsp.securitychecker$jsp._jspService(securitychecker$jsp.java:447)
 at
 org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at

org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
 va:201)
 at
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
 at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
 org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:344)
 at

org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandl
 er.java:313)
 at
 org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:554)
 at

org.mortbay.jetty.servlet.WebApplicationHandler.handle(WebApplicationHandler
 .java:199)
 at org.mortbay.http.HttpContext.handle(HttpContext.java:1572)
 at org.mortbay.http.HttpContext.handle(HttpContext.java:1522)
 at org.mortbay.http.HttpServer.service(HttpServer.java:795)
 at org.jboss.jetty.Jetty.service(Jetty.java:531)
 at
org.mortbay.http.HttpConnection.service(HttpConnection.java:784)
 at
 org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:941)
 at org.mortbay.http.HttpConnection.handle(HttpConnection.java:799)
 at
 org.mortbay.http.SocketListener.handleConnection(SocketListener.java:186)
 at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:322)
 at org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:716)
 at java.lang.Thread.run(Thread.java:484)

 -Original Message-
 From: Sacha Labourey [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, September 12, 2002 3:14 AM
 To: [EMAIL PROTECTED]
 Subject: RE: [JBoss-user] Http Session Clustering problem

 Maybe because you write an e-mail every 2-hours with a new question:
people
 sleep and are at work sometime.

 Are you sure your class is not present in two differents xARs? What is
your
 packaging structure?

  -Message d'origine-
  De : [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]De la part de Kim, Yong
  Envoyé : mercredi, 11 septembre 2002 21:17
  À : '[EMAIL PROTECTED]'
  Objet : RE: [JBoss-user] Http Session Clustering problem
 
 
  Why is everyone so quiet?!  Nobody uses JBoss HTTP session

RE: [JBoss-user] Http Session Clustering problem

2002-09-12 Thread Kim, Yong

Yes, it's serializable.

Possible bug in org.mortbay.j2ee.session.MarshallingInterceptor?

Mitchell Kim

-Original Message-
From: Greg Turner [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 11:29 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Http Session Clustering problem


Have you verified that your object is truely serializable.  Implementing
Serializable is not a sufficient condition !   Verify by writing a simple
program with main that instantiates your object, serializes it to a file,
and
then read back in from file.

Kim, Yong wrote:

 Sacha,
 I have gone through all of my ear, jar, war, and so on to see if I have
 multiple copies of the same class and they are not.  I was sure about this
 but wanted to double check.

 Anyway, I am still having the same problem and this is driving me crzay.

 Here is the most recent error messages...  They are same as before... but.

 Thanks, Mitchell.

 10:59:08,595 ERROR [MarshallingInterceptor] could not get Attribute:
 credential
 java.io.InvalidClassException:
 com.staples.business.security.ApplicationSecurityCredential; Local class
not
 compatible: stream classdesc serialVersionUID=4701685434102361783 local
 class serialVersionU
 ID=4723640482285792951
 at
 java.io.ObjectStreamClass.validateLocalClass(ObjectStreamClass.java:523)
 at java.io.ObjectStreamClass.setClass(ObjectStreamClass.java:567)
 at
 java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:936)
 at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
 at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
 at
 java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
 at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
 at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
 at

org.mortbay.j2ee.session.MarshallingInterceptor.demarshal(MarshallingInterce
 ptor.java:84)
 at

org.mortbay.j2ee.session.MarshallingInterceptor.getAttribute(MarshallingInte
 rceptor.java:93)
 at

org.mortbay.j2ee.session.StateInterceptor.getAttribute(StateInterceptor.java
 :43)
 at

org.mortbay.j2ee.session.StateInterceptor.getAttribute(StateInterceptor.java
 :43)
 at

org.mortbay.j2ee.session.TypeCheckingInterceptor.getAttribute(TypeCheckingIn
 terceptor.java:90)
 at
 org.mortbay.j2ee.session.StateAdaptor.getAttribute(StateAdaptor.java:204)
 at

org.apache.jsp.securitychecker$jsp._jspService(securitychecker$jsp.java:447)
 at
 org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at

org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
 va:201)
 at
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
 at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
 org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:344)
 at

org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandl
 er.java:313)
 at
 org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:554)
 at

org.mortbay.jetty.servlet.WebApplicationHandler.handle(WebApplicationHandler
 .java:199)
 at org.mortbay.http.HttpContext.handle(HttpContext.java:1572)
 at org.mortbay.http.HttpContext.handle(HttpContext.java:1522)
 at org.mortbay.http.HttpServer.service(HttpServer.java:795)
 at org.jboss.jetty.Jetty.service(Jetty.java:531)
 at
org.mortbay.http.HttpConnection.service(HttpConnection.java:784)
 at
 org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:941)
 at org.mortbay.http.HttpConnection.handle(HttpConnection.java:799)
 at
 org.mortbay.http.SocketListener.handleConnection(SocketListener.java:186)
 at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:322)
 at org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:716)
 at java.lang.Thread.run(Thread.java:484)

 -Original Message-
 From: Sacha Labourey [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, September 12, 2002 3:14 AM
 To: [EMAIL PROTECTED]
 Subject: RE: [JBoss-user] Http Session Clustering problem

 Maybe because you write an e-mail every 2-hours with a new question:
people
 sleep and are at work sometime.

 Are you sure your class is not present in two differents xARs? What is
your
 packaging structure?

  -Message d'origine-
  De : [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]De la part de Kim, Yong
  Envoyé : mercredi, 11 septembre 2002 21:17
  À : '[EMAIL PROTECTED]'
  Objet : RE: [JBoss-user] Http Session Clustering problem
 
 
  Why is everyone so quiet?!  Nobody uses JBoss HTTP session clustering in
  their environment?  Am I

RE: [JBoss-user] Http Session Clustering problem

2002-09-12 Thread Kim, Yong

The version in the CVS is same as what you gave me.  I think it has been
incorporated into latest release (3.0.2).  When you said you were able to
make the session replication working, what kind of objects have you tried?
Have you tried with something you created such as your own javabean or
something like that?  If you did, do you have the code that I can look at!
I don't think that will solve this problem but I am just so desparate that I
just want to compare bit by bit.

Mitchell,
Thanks.

-Original Message-
From: Greg Turner [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 12:42 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Http Session Clustering problem


Possible. Here is text of email I sent Jules Gosnell.  He replied back that
my
analysis was correct and that he would make changes in sourceforge.  I don't
know if he did, nor if this problem is the one you are having, nor what
version
you are using  - I've not been following this thread that closely.  I've
attached the complete file as I have it onw my own machine.  It might be
beneficial if you compare it with what you have on your machine.

snip
I have been trying to get clustered http sessions to work with EXTENDED
Clustering turned on.

I was getting a ClassNotFoundException from the ois.readObject call in
MarshallingInterceptor.demarshal() whenever I tried to get an object
from the session.

It seemed strange to me that the marshal method was returning
baos.toString() instead of baos.toByteArray() because without an
encoding scheme, toString always puts 0 for the hi order byte of every
character.  I'm not an expert in this, but my impression is that
toString changes some of the bytes in the array inorder to make it a
proper string.

So I tried an experient that seems to work.  I changed marshal to return
byte[] and changed it to call baos.toByteArray and I changed demarshal
signature to byte[]  and any other changes required to make it compile
and it seems to work.  Also, with the change, the session info seems to
be replicated to the other instance of JBoss.

Would you give this some thought, and if I am right, make the official
change to the source forge.  marshal and demarshal are below.

  protected byte[]
marshal(Object value)
throws IOException
  {
if (value==null)
  return null;

ByteArrayOutputStream baos=new ByteArrayOutputStream();
ObjectOutputStreamoos =new ObjectOutputStream(baos);
oos.writeObject(value);
oos.flush();
return baos.toByteArray();
  }

  protected Object
demarshal (byte[] bytes)
throws IOException,ClassNotFoundException
  {
if (bytes==null)
  return bytes;

ByteArrayInputStream bais=new ByteArrayInputStream(bytes);
ObjectInputStreamois =new ObjectInputStream(bais);
return ois.readObject();
  }
/snip


Kim, Yong wrote:

 Yes, it's serializable.

 Possible bug in org.mortbay.j2ee.session.MarshallingInterceptor?

 Mitchell Kim

 -Original Message-
 From: Greg Turner [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, September 12, 2002 11:29 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [JBoss-user] Http Session Clustering problem

 Have you verified that your object is truely serializable.  Implementing
 Serializable is not a sufficient condition !   Verify by writing a simple
 program with main that instantiates your object, serializes it to a file,
 and
 then read back in from file.

 Kim, Yong wrote:

  Sacha,
  I have gone through all of my ear, jar, war, and so on to see if I have
  multiple copies of the same class and they are not.  I was sure about
this
  but wanted to double check.
 
  Anyway, I am still having the same problem and this is driving me crzay.
 
  Here is the most recent error messages...  They are same as before...
but.
 
  Thanks, Mitchell.
 
  10:59:08,595 ERROR [MarshallingInterceptor] could not get Attribute:
  credential
  java.io.InvalidClassException:
  com.staples.business.security.ApplicationSecurityCredential; Local class
 not
  compatible: stream classdesc serialVersionUID=4701685434102361783 local
  class serialVersionU
  ID=4723640482285792951
  at
  java.io.ObjectStreamClass.validateLocalClass(ObjectStreamClass.java:523)
  at
java.io.ObjectStreamClass.setClass(ObjectStreamClass.java:567)
  at
 
java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:936)
  at
 java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
  at
 java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
  at
  java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
  at
 java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
  at
 java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
  at
 

org.mortbay.j2ee.session.MarshallingInterceptor.demarshal(MarshallingInterce
  ptor.java:84)
  at
 

org.mortbay.j2ee.session.MarshallingInterceptor.getAttribute(MarshallingInte

RE: [JBoss-user] Http Session Clustering problem

2002-09-12 Thread Kim, Yong

Check my last message.

Mitchell

-Original Message-
From: Greg Turner [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 3:35 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Http Session Clustering problem


Another approach to solving problem is to start with an empty class and see
if
that works

public class MyJavaBean implements Serializable {
}

If that does not work, then I would say thats a pretty good indication that
there is a problem with JBoss.  If it does work, then starting adding the
member
fields in one at a time and test to see which one breaks it.  Then you
should
have a pretty indication of what the problem is.



Kim, Yong wrote:

 The version in the CVS is same as what you gave me.  I think it has been
 incorporated into latest release (3.0.2).  When you said you were able to
 make the session replication working, what kind of objects have you tried?
 Have you tried with something you created such as your own javabean or
 something like that?  If you did, do you have the code that I can look at!
 I don't think that will solve this problem but I am just so desparate that
I
 just want to compare bit by bit.

 Mitchell,
 Thanks.

 -Original Message-
 From: Greg Turner [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, September 12, 2002 12:42 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [JBoss-user] Http Session Clustering problem

 Possible. Here is text of email I sent Jules Gosnell.  He replied back
that
 my
 analysis was correct and that he would make changes in sourceforge.  I
don't
 know if he did, nor if this problem is the one you are having, nor what
 version
 you are using  - I've not been following this thread that closely.  I've
 attached the complete file as I have it onw my own machine.  It might be
 beneficial if you compare it with what you have on your machine.

 snip
 I have been trying to get clustered http sessions to work with EXTENDED
 Clustering turned on.

 I was getting a ClassNotFoundException from the ois.readObject call in
 MarshallingInterceptor.demarshal() whenever I tried to get an object
 from the session.

 It seemed strange to me that the marshal method was returning
 baos.toString() instead of baos.toByteArray() because without an
 encoding scheme, toString always puts 0 for the hi order byte of every
 character.  I'm not an expert in this, but my impression is that
 toString changes some of the bytes in the array inorder to make it a
 proper string.

 So I tried an experient that seems to work.  I changed marshal to return
 byte[] and changed it to call baos.toByteArray and I changed demarshal
 signature to byte[]  and any other changes required to make it compile
 and it seems to work.  Also, with the change, the session info seems to
 be replicated to the other instance of JBoss.

 Would you give this some thought, and if I am right, make the official
 change to the source forge.  marshal and demarshal are below.

   protected byte[]
 marshal(Object value)
 throws IOException
   {
 if (value==null)
   return null;

 ByteArrayOutputStream baos=new ByteArrayOutputStream();
 ObjectOutputStreamoos =new ObjectOutputStream(baos);
 oos.writeObject(value);
 oos.flush();
 return baos.toByteArray();
   }

   protected Object
 demarshal (byte[] bytes)
 throws IOException,ClassNotFoundException
   {
 if (bytes==null)
   return bytes;

 ByteArrayInputStream bais=new ByteArrayInputStream(bytes);
 ObjectInputStreamois =new ObjectInputStream(bais);
 return ois.readObject();
   }
 /snip

 Kim, Yong wrote:

  Yes, it's serializable.
 
  Possible bug in org.mortbay.j2ee.session.MarshallingInterceptor?
 
  Mitchell Kim
 
  -Original Message-
  From: Greg Turner [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, September 12, 2002 11:29 AM
  To: [EMAIL PROTECTED]
  Subject: Re: [JBoss-user] Http Session Clustering problem
 
  Have you verified that your object is truely serializable.  Implementing
  Serializable is not a sufficient condition !   Verify by writing a
simple
  program with main that instantiates your object, serializes it to a
file,
  and
  then read back in from file.
 
  Kim, Yong wrote:
 
   Sacha,
   I have gone through all of my ear, jar, war, and so on to see if I
have
   multiple copies of the same class and they are not.  I was sure about
 this
   but wanted to double check.
  
   Anyway, I am still having the same problem and this is driving me
crzay.
  
   Here is the most recent error messages...  They are same as before...
 but.
  
   Thanks, Mitchell.
  
   10:59:08,595 ERROR [MarshallingInterceptor] could not get Attribute:
   credential
   java.io.InvalidClassException:
   com.staples.business.security.ApplicationSecurityCredential; Local
class
  not
   compatible: stream classdesc serialVersionUID=4701685434102361783
local
   class serialVersionU
   ID=4723640482285792951
   at
  
java.io.ObjectStreamClass.validateLocalClass

RE: [JBoss-user] Which one to upgrade to? 3.0.1 or 3.0.2

2002-09-11 Thread Kim, Yong

I have upgraded from 3.0.0 to 3.0.2 with no problem.  What was the issue
with the configuration?  I might have misseed something.

Mitchell Kim

-Original Message-
From: Eric Kaplan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 10:52 AM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] Which one to upgrade to? 3.0.1 or 3.0.2


On a related note, I'd like to upgrade from 3.0.0 to 3.0.2 as well, but when
I try the app server doesn't even start.  It's as if my configuration that
works
under 3.0.0 is invalid under 3.0.2.  If this is a minor release, why would
the
configuration parameters have changed, and is there a guidebook on what to
do.
This seems to happen anytime we upgrade.

Eric

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Saroj Kumar
Sent: Wednesday, September 11, 2002 10:09 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] Which one to upgrade to? 3.0.1 or 3.0.2


Hi All,

We are faced with a dillema.

We are working on a big project which is having around 200 tables and
125 use cases. We have been using 3.0.0 but We found that 3.0.1 fixes
the Char Problem with ORACLE.

Now, 3.0.2 is also out.

We have to decide which one to use: 3.0.1 or 3.0.2. It is very important
that none of the code written for 3.0.0 breaks.

As we are a big team(20 members) and working on a very tight schedule,
it is very important for us to know which one is more stable.

Please help me take the wise decision.

Thanks,
Saroj



---
In remembrance
www.osdn.com/911/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



---
In remembrance
www.osdn.com/911/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
In remembrance
www.osdn.com/911/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Clustered JBoss - HttpSessionCluster

2002-09-11 Thread Kim, Yong

Have anyone successfully made clustered HttpSession working?  I am getting
errors when I try to retrieved the value from the session object.  Adding
one is okay.  I remember someone else had this problem recently but I can't
find that message... (I tried the mail-archive.com)  It was something about
a type of object that I am storing in the session...  What are the
requirements for objects that can be stored into a session?

Thanks.

11:08:11,284 ERROR [MarshallingInterceptor] could not get Attribute:
credential
java.io.InvalidClassException:
com.staples.business.security.ApplicationSecurityCredential; Local class not
compatible: stream classdesc serialVersionUID=-874776903138197513 local
class serialVersionU
ID=-874776903138177545
at
java.io.ObjectStreamClass.validateLocalClass(ObjectStreamClass.java:523)
at java.io.ObjectStreamClass.setClass(ObjectStreamClass.java:567)
at
java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:936)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at
java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at
org.mortbay.j2ee.session.MarshallingInterceptor.demarshal(MarshallingInterce
ptor.java:84)
at
org.mortbay.j2ee.session.MarshallingInterceptor.getAttribute(MarshallingInte
rceptor.java:93)
at
org.mortbay.j2ee.session.StateInterceptor.getAttribute(StateInterceptor.java
:43)
at
org.mortbay.j2ee.session.StateInterceptor.getAttribute(StateInterceptor.java
:43)
at
org.mortbay.j2ee.session.TypeCheckingInterceptor.getAttribute(TypeCheckingIn
terceptor.java:90)
at
org.mortbay.j2ee.session.StateAdaptor.getAttribute(StateAdaptor.java:204)
at
org.apache.jsp.securitychecker$jsp._jspService(securitychecker$jsp.java:447)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:201)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:344)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandl
er.java:313)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:554)
at
org.mortbay.jetty.servlet.WebApplicationHandler.handle(WebApplicationHandler
.java:199)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1572)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1522)
at org.mortbay.http.HttpServer.service(HttpServer.java:795)
at org.jboss.jetty.Jetty.service(Jetty.java:531)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:784)
at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:941)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:799)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:186)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:322)
at org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:716)
at java.lang.Thread.run(Thread.java:484)


---
In remembrance
www.osdn.com/911/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] HTTP session clustering on 3.0.2

2002-09-11 Thread Kim, Yong

I am using jboss 3.0.2.

All the documentation (including subscription) refers to jetty-plugin.sar
directory but I can't find it from anywhere in the jboss 3.0.2
distribution...  I guess it has changed and doc haven't updated yet.  

Does anyone have information regarding Http Session Clustering?

Mitchell 

-Original Message-
From: Kim, Yong [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 12:09 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [JBoss-user] HTTP session clustering on 3.0.2


Before the document gets updated, is there anywhere else I can look at to
figure how to make HTTP session clustering work?  

I don't want to wait until the documentation gets updated.

Thanks,
Mitchell

-Original Message-
From: Sacha Labourey [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 09, 2002 12:31 PM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] HTTP session clustering on 3.0.2


Hello Kim,

Sorry for this. HTTP session replication is officially present (and
working!) in 3.0.2 for Jetty and Tomcat. Only the documentation on these
parts is not yet up-to-date.

Jules Gosnell has done the Jetty port and Thomas Peuss the Tomcat port.

The documentation will be udpated this month.

Cheers,


Sacha



 -Message d'origine-
 De : [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]De la part de Kim, Yong
 Envoyé : lundi, 9 septembre 2002 18:22
 À : '[EMAIL PROTECTED]'
 Objet : [JBoss-user] HTTP session clustering on 3.0.2


 I have just subscribed to yearly JBoss documentation and downloaded the
 documents.  And, I was reading through the JBossClustering.pdf file and in
 chapter 6 (HTTP Session clustering), it says Implemented, but not
 officially released..  Has it been released with JBoss 3.0.2?

 Another questions is if it has been released with JBoss 3.0.2,
 when would I
 get the updated documentation on this through the subscription?

 Thanks.

 Mitchell


 ---
 This sf.net email is sponsored by: OSDN - Tired of that same old
 cell phone?  Get a new here for FREE!
 https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user




---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
In remembrance
www.osdn.com/911/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
In remembrance
www.osdn.com/911/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Http Session Clustering problem

2002-09-11 Thread Kim, Yong

As I posted before, I am having a very similar problem as following link
describes.
http://www.jboss.org/forums/thread.jsp?forum=64thread=19497message=3734915
q=coould+not+get+Attribute#3734915

However, mine comes not from Integer class but my own Serializable class.
Based on what the above links tells me, it sounded like it is a bug...  Does
anyone has a status on this bug??? if it was opened as a bug... 

Mitchell


---
In remembrance
www.osdn.com/911/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Http Session Clustering problem

2002-09-11 Thread Kim, Yong

Why is everyone so quiet?!  Nobody uses JBoss HTTP session clustering in
their environment?  Am I the only one having this issue?

Mitchell

-Original Message-
From: Kim, Yong [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 1:54 PM
To: '[EMAIL PROTECTED]'
Subject: [JBoss-user] Http Session Clustering problem


As I posted before, I am having a very similar problem as following link
describes.
http://www.jboss.org/forums/thread.jsp?forum=64thread=19497message=3734915
q=coould+not+get+Attribute#3734915

However, mine comes not from Integer class but my own Serializable class.
Based on what the above links tells me, it sounded like it is a bug...  Does
anyone has a status on this bug??? if it was opened as a bug... 

Mitchell


---
In remembrance
www.osdn.com/911/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
In remembrance
www.osdn.com/911/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Question on clustering

2002-09-10 Thread Kim, Yong

I am trying to set up 3 different environments, development, qa, and
production right now w/ clustering enabled and I decided to use different
PARTITIONs for each environment so that they interfere with each other.  For
example, development environment belongs to DevelopmentPartition instead of
DefaultPartition as defined in the cluster-service.xml.  Here comes my
question.  How do I do that?  Logically, (I may have misundertood everything
but...)  I thought that I can modify the cluster-service.xml file by
globally replacing DefaultPartition with DevelopmentPartition would make
the JBoss instance join the DevelopmentPartition...  but when I did that,
I got an error message below, 

2002-09-10 12:01:35,223 ERROR
[org.jboss.deployment.scanner.URLDeploymentScanner] MBeanException:
Exception in MBean operation 'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
  none
Incompletely deployed packages:
  none
MBeans waiting for classes:
  none
MBeans waiting for other MBeans:
[ObjectName: jboss:service=ClusteredHttpSession
 state: CONFIGURED
 I Depend On:   jboss.j2ee:service=EJB,jndiName=clustering/HTTPSession

 Depends On Me: , ObjectName:
jboss.j2ee:service=EJB,jndiName=clustering/HTTPSession
 state: NOTYETINSTALLED
 I Depend On:   jboss:service=DefaultPartition
  jboss:service=invoker,type=jrmp

 Depends On Me:   jboss:service=ClusteredHttpSession
]

Can anyone tell me what's going on?

Thanks,
Mitchell


---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Hardware spec.

2002-09-09 Thread Kim, Yong

Thanks alot Stephen.

Are you using any type of clustering? or maybe even load balancing?

Mitchell

-Original Message-
From: Stephen Davidson [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 07, 2002 9:36 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Hardware spec.



Kim, Yong wrote:

 Hi,
 Does anyone has hardware benchmarking on JBoss?  I need to know that asap
so
 that I can give some estimates to my boss.
 I need information on how many users (possibly concurrent users) on what
 hardware spec... you know know what I mean...
 
 Does anyone has this information?
 
 Mitchell Kim
 
 


Greetings.

For an application I am developing, these are only rough stats, but I think
thats what you are asking for;
Applicaton EAR: 9Megs (the application I am deploying)
JBoss with EAR deployed
   - No activity: 96MB Ram
   - 500 Concurrent Users (via Grinder Load generator): 120-140MB Ram
Average Page Response time*:
   1 user average 4.5sec
   500 Users average 3.0sec
*Note: The application has a known design flaw in its JSPs causing a severe
lag and serious performance overhead.  This flaw was put in by another
developer, and I have not had time to go back and 
clean it up.  The jsps w/o this flaw have a sub-second to 1 sec response
time under 500Users.
Machine: 1.2 Ghz AMD Athlon
Ram: 1.5GB SDRam (133MHz).

Appliciation has 96Stateless Session EJBs, 3 Entity EJBs, and 3 MDBs, 84
Servlets, 130+ JSPs.
Oracle is the DB.

-Steve



-- 
Java/J2EE Developer/Systems Integrator
214-724-7741



---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Hardware spec.

2002-09-09 Thread Kim, Yong

You mentioned Grinder Load Generator...  Is that a load testing tool?  Who
makes it?  I couldn't find it from yahoo.  Also, is there any good load
testing tool available out there?  Open source free tool is desirable.
Thanks.

Mitchell

-Original Message-
From: Stephen Davidson [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 07, 2002 9:36 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Hardware spec.



Kim, Yong wrote:

 Hi,
 Does anyone has hardware benchmarking on JBoss?  I need to know that asap
so
 that I can give some estimates to my boss.
 I need information on how many users (possibly concurrent users) on what
 hardware spec... you know know what I mean...
 
 Does anyone has this information?
 
 Mitchell Kim
 
 


Greetings.

For an application I am developing, these are only rough stats, but I think
thats what you are asking for;
Applicaton EAR: 9Megs (the application I am deploying)
JBoss with EAR deployed
   - No activity: 96MB Ram
   - 500 Concurrent Users (via Grinder Load generator): 120-140MB Ram
Average Page Response time*:
   1 user average 4.5sec
   500 Users average 3.0sec
*Note: The application has a known design flaw in its JSPs causing a severe
lag and serious performance overhead.  This flaw was put in by another
developer, and I have not had time to go back and 
clean it up.  The jsps w/o this flaw have a sub-second to 1 sec response
time under 500Users.
Machine: 1.2 Ghz AMD Athlon
Ram: 1.5GB SDRam (133MHz).

Appliciation has 96Stateless Session EJBs, 3 Entity EJBs, and 3 MDBs, 84
Servlets, 130+ JSPs.
Oracle is the DB.

-Steve



-- 
Java/J2EE Developer/Systems Integrator
214-724-7741



---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] HTTP session clustering on 3.0.2

2002-09-09 Thread Kim, Yong

I have just subscribed to yearly JBoss documentation and downloaded the
documents.  And, I was reading through the JBossClustering.pdf file and in
chapter 6 (HTTP Session clustering), it says Implemented, but not
officially released..  Has it been released with JBoss 3.0.2?

Another questions is if it has been released with JBoss 3.0.2, when would I
get the updated documentation on this through the subscription?

Thanks.

Mitchell


---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] xDoclet and JBoss clustering

2002-09-09 Thread Kim, Yong

Does xDoclet supports clustered tag?  If it does, what is the source
code tag that I can use?  I could find one from xdoclet home page...

Thanks.

Mitchell


---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Hardware spec.

2002-09-09 Thread Kim, Yong

Which one would you recommend?
 
Mitchell

-Original Message-
From: Greg Turner [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 09, 2002 12:34 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Hardware spec.


http://grinder.sourceforge.net/ http://grinder.sourceforge.net/  
The book, J2EE Performance Testing covers complete usage of grinder. 

http://jakarta.apache.org/cactus/index.html
http://jakarta.apache.org/cactus/index.html  
http://sourceforge.net/projects/httpunit
http://sourceforge.net/projects/httpunit  
http://sourceforge.net/projects/httpunit
http://sourceforge.net/projects/httpunit  
These 3 are discussed in Java Tools for Extreme Programming 
  


Kim, Yong wrote: 


You mentioned Grinder Load Generator...  Is that a load testing tool?  Who

makes it?  I couldn't find it from yahoo.  Also, is there any good load 
testing tool available out there?  Open source free tool is desirable. 
Thanks. 

Mitchell 


-Original Message- 
From: Stephen Davidson [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
] 
Sent: Saturday, September 07, 2002 9:36 AM 
To: [EMAIL PROTECTED] 
Subject: Re: [JBoss-user] Hardware spec. 


Kim, Yong wrote: 


 Hi, 
 Does anyone has hardware benchmarking on JBoss?  I need to know that asap 
so 
 that I can give some estimates to my boss. 
 I need information on how many users (possibly concurrent users) on what 
 hardware spec... you know know what I mean... 
 
 Does anyone has this information? 
 
 Mitchell Kim 
 
 


Greetings. 


For an application I am developing, these are only rough stats, but I think 
thats what you are asking for; 
Applicaton EAR: 9Megs (the application I am deploying) 
JBoss with EAR deployed 
   - No activity: 96MB Ram 
   - 500 Concurrent Users (via Grinder Load generator): 120-140MB Ram 
Average Page Response time*: 
   1 user average 4.5sec 
   500 Users average 3.0sec 
*Note: The application has a known design flaw in its JSPs causing a severe 
lag and serious performance overhead.  This flaw was put in by another 
developer, and I have not had time to go back and 
clean it up.  The jsps w/o this flaw have a sub-second to 1 sec response 
time under 500Users. 
Machine: 1.2 Ghz AMD Athlon 
Ram: 1.5GB SDRam (133MHz). 


Appliciation has 96Stateless Session EJBs, 3 Entity EJBs, and 3 MDBs, 84 
Servlets, 130+ JSPs. 
Oracle is the DB. 


-Steve 


-- 
Java/J2EE Developer/Systems Integrator 
214-724-7741 


--- 
This sf.net email is sponsored by: OSDN - Tired of that same old 
cell phone?  Get a new here for FREE! 
https://www.inphonic.com/r.asp?r=sourceforge1
https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390
refcode1=vs3390 
___ 
JBoss-user mailing list 
[EMAIL PROTECTED] 
https://lists.sourceforge.net/lists/listinfo/jboss-user
https://lists.sourceforge.net/lists/listinfo/jboss-user  


--- 
This sf.net email is sponsored by: OSDN - Tired of that same old 
cell phone?  Get a new here for FREE! 
https://www.inphonic.com/r.asp?r=sourceforge1
https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390
refcode1=vs3390 
___ 
JBoss-user mailing list 
[EMAIL PROTECTED] 
https://lists.sourceforge.net/lists/listinfo/jboss-user
https://lists.sourceforge.net/lists/listinfo/jboss-user 

-- 
Greg Turner, JBoss Authorized Consultant 


Tiburon Enterprise Systems 
http://www.tiburon-e-systems.com http://www.tiburon-e-systems.com  
Box 1171 
Tiburon, CA 94920 
415-332-3363 
  



---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Hardware spec.

2002-09-09 Thread Kim, Yong

Thanks alot.
 
When I get my numbers from load testing, I will definately share that with
everyone...
 
Mitchell Kim

-Original Message-
From: Greg Turner [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 09, 2002 12:34 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Hardware spec.


http://grinder.sourceforge.net/ http://grinder.sourceforge.net/  
The book, J2EE Performance Testing covers complete usage of grinder. 

http://jakarta.apache.org/cactus/index.html
http://jakarta.apache.org/cactus/index.html  
http://sourceforge.net/projects/httpunit
http://sourceforge.net/projects/httpunit  
http://sourceforge.net/projects/httpunit
http://sourceforge.net/projects/httpunit  
These 3 are discussed in Java Tools for Extreme Programming 
  


Kim, Yong wrote: 


You mentioned Grinder Load Generator...  Is that a load testing tool?  Who

makes it?  I couldn't find it from yahoo.  Also, is there any good load 
testing tool available out there?  Open source free tool is desirable. 
Thanks. 

Mitchell 


-Original Message- 
From: Stephen Davidson [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
] 
Sent: Saturday, September 07, 2002 9:36 AM 
To: [EMAIL PROTECTED] 
Subject: Re: [JBoss-user] Hardware spec. 


Kim, Yong wrote: 


 Hi, 
 Does anyone has hardware benchmarking on JBoss?  I need to know that asap 
so 
 that I can give some estimates to my boss. 
 I need information on how many users (possibly concurrent users) on what 
 hardware spec... you know know what I mean... 
 
 Does anyone has this information? 
 
 Mitchell Kim 
 
 


Greetings. 


For an application I am developing, these are only rough stats, but I think 
thats what you are asking for; 
Applicaton EAR: 9Megs (the application I am deploying) 
JBoss with EAR deployed 
   - No activity: 96MB Ram 
   - 500 Concurrent Users (via Grinder Load generator): 120-140MB Ram 
Average Page Response time*: 
   1 user average 4.5sec 
   500 Users average 3.0sec 
*Note: The application has a known design flaw in its JSPs causing a severe 
lag and serious performance overhead.  This flaw was put in by another 
developer, and I have not had time to go back and 
clean it up.  The jsps w/o this flaw have a sub-second to 1 sec response 
time under 500Users. 
Machine: 1.2 Ghz AMD Athlon 
Ram: 1.5GB SDRam (133MHz). 


Appliciation has 96Stateless Session EJBs, 3 Entity EJBs, and 3 MDBs, 84 
Servlets, 130+ JSPs. 
Oracle is the DB. 


-Steve 


-- 
Java/J2EE Developer/Systems Integrator 
214-724-7741 


--- 
This sf.net email is sponsored by: OSDN - Tired of that same old 
cell phone?  Get a new here for FREE! 
https://www.inphonic.com/r.asp?r=sourceforge1
https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390
refcode1=vs3390 
___ 
JBoss-user mailing list 
[EMAIL PROTECTED] 
https://lists.sourceforge.net/lists/listinfo/jboss-user
https://lists.sourceforge.net/lists/listinfo/jboss-user  


--- 
This sf.net email is sponsored by: OSDN - Tired of that same old 
cell phone?  Get a new here for FREE! 
https://www.inphonic.com/r.asp?r=sourceforge1
https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390
refcode1=vs3390 
___ 
JBoss-user mailing list 
[EMAIL PROTECTED] 
https://lists.sourceforge.net/lists/listinfo/jboss-user
https://lists.sourceforge.net/lists/listinfo/jboss-user 

-- 
Greg Turner, JBoss Authorized Consultant 


Tiburon Enterprise Systems 
http://www.tiburon-e-systems.com http://www.tiburon-e-systems.com  
Box 1171 
Tiburon, CA 94920 
415-332-3363 
  



---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] HTTP session clustering on 3.0.2

2002-09-09 Thread Kim, Yong

I thought that when you buy the subscription, you get an email notification
saying there is a new documentation available...

Maybe, I am wrong... but that was my impression...

Mitchell Kim

-Original Message-
From: Sacha Labourey [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 09, 2002 1:04 PM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] HTTP session clustering on 3.0.2


Hello Kim,

No, there is no such notification. We will most probably post a NEWS message
on the Clustering forum though.

Cheers,



Sacha



 -Message d'origine-
 De : [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]De la part de Kim, Yong
 Envoyé : lundi, 9 septembre 2002 18:51
 À : '[EMAIL PROTECTED]'
 Objet : RE: [JBoss-user] HTTP session clustering on 3.0.2


 That sounds good.

 I have more generic question...  When the document is updated, do I get an
 email saying, I can download the updated document? or how am I supposed to
 know if there is new documentation released?

 Thanks.


 -Original Message-
 From: Sacha Labourey [mailto:[EMAIL PROTECTED]]
 Sent: Monday, September 09, 2002 12:31 PM
 To: [EMAIL PROTECTED]
 Subject: RE: [JBoss-user] HTTP session clustering on 3.0.2


 Hello Kim,

 Sorry for this. HTTP session replication is officially present (and
 working!) in 3.0.2 for Jetty and Tomcat. Only the documentation on these
 parts is not yet up-to-date.

 Jules Gosnell has done the Jetty port and Thomas Peuss the Tomcat port.

 The documentation will be udpated this month.

 Cheers,


   Sacha



  -Message d'origine-
  De : [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]De la part de Kim, Yong
  Envoyé : lundi, 9 septembre 2002 18:22
  À : '[EMAIL PROTECTED]'
  Objet : [JBoss-user] HTTP session clustering on 3.0.2
 
 
  I have just subscribed to yearly JBoss documentation and downloaded the
  documents.  And, I was reading through the JBossClustering.pdf
 file and in
  chapter 6 (HTTP Session clustering), it says Implemented, but not
  officially released..  Has it been released with JBoss 3.0.2?
 
  Another questions is if it has been released with JBoss 3.0.2,
  when would I
  get the updated documentation on this through the subscription?
 
  Thanks.
 
  Mitchell
 
 
  ---
  This sf.net email is sponsored by: OSDN - Tired of that same old
  cell phone?  Get a new here for FREE!
  https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-user
 



 ---
 This sf.net email is sponsored by: OSDN - Tired of that same old
 cell phone?  Get a new here for FREE!
 https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user


 ---
 This sf.net email is sponsored by: OSDN - Tired of that same old
 cell phone?  Get a new here for FREE!
 https://www.inphonic.com/r.asp?r=urceforge1refcode1=3390
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user




---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Hardware spec.

2002-09-06 Thread Kim, Yong

Hi,
Does anyone has hardware benchmarking on JBoss?  I need to know that asap so
that I can give some estimates to my boss.
I need information on how many users (possibly concurrent users) on what
hardware spec... you know know what I mean...

Does anyone has this information?

Mitchell Kim


---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Hardware spec.

2002-09-06 Thread Kim, Yong

Currently, I am only using SLSB, however, will be deploying entity beans as
well in the near future.
It connects to 3 different databases at the same time, including AS/400, MS
SQL server, and possible Oracle in the near future.
I just wanted to have some stats on how other people is using JBoss... and
from that I assumed that I can predict how much I might need... etc.
I consider my application is pretty small scale app however, it needs to
deal with relatively heavy current access from users... possibly 2000+
simultaneous access...

All I want is the STARTING POINT!  Does anyone has some stat that I can
share?

Mitchell Kim

-Original Message-
From: Geer, Benjamin [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 06, 2002 12:26 PM
To: '[EMAIL PROTECTED]'
Cc: 'Kim, Yong'
Subject: RE: [JBoss-user] Hardware spec.


 I need information on how many users (possibly concurrent 
 users) on what
 hardware spec... you know know what I mean...

It depends on what your application does.  If it only does stateless
calculations in memory, you'll need a less powerful machine than if it
connects to 6 databases at the same time, querying tables containing
billions of rows, using 1000 stateful session beans and 1000 entity
beans...

Keep in mind that JBoss is an application server toolkit.  You can add
or remove components as needed.  For example, we run it without the EJB
container, because our application doesn't need it; clearly this results
in lower CPU and memory usage.

Without taking into account your application, any performance numbers
would be meaningless.

Benjamin


---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Hardware spec.

2002-09-06 Thread Kim, Yong

I am puzzled...  What are you trying to say?
 
Mitch

-Original Message-
From: Greg Turner [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 06, 2002 1:11 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Hardware spec.


And you want all this information for free ? 

Kim, Yong wrote: 


Hi, 
Does anyone has hardware benchmarking on JBoss?  I need to know that asap so

that I can give some estimates to my boss. 
I need information on how many users (possibly concurrent users) on what 
hardware spec... you know know what I mean... 

Does anyone has this information? 


Mitchell Kim 


--- 
This sf.net email is sponsored by: OSDN - Tired of that same old 
cell phone?  Get a new here for FREE! 
https://www.inphonic.com/r.asp?r=sourceforge1
https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390
refcode1=vs3390 
___ 
JBoss-user mailing list 
[EMAIL PROTECTED] 
https://lists.sourceforge.net/lists/listinfo/jboss-user
https://lists.sourceforge.net/lists/listinfo/jboss-user 

-- 
Greg Turner, JBoss Authorized Consultant 


Tiburon Enterprise Systems 
http://www.tiburon-e-systems.com http://www.tiburon-e-systems.com  
Box 1171 
Tiburon, CA 94920 
415-332-3363 
  



---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Hardware spec.

2002-09-06 Thread Kim, Yong

So, when YOU ask questions to other people, do they ask for money?
 
Mitch

-Original Message-
From: Greg Turner [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 06, 2002 1:11 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Hardware spec.


And you want all this information for free ? 

Kim, Yong wrote: 


Hi, 
Does anyone has hardware benchmarking on JBoss?  I need to know that asap so

that I can give some estimates to my boss. 
I need information on how many users (possibly concurrent users) on what 
hardware spec... you know know what I mean... 

Does anyone has this information? 


Mitchell Kim 


--- 
This sf.net email is sponsored by: OSDN - Tired of that same old 
cell phone?  Get a new here for FREE! 
https://www.inphonic.com/r.asp?r=sourceforge1
https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390
refcode1=vs3390 
___ 
JBoss-user mailing list 
[EMAIL PROTECTED] 
https://lists.sourceforge.net/lists/listinfo/jboss-user
https://lists.sourceforge.net/lists/listinfo/jboss-user 

-- 
Greg Turner, JBoss Authorized Consultant 


Tiburon Enterprise Systems 
http://www.tiburon-e-systems.com http://www.tiburon-e-systems.com  
Box 1171 
Tiburon, CA 94920 
415-332-3363 
  



---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] What is the default Transaction Attribute??

2002-09-05 Thread Kim, Yong

I think it's Required.

Mitchell

-Original Message-
From: Saroj Kumar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 05, 2002 11:45 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] What is the default Transaction Attribute??


Hi All,

We are reqrd. To declare TRANS-ATTRIBUTE for Beans in ejb-jar.xml like
following.

container-transaction
  method
ejb-nameJournal/ejb-name
method-name*/method-name
  /method
  trans-attributeRequired/trans-attribute
/container-transaction

What if I don't declare the container-transaction  block for my
JOURNAL bean. What kind of 
TRANSACTION will be supported by the container? 

Is Default Value?? -

trans-attributeSupported/trans-attribute

Because, I have seen that if bean is invoked under a Transaction even
then there is no problem.

Please help me understand this.

TIA,
Saroj



---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Ant JBoss NT service

2002-08-19 Thread Kim, Yong

JNT

-Original Message-
From: Guy Rouillier [mailto:[EMAIL PROTECTED]]
Sent: Sunday, August 18, 2002 1:51 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Ant  JBoss NT service


What are you using to run JBoss as a service?  javants from the contrib
directory?

- Original Message -
From: Kim, Yong [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, August 16, 2002 2:52 PM
Subject: [JBoss-user] Ant  JBoss NT service


 It's sort of more generic question on Ant... Does anyone know (or even
it's
 possible to do) how to stop and start the NT service using ANT?  I am
 running JBoss as a NT service and I'd like to stop and start the JBoss
using
 ANT...

 Thanks in advance,
 Mitch


 ---
 This sf.net email is sponsored by: OSDN - Tired of that same old
 cell phone?  Get a new here for FREE!
 https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user






---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Startup class

2002-08-15 Thread Kim, Yong

Is there any way I can do something like startup classes?  I want
something nice and simple ;-)
There are some classes that I want them to be loaded into memory when JBoss
restarts.

Thanks.

Mitchell


---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Startup class

2002-08-15 Thread Kim, Yong

Then, how did you make that servlet executed when startup?  Did you use
load-on-start attribute from xdoclet?  I don't even know if that
attribute still works becuase when I went to xdoclet home page, that
attribute doesn't exist any more...

Mitchell

-Original Message-
From: Michael Klem [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 1:37 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Startup class


What I did was to create a servlet class and in its init method I 
added code that runs upon startup.


Is there any way I can do something like startup classes?  I want
something nice and simple ;-)
There are some classes that I want them to be loaded into memory when JBoss
restarts.

Thanks.

Mitchell


---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


-- 
It's not easy to juggle a pregnant wife and a troubled child, but 
somehow I managed to fit in eight hours of TV a day. - Homer


---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Help on how to setup JBoss.NET with JBossAuthenticationHandler

2002-07-18 Thread Kim, Yong

Can anyone direct me where to start?

Mitch


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Help on how to setup JBoss.NET with JBossAuthenticationHandler

2002-07-18 Thread Kim, Yong

I got something from JBoss forum... but still don't know how to go about
doing this...

http://www.jboss.org/forums/thread.jsp?forum=137thread=17493

Let me start with this question first.
In that forum thread, it starts as 
Hi,

I'm using JBoss 3 + JBoss.NET server, and .NET client

I set up login-config.xml, and put

handler type=java:org.jboss.net.axis.server.JBossAuthenticationHandler
parameter name=securityDomain value=java:/jaas/esb/
/handler


Is it correct?  When I looked at the DTD for the login-config.xml files, it
didn't have anything about handler tag.  I got so many questions, but I
need to start from somewhere...

I also feel like I need to create my custom security domain... how do I do
that?

Please help.

Mitchell


-Original Message-
From: Kim, Yong [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 18, 2002 2:55 PM
To: '[EMAIL PROTECTED]'
Subject: [JBoss-user] Help on how to setup JBoss.NET with
JBossAuthenticationHandler


Can anyone direct me where to start?

Mitch


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user