Re: [JBoss-user] Memory Leak!!!

2001-11-27 Thread Alaric B Snell

On Tue, 2001-11-27 at 03:43, John LYC wrote:
 HI ,
 i'm running JBoss-2.4.3_Tomcat-3.2.3 on redhat linux 7.1.
 Jdk1.3.1_01 with j2sdkee1.2.1.
 
 I realized there seem to be a memory leak.
 i have not been able to pinpoint exactly where the leak is coming from at
 this point of time and am still investigating...
 
 currently, my application uses Jakarta Struts as well.
 the memory usage will slowly increment thru the weeks.
 at one point of time, the memory used by jboss was at 100MB!
 
 the java garbage collector seem to be working..
 the memory did get restored back whenever the collector is working...

If the memory gets returned to the pool when the GC runs, then it's not
a memory leak. The problem is maybe that you need to change the settings
for the GC - how often it runs and all that? There are command line
flags to your java runtime that can do this stuff...

 at one point, after many weeks of not restarting Jboss, halfway thru a
 deployment, i encounter a out of memory exception.

That's not so good. They should only happen if the GC hasn't been able
to reclaim any memory. If you say the GC is successfully reclaiming
memory, then something strange is up if you get an out of memory
exception.

 thanks
 John

ABS

-- 
Alaric B. Snell, Developer
[EMAIL PROTECTED]


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Memory Leak!!!

2001-11-27 Thread Edson Carlos Ericksson Richter

I've seen this type of error using only JSP  Servlets. Others servers have
same problem (A.F.A.I.K. there is a bug reported in JDC by WebLogic user).
This problem is a memory leak of JDK, specially using Server HotSpot VM.
Appear that WebLogic put a path in their product, so they doesn't solve the
problems, but kick them to the future.
Try using JBoss with -hotspot swtich, not -server (that is the default,
correct???). If not, see:

http://developer.java.sun.com/developer/bugParade/bugs/4466510.html
http://developer.java.sun.com/developer/bugParade/bugs/4395735.html
http://developer.java.sun.com/developer/bugParade/bugs/4390238.html

Good luck!

Edson Richter


- Original Message -
From: John LYC [EMAIL PROTECTED]
To: Jboss Mailing List [EMAIL PROTECTED]
Sent: Tuesday, November 27, 2001 12:43 AM
Subject: [JBoss-user] Memory Leak!!!


 HI ,
 i'm running JBoss-2.4.3_Tomcat-3.2.3 on redhat linux 7.1.
 Jdk1.3.1_01 with j2sdkee1.2.1.

 I realized there seem to be a memory leak.
 i have not been able to pinpoint exactly where the leak is coming from at
 this point of time and am still investigating...

 currently, my application uses Jakarta Struts as well.
 the memory usage will slowly increment thru the weeks.
 at one point of time, the memory used by jboss was at 100MB!

 the java garbage collector seem to be working..
 the memory did get restored back whenever the collector is working...

 at one point, after many weeks of not restarting Jboss, halfway thru a
 deployment, i encounter a out of memory exception.

 another colleague of mine has a diff and very simple application that
 basically read data  from text file and update the database. his apps is
 running on another server altogether and he is having the same issue too.
so
 much so that the infra-structure guys are complaining abt the memory
usage.


 i also do not know if it is the way the applications is being coded?
 but the 2 apps and the developers involved do not work with each other at
 all.

 anyway, i will continue my investigation and find out more.

 In the meantime, has anyone encounter similar problem?
 or know of anything?

 thanks
 John


 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user



___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Memory Leak!!!

2001-11-27 Thread Adrian Brock

John,

Have a look at

https://sourceforge.net/tracker/index.php?func=detailaid=482875group_id=22866atid=376685

It might be the same problem. Is your colleague hot redeploying as well?

Regards,
Adrian


From: John LYC [EMAIL PROTECTED]
To: Jboss Mailing List [EMAIL PROTECTED]
Subject: [JBoss-user] Memory Leak!!!
Date: Tue, 27 Nov 2001 11:43:26 +0800

HI ,
i'm running JBoss-2.4.3_Tomcat-3.2.3 on redhat linux 7.1.
Jdk1.3.1_01 with j2sdkee1.2.1.

I realized there seem to be a memory leak.
i have not been able to pinpoint exactly where the leak is coming from at
this point of time and am still investigating...

currently, my application uses Jakarta Struts as well.
the memory usage will slowly increment thru the weeks.
at one point of time, the memory used by jboss was at 100MB!

the java garbage collector seem to be working..
the memory did get restored back whenever the collector is working...

at one point, after many weeks of not restarting Jboss, halfway thru a
deployment, i encounter a out of memory exception.

another colleague of mine has a diff and very simple application that
basically read data  from text file and update the database. his apps is
running on another server altogether and he is having the same issue too. 
so
much so that the infra-structure guys are complaining abt the memory usage.


i also do not know if it is the way the applications is being coded?
but the 2 apps and the developers involved do not work with each other at
all.

anyway, i will continue my investigation and find out more.

In the meantime, has anyone encounter similar problem?
or know of anything?

thanks
John


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Problem in deploying BMP

2001-11-27 Thread Kiran MN




Hi all,

When i try to deploy 
BMPEjb in JBoss/tomcat i am getttingname not found exception. can 
anybody pls tell me what are all the xml files needed to be specified in ejb.jar 
of BMP. Is JAWS.XML required for BMP?

the exception i am getting is...

