[JBoss-user] Re:6380

2003-06-30 Thread 14:14:14




 
  remove [EMAIL PROTECTED]
  


  

  
  

  
14:14:14


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Services and Folders in Real Time environment.

2003-06-30 Thread Scott M Stark
No, just do it.

--

Scott Stark
Chief Technology Officer
JBoss Group, LLC

Muraly R wrote:
Hi Gurus,
I have some doubts regarding the removal of some service and 
folders of JBoss-3.0.7 from the real time environment.
i) How can I remove the UILServerILServer service from the real time 
environment?(Hope it doesn't affect the normal server behaviour. Also my 
applications are not using JMS, its plain Stateless and BMP EJB's). The 
rason being this service is occupying three ports and real time on 
client environment we forsee this as an additional issue.

ii) I would like to remove the 'docs', 'all' and 'minimal' folder. Will 
this affect the server in real time environment?

Please share your thoughts on the above.

Thanks




---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


AW: [JBoss-user] Re: Re: JBoss.NET issues

2003-06-30 Thread Jung , Dr. Christoph
I guess you use
exploded deployments, right?

Then the problem could be that in your earlier constellation, 
the ear and the wsr are both not touched, while just the jar is redeployed? 

In this case, the axis engine would still hold class references to the old
jar from resolving
the web service meta-data.  

Hmm, difficult to fix. Maybe easier to care about touching the
web-service.xml, too.

These things will go away anyway with WS4EE as you would then put your
web service descriptor right into the ejb-jars and wars.

CGJ


 -Ursprüngliche Nachricht-
 Von: Eric Jain [mailto:[EMAIL PROTECTED] 
 Gesendet: Freitag, 27. Juni 2003 16:12
 An: jboss-user
 Betreff: [JBoss-user] Re: Re: JBoss.NET issues
 
 
  I checked the behaviour in head and could successfully 
 redeploy (inter 
  alia) a javabean that is exposed as a complex xml type through 
  BeanSerializer.
 
  So it should be a packaging issue.
 
 Yes, that must have been the problem. Originally, I had the 
 .wsr nested in a .ear that was itself nested in .sar. Now the 
 .ear is at the top level, with both the .sar and the .wsr 
 nested inside, and everything works as expected. At the same 
 time I also upgraded from 3.2.0 to 3.2.1, but I don't assume 
 this had any effect.
 
 --
 Eric Jain
 
 
 
 ---
 This SF.Net email is sponsored by: INetU
 Attention Web Developers  Consultants: Become An INetU 
 Hosting Partner. Refer Dedicated Servers. We Manage Them. You 
 Get 10% Monthly Commission! INetU Dedicated Managed Hosting 
 http://www.inetu.net/partner/index.php
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED] 
 https://lists.sourceforge.net/lists/listinfo/j boss-user
 
###

This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.F-Secure.com/


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Service dependency!

2003-06-30 Thread Snell Nguyen
Hi everybody!
I am using JBoss-3.2.1. I have a a Web Application using Jetty-4.2.1. The
Web Application is package in web.war.JettyService is called
jboss.web:service=WebServer. I also have a service which is call
jboss:service=IMServer. The IMServer service is deployed from imserver.sar.
I want to start IMServer service after Web Application. If use the service
dependency , I only force IMServer to start after JettyService , I cannot
force it to start after Web Application. Please help me.
Thanks in advance!
Snell Nguyen





---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Hans @ Astrid Stremming sent you a Yahoo! Greeting

2003-06-30 Thread greetings
Surprise! You've just received a Yahoo! Greeting
from Hans @ Astrid Stremming ([EMAIL PROTECTED])!

To view this greeting card, click on the following
Web address at anytime within the next 30 days.

http://view.greetings.yahoo.com/greet/view?XU6CQUZ66PHX2

If that doesn't work, go to http://view.greetings.yahoo.com/pickup and
copy and paste this code:

XU6CQUZ66PHX2

Enjoy!

The Yahoo! Greetings Team


-
Yahoo! Greetings is a free service. If you'd like to send someone a
Yahoo! Greeting, you can do so at http://greetings.yahoo.com/

New! SBC Yahoo! Dial... 1st Month Free  unlimited access.
http://us.rd.yahoo.com/sbcyahoo/consumer/greettag/evt=639/*http://sbc.yahoo.com


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] ,16:49:18

2003-06-30 Thread very16:49:18
[EMAIL PROTECTED]












(http://www.huge.cn)780





8000


400




580




180

100


http://www.huge.cn
http://www.huge.cn
http://www.huge.cn

020-38900811
[EMAIL PROTECTED]


---
[]

COOLhttp://www.coolcn.com





---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] EJBQL = for dates

2003-06-30 Thread Danny . Yates
Or... you didn't notice that I flipped x and y around in the
righthand side...

-- 
Danny Yates
 


-Original Message-
From: Marcin Gryszkalis [mailto:[EMAIL PROTECTED] 
Sent: 29 June 2003 16:28
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] EJBQL = for dates


On 2003-06-25 15:03, [EMAIL PROTECTED] wrote:
 Another option would be to reverse the sense of your comparison:
(x = y)  ==  (y  x)
 Then you can use the standard  operator.

You're wrong (or just made mistake), it should be:

(x = y)  =  (NOT x  y)

regards
Marcin



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


_ 
Notice to recipient: 
The information in this internet e-mail and any attachments is confidential
and may be privileged. It is intended solely for the addressee. If you are
not the intended addressee please notify the sender immediately by
telephone. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on it,
is prohibited and may be unlawful. 

When addressed to external clients any opinions or advice contained in this
internet e-mail are subject to the terms and conditions expressed in any
applicable governing terms of business or client engagement letter issued by
the pertinent Bank of America group entity. 

If this email originates from the U.K. please note that Bank of America,
N.A., London Branch, Banc of America Securities Limited and Banc of America
Futures Incorporated are regulated by the Financial Services Authority.
_ 




---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] EJBQL = for dates

2003-06-30 Thread Danny . Yates
Ooops... that's not right is it?! Oh well, you get the general
idea! :-)

-- 
Danny Yates
 


-Original Message-
From: Yates, Danny 
Sent: 30 June 2003 10:01
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] EJBQL = for dates


Or... you didn't notice that I flipped x and y around in the
righthand side...

-- 
Danny Yates
 


-Original Message-
From: Marcin Gryszkalis [mailto:[EMAIL PROTECTED] 
Sent: 29 June 2003 16:28
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] EJBQL = for dates


On 2003-06-25 15:03, [EMAIL PROTECTED] wrote:
 Another option would be to reverse the sense of your comparison:
(x = y)  ==  (y  x)
 Then you can use the standard  operator.

You're wrong (or just made mistake), it should be:

(x = y)  =  (NOT x  y)

regards
Marcin



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


_ 
Notice to recipient: 
The information in this internet e-mail and any attachments is confidential
and may be privileged. It is intended solely for the addressee. If you are
not the intended addressee please notify the sender immediately by
telephone. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on it,
is prohibited and may be unlawful. 

When addressed to external clients any opinions or advice contained in this
internet e-mail are subject to the terms and conditions expressed in any
applicable governing terms of business or client engagement letter issued by
the pertinent Bank of America group entity. 