[Container factory] 
javax.naming.NameNotFoundException: DefaultDS not bound[Container factory] 
at 
org.jnp.server.NamingServer.getBinding(NamingServer.java:495)[Container 
factory] at 
org.jnp.server.NamingServer.getBinding(NamingServer.java:503)[Container 
factory] at 
org.jnp.server.NamingServer.getObject(NamingServer.java:509)[Container 
factory] at 
org.jnp.server.NamingServer.lookup(NamingServer.java:282)[Container factory] 
at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:349)[Container 
factory] at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:333)[Container 
factory] at 
javax.naming.InitialContext.lookup(InitialContext.java:350)[Container 
factory] at 
org.jboss.ejb.Container.setupEnvironment(Container.java:563)[Container 
factory] at org.jboss.ejb.Container.init(Container.java:356)[Container 
factory] at 
org.jboss.ejb.EntityContainer.init(EntityContainer.java:272)[Container 
factory] at 
org.jboss.ejb.Application.init(Application.java:202)[Container factory] 
at 
org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:372)[Container 
factory] at 
org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:304)[Container 
factory] at java.lang.reflect.Method.invoke(Native Method)[Container 
factory] at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)[Container 
factory] at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)[Container 
factory] at 
org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:494)[Container 
factory] at 
org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:468)[Container 
factory] at 
org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:208)[Container 
factory] at java.lang.reflect.Method.invoke(Native Method)[Container 
factory] at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)[Container 
factory] at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)[Container 
factory] at 
org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:379)[Container factory] 
at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:217)[Container 
factory] at 
org.jboss.ejb.AutoDeployer.startService(AutoDeployer.java:353)[Container 
factory] at 
org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:107)[Container 
factory] at java.lang.reflect.Method.invoke(Native Method)[Container 
factory] at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)[Container 
factory] at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)[Container 
factory] at 
org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.java:836)[Container 
factory] at $Proxy0.start(Unknown Source)[Container factory] at 
org.jboss.util.ServiceControl.start(ServiceControl.java:81)[Container 
factory] at java.lang.reflect.Method.invoke(Native Method)[Container 
factory] at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)[Container 
factory] at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)[Container 
factory] at org.jboss.Main.init(Main.java:221)[Container 
factory] at org.jboss.Main$1.run(Main.java:127)[Container factory] 
at java.security.AccessController.doPrivileged(Native 
Method)[Container factory] at 
org.jboss.Main.main(Main.java:123)[Container factory] No resource manager 
found for ejb/Project[Container factory] End java:comp/env for EJB: 
ProjectBean[Container factory] JRMP 1.3 CI initialized[Container 
factory] Bound ProjectBean to Project[Bean Cache] Cache policy scheduler 
started[ContainerManagement] Initializing

Thanks and advance,
kiran.


[JBoss-user] Jboss, Jaws CMP, HSQLDB JDBC and DATE type: NumberFormatExceptionwhen updating

2001-11-27 Thread Coetmeur, Alain



I'm using CMP EJB that contains DATE types on a HSQLDB database...

I can create many objects , and they are stored perfectly in database(by
jaws after the ejbCreate method )...

however when I try to set a date in an EJB,
with the result of another (in fact the value is not changed) I
get a NumberFormatException in the hsqldb jdbc driver
calld from jaws...

I'm working on NT4 with french locale configured...
maybe is it a classic date locale problem ?


I've seen message in the  jboss forum about that problem...
but the only solution was to upgrate to jboss 3.0
[what I can't do, because I must deliver... tomorrow 
don't laugh (I know, I'm late!),
it is a demo of opensource solution to a high-tech boss here
interested in opensource solution...
I'm finishing a portfolio optimization app, working with a corba 
optimization engine... BTW I'll soon deliver my work on 
jboss-iiop+jacorb+COSSnameservice here...
]


I've tried to upgrade the hsqldb.jar with the one from source forge (1.61)
but it does not contain the embeded server classes...

I'd like to install another free DB, but no other seems included 
with jboss and I'm afraid of the configuration afterward

is there a patch or a workaround for that ...

is InstantDB beter that HSQLDB ? 
what other choice for me (quick and lightweight)?


I dont have a compilable version of jboss
not acess to CVS (becaus eoure firewall cannot tunnel SSH through http)



thanks in advance...


the stack frame is


[EntitySynchronizationInterceptor] Store failed
java.rmi.ServerException: Store failed; nested exception is:
java.lang.NumberFormatException: 27 00:00:00.0
java.lang.NumberFormatException: 27 00:00:00.0
at java.lang.Integer.parseInt(Integer.java:423)
at java.lang.Integer.parseInt(Integer.java:463)
at java.sql.Date.valueOf(Date.java:91)
at org.hsqldb.Column.convertString(Column.java:1001)
at org.hsqldb.Column.convertObject(Column.java:1084)
at
org.hsqldb.jdbcPreparedStatement.setObject(jdbcPreparedStatement.java:589)
at
org.jboss.pool.jdbc.PreparedStatementInPool.setObject(PreparedStatementInPoo
l.java:282)
at
org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.setParameter(JDBCCommand.java:33
4)
at
org.jboss.ejb.plugins.jaws.jdbc.JDBCStoreEntityCommand.setParameters(JDBCSto
reEntityCommand.java:134)
at
org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.jdbcExecute(JDBCCommand.java:159
)
at
org.jboss.ejb.plugins.jaws.jdbc.JDBCStoreEntityCommand.execute(JDBCStoreEnti
tyCommand.java:97)
at
org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.storeEntity(JAWSPersistenc
eManager.java:168)
at
org.jboss.ejb.plugins.CMPPersistenceManager.storeEntity(CMPPersistenceManage
r.java:397)
at
org.jboss.ejb.EntityContainer.storeEntity(EntityContainer.java:252)
at
org.jboss.ejb.plugins.EntitySynchronizationInterceptor$InstanceSynchronizati
on.beforeCompletion(EntitySynchronizationInterceptor.java:400)
at org.jboss.tm.TxCapsule.doBeforeCompletion(TxCapsule.java:1210)
at org.jboss.tm.TxCapsule.commit(TxCapsule.java:304)
at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:76)
at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.
java:364)
at
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:99)
at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:12
8)
at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:427)
at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerI
nvoker.java:395)
at java.lang.reflect.Method.invoke(Native Method)
at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241)
at sun.rmi.transport.Transport$1.run(Transport.java:152)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:148)
at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:465)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:7
06)
at java.lang.Thread.run(Thread.java:484)
--
Alain Coetmeur

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Memory Leak!!!

2001-11-27 Thread David Hamilton

Hi John,

Everything I've read about the issues with JBoss on Linux (particularly with
memory leaks, segfaults, threading limitation issues) indicate that they are
Sun VM specific.  A number of people are using the IBM VM, and I've yet to
hear of a bad experience.

Hope this helps.
david