If this email originates from the U.K. please note that Bank of America,
N.A., London Branch, Banc of America Securities Limited and Banc of America
Futures Incorporated are regulated by the Financial Services Authority.
_ 




---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


_ 
Notice to recipient: 
The information in this internet e-mail and any attachments is confidential
and may be privileged. It is intended solely for the addressee. If you are
not the intended addressee please notify the sender immediately by
telephone. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on it,
is prohibited and may be unlawful. 

When addressed to external clients any opinions or advice contained in this
internet e-mail are subject to the terms and conditions expressed in any
applicable governing terms of business or client engagement letter issued by
the pertinent Bank of America group entity. 

If this email originates from the U.K. please note that Bank of America,
N.A., London Branch, Banc of America Securities Limited and Banc of America
Futures Incorporated are regulated by the Financial Services Authority.
_ 




---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] log4j jdbc appender and bmp entity bean

2003-06-30 Thread Carsten Hammer
Hi,
is it possible to use log4j on jboss using a jdbc appender and an entity 
bean with bean managed persistency for accessing it? Is there something 
ready to use? Is it possible to configure a jdbc appender for jboss' 
log4j by deploying a ear archive?
Thanks in advance,
Best regards,
Carsten Hammer



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user]

2003-06-30 Thread [EMAIL PROTECTED]
Title: 







  
  

  



  

  

  
  

  

  


  
158

  

  

  

  

  
  

 
 
 
 


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Cocoon and Jbos3.0.6 configuration

2003-06-30 Thread Pete Beck
I did something like this too.

I can't remember how I did it, but you can also put your app in a
separate .war file and use the sitemap rules in the cocoon config file
to forward requests to the correct context path.

The advantage of this is that, you don't have to repackage the
cocoon.war everytime you redeploy, and you can keep your application in
separate war.

The disadvantage is that I think that this creates extra (internal) http
requests.  However in my tests, it didn't slow things down
significantly.

On Wed, 2003-06-25 at 15:54, Ryan Hoegg wrote:
 Hi,
 
 I got Cocoon 2.1 pre-M1 working on JBoss 3.0.7 with nothing like this 
 kind of complication.  You have to get accustomed to the new Cocoon 
 build process (since we don't have a binary distribution anymore) but 
 once its built I simply put my cocoon app into the cocoon WAR and drop 
 it in $JBOSS_HOME/server/$MY_SERVER/deploy .  Works like a charm.
 
 The build process questions are best addressed to 
 [EMAIL PROTECTED]
 
 --
 Ryan Hoegg
 ISIS Networks
 http://www.isisnetworks.net
 
 Mitchell, Lincoln L. wrote:

-- 
Peter Beck BEng (hons) MIEE - Managing Director, Electrostrata Ltd.
http://www.electrostrata.com  --+-+--  Experts in e-business and e-commerce



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Invoking executables from J2EE world

2003-06-30 Thread David Ward
Manoj,

java.lang.Runtime.getRuntime().exec(String);
(There are 6 different overloaded exec methods to choose from.)

Don't do this from an EJB as it is not allowed per ejb spec.
No problem doing it from your web tier, though.

Hope this helps,
David


Mensaje citado por Sasidharan, Manoj [EMAIL PROTECTED]:
 Hello All,
 
 Inside our J2EE application, we have a requirement to invoke executables.
 Can somebody suggest the best ways of implementing this feature.
 
 Thanks in advance for your time and suggestion.
 
 rgds
 MS
 


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] execute some command at end of deployment/startup

2003-06-30 Thread Ittay Dror
it works perfect :-)

thanx!
ittay

On Thu, 2003-06-26 at 16:42, David Ward wrote:
 Ittay,
 
 I know you want to initialize your beans; I am telling you how you can do it
 using a standard j2ee technique.
 
 If you have an ear with an ejb-jar and a war in it (even if the war is just for
 this purpose), once your entire app is started up, the contextInitialized method
 will be called in your ServletContextListener.  It is in that method that you
 can get a handle on some local (or remote if you want) interfaces to your beans
 and do your initialization.  All this should happen as part of (the end of) the
 deploy of your app before traffic starts hitting it.
 
 The above mechanism is 100% appserver-agnostic, and pure j2ee.  Using MBeans and
 depends/ and stuff like that is not guaranteed to work on all appservers.
 
 David
 
 
 Mensaje citado por Ittay Dror [EMAIL PROTECTED]:
 
  why use the web side of things? what i want to initialize is my beans.
  ins't there a j2ee way of doing that?
  
  thanx,
  ittay
  On Wed, 2003-06-25 at 15:51, David Ward wrote:
   Ittay,
   
   Implement a javax.servlet.ServletContextListener, add it to your web.xml of
  your
   war (if you have one, otherwise make one), and then you can put stuff in
  the
   contextInitialized(ServletContextEvent) and
   contextDestroyed(ServletContextEvent) methods.  It's a good appserver
  agnostic
   startup/shutdown hook mechanism.
   
   David
   
   
   Mensaje citado por Ittay Dror [EMAIL PROTECTED]:
   
Hello,

I want to be able to run some code that calls EJBs at the end of my ear
deployment. I've tried to do this by creating an MBean, and putting the
code in its start() method. My problem is that the MBean starts before
the EJBs are deployed. I've tried putting a depends on the object
names JBoss gives to these beans (in domain jboss.j2ee), but then the
code is called before JBoss is able to create the beans. There is
another way, which is to depends the MBean on the EJBModule. However,
JBoss recognizes this by the full path of the jars, which may change in
different computers.

Any help is appreciated,
Thank you,
Ittay
   
   
   ---
   This SF.Net email is sponsored by: INetU
   Attention Web Developers  Consultants: Become An INetU Hosting Partner.
   Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
   INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
   ___
   JBoss-user mailing list
   [EMAIL PROTECTED]
   https://lists.sourceforge.net/lists/listinfo/jboss-user
  -- 
  ===
  Ittay Dror ([EMAIL PROTECTED])
  User Space, RD
  Qlusters Inc.
  Tel: +972-3-6081956 Fax: +972-3-6081841
  
  
  
  ---
  This SF.Net email is sponsored by: INetU
  Attention Web Developers  Consultants: Become An INetU Hosting Partner.
  Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
  INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-user
  
 
 
 -
 David Ward
 [EMAIL PROTECTED]
 http://www.dotech.com
 
 
 ---
 This SF.Net email is sponsored by: INetU
 Attention Web Developers  Consultants: Become An INetU Hosting Partner.
 Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
 INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
-- 
===
Ittay Dror ([EMAIL PROTECTED])
User Space, RD
Qlusters Inc.
Tel: +972-3-6081956 Fax: +972-3-6081841



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Invalid end of SQL statement for finder in jaws.xml

2003-06-30 Thread Janardhan Burugupalli
HI All,

I am having a problem when accessing the finder written for an entitiy 
bean in the jwas.xml
the finder looks like this

 finder
   namefindAllOrdered/name
   query/query
   orderCREATINGTIME DESC/order
 /finder
and the exception when calling this finder looks like this below
i am using Jboss-3.2.4-Tomcat-4.1.24
jdk 1.4.0
and sapdb database