- Original Message -
From: John LYC [EMAIL PROTECTED]
To: Jboss Mailing List [EMAIL PROTECTED]
Sent: Tuesday, November 27, 2001 3:43 AM
Subject: [JBoss-user] Memory Leak!!!


 HI ,
 i'm running JBoss-2.4.3_Tomcat-3.2.3 on redhat linux 7.1.
 Jdk1.3.1_01 with j2sdkee1.2.1.

 I realized there seem to be a memory leak.
 i have not been able to pinpoint exactly where the leak is coming from at
 this point of time and am still investigating...

 currently, my application uses Jakarta Struts as well.
 the memory usage will slowly increment thru the weeks.
 at one point of time, the memory used by jboss was at 100MB!

 the java garbage collector seem to be working..
 the memory did get restored back whenever the collector is working...

 at one point, after many weeks of not restarting Jboss, halfway thru a
 deployment, i encounter a out of memory exception.

 another colleague of mine has a diff and very simple application that
 basically read data  from text file and update the database. his apps is
 running on another server altogether and he is having the same issue too.
so
 much so that the infra-structure guys are complaining abt the memory
usage.


 i also do not know if it is the way the applications is being coded?
 but the 2 apps and the developers involved do not work with each other at
 all.

 anyway, i will continue my investigation and find out more.

 In the meantime, has anyone encounter similar problem?
 or know of anything?

 thanks
 John


 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user









___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] virtual hosts

2001-11-27 Thread Jarecsni Jnos


Hi,

can someone tell me how to configure JBoss (Tomcat) to handle virtual hosts?

I've found the server.xml file in tomcat's conf directory. However, I was
unable to use it. I wanted to configure tomcat to handle the URL
"http://127.0.0.1/" as it were "http://127.0.0.1/myJ2EEApp/index.html" (this
latter is a J2EE app running in JBoss).

Here's what I added to server.xml:

Host name="127.0.0.1" 
   Context path=""
docBase="work/localhost_8080%2FmyJ2EEApp" /
/Host

It did not help, of course. Only the compiled JSPs are in the directory
denoted by "docBase", so it cannot work this way. So how to specify virtual
hosts that are backed by a J2EE app?

Thanks in advance,

Jnos Jarecsni


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Question on Transaction Rollback Error

2001-11-27 Thread Steven Hawkes

I have limited EJB experience and I am not sure if this
is a design problem or a configuration problem.

I have a Stateful Session bean which when loaded into
JBoss can be accessed successfully from my test client.

I then created a java class (Not an EJB) which is instantiated
within the above Stateful bean and the methods of which are
called from the above mentioned bean. Whenever a call is made
to class I get the TRANSACTION ROLLBACK ERROR even if
the method contains no body!!   The bean is set for CMP but I
dont do anything with transactioning

I am not sure if I need to add the external class to some special
config file to allow it to be used by my session beans.   I read
somewhere
that beans accessing other beans should be specified in the XML file

This is a strange problem fo rme and your help would be appreciated.

Regards

Steve


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Redux of Performance Issues

2001-11-27 Thread geoff

For reasons unknown, this message hasn't been going out to the list.  Trying
again.

--

Okay, I've clearly managed to piss off a few people by my concerns about
JBoss performance.

Let me start out by saying that I'd be more than happy to get my application
working speedily under JBoss.  Orion's documentation is poor at best, and
JBoss is fully open-source.  I have a great deal of respect for some of
JBoss's technology (the verifier and deployer are probably the best I've
seen), and where it's coming from.  I chose JBoss for the initial
development because of its reputation and my own interests.

That said, if the performance I'm getting out of JBoss is the best I can
expect, or, at least, the best I can manage to get, then I absolutely cannot
use it.  Not because I think it 'sucks rocks', because it doesn't, but
simply because it will not support the user load I need it to in any sort of
cost-effective manner.  Some of you would probably be just as happy to see
me go somewhere else, from the tone of your emails, but I'd personally
rather find a way to get the performance out of JBoss, for this or other
projects.

And, ultimately, it seems as if the performance I'm asking for is relatively
reasonable.  I expect a certain amount of overhead in EJB performance, and
I'm not asking to duplicate the speed of a bean-only implementation.  But
supporting a maximum of 25 concurrent users on a decent (if not maxed-out)
server seems ... suspiciously slow.

It may be that I've missed some settings to speed things up.  It may be that
our application's architecture is better suited to Orion than to JBoss.
Whatever it is, I'd like to find out.  So I've joined the JBoss list, and
I'm here to ask some questions.  I'm not trying to promote Orion, or insult
JBoss.  I like bits of both of them, and the reasons for that, I can get
into another day.  Ultimately, however, I'd rather support JBoss as an
open-source appserver, if I can.

--

Now, on to the details.  Some of you pointed out, and rightly so, that I
hadn't provided much in the way of details of what I've tried, which is
true.  I wanted to start off by finding out if the kind of numbers I was
talking about seemed realistic or not, based on the experience of people
who'd spent more time with JBoss than I have, but it's probably fair to say
that you couldn't really say without knowing a lot more about my
application.  So let's get into a few details.

Let's start with versions.  I did some of my original EJB experimentation on
JBoss-2.4.1.  We started developing a project on JBoss-2.4.1a w/ Embedded
Tomcat, which was the latest JBoss/Tomcat grouping at the time.  We started
noticing performance concerns then.  When Tomcat 4 came out, we moved to
JBoss-2.4.3 w/ Embedded Catalina, so that we could try a few things, and
found it not to be slower, so we stayed with it.

After we reached a point where we needed to see better performance, we did
some optimizing of our app with a profiler, and tried JBoss 2.4.3 w/ Resin,
which we already knew to be fast.  That gave us a minor speed boost, but not
very much, leading me to believe that JBoss might be the cause of some of
our performance.  By comparison, Orion 1.5.2 seems to be very much faster.

All of this is running on Windows 2000.  The versions of Tomcat are 3.2.3
and 4.0, as far as I know.  The version of Resin is the latest version as of
a few weeks ago, I'd have to go check.  If it's important, I will.

Processor speed depended, but developers are working, largely, on
PIII-700MHzs, and we did most of our load-testing on a Ghz P4.

Tuned updates are on, jaws debug is off, and logging was set as low as we
really could expect it to be.

Our performance numbers were derived in several ways - by using the
Microsoft Web Application Stress tool (since we've used that in the past,
and haven't yet found a better alternative; if you have suggestions, I'm
happy to hear them), watching memory/processor load on the box being tested,
junit test times and subjective experience.