javax.ejb.FinderException: Find failed: 
com.sap.dbtech.jdbc.exceptions.DatabaseException: [-3014] (at 40): 
Invalid end of SQL statement
   at 
org.jboss.ejb.plugins.jaws.jdbc.JDBCFinderCommand.execute(JDBCFinderCommand.java:118)
   at 
org.jboss.ejb.plugins.jaws.jdbc.JDBCFindEntitiesCommand.execute(JDBCFindEntitiesCommand.java:200)
   at 
org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.findEntities(JAWSPersistenceManager.java:292)
   at 
org.jboss.ejb.plugins.CMPPersistenceManager.findEntities(CMPPersistenceManager.java:324)
   at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.findEntities(CachedConnectionInterceptor.java:323)
   at org.jboss.ejb.EntityContainer.find(EntityContainer.java:660)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:324)
   at 
org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:998)
   at 
org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:188)
   at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:215)
   at 
org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:88)
   at 
org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:91)
   at 
org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:61)
   at 
org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:28)
   at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:88)
   at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:273)
   at 
org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:74)
   at 
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:92)
   at 
org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:120)
   at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
   at 
org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:477)
   at org.jboss.ejb.Container.invoke(Container.java:694)
   at sun.reflect.GeneratedMethodAccessor329.invoke(Unknown Source)
   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:324)
   at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
   at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
   at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:101)
   at 
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:83)
   at 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
   at 
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45)
   at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:173)
   at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
   at $Proxy677.findAllOrdered(Unknown Source)
   at

please help me out
i ran out od ideas and trials
regards
jani


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] problem accessing an inner class from an MBean

2003-06-30 Thread Scott M Stark
Thanks for the trace log output. The source of the issue is that there 
are two independent deployments that have the 
org.eupki.ca.ejb.services.CRLFactory class:

deploy/eupki-ca-archive.jar
deploy/eupki-ca.ear/eupki-ca.sar
The eupki-ca-archive.jar has precedence over the 
eupki-ca.ear/eupki-ca.sar in terms of preferred ordering. This means 
that the classes should be coming from the class loader associated with 
the eupki-ca-archive.jar, however, when the CRLFactory class is loaded 
during service creation, there is a recursion into the class loading 
layer to loads its CRLFactoryMBean interface that is interferring with 
the loading precedence and the end result is:

CRLFactoryMBean is loaded by the class loader of: eupki-ca-archive.jar
CRLFactory is loaded by the class loader of: eupki-ca.ear
CRLFactory$CertScanner is loaded by the class loader of: 
eupki-ca-archive.jar

I have to look more into the precedence problem, but the workaround it 
to only have the CRLFactory class in one deployment scope.

--

Scott Stark
Chief Technology Officer
JBoss Group, LLC

George Icriverzi wrote:

I've already sent the result of the ListJar runed over my ear (attached) 
. I will paste it in the message now.
But before, in the previous mail, I pointed that the same problem apears 
when I define the class inline, on the fly, so it has no name, and I 
definetly don't try elsewhere to access it with, let's say, CRLFactory$1 
as the class name.
The error is the same as with the inner class, only that now the class 
has no name, so it is identified in the stackTrace error message as 
'IllegalAcessError form CRLFactory for CRLFactory$1 class' . This makes 
no sense, being defines inline, only CRLFactory accesses and uses it.



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] On the performance trail - again

2003-06-30 Thread Bela Ban
Hi Jon,

I haven't played with Trove yet, so bear with me.

My question is, is it wise to use the Trove collection classes when you 
have them in the JDK already ? Also, in Tiger (JDK 1.5) we will have 
collection classes that are further optimized and suited for 
high-performance reentrant use (java.util.concurrent). Essentially Doug 
Lea's concurrent.util as native JDK.

Bela

Jon Barnett wrote:

While we've got a few spare cycles, we thought to pursue this whole
performance thing some more. We grabbed hold of the GNU Trove collections
implementation and started converting 3.2.0 source to use these
collections. So far we have only done it partially in one strategic area.
Working off the server branch of the source, we have converted the
metadata processing, the base proxy factory, and the session containers to
using the Trove implementations for HashMap, HashSet and so on. At this
stage, only on the container classes (Container,
StatelessSessionContainer, ...) have really been changed to any extent.
Also, we made some basic changes in the source where Lists are being used
but the traversals are being performed using the Iterator. It seemed like
the poorer memory use by the List was combined with the poorer access
method of the base collection - according to theory, anyway. It gives a
solid base level interface but we wondered whether internally, you could
take advantage of the knowledge the collection was an ArrayList [get(i)
over hasNext()/next()]. We tried that on the getChildrenByTagName with an
implemented getChildArrayByTagName for the metadata.
Boot time did not seem to change substantially - probably with small
amounts of metadata to read per deployment unit, the performance
improvement is negligible for the ArrayList versus an Iterator.
We seem to have achieved a 6.5% reduction in the response time compared to
the previous best results, with the limited changes we have implemented.
Compared to the results from
http://www.amitysolutions.com.au/downloads/JBoss-3.2.0_optimizations.pdf
for those who haven't browsed it before, we obtained the following
steady-state values for a 9600 sample on the same optimized JBoss test
rig, running with IBM SDK 1.4.0 using a new jboss.jar and an optimized
trove.jar:
response time: 115 ms (down 6.5%)
max: 3184 ms
min: 50 ms
VSZ: 184196 (down 2.96%)
RSS: 129504 (down 1.61%)
We'll keep playing with this when we have time and see how it goes.

Remember that the improvements will always depend on many factors. With
Trove, you will probably get on par or minimally small improvements with
small collections, but if the numbers generated by the Trove benchmarks
are anything to go by, large collections will get a sizeable performance
boost from Trove.
JonB


--
Bela Ban
http://www.javagroups.com
Cell: (408) 316-4459


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Hello ! The problem of JNDI again !

2003-06-30 Thread Guy Rouillier
See here: 
http://www.jboss.org/index.html?module=htmlop=userdisplayid=docs/index

I'd recommend the annual subscription, since it is not much more than 
the individual documentation.  I'm not sure, however, that any of the 
documentation describes what each jar is for.  You can find out which 
jar contains a particular class by just going to either the client or 
server/servername/lib directory, and issuing a command like this:

unzip -l *.jar org/jboss/logging/Log.class

jonathan wong wrote:
Dear Guy ,
 Hello ! Thank you for your nice help ! I can call JBoss's EJB in my 
standalone Tomcat now ! Many many many 
... Thanks ! Therefore , I know what 
it work now ( hehe .. , just the JNDI service ) .
 Also , where can I obtain the documentation about all JBoss's services 
and *.jar ? As I think that it is helpful for me ( and other JBoss's 
users ) . The free official documentation is seem that not enough . 
Thank you !

*/Guy Rouillier [EMAIL PROTECTED]/* wrote:

jonathan wong wrote:

  Dear all ,
 
  Hello ! I am using JBoss-3.2.1 and a standalone Tomcat . I try to
  connect an EJB in Jboss's through JSP in Tomcat . Thank you for some
  people's nice help . Now , the JSP is as follow :
 
  %@ page
  session=false
  isThreadSafe=true
  isErrorPage=false
  import=javax.naming.*, com.sample.*,
javax.rmi.PortableRemoteObject,
  java.util.*, java.io.*, javax.net.*
  %
 
test

 

test



 

%
  try {
  Hashtable env = new Hashtable();
  env.put(java.naming.factory.initial,
  org.jnp.interfaces.NamingContextFactory);
  env.put(java.naming.factory.url.pkgs, org.jboss.naming;);
  // The bulk of our EJBs run here.
  env.put(java.naming.provider.url, jnp://localhost:1099);
  Object ref = new InitialContext(env).lookup(HelloWorld);
  HelloWorldHome lHome = (HelloWorldHome)
  PortableRemoteObject.narrow(ref, HelloWorldHome.class);
  HelloWorld lSession = lHome.create();
  String fromEJB = lSession.hello();
  out.println(  + fromEJB);
  }
  catch( Exception e ) {
  out.println( Caugth exception:  + e.getMessage() );
  e.printStackTrace();
  }
  %
 
  I can lookup the EJB's name (HelloWorld) in JBoss's Global JNDI
  Namespace . However , when I run the JSP , Tomcat says :
 
  Caugth exception: null
 
  And in the Dos :
 
  javax.naming.CommunicationException. Root exception is
  java.rmi.UnmarshalExcept
  ion: error unmarshalling return; nested exception is:
  java.lang.ClassNotFoundException:
  org.jnp.interfaces.MarshalledValuePair
 
  Therefore , what futher configuration should I have . Thank you !
 
I see MarshalledValuePair.class in the following jars in
jboss-3.2.1/client:
jnp-client.jar
jbossjmx-ant.jar
jbossall-client.jar
Do you have either the first or the third in the classpath you are
using
for Tomcat? Post your Tomcat classpath - it should show up in your
Tomcat console when you startup Tomcat.


-- 
Guy Rouillier



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Jonathan
(Wong Yat Sing)
Jonathan Studio http://www.jonathan-studio.net/
M.P (852) - 91235947
NetMeeting : [EMAIL PROTECTED] 
callto:ils.microsoft.com/[EMAIL PROTECTED]
ICQ# 57646152


Do you Yahoo!?
SBC Yahoo! DSL 
http://pa.yahoo.com/*http://rd.yahoo.com/evt=1207/*http://promo.yahoo.com/sbc/ 
- Now only $29.95 per month!


--
Guy Rouillier


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] JBossDO

2003-06-30 Thread Alexey Loubyansky
Hello Peter,

if everything is fine, we are releasing today. I am writting a docu at
the moment and sample application. It'll be made public soon on our
website.

alex

Monday, June 30, 2003, 7:43:58 PM, Peter Spiess wrote:

PS Has anyone tried out JBossDO yet?  I just checked out the latest sources and
PS compiled JBoss 4, and now I'm wondering if anyone could point me in the
PS right direction for some of the JDO stuff.

PS Thanks,

PS Peter



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] JBossDO

2003-06-30 Thread Peter Spiess
Great news!  I am excited to try it out, I'll look for your document soon.

Peter

 -Original Message-
 From: Alexey Loubyansky [mailto:[EMAIL PROTECTED]
 Sent: Monday, June 30, 2003 1:23 PM
 To: Peter Spiess
 Subject: Re: [JBoss-user] JBossDO
 
 
 Hello Peter,
 
 if everything is fine, we are releasing today. I am writting a docu at
 the moment and sample application. It'll be made public soon on our
 website.
 
 alex
 
 Monday, June 30, 2003, 7:43:58 PM, Peter Spiess wrote:
 
 PS Has anyone tried out JBossDO yet?  I just checked out the 
 latest sources and
 PS compiled JBoss 4, and now I'm wondering if anyone could 
 point me in the
 PS right direction for some of the JDO stuff.
 
 PS Thanks,
 
 PS Peter
 
 
 
 ---
 This SF.Net email sponsored by: Free pre-built ASP.NET sites including
 Data Reports, E-commerce, Portals, and Forums are available now.
 Download today and enter to win an XBOX or Visual Studio .NET.
 http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_06
 1203_01/01
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] On the performance trail - again

2003-06-30 Thread Bill Burke
The Trove collection classes aren't in JDK.  Especially the primitive key
typed ones.  I use them in AOP to avoid memory allocations of
primitively-typed keys.

Jon, I would also like somebody to look into concurrency too.  Push the
limits of JBoss.  Scott, Stephan Reich at Apple, and I have done a bit of
this over the past 8 months.

You guys are doing some cool stuff.  Keep it up.

Bill

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Bela Ban
 Sent: Monday, June 30, 2003 12:48 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [JBoss-user] On the performance trail - again


 Hi Jon,

 I haven't played with Trove yet, so bear with me.

 My question is, is it wise to use the Trove collection classes when you
 have them in the JDK already ? Also, in Tiger (JDK 1.5) we will have
 collection classes that are further optimized and suited for
 high-performance reentrant use (java.util.concurrent). Essentially Doug
 Lea's concurrent.util as native JDK.

 Bela


 Jon Barnett wrote:

  While we've got a few spare cycles, we thought to pursue this whole
  performance thing some more. We grabbed hold of the GNU Trove
 collections
  implementation and started converting 3.2.0 source to use these
  collections. So far we have only done it partially in one
 strategic area.
  Working off the server branch of the source, we have converted the
  metadata processing, the base proxy factory, and the session
 containers to
  using the Trove implementations for HashMap, HashSet and so on. At this
  stage, only on the container classes (Container,
  StatelessSessionContainer, ...) have really been changed to any extent.
 
  Also, we made some basic changes in the source where Lists are
 being used
  but the traversals are being performed using the Iterator. It
 seemed like
  the poorer memory use by the List was combined with the poorer access
  method of the base collection - according to theory, anyway. It gives a
  solid base level interface but we wondered whether internally, you could
  take advantage of the knowledge the collection was an ArrayList [get(i)
  over hasNext()/next()]. We tried that on the
 getChildrenByTagName with an
  implemented getChildArrayByTagName for the metadata.
 
  Boot time did not seem to change substantially - probably with small
  amounts of metadata to read per deployment unit, the performance
  improvement is negligible for the ArrayList versus an Iterator.
 
  We seem to have achieved a 6.5% reduction in the response time
 compared to
  the previous best results, with the limited changes we have implemented.
  Compared to the results from
  http://www.amitysolutions.com.au/downloads/JBoss-3.2.0_optimizations.pdf
  for those who haven't browsed it before, we obtained the following
  steady-state values for a 9600 sample on the same optimized JBoss test
  rig, running with IBM SDK 1.4.0 using a new jboss.jar and an optimized
  trove.jar:
 
  response time: 115 ms (down 6.5%)
  max: 3184 ms
  min: 50 ms
  VSZ: 184196 (down 2.96%)
  RSS: 129504 (down 1.61%)
 
  We'll keep playing with this when we have time and see how it goes.
 
  Remember that the improvements will always depend on many factors. With
  Trove, you will probably get on par or minimally small improvements with
  small collections, but if the numbers generated by the Trove benchmarks
  are anything to go by, large collections will get a sizeable performance
  boost from Trove.
 
  JonB


 --
 Bela Ban
 http://www.javagroups.com
 Cell: (408) 316-4459



 ---
 This SF.Net email sponsored by: Free pre-built ASP.NET sites including
 Data Reports, E-commerce, Portals, and Forums are available now.
 Download today and enter to win an XBOX or Visual Studio .NET.
 http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] jms diagnostics?

2003-06-30 Thread Eric J Kaplan








Hi



We have an application that, on exit, causes a large number
of Connection failure (1) messages on the server. Were trying to track this down, as its
most likely a jms consumer or provider that isnt
closing things properly. Are there
diagnostics we can turn on to help us isolate this a little better? E.g. match the failure against a specific
queue or topic?



Regards



13:54:02,109 WARN [OILServerILService]
Connection failure (1).

java.net.SocketException: Connection
reset

 at java.net.SocketInputStream.read(SocketInputStream.java:168)

 at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)

 at java.io.BufferedInputStream.read(BufferedInputStream.java:201)

 at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java

:2133)

 at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(Object

InputStream.java:2316)

 at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStre

am.java:2383)

 at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream

.java:2455)

 at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputSt

ream.java:2604)

 at java.io.ObjectInputStream.readByte(ObjectInputStream.java:845)

 at org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.

java:205)

 at java.lang.Thread.run(Thread.java:536)



Eric J. Kaplan

Armanta, Inc.

350 Mt. Kemble
  Ave.

Morristown, NJ 07960










RE: [JBoss-user] JBossDO

2003-06-30 Thread Bill Burke
It will be officially released tomorrow or Wednesday.  Alex should be
putting up docs momentarily.  It won't be a full implementation, again, this
is a developer release.

Bill

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Peter Spiess
 Sent: Monday, June 30, 2003 12:44 PM
 To: [EMAIL PROTECTED]
 Subject: [JBoss-user] JBossDO


 Has anyone tried out JBossDO yet?  I just checked out the latest
 sources and
 compiled JBoss 4, and now I'm wondering if anyone could point me in the
 right direction for some of the JDO stuff.

 Thanks,

 Peter


 ---
 This SF.Net email sponsored by: Free pre-built ASP.NET sites including
 Data Reports, E-commerce, Portals, and Forums are available now.
 Download today and enter to win an XBOX or Visual Studio .NET.
 http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] On the performance trail - again

2003-06-30 Thread Jon Barnett
Good question. I'm not saying that standard JBoss should include them. I'm
just investigating the impact.

Now the GNU projects have always been high quality, and the Trove package
seems to have reached a certain level of maturity so I feel that I can
play with the intermix just to see what happens. I'm also getting deep
into the JBoss code just to understand the structure so that can only be
good.

I can't definitely say that this will lead to anything - the interactions
are so complex with J2EE systems that things may cancel themselves out.
But you won't know until you try and without measurements things are more
speculation than certainty. I have stabilised some of the memory usage I
think, in 3.2.0 with the metadata processing by making internal use of the
existing ArrayLists and trimToSize() - performance and memory consumption
seems less spikey (without resorting to the Trove classes). Haven't done a
thorough test as yet.

The Sun implementations are safe, but without healthy competition, they
probably wouldn't push the boundaries. The memory usage and speed in their
collections are not optimal and without a comparison implementation it's
hard to say how good the Sun release will be. And from testing, their JDK
performance in most respects seems below par compared with other vendors.
All I'm doing is testing the boundaries with JBoss - it's fast, but I'm
just curious at how fast it can go, how smooth the delivery is and what
might hold it back.

I've done a quick test under Windows and the Sun JDK (a run of 3000
samples) - the changes so far including some Trove insertions (again only
in parts of the server branch of code) have dropped the steady state
average response times from 44 ms to 36 ms and the JMeter graphs show a
nearly continuous line at 20 ms with upward deviations dragging the
average up. That is an improvement of 15% ~ 18% and with only a couple of
days tinkering.

What does it mean? I'm not sure - do we want faster JVMs? Are we happy
with choppy response? Are there problems in the code? Is it a problem with
the JVM? Brighter minds must think on this. I'm only making observations.
;)

JonB

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Bela Ban
 Sent: Tuesday, 1 July 2003 2:48 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [JBoss-user] On the performance trail - again


 Hi Jon,

 I haven't played with Trove yet, so bear with me.

 My question is, is it wise to use the Trove collection classes when you
 have them in the JDK already ? Also, in Tiger (JDK 1.5) we will have
 collection classes that are further optimized and suited for
 high-performance reentrant use (java.util.concurrent). Essentially Doug
 Lea's concurrent.util as native JDK.

 Bela


smime.p7s
Description: S/MIME cryptographic signature


Re: [JBoss-user] On the performance trail - again

2003-06-30 Thread Bela Ban
Jon,

do you have any numbers on this ? E.g. Sun's collection classes against 
Trove ?

Performance is a moving target; ie. in one release of the VM, object 
creation kills you, and in the next it is gone (JDK 1.4). Or try-catch 
is bad, then in 1.4. the overhead is gone too.

Question is: should we bank on Trove for keeping up-to-date with a 
moving target (moved by Sun), or should we trust Sun to do the right job ?

But anyways, your measurements are very useful, and I would be 
interested in seeing all numbers.

I'm thinking of moving all my custom built data structures over to JDK 
collections, in support of my previous argument. But of course I'd 
reconsider if you can show mediocre performance in the native coll classes.
Regards,

Jon Barnett wrote:

Good question. I'm not saying that standard JBoss should include them. I'm
just investigating the impact.
Now the GNU projects have always been high quality, and the Trove package
seems to have reached a certain level of maturity so I feel that I can
play with the intermix just to see what happens. I'm also getting deep
into the JBoss code just to understand the structure so that can only be
good.
I can't definitely say that this will lead to anything - the interactions
are so complex with J2EE systems that things may cancel themselves out.
But you won't know until you try and without measurements things are more
speculation than certainty. I have stabilised some of the memory usage I
think, in 3.2.0 with the metadata processing by making internal use of the
existing ArrayLists and trimToSize() - performance and memory consumption
seems less spikey (without resorting to the Trove classes). Haven't done a
thorough test as yet.
The Sun implementations are safe, but without healthy competition, they
probably wouldn't push the boundaries. The memory usage and speed in their
collections are not optimal and without a comparison implementation it's
hard to say how good the Sun release will be. And from testing, their JDK
performance in most respects seems below par compared with other vendors.
All I'm doing is testing the boundaries with JBoss - it's fast, but I'm
just curious at how fast it can go, how smooth the delivery is and what
might hold it back.
I've done a quick test under Windows and the Sun JDK (a run of 3000
samples) - the changes so far including some Trove insertions (again only
in parts of the server branch of code) have dropped the steady state
average response times from 44 ms to 36 ms and the JMeter graphs show a
nearly continuous line at 20 ms with upward deviations dragging the
average up. That is an improvement of 15% ~ 18% and with only a couple of
days tinkering.
What does it mean? I'm not sure - do we want faster JVMs? Are we happy
with choppy response? Are there problems in the code? Is it a problem with
the JVM? Brighter minds must think on this. I'm only making observations.
;)
JonB

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bela Ban
Sent: Tuesday, 1 July 2003 2:48 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] On the performance trail - again
Hi Jon,

I haven't played with Trove yet, so bear with me.

My question is, is it wise to use the Trove collection classes when you
have them in the JDK already ? Also, in Tiger (JDK 1.5) we will have
collection classes that are further optimized and suited for
high-performance reentrant use (java.util.concurrent). Essentially Doug
Lea's concurrent.util as native JDK.
Bela

--
Bela Ban
http://www.javagroups.com
Cell: (408) 316-4459


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] 3.2.1: Persistence for SystemPropertiesService?

2003-06-30 Thread Barlow, Dustin
Has anyone added persistence to the SystemPropertiesService?  IE, I want the
changes made to system/global level properties (via JMX) to be persisted to
the file that they came from or possibly written to a single delta file that
on startup of JBoss would override the properties coming from the non-URL
(and maybe even URL) based property file location(s).  

I notice that the load method in the SystemPropertiesService code doesn't
keep the source of where the property came from with the property itself, so
that's why i thought maybe the delta file would be a decent approach for
persisting changes with minimal impact on the existing code base.

If this hasn't been done yet, and I was interested in added the persistence
functionality, what is the sanctioned approach for JMX/MBean persistence in
the 3.2 series?  I'm aware that there is a new MBean base in the 4.0 series
that will do persistence, but I wasn't sure if this has been (or planned to
be) backported to 3.2.1.  It also wasn't clear to me if those new MBeans
would naturally extend persisting the service based settings to also include
persisting property changes in this case.

Would anyone else benefit from this feature?

Thanks,
Dustin


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] JBossDO

2003-06-30 Thread Peter Spiess
Understood.  However, IMHO many of other the full implementations are not
complete, so I'd like to see what direction this one is going.

 -Original Message-
 From: Bill Burke [mailto:[EMAIL PROTECTED]
 Sent: Monday, June 30, 2003 2:16 PM
 To: [EMAIL PROTECTED]
 Subject: RE: [JBoss-user] JBossDO
 
 
 It will be officially released tomorrow or Wednesday.  Alex should be
 putting up docs momentarily.  It won't be a full 
 implementation, again, this
 is a developer release.
 
 Bill
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of 
 Peter Spiess
  Sent: Monday, June 30, 2003 12:44 PM
  To: [EMAIL PROTECTED]
  Subject: [JBoss-user] JBossDO
 
 
  Has anyone tried out JBossDO yet?  I just checked out the latest
  sources and
  compiled JBoss 4, and now I'm wondering if anyone could 
 point me in the
  right direction for some of the JDO stuff.
 
  Thanks,
 
  Peter
 
 
  ---
  This SF.Net email sponsored by: Free pre-built ASP.NET 
 sites including
  Data Reports, E-commerce, Portals, and Forums are available now.
  Download today and enter to win an XBOX or Visual Studio .NET.
  
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] JBossDO

2003-06-30 Thread Pete Beck
Hi guys,
Will the docs identify what *isn't* implemented yet? I think Alex
mentioned that it doesn't support inheritance yet for example.


On Mon, 2003-06-30 at 19:15, Bill Burke wrote:
 It will be officially released tomorrow or Wednesday.  Alex should be
 putting up docs momentarily.  It won't be a full implementation, again, this
 is a developer release.
 
 Bill
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Peter Spiess
  Sent: Monday, June 30, 2003 12:44 PM
  To: [EMAIL PROTECTED]
  Subject: [JBoss-user] JBossDO
 
 
  Has anyone tried out JBossDO yet?  I just checked out the latest
  sources and
  compiled JBoss 4, and now I'm wondering if anyone could point me in the
  right direction for some of the JDO stuff.
 
  Thanks,
 
  Peter
 
 
  ---
  This SF.Net email sponsored by: Free pre-built ASP.NET sites including
  Data Reports, E-commerce, Portals, and Forums are available now.
  Download today and enter to win an XBOX or Visual Studio .NET.
  http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 
 
 ---
 This SF.Net email sponsored by: Free pre-built ASP.NET sites including
 Data Reports, E-commerce, Portals, and Forums are available now.
 Download today and enter to win an XBOX or Visual Studio .NET.
 http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
-- 
Peter Beck BEng (hons) MIEE - Managing Director, Electrostrata Ltd.
http://www.electrostrata.com  --+-+--  Experts in e-business and e-commerce



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] your login details...

2003-06-30 Thread admin3



  
  

  


  Bullet Proof Bulk Email Friendly 
Web Hosting
  

   If you want to promote your web  
  site via commercial email, bullet proof web hosting is a must! As you may  
  already know, many web hosting companies have Terms of Service (TOS) or  
  Acceptable Use Policies (AUP) against the delivery of emails advertising  
  or promoting your web site. If your web site host receives  
  complaints or discovers that your web site has been advertised in email  
  broadcasts, they may disconnect your account and shut down your web  
  site.
   We  
  offer reliable bulk email friendly web hosting services. You can now  
  have the peace of mind knowing that your web site is secure during your  
  email marketing campaigns.  
  


  
  

  

   Bullet Proof Web Hosting 100% 
  Guaranteed!
   This means you can send bulk email with your website address 
  in it, and your website will not get shut down! I'm sure you've had  
  a website shut down because you listed it in your bulk  
emails.
  
 For more information, please Email us  
  at [EMAIL PROTECTED] 
  and [EMAIL PROTECTED]

Re: [JBoss-user] jms diagnostics?

2003-06-30 Thread Scott M Stark
Setting org.jboss.mq and org.jboss.mq.il categories to trace level 
logging will give you all that is available, depending on which layer 
you need to get information from.

The most performant and best monitored IL layer is the UIL2 protocol so 
think about switching to that as well.

--

Scott Stark
Chief Technology Officer
JBoss Group, LLC

Eric J Kaplan wrote:

Hi

 

We have an application that, on exit, causes a large number of 
Connection failure (1) messages on the server.  Were trying to track 
this down, as its most likely a jms consumer or provider that isnt 
closing things properly.  Are there diagnostics we can turn on to help 
us isolate this a little better?  E.g. match the failure against a 
specific queue or topic?


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] jms diagnostics?

2003-06-30 Thread Eric J Kaplan
Thanks Scott.  Is there a UIL2 protocol in 3.0.4?  I only see a UIL,
which I switched to, and the messages disappeared.  However, I'm still
concerned I might not be cleaning up properly on disconnect.  First
question, with UIL, is this an issue?  Second, I turned trace on in
log4j.xml through the following:

  category name=org.jboss.mq
priority value=TRACE/
  /category

but don't see anything different on the output.  Is this not right?

Regards

Eric Kaplan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott M
Stark
Sent: Monday, June 30, 2003 4:27 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] jms diagnostics?

Setting org.jboss.mq and org.jboss.mq.il categories to trace level 
logging will give you all that is available, depending on which layer 
you need to get information from.

The most performant and best monitored IL layer is the UIL2 protocol so 
think about switching to that as well.

-- 

Scott Stark
Chief Technology Officer
JBoss Group, LLC


Eric J Kaplan wrote:

 Hi
 
  
 
 We have an application that, on exit, causes a large number of 
 Connection failure (1) messages on the server.  We're trying to track 
 this down, as it's most likely a jms consumer or provider that isn't 
 closing things properly.  Are there diagnostics we can turn on to help

 us isolate this a little better?  E.g. match the failure against a 
 specific queue or topic?



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] tomcat instead of jetty: where is my Servlet ?

2003-06-30 Thread Langelage, Frank
Some days ago, the servlet engine was changed from jetty to tomcat in 
JBoss-3.2.2RC2.

Today I tried to access my servlet, but I could not find it.
With jetty I could acces it with 
http://localhost:8080/mbi4/servlet/LoadDataServlet;.

What is the correct URL now ?

Regards
Frank


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] jms diagnostics?

2003-06-30 Thread Scott M Stark
UIL is less performant than OIL so don't go there. UIL2 first showed up 
in the 3.0.7 release. Trace is a custom log4j level so the syntax is:

  category name=org.jboss.mq.il
priority value=TRACE class=org.jboss.logging.XLevel/
  /category
--

Scott Stark
Chief Technology Officer
JBoss Group, LLC

Eric J Kaplan wrote:

Thanks Scott.  Is there a UIL2 protocol in 3.0.4?  I only see a UIL,
which I switched to, and the messages disappeared.  However, I'm still
concerned I might not be cleaning up properly on disconnect.  First
question, with UIL, is this an issue?  Second, I turned trace on in
log4j.xml through the following:
  category name=org.jboss.mq
priority value=TRACE/
  /category
but don't see anything different on the output.  Is this not right?

Regards

Eric Kaplan


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] tomcat instead of jetty: where is my Servlet ?

2003-06-30 Thread Scott M Stark
You should define a servlet-mapping in your web.xml to define what the 
correct URL is, since this works for all engines and ensures you are not 
using a web container sepcific URL. Otherwise, edit the 
jbossweb-tomcat.sar/web.xml and uncomment the following section:

!-- The mapping for the invoker servlet --
!--
servlet-mapping
servlet-nameinvoker/servlet-name
url-pattern/servlet/*/url-pattern
/servlet-mapping
--
and then you can use the 
http://localhost:8080/mbi4/servlet/LoadDataServlet URL.