Our initial concerns came out of JUnit test times.  Our EJB tests (which are
pretty thorough, I'll admit) are taking several seconds, whereas the time
required to test a hand-rolled bean solution was usually well, well under a
second.  HttpUnit tests are taking tens of seconds, instead of seconds.
This began to concern me, but we didn't need performance at an early stage,
and I knew I could replace Tomcat and/or JBoss if necessary.

Once we started to use the Web Application Stress Tool, though, we started
to get really concerned.  After some profiling to speed a few things up, we
were unable to get more than about 20 simultaneous users on the application
without slowing things down significantly, getting Time To Last Byte on some
of the more intense pages up past ten seconds, which is far too long.  Even
running Resin and JBoss together was getting us only up to 25.  The
processor usage on the server while the load test was running was
practically solid at 

RE: [JBoss-user] Redux of Performance Issues

2001-11-27 Thread marc fleury

look dude,

get the integrated jboss-tomcat stack you are running non-optimized out of
stack, period.

come back when you have set it up, or don't we don't care,

marcf

|-Original Message-
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of
|[EMAIL PROTECTED]
|Sent: Tuesday, November 27, 2001 2:09 PM
|To: [EMAIL PROTECTED]
|Subject: [JBoss-user] Redux of Performance Issues
|
|
|For reasons unknown, this message hasn't been going out to the
|list.  Trying
|again.
|
|--
|
|Okay, I've clearly managed to piss off a few people by my concerns about
|JBoss performance.
|
|Let me start out by saying that I'd be more than happy to get my
|application
|working speedily under JBoss.  Orion's documentation is poor at best, and
|JBoss is fully open-source.  I have a great deal of respect for some of
|JBoss's technology (the verifier and deployer are probably the best I've
|seen), and where it's coming from.  I chose JBoss for the initial
|development because of its reputation and my own interests.
|
|That said, if the performance I'm getting out of JBoss is the best I can
|expect, or, at least, the best I can manage to get, then I
|absolutely cannot
|use it.  Not because I think it 'sucks rocks', because it doesn't, but
|simply because it will not support the user load I need it to in
|any sort of
|cost-effective manner.  Some of you would probably be just as happy to see
|me go somewhere else, from the tone of your emails, but I'd personally
|rather find a way to get the performance out of JBoss, for this or other
|projects.
|
|And, ultimately, it seems as if the performance I'm asking for is
|relatively
|reasonable.  I expect a certain amount of overhead in EJB performance, and
|I'm not asking to duplicate the speed of a bean-only implementation.  But
|supporting a maximum of 25 concurrent users on a decent (if not maxed-out)
|server seems ... suspiciously slow.
|
|It may be that I've missed some settings to speed things up.  It
|may be that
|our application's architecture is better suited to Orion than to JBoss.
|Whatever it is, I'd like to find out.  So I've joined the JBoss list, and
|I'm here to ask some questions.  I'm not trying to promote Orion, or insult
|JBoss.  I like bits of both of them, and the reasons for that, I can get
|into another day.  Ultimately, however, I'd rather support JBoss as an
|open-source appserver, if I can.
|
|--
|
|Now, on to the details.  Some of you pointed out, and rightly so, that I
|hadn't provided much in the way of details of what I've tried, which is
|true.  I wanted to start off by finding out if the kind of numbers I was
|talking about seemed realistic or not, based on the experience of people
|who'd spent more time with JBoss than I have, but it's probably fair to say
|that you couldn't really say without knowing a lot more about my
|application.  So let's get into a few details.
|
|Let's start with versions.  I did some of my original EJB
|experimentation on
|JBoss-2.4.1.  We started developing a project on JBoss-2.4.1a w/ Embedded
|Tomcat, which was the latest JBoss/Tomcat grouping at the time.  We started
|noticing performance concerns then.  When Tomcat 4 came out, we moved to
|JBoss-2.4.3 w/ Embedded Catalina, so that we could try a few things, and
|found it not to be slower, so we stayed with it.
|
|After we reached a point where we needed to see better performance, we did
|some optimizing of our app with a profiler, and tried JBoss 2.4.3 w/ Resin,
|which we already knew to be fast.  That gave us a minor speed
|boost, but not
|very much, leading me to believe that JBoss might be the cause of some of
|our performance.  By comparison, Orion 1.5.2 seems to be very much faster.
|
|All of this is running on Windows 2000.  The versions of Tomcat are 3.2.3
|and 4.0, as far as I know.  The version of Resin is the latest
|version as of
|a few weeks ago, I'd have to go check.  If it's important, I will.
|
|Processor speed depended, but developers are working, largely, on
|PIII-700MHzs, and we did most of our load-testing on a Ghz P4.
|
|Tuned updates are on, jaws debug is off, and logging was set as low as we
|really could expect it to be.
|
|Our performance numbers were derived in several ways - by using the
|Microsoft Web Application Stress tool (since we've used that in the past,
|and haven't yet found a better alternative; if you have suggestions, I'm
|happy to hear them), watching memory/processor load on the box
|being tested,
|junit test times and subjective experience.
|
|Our initial concerns came out of JUnit test times.  Our EJB tests
|(which are
|pretty thorough, I'll admit) are taking several seconds, whereas the time
|required to test a hand-rolled bean solution was usually well, well under a
|second.  HttpUnit tests are taking tens of seconds, instead of seconds.
|This began to concern me, but we didn't need performance at an early stage,
|and I knew I could replace Tomcat and/or JBoss if necessary.
|
|Once we started to use the Web 

Re: [JBoss-user] Jboss, Jaws CMP, HSQLDB JDBC and DATE type:NumberFormatException when updating

2001-11-27 Thread Peter Fagerlund

on 1-11-27 15.31, Coetmeur, Alain at [EMAIL PROTECTED]
wrote:

 
 
 I'm using CMP EJB that contains DATE types on a HSQLDB database...
 
 I can create many objects , and they are stored perfectly in database(by
 jaws after the ejbCreate method )...
 
 however when I try to set a date in an EJB,
 with the result of another (in fact the value is not changed) I
 get a NumberFormatException in the hsqldb jdbc driver
 calld from jaws...

this is consistently java.sql.Date ? ...

snip

 I've tried to upgrade the hsqldb.jar with the one from source forge (1.61)
 but it does not contain the embeded server classes...

Yes the hsqldb.jar that ships with JBoss is patched with tree *new* classes.

 I'd like to install another free DB, but no other seems included
 with jboss and I'm afraid of the configuration afterward
 
 is there a patch or a workaround for that ...
 
 is InstantDB beter that HSQLDB ?
 what other choice for me (quick and lightweight)?
 
I dont have a compilable version of jboss
not acess to CVS (becaus eoure firewall cannot tunnel SSH through http)

try : http://jboss.org:80/binary.jsp

 
 the stack frame is
 
 
 [EntitySynchronizationInterceptor] Store failed
 java.rmi.ServerException: Store failed; nested exception is:
 java.lang.NumberFormatException: 27 00:00:00.0
 java.lang.NumberFormatException: 27 00:00:00.0
 at java.lang.Integer.parseInt(Integer.java:423)
 at java.lang.Integer.parseInt(Integer.java:463)
 at java.sql.Date.valueOf(Date.java:91)

try : java.sql.Date consistently ? ...

/peter_f


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] JBoss 2.4.3 with Tomcat 3.2.3

2001-11-27 Thread Juergen Fiedler

Hello,

I am trying to get JBoss 2.4.3 running with a preexisting Tomcat 3.2.3.
I copied the tomcat-service.jar from my 2.4.1 installation (where it
works flawlessly). I think I followed all instructions to embed Tomcat
in JBoss (are there any changes between 2.4.1 and 2.4.3?).
When I start the server, I get the following error:

[EmbeddedTomcatServiceSX] Starting
[Configuration] java.lang.NoSuchFieldError: category
[Configuration] at
org.jboss.tomcat.EmbeddedTomcatServiceSX.startService(EmbeddedTomcatServiceSX.java:74)
[Configuration] at
org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:107)
[Configuration] at java.lang.reflect.Method.invoke(Native
Method)
[Configuration] at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[Configuration] at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[Configuration] at
org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.java:836)
[Configuration] at $Proxy0.start(Unknown Source)
[Configuration] at
org.jboss.util.ServiceControl.start(ServiceControl.java:81)
[Configuration] at java.lang.reflect.Method.invoke(Native
Method)
[Configuration] at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[Configuration] at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[Configuration] at org.jboss.Main.init(Main.java:221)
[Configuration] at org.jboss.Main$1.run(Main.java:127)
[Configuration] at
java.security.AccessController.doPrivileged(Native Method)
[Configuration] at org.jboss.Main.main(Main.java:123)

Can anybody tell me what this message means - and more importanly, how
I can get rid of it?

Thanks in advance,
Juergen



msg12605/pgp0.pgp
Description: PGP signature


RE: [JBoss-user] Redux of Performance Issues

2001-11-27 Thread geoff

Allright, I'm happy to hear that I'm probably running it not-optimized, and
the 'factor of 10' would certainly make me a lot happier, if that's what's
happening.

Some prelimary changes indicate that you're probably right.  There's a
significant decrease in processor load already, and at the moment, Tomcat is
definitely holding JBoss back.  We're probably going to give Jetty a shot in
the short term, and find out what, if anything, we can do about getting
Tomcat to handle the load.

So, it looks like packaging was indeed the problem.  Where that leaves us,
we don't yet know.  We'll do some tests and see what the results are, but
the JBoss performance leapt from just plain silly to uh, let's see what
we can do about tomcat in short order, so it's immediately promising.

Thanks.  I'll let you know when I know more.

- Geoffrey

: -Original Message-
: From: marc fleury [mailto:[EMAIL PROTECTED]]
: Sent: Tuesday, November 27, 2001 3:54 PM
: To: David Jencks; [EMAIL PROTECTED]
: Subject: RE: [JBoss-user] Redux of Performance Issues
: 
: 
: Ok the point is that a factor of 10 or so is indicative of a 
: non-optimized
: run and thus a poor packaging that trip the classloaders.
: 
: The poor setup comes from confusion in the classes in the war 
: and ear or
: duplication of the classes and what not.  Just the simple 
: test you mention
: david runs 10 times faster.
: 
: BTW the line I was talking in the ContainerInvoker that I 
: removed for JBoss
: 3.0 is the one that is making his tests fail and I wanted to 
: remove it for
: _exactly_ this reason.
: 
: Guys setup the supposedly integrated stacks, then the classes 
: are not the
: same in teh different classloaders or are not present in the 
: EJB package or
: go figure what he runs and it runs non-optimized as a result.
: 
: Bottom line he trolls crying about performance. (no offense 
: man we just had
: this discussion on why this particular category of problem 
: appears). So next
: he will see classcast exception and won't worry about perf.
: 
: Then running Resin outside stack is just the non-optimized 
: run and tells you
: exactly what you need to know :) that the throughput when you 
: serialize
: everything is 25 (minor gain over NON optimized tomcat).
: 
: If the throughput was optimized you would see at least a factor of ten
: depending on the payload of his invocations which seems heavy 
: anyhow hence a
: real native pointer stack would run above that.
: 
: Are we clear? the goal is get the classes PACKAGING right, 
: make sure the
: classes you reference are the one and same
: 
: marcf
: 
: PS: Also david you can see that advanced classloaders here 
: would really
: help, we would get rid of this packaging nightmare and 
: non-sense once and
: for all.  THIS CLASS OF PROBLEM WOULD BE GONE, NO USER 
: LIBERTY TO SCREW IT.
: To be honest I am not even sure I know on the top of my head 
: how to package
: the stuff sure-fire so that you run always invm and since 
: that test masks
: the problem he is fucked, he can't tell easily as we silently run with
: un=proper package.  Let the engine blow.  Running Resin is 
: also brain-dead
: he is always running out of VM.  Also here Orion uses the 
: same classloaders
: when running INVM through and through hence running optimized 
: even if the
: packaging is funky, we don't have that luxury today due to 3rd party
: integration that will be gone with the above and/or 
: integration of stacks cl
: ala jetty.  Bottom line the simplest in this case is to run 
: 1- good package
: 2- same package on forthcoming 3.0 :)
: 
: 
: 
: 
: |-Original Message-
: |From: [EMAIL PROTECTED]
: |[mailto:[EMAIL PROTECTED]]On Behalf Of 
: David Jencks
: |Sent: Tuesday, November 27, 2001 3:13 PM
: |To: [EMAIL PROTECTED]
: |Subject: Re: [JBoss-user] Redux of Performance Issues
: |
: |
: |I haven't looked on the forums in a day or two, so I'm not 
: sure if you've
: |asked there as well.  You may get more response.
: |
: |Have you run the testsuite and made sure it runs at a 
: reasonable speed (=
: |very fast;-)?  I'm mostly familiar with the 3.0 testsuite, 
: but I would
: |start by running multithreaded tests like banktest with hypersonic
: |datasource and your production datasource. Try with 
: different numbers of
: |threads-- I think in 2.4.x you have to go inside the tests and change
: |hardcoded numbers. I'm not sure where there is comparison 
: info, but if you
: |get numbers that seem slow ask.  If they are slow, there's 
: something wrong
: |with your setup. If they are fast, then there may be 
: something wrong with
: |your app or tomcat integration or ???.  But start simple.
: |
: |david jencks
: |
: |On 2001.11.27 14:09:15 -0500 [EMAIL PROTECTED] wrote:
: | For reasons unknown, this message hasn't been going out to 
: the list.
: | Trying
: | again.
: |
: | --
: |
: | Okay, I've clearly managed to piss off a few people by my 
: concerns about
: | JBoss performance.
: |
: | Let me start out by 