Jetty is still in the build so just replace the jbossweb-tomcat.sar with 
the jbossweb-jetty.sar if you want.

--

Scott Stark
Chief Technology Officer
JBoss Group, LLC

Langelage, Frank wrote:

Some days ago, the servlet engine was changed from jetty to tomcat in 
JBoss-3.2.2RC2.

Today I tried to access my servlet, but I could not find it.
With jetty I could acces it with 
http://localhost:8080/mbi4/servlet/LoadDataServlet;.

What is the correct URL now ?

Regards
Frank


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] On the performance trail - again

2003-06-30 Thread Bill Burke
Object creation kills you.  In any language

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Bela Ban
 Sent: Monday, June 30, 2003 2:34 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [JBoss-user] On the performance trail - again


 Jon,

 do you have any numbers on this ? E.g. Sun's collection classes against
 Trove ?

 Performance is a moving target; ie. in one release of the VM, object
 creation kills you, and in the next it is gone (JDK 1.4). Or try-catch
 is bad, then in 1.4. the overhead is gone too.

 Question is: should we bank on Trove for keeping up-to-date with a
 moving target (moved by Sun), or should we trust Sun to do the right job ?

 But anyways, your measurements are very useful, and I would be
 interested in seeing all numbers.

 I'm thinking of moving all my custom built data structures over to JDK
 collections, in support of my previous argument. But of course I'd
 reconsider if you can show mediocre performance in the native
 coll classes.
 Regards,


 Jon Barnett wrote:

  Good question. I'm not saying that standard JBoss should
 include them. I'm
  just investigating the impact.
 
  Now the GNU projects have always been high quality, and the
 Trove package
  seems to have reached a certain level of maturity so I feel that I can
  play with the intermix just to see what happens. I'm also getting deep
  into the JBoss code just to understand the structure so that can only be
  good.
 
  I can't definitely say that this will lead to anything - the
 interactions
  are so complex with J2EE systems that things may cancel themselves out.
  But you won't know until you try and without measurements
 things are more
  speculation than certainty. I have stabilised some of the memory usage I
  think, in 3.2.0 with the metadata processing by making internal
 use of the
  existing ArrayLists and trimToSize() - performance and memory
 consumption
  seems less spikey (without resorting to the Trove classes).
 Haven't done a
  thorough test as yet.
 
  The Sun implementations are safe, but without healthy competition, they
  probably wouldn't push the boundaries. The memory usage and
 speed in their
  collections are not optimal and without a comparison implementation it's
  hard to say how good the Sun release will be. And from testing,
 their JDK
  performance in most respects seems below par compared with
 other vendors.
  All I'm doing is testing the boundaries with JBoss - it's fast, but I'm
  just curious at how fast it can go, how smooth the delivery is and what
  might hold it back.
 
  I've done a quick test under Windows and the Sun JDK (a run of 3000
  samples) - the changes so far including some Trove insertions
 (again only
  in parts of the server branch of code) have dropped the steady state
  average response times from 44 ms to 36 ms and the JMeter graphs show a
  nearly continuous line at 20 ms with upward deviations dragging the
  average up. That is an improvement of 15% ~ 18% and with only a
 couple of
  days tinkering.
 
  What does it mean? I'm not sure - do we want faster JVMs? Are we happy
  with choppy response? Are there problems in the code? Is it a
 problem with
  the JVM? Brighter minds must think on this. I'm only making
 observations.
  ;)
 
  JonB
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Bela Ban
  Sent: Tuesday, 1 July 2003 2:48 AM
  To: [EMAIL PROTECTED]
  Subject: Re: [JBoss-user] On the performance trail - again
 
 
  Hi Jon,
 
  I haven't played with Trove yet, so bear with me.
 
  My question is, is it wise to use the Trove collection classes when you
  have them in the JDK already ? Also, in Tiger (JDK 1.5) we will have
  collection classes that are further optimized and suited for
  high-performance reentrant use (java.util.concurrent). Essentially Doug
  Lea's concurrent.util as native JDK.
 
  Bela
 

 --
 Bela Ban
 http://www.javagroups.com
 Cell: (408) 316-4459



 ---
 This SF.Net email sponsored by: Free pre-built ASP.NET sites including
 Data Reports, E-commerce, Portals, and Forums are available now.
 Download today and enter to win an XBOX or Visual Studio .NET.
 http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] JBoss SSL