Re: [JBoss-user] EJB QL Help

2001-11-27 Thread Hunter Hillegas

Coolio. I'll leave my query commented out and work on something else.

Thanks,
huner

 From: Dain Sundstrom [EMAIL PROTECTED]
 Date: Tue, 27 Nov 2001 18:24:02 -0600
 To: 'Hunter Hillegas' [EMAIL PROTECTED], JBoss 2
 [EMAIL PROTECTED]
 Subject: RE: [JBoss-user] EJB QL Help
 
 No, I'm in the middle of a major reorganization of the code? Maybe later
 tonight.
 
 -dain
 
 -Original Message-
 From: Hunter Hillegas [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, November 27, 2001 5:37 PM
 To: Dain Sundstrom; JBoss 2
 Subject: Re: [JBoss-user] EJB QL Help
 
 
 Has this bugfix made it in to HEAD yet?
 
 From: Dain Sundstrom [EMAIL PROTECTED]
 Date: Mon, 26 Nov 2001 00:35:52 -0600
 To: 'Hunter Hillegas' [EMAIL PROTECTED], JBoss 2
 [EMAIL PROTECTED]
 Subject: RE: [JBoss-user] EJB QL Help
 
 This is a bug in the EJB-QL parser. I was making a check
 against only the
 known abstract schemas and not the known collection valued
 identifiers.
 
 -dain
 
 -Original Message-
 From: Hunter Hillegas [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, November 25, 2001 5:09 PM
 To: JBoss 2
 Subject: [JBoss-user] EJB QL Help
 
 
 I am having trouble with an EJBQL query... I'm sure I'm
 making a dumb
 mistake but my brain is fried and I can't see it.
 
 Here's the query:
 
 SELECT OBJECT(p) FROM ProductGroup as c, IN(c.products) AS p
 WHERE c.name =
 ?1
 
 The point is to find all products from the productgroup
 named in the
 parameter.
 
 I get this upon deployment:
 
 Path element with identifier is not an instance of AbstractSchema:
 identifier=p, pathElement=[CMRField: name=products]
 
 ?
 
 Thanks,
 Hunter
 
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] JBoss3.0 Alpha and Oracle

2001-11-27 Thread randy . shoup

I am relatively new to JBoss, and am trying to set up and use the 3.0
alpha with an Oracle database.  I receive a NullPointerException in the
ConnectionFactoryLoader when trying to deploy my Oracle JDBC mbean:

java.lang.NullPointerException
at
org.jboss.resource.ConnectionFactoryLoader.loadConnectionFactory(ConnectionFactoryLoader.java:685)
at
org.jboss.resource.ConnectionFactoryLoader.startService(ConnectionFactoryLoader.java:406)
at
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:117)
at java.lang.reflect.Method.invoke(Native Method)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:775)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:479)
at org.jboss.system.ServiceController.start(ServiceController.java:507)
at
org.jboss.system.ServiceController.registerAndStartService(ServiceController.java:273)
at java.lang.reflect.Method.invoke(Native Method)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at org.jboss.resource.RARDeployer.deploy(RARDeployer.java:203)
at
org.jboss.deployment.DeployerMBeanSupport.deploy(DeployerMBeanSupport.java:107)
at java.lang.reflect.Method.invoke(Native Method)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:654)
at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:327)
at java.lang.Thread.run(Unknown Source)

I assume I am doing something stupid; I just don't know what it is. 
Following the example of the Hypersonic service file in the
distribution, I created a similar simplified Oracle version:

?xml version=1.0 encoding=UTF-8?
!--
=
--
!--  
--
!--  Oracle JDBC Service
Configuration   --
!--  
--
!--
=
--

server

  classpath archives=
 classes12.zip/

  !--
 --
  !-- JDBC - Initialize the
databases  --
  !-- to
ConnectionFactoryLoader   --
  !--
 --

  mbean code=org.jboss.resource.ConnectionFactoryLoader 
 name=JBOSS-SYSTEM:service=ConnectionFactoryLoader,name=DefaultDS
attribute
name=ManagedConnectionFactoryPropertiesConnectionURL=jdbc:oracle:thin:@myserver.tumbleweed.com:1521:SID
  DriverClass=oracle.jdbc.driver.OracleDriver
  UserName=username
  Password=password/attribute
attribute name=JndiNameDefaultDS/attribute
attribute
name=TransactionManagerNamejava:/TransactionManager/attribute

mbean-ref
name=ResourceAdapterNameJCA:service=RARDeployment,name=Minerva JDBC
LocalTransaction ResourceAdapter/mbean-ref
mbean-ref
name=ConnectionManagerFactoryLoaderNameJCA:service=ConnectionManagerFactoryLoader,name=MinervaSharedLocalCMFactory/mbean-ref
attribute name=PrincipalMappingClass
  org.jboss.resource.security.ManyToOnePrincipalMapping
   /attribute
attribute
name=PrincipalMappingPropertiesUserName=username/attribute
  /mbean

/server

Perhaps this is missing something crucial?

The (hopefully) relevant subset of the server.log is here:

[2001-11-27 18:07:00,296,AutoDeployer,INFO] Auto deploy of
file:/E:/JBoss/jboss-3.0.0alpha/deploy/oracle-jdbc-service.xml
[2001-11-27 18:07:00,296,ServiceDeployer,DEBUG] deploying document
file:/E:/JBoss/jboss-3.0.0alpha/deploy/oracle-jdbc-service.xml
[2001-11-27 18:07:00,296,ServiceDeployer,DEBUG] jars from deployment: []
[2001-11-27 18:07:00,296,ServiceDeployer,DEBUG] xml's from deployment:
[file:/E:/JBoss/jboss-3.0.0alpha/tmp/deploy/ServiceDeployer/deploy.49/oracle-jdbc-service.xml]
[2001-11-27 18:07:00,312,ServiceDeployer,DEBUG] found classpath
classpath archives=   classes12.zip /
[2001-11-27 18:07:00,312,ServiceDeployer,DEBUG] setting up classpath
classpath archives=   classes12.zip /
[2001-11-27 18:07:00,312,ServiceDeployer,DEBUG] codebase is 
[2001-11-27 18:07:00,312,ServiceDeployer,DEBUG] archives are
classes12.zip
[2001-11-27 18:07:00,312,ServiceDeployer,DEBUG] deploying document
file:/E:/JBoss/jboss-3.0.0alpha//lib/ext/classes12.zip
[2001-11-27 18:07:00,437,ServiceDeployer,DEBUG] jars 

Re: [JBoss-user] JBoss3.0 Alpha and Oracle

2001-11-27 Thread David Jencks

Can you try again with cvs version? Yesterday a problem with not finding
.zips in the classpath element was fixed.  If you don't want to build jboss
yourself, try renaming the zip to a jar and changing the classpath
reference.

Also, there's an example in ch 3 of the manual.  There are many Oracle
drivers apparently -- if you have a different one working, I'd like the
config for the manual.

(especially if someone gets the xa driver working)

Thanks
david jencks

On 2001.11.27 21:32:10 -0500 [EMAIL PROTECTED] wrote:
 I am relatively new to JBoss, and am trying to set up and use the 3.0
 alpha with an Oracle database.  I receive a NullPointerException in the
 ConnectionFactoryLoader when trying to deploy my Oracle JDBC mbean:
 
 java.lang.NullPointerException
   at
 
org.jboss.resource.ConnectionFactoryLoader.loadConnectionFactory(ConnectionFactoryLoader.java:685)
   at
 
org.jboss.resource.ConnectionFactoryLoader.startService(ConnectionFactoryLoader.java:406)
   at
 org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:117)
   at java.lang.reflect.Method.invoke(Native Method)
   at
 com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
   at
 com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
   at
 org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:775)
   at $Proxy0.start(Unknown Source)
   at org.jboss.system.ServiceController.start(ServiceController.java:479)
   at org.jboss.system.ServiceController.start(ServiceController.java:507)
   at
 
org.jboss.system.ServiceController.registerAndStartService(ServiceController.java:273)
   at java.lang.reflect.Method.invoke(Native Method)
   at
 com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
   at
 com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
   at org.jboss.resource.RARDeployer.deploy(RARDeployer.java:203)
   at
 org.jboss.deployment.DeployerMBeanSupport.deploy(DeployerMBeanSupport.java:107)
   at java.lang.reflect.Method.invoke(Native Method)
   at
 com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
   at
 com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
   at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:654)
   at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:327)
   at java.lang.Thread.run(Unknown Source)
 
 I assume I am doing something stupid; I just don't know what it is. 
 Following the example of the Hypersonic service file in the
 distribution, I created a similar simplified Oracle version:
 
 ?xml version=1.0 encoding=UTF-8?
 !--
 =
 --
 !-- 
 
 --
 !--  Oracle JDBC Service
 Configuration   --
 !-- 
 
 --
 !--
 =
 --
 
 server
 
   classpath archives=
classes12.zip/
 
   !--
  --
   !-- JDBC - Initialize the
 databases  --
   !-- to
 ConnectionFactoryLoader   --
   !--
  --
 
   mbean code=org.jboss.resource.ConnectionFactoryLoader 
name=JBOSS-SYSTEM:service=ConnectionFactoryLoader,name=DefaultDS
 attribute
 
name=ManagedConnectionFactoryPropertiesConnectionURL=jdbc:oracle:thin:@myserver.tumbleweed.com:1521:SID
   DriverClass=oracle.jdbc.driver.OracleDriver
   UserName=username
   Password=password/attribute
 attribute name=JndiNameDefaultDS/attribute
 attribute
 name=TransactionManagerNamejava:/TransactionManager/attribute
 
 mbean-ref
 name=ResourceAdapterNameJCA:service=RARDeployment,name=Minerva JDBC
 LocalTransaction ResourceAdapter/mbean-ref
 mbean-ref
 
name=ConnectionManagerFactoryLoaderNameJCA:service=ConnectionManagerFactoryLoader,name=MinervaSharedLocalCMFactory/mbean-ref
 attribute name=PrincipalMappingClass
   org.jboss.resource.security.ManyToOnePrincipalMapping
/attribute
 attribute
 name=PrincipalMappingPropertiesUserName=username/attribute
   /mbean
 
 /server
 
 Perhaps this is missing something crucial?
 
 The (hopefully) relevant subset of the server.log is here:
 
 [2001-11-27 18:07:00,296,AutoDeployer,INFO] Auto deploy of
 file:/E:/JBoss/jboss-3.0.0alpha/deploy/oracle-jdbc-service.xml
 [2001-11-27 18:07:00,296,ServiceDeployer,DEBUG] deploying document
 file:/E:/JBoss/jboss-3.0.0alpha/deploy/oracle-jdbc-service.xml
 [2001-11-27 18:07:00,296,ServiceDeployer,DEBUG] jars from deployment: []
 [2001-11-27 18:07:00,296,ServiceDeployer,DEBUG] xml's from deployment:
 

Re: [JBoss-user] JBoss3.0 Alpha and Oracle

2001-11-27 Thread David Jencks

This is really strange.  The npe comes from a line using the
ConnectionManagerFactory, which should be there if the
ConnectionManagerFactoryLoader started ok.  Could you check that the local
ConnectionManagerFactoryLoader is started OK? Can you get the Hypersonic ds
working?

david jencks