2003-06-30 Thread Hugh O'Donnell
Hi
I've just managed to setup SSL on JBoss 3/Tomcat 4 AND upgrading from
JDK1.3 - JDK1.4..

I want to present a login page under normal HTTP, but from then on use HTTPS
once the user has sucessully logged on - is there a good example anyone can
suggest ?  Is it done programmatically or is there some jsp/servlet
configuration difference?

Many thanks in advace for any help you can give me.

Guys - keep up the good work!


regards,
Hugh O'Donnell
Director
blueTanso.com


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bill Burke
Sent: 30 June 2003 19:16
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] JBossDO


It will be officially released tomorrow or Wednesday.  Alex should be
putting up docs momentarily.  It won't be a full implementation, again, this
is a developer release.

Bill

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Peter Spiess
 Sent: Monday, June 30, 2003 12:44 PM
 To: [EMAIL PROTECTED]
 Subject: [JBoss-user] JBossDO


 Has anyone tried out JBossDO yet?  I just checked out the latest
 sources and
 compiled JBoss 4, and now I'm wondering if anyone could point me in the
 right direction for some of the JDO stuff.

 Thanks,

 Peter


 ---
 This SF.Net email sponsored by: Free pre-built ASP.NET sites including
 Data Reports, E-commerce, Portals, and Forums are available now.
 Download today and enter to win an XBOX or Visual Studio .NET.
 http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] On the performance trail - again