On 2001.11.27 22:55:18 -0500 [EMAIL PROTECTED] wrote:
 David Jencks wrote:
  
  Can you try again with cvs version? Yesterday a problem with not
 finding
  .zips in the classpath element was fixed.  If you don't want to build
 jboss
  yourself, try renaming the zip to a jar and changing the classpath
  reference.
 
 Thanks.  I renamed the zip to jar.  I no longer need to explicitly
 specify 'classes12.zip' on JBOSS_CLASSPATH :-), but the
 NullPointerException below still occurs.
 
  
  Also, there's an example in ch 3 of the manual.  There are many Oracle
  drivers apparently -- if you have a different one working, I'd like the
  config for the manual.
  
  (especially if someone gets the xa driver working)
 
 I did use the manual to set up a successful config on JBoss-2.4.3 using
 the same setup I specify below -- same database, thin driver, etc.  I
 transferred what seemed to make sense from my working 2.4.3 config to
 the 3.0 alpha, following the example of the Hypersonic service.  I
 assume that I left something important out when I did this, but nothing
 seems obvious to me.
 
  
  Thanks
  david jencks
  
  On 2001.11.27 21:32:10 -0500 [EMAIL PROTECTED] wrote:
   I am relatively new to JBoss, and am trying to set up and use the 3.0
   alpha with an Oracle database.  I receive a NullPointerException in
 the
   ConnectionFactoryLoader when trying to deploy my Oracle JDBC mbean:
  
   java.lang.NullPointerException
 at
   
org.jboss.resource.ConnectionFactoryLoader.loadConnectionFactory(ConnectionFactoryLoader.java:685)
 at
   
org.jboss.resource.ConnectionFactoryLoader.startService(ConnectionFactoryLoader.java:406)
 at
   org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:117)
 at java.lang.reflect.Method.invoke(Native Method)
 at
   com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
 at
   com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
 at
   
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:775)
 at $Proxy0.start(Unknown Source)
 at org.jboss.system.ServiceController.start(ServiceController.java:479)
 at org.jboss.system.ServiceController.start(ServiceController.java:507)
 at
   
org.jboss.system.ServiceController.registerAndStartService(ServiceController.java:273)
 at java.lang.reflect.Method.invoke(Native Method)
 at
   com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
 at
   com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
 at org.jboss.resource.RARDeployer.deploy(RARDeployer.java:203)
 at
   org.jboss.deployment.DeployerMBeanSupport.deploy(DeployerMBeanSupport.java:107)
 at java.lang.reflect.Method.invoke(Native Method)
 at
   com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
 at
   com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
 at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:654)
 at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:327)
 at java.lang.Thread.run(Unknown Source)
  
   I assume I am doing something stupid; I just don't know what it is.
   Following the example of the Hypersonic service file in the
   distribution, I created a similar simplified Oracle version:
  
   ?xml version=1.0 encoding=UTF-8?
   !--
   =
   --
   !--
  
   --
   !--  Oracle JDBC Service
   Configuration   --
   !--
  
   --
   !--
   =
   --
  
   server
  
 classpath archives=
  classes12.zip/
  
 !--
   
 --
 !-- JDBC - Initialize the
   databases  --
 !-- to
   ConnectionFactoryLoader   --
 !--
   
 --
  
 mbean code=org.jboss.resource.ConnectionFactoryLoader
  name=JBOSS-SYSTEM:service=ConnectionFactoryLoader,name=DefaultDS
   attribute
   
name=ManagedConnectionFactoryPropertiesConnectionURL=jdbc:oracle:thin:@myserver.tumbleweed.com:1521:SID
 DriverClass=oracle.jdbc.driver.OracleDriver
 UserName=username
 Password=password/attribute
   attribute name=JndiNameDefaultDS/attribute
   attribute
   name=TransactionManagerNamejava:/TransactionManager/attribute
  
   mbean-ref
   

[JBoss-user] Multiple emails

2001-11-27 Thread Tim Buchalka

Anyone else getting multiple emails from this list?

I am getting five (count 'em) 5 copies of each message!

I've checked the mail headers and they are all being sent to the same
address (i.e. I have subscribed under 5 separate email addresses!).

It's really only started doing it today, but has occurred on and off a
few times in recent days.

It seems to be doing it consistently now though!

Can anyone let me know if it's happening to them?

Thanks




Tim


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Best Practice for EJB-App Config Files

2001-11-27 Thread RCHEVALL

I have EJB properties as env-entry in the descriptor xml file, but they can
be overriden by a property file (1 or more) if this one if found (it has a
default path name (e.g. /myapp/ejb1.properties))

All you have to do is add to the jboss.conf a MLET classPathExtension
section to add the classpath the root of this location, so the property file
can be loaded as a resource. (no need to change the classpath or set a
system property in the jboss starting script )
e.g: 
!-- application properties files are in jboss/../cfg directory --
MLET CODE = org.jboss.util.ClassPathExtension ARCHIVE=jboss.jar
CODEBASE=../../lib/ext/
   ARG TYPE=java.lang.String VALUE=../../../cfg
/MLET

Hope it helps

R Chevallier


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Redux of Performance Issues

2001-11-27 Thread Hunter Hillegas

As a long time Tomcat user that just started trying Jetty, it is much faster
than Tomcat, the developer community is much more responsive, and the
integration with JBoss seems better. I wouldn't be surprised if you stay
with Jetty permanently.

Hunter

 From: [EMAIL PROTECTED]
 Date: Tue, 27 Nov 2001 18:06:32 -0500
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: RE: [JBoss-user] Redux of Performance Issues
 
 We're probably going to give Jetty a shot in
 the short term, and find out what, if anything, we can do about getting
 Tomcat to handle the load.


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] EJB QL Help

2001-11-27 Thread Hunter Hillegas

Has this bugfix made it in to HEAD yet?

 From: Dain Sundstrom [EMAIL PROTECTED]
 Date: Mon, 26 Nov 2001 00:35:52 -0600
 To: 'Hunter Hillegas' [EMAIL PROTECTED], JBoss 2
 [EMAIL PROTECTED]
 Subject: RE: [JBoss-user] EJB QL Help
 
 This is a bug in the EJB-QL parser. I was making a check against only the
 known abstract schemas and not the known collection valued identifiers.
 
 -dain
 
 -Original Message-
 From: Hunter Hillegas [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, November 25, 2001 5:09 PM
 To: JBoss 2
 Subject: [JBoss-user] EJB QL Help
 
 
 I am having trouble with an EJBQL query... I'm sure I'm making a dumb
 mistake but my brain is fried and I can't see it.
 
 Here's the query:
 
 SELECT OBJECT(p) FROM ProductGroup as c, IN(c.products) AS p
 WHERE c.name =
 ?1
 
 The point is to find all products from the productgroup named in the
 parameter.
 
 I get this upon deployment:
 
 Path element with identifier is not an instance of AbstractSchema:
 identifier=p, pathElement=[CMRField: name=products]
 
 ?
 
 Thanks,
 Hunter
 
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user