2003-06-30 Thread Bill Burke
KEEP UP THE GOOD WORK!  This is very useful stuff and I'm very curious what
happens as a result with your experiments with Trove.

Although, I think more bang will come out of:

1. Reducing the number of global synchronizations.  i.e. A static variable
that is being synchronized by everybody.
2. Reducing memory allocations all over.  And no, pooling of objects should
not be done.  Some of the research out there states that pooling is no more
performant than straight allocations.  Plus, I don't want the code getting
dirty with pooling code.

Bill

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Jon Barnett
 Sent: Monday, June 30, 2003 2:11 PM
 To: [EMAIL PROTECTED]
 Subject: RE: [JBoss-user] On the performance trail - again


 Good question. I'm not saying that standard JBoss should include them. I'm
 just investigating the impact.

 Now the GNU projects have always been high quality, and the Trove package
 seems to have reached a certain level of maturity so I feel that I can
 play with the intermix just to see what happens. I'm also getting deep
 into the JBoss code just to understand the structure so that can only be
 good.

 I can't definitely say that this will lead to anything - the interactions
 are so complex with J2EE systems that things may cancel themselves out.
 But you won't know until you try and without measurements things are more
 speculation than certainty. I have stabilised some of the memory usage I
 think, in 3.2.0 with the metadata processing by making internal use of the
 existing ArrayLists and trimToSize() - performance and memory consumption
 seems less spikey (without resorting to the Trove classes). Haven't done a
 thorough test as yet.

 The Sun implementations are safe, but without healthy competition, they
 probably wouldn't push the boundaries. The memory usage and speed in their
 collections are not optimal and without a comparison implementation it's
 hard to say how good the Sun release will be. And from testing, their JDK
 performance in most respects seems below par compared with other vendors.
 All I'm doing is testing the boundaries with JBoss - it's fast, but I'm
 just curious at how fast it can go, how smooth the delivery is and what
 might hold it back.

 I've done a quick test under Windows and the Sun JDK (a run of 3000
 samples) - the changes so far including some Trove insertions (again only
 in parts of the server branch of code) have dropped the steady state
 average response times from 44 ms to 36 ms and the JMeter graphs show a
 nearly continuous line at 20 ms with upward deviations dragging the
 average up. That is an improvement of 15% ~ 18% and with only a couple of
 days tinkering.

 What does it mean? I'm not sure - do we want faster JVMs? Are we happy
 with choppy response? Are there problems in the code? Is it a problem with
 the JVM? Brighter minds must think on this. I'm only making observations.
 ;)

 JonB

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Bela Ban
  Sent: Tuesday, 1 July 2003 2:48 AM
  To: [EMAIL PROTECTED]
  Subject: Re: [JBoss-user] On the performance trail - again
 
 
  Hi Jon,
 
  I haven't played with Trove yet, so bear with me.
 
  My question is, is it wise to use the Trove collection classes when you
  have them in the JDK already ? Also, in Tiger (JDK 1.5) we will have
  collection classes that are further optimized and suited for
  high-performance reentrant use (java.util.concurrent). Essentially Doug
  Lea's concurrent.util as native JDK.
 
  Bela




---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Oracle LOB's on JBoss 3.2.1

2003-06-30 Thread Karl Koster
Has anyone had any success using Oracle LOB's on JBoss? I have persistantly had this 
problem up to and including 3.2.1 where I can insert LOB's just fine. But on update I 
get the dreaded ORA-01002: Fetch out of sequence. I am using JBoss3.2.1, Oracle 9i, 
and the 9i thin driver (ojbdc14_g.jar). Here a code snippet that persistantly fails:


try {
boolean big = cr.getCurveData().length()  4000;

if (!big) {
stmt = factory.getSqlStatement(Curves, Update, conn);
stmt.setString(1, cr.getCurveData());
stmt.setTimestamp(2, new Timestamp(new java.util.Date().getTime()));
stmt.setInt(3, cr.getUserId());
stmt.setInt(4, cr.getTopicId());
stmt.setDate(5, new Date(cr.getMarketDay().getDate().getTime()));
result = stmt.executeUpdate();
} else {
stmt = factory.getSqlStatement(Curves, UpdateLarge, conn);
stmt.setTimestamp(1, new Timestamp(new java.util.Date().getTime()));
stmt.setInt(2, cr.getUserId());
stmt.setInt(3, cr.getTopicId());
stmt.setDate(4, new Date(cr.getMarketDay().getDate().getTime()));
result = stmt.executeUpdate();

if (result == 0) {
return result;
}

stmt = factory.getSqlStatement(Curves, SelectUpdate, conn);
stmt.setInt(1, cr.getTopicId());
stmt.setDate(2, new Date(cr.getMarketDay().getDate().getTime()));
OracleResultSet rs = (OracleResultSet) stmt.executeQuery();

if (rs != null  rs.next()) {
rs.getCLOB(1).putString(1, cr.getCurveData());
rs.close();
}

}

return result;
} finally {

try {

if (stmt != null) {
stmt.close();
}

} catch (SQLException e) {
logger.warn(Failed to close a SQL resource., e);
}

}

The error, ORA-01002, is raised on the invocation of OracleResultSet rs = 
(OracleResultSet) stmt.executeQuery(). My understanding is that, as long as autocommit 
is false,  this should work. Since the connection is fetched from a connection pool 
managed by JBoss, this should be the case. Any clues as to why this does not work?

Karl



**
This e-mail contains privileged attorney-client communications and/or confidential 
information, and is only for the use by the intended recipient. Receipt by an 
unintended recipient does not constitute a waiver of any applicable privilege.

Reading, disclosure, discussion, dissemination, distribution or copying of this 
information by anyone other than the intended recipient or his or her employees or 
agents is strictly prohibited.  If you have received this communication in error, 
please immediately notify us and delete the original material from your computer.

Sempra Energy Trading Corp. (SET) is not the same company as SDGE or SoCalGas, the 
utilities owned by SET's parent company.  SET is not regulated by the California 
Public Utilities Commission and you do not have to buy SET's products and services to 
continue to receive quality regulated service from the utilities.
**



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] JMX MBean question

2003-06-30 Thread harm
Hi all,

I have written a standard MBean which watches a directory on the 
filesystem.
If a file is dropped in this directory a different class (Handler) should 
be created to handle the file.

I want to be able to configure which handler a particular directory 
watcher MBean uses.

Therefore I thought it might be a good idea to make the Handler class a 
MBean aswel.

There are about 20 different handlers but they all implement the interface 
Handler.java:

public interface Handler {
public void handle(File file);
}

I have written all the code... But don't know where to go from here
How can I instantiate the right Handler and call its 'handle()' method?

All ideas are more then welcome,

Thanks,

Harm de Laat
Informatiefabriek



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user