Re: [JBoss-user] PersistenceManager wouldn't start

2003-10-03 Thread Peter Fagerlund
On Thursday, Oct 2, 2003, at 17:29 Europe/Stockholm, Adrian Brock wrote:

17:52:18,059 INFO  [MainDeployer] Starting deployment of package:  
file:/home/fane/builds/jboss-3.2.1/server/default/deploy/jms/jbossmq- 
service.xml
JBossMQ uses HSQLDB as default. If You are not using the mq service  
then remove it or edit it to reflect Your chosen db settings.



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


Re: [JBoss-user] Unremoved DB locks on JBoss Stop

2003-02-25 Thread Peter Fagerlund

tisdagen den 25 februari 2003 kl 00.33 skrev Brian Taylor:

Shutdown is performed by closing the console window. Is this not a good idea? Should I be using 'shutdown 127.0.0.1 8080'?

We're using 3.0.4 on MS SQL Server 2000.

Use ctrl c, a shutdown script or the jmx-console -to execute the shutdownhook.

Do not know if Your operating systems console is performing a ctrl c on processes active when closing the window of the CLI.

There seem to been some problem regarding the shutdownhook in 3.0.6 ... for 3.0.4 I do not know - check the bug db at sf.net

Re: [JBoss-user] How to separate jboss and hypersonic db???

2003-02-05 Thread peter . fagerlund

onsdagen den 5 februari 2003 kl 19.40 skrev Hanson, Matthew:

that's why i was hoping to get it straight from the beginning, you know?

Have You looked into hsqldbr(eplikated) ... ? ... 
http://www.javagroups.com/javagroupsnew/docs/hsqldbr.html 

and all other things hypersonic here :
http://sourceforge.net/projects/hsqldb/




Re: [JBoss-user] How to separate jboss and hypersonic db???

2003-01-31 Thread Peter Fagerlund

fredagen den 31 januari 2003 kl 15.37 skrev Hanson, Matthew:


my bad - i believe i was wrong with the db server...  connection was 
refused
in jboss when i killer the hsqldb server...  now i just need to figure 
out
why my schema is not bound anywhere...  thanks, and sorry!  matt hanson

From memory :

comment out the Hypersonic mbean definition
comment out the dependsHypersonic in the DefaultDS definition
make sure You define user/pass in the DefaultDS definition

I also recall some problems with the blank password ...  try send in a 
space   or create a pass for user sa in Your db instance and send 
in that pass.

-Original Message-
From: Hanson, Matthew [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 8:17 AM
To: '[EMAIL PROTECTED]'
Subject: [JBoss-user] How to separate jboss and hypersonic db???


Hi--

Running jboss-3.0.4_tomcat-4.1.12 and HSQLDB 1.7.1.b (i.e., not the
jboss-supplied ver) on Win NT4.0.

I saw a pointer in the forums regarding configuring a new version of
hypersonic.  The hint said that changing the port in DefaultDS 
datasource
(hsqldb-services.xml) to the port where the hypersonic db server is 
running
would be an easy workaround.  I have hypersonic running on its default 
9001
port on localhost, and it is awaiting connections.

So, I tried changing the port in
%JBOSS_HOME%\server\default\deploy\hsqldb-service.xml to the 9001, but 
jboss
hangs while deploying/starting the beans associated with my hypersonic 
db
instance.  I can kill the db server, and jboss finishes deploying the 
beans.
I had assumed that I should have the db server running before starting 
up
jboss, as we did when we were using our oracle server.  I am assuming 
that
jboss is trying to startup up the hypersonic db server, but I was 
hoping I
could get around this.  I already have the data configured in my 
hypersonic
server, and I would prefer to keep it where it is.  I believe that 
jboss
wants the data in %JBOSS_HOME%\server\default\db\hypersonic, right?

Anyway, if someone has a recommendation on a clean way to separate 
jboss and
hypersonic, I would be very appreciative.

Thanks!
Matt Hanson!


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


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




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



Re: [JBoss-user] RE: question about jboss cmp

2003-01-30 Thread Peter Fagerlund

onsdagen den 29 januari 2003 kl 21.55 skrev Pete Beck:

On a side note, I wonder if the SQL parser in the hypersonic codebase
could be modified to work on EJBs? :-)


Using Hypersonic as a sql-cache front-end to Your DB is possible 
today with additional trigger classes.

torsdagen den 30 januari 2003 kl 17.57 skrev Dain Sundstrom:
There are two solutions here: all data is in memory, or we cache query 
results.

Depending on application both scenarios can be done with the above 
mentioned Hypersonic trigger classes.
As Dain points out synchronising the sql-cache front-end and the DB 
back-end is dependent on the application.
1) one way would be to let all traffic to the DB back-end pass 
through the sql-cache front-end.
2) another would be to build native notifications from the DB 
back-end to update the sql-cache front-end.
With the current Hypersonic version 1.7.1 it is only recommended for 
non tx style apps. Then again using 2) one would let the DB back-end 
with or without JBoss managed tx update the sql-cache front-end ... 
from the tx able DB back-end.





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


Re: [JBoss-user] jms issues

2003-01-17 Thread Peter Fagerlund

fredagen den 17 januari 2003 kl 21.37 skrev Ed Brown:


1) I suspect a corrupted DB from a not clean shutdown
2) I suspect a corrupted DB from a not clean shutdown


Shutdown was done using CTRL-C at the console. Since that was the 
way to shut it down, corrupted queues resulting from shutdown was not 
acceptable.

Yes - I am probing here ! We do not test our shutdownhck  in the 
testsuite ! ... today tested by asking You all to report back as soon 
as possible ... this way We will converge  ... into ff ...



---
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your 
clients even if they use browsers that are limited to 40 bit encryption. 
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] jbossmq-service deployment takes a LONG time in 3.2.0RC1

2003-01-16 Thread Peter Fagerlund

torsdagen den 16 januari 2003 kl 16.31 skrev Stefan Arentz:


David Ward wrote:


I'm using jboss-3.2.0RC1_tomcat-4.1.18 with Sun JDK 1.4.1_01 on  
Mandrake 9.0 Linux 2.4.19-16, with half a gig of RAM and an 800mghz  
i686 cpu.

I've noticed that on JBoss startup (using the default server), this  
line takes upwards of ** 15 seconds **:

10:13:24,288 INFO  [SARDeployer] looking for nested deployments in :
file:/home/david/data/packages/jboss/3.2.0RC1_tomcat-4.1.18/server/ 
default/deploy/jbossmq-service.xml


On first startup or on sequential startups ?

Depending on how hard You populated the DefaultDS Hypersonic backend, I  
am guessing - Hypersonic on a sequential startup is rebuilding tables  
and populating data while the jbossmq component idle's, since it is  
dependent on DefaultDS to be fully started ? ... Can You check Your  
logs and or confirm if the above scenario is what You are experiencing.  
Also if relevant try deploy /docs/examples/jca/hsqldb-sqlcache-ds.xml  
instead of /server/default/deploy/hsqldb-ds.xml and se if the startup  
shortens. The hsqldb-sqlcache-ds.xml will not use any network resources  
(SPEED) and also not persist over invocations, leaving You in a  
development situation with faster startups. 



---
This SF.NET email is sponsored by: Thawte.com
Understand how to protect your customers personal information by implementing
SSL on your Apache Web Server. Click here to get our FREE Thawte Apache 
Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Disable nested deployments

2003-01-16 Thread Peter Fagerlund

torsdagen den 16 januari 2003 kl 19.19 skrev Danilo Luiz Rheinheimer:


How I can disable the nested deployments in a SAR file ?
  The problem is I have many .bsh files on it and when I deploy it on
3.2RC1 it deploy this files. This files are bean shell scripts but to
be used by my mbean and not to be deployed.


rename .bsh to for ex .bsh.noDeploy and let Your mbean use those ?



---
This SF.NET email is sponsored by: Thawte.com
Understand how to protect your customers personal information by implementing
SSL on your Apache Web Server. Click here to get our FREE Thawte Apache 
Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] jms issues

2003-01-15 Thread Peter Fagerlund

torsdagen den 16 januari 2003 kl 03.49 skrev Ed Brown:


Here are the list of problems that I ran into when I used the JBoss 
implementation:

1. If too many messages were queued up, and the server was stopped and 
restarted, the server hung.

2. Sometimes when the server was stopped and restarted, the message 
queues seemed to get corrupted and the things wouldn't work. I would 
have to stop JBoss, manually remove the queues and restart.

3. The message queues didn't seem to hold up under heavy load.

DefaultDS is used per default unless You massage Your persistent 
settings the above can result as perceived.

1) I suspect a corrupted DB from a not clean shutdown
2) I suspect a corrupted DB from a not clean shutdown
3) Depends how heavy We talk here ? could also be my introduced thread 
bug ?

What was Your test setup HW/SW and JBoss version ?



---
This SF.NET email is sponsored by: A Thawte Code Signing Certificate 
is essential in establishing user confidence by providing assurance of 
authenticity and code integrity. Download our Free Code Signing guide:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] hsqldb connection/JBOSS3.0.3-( jboss newbie)

2003-01-11 Thread Peter Fagerlund

lördagen den 11 januari 2003 kl 18.57 skrev Martin:


Am using the following to connect to hsqldb using JBOSS3.0.3


When are You executing the script ? During JBoss startup ? or later ...


d. I get the following error
Build exception: D:\OLSurveyEJB\build\builDB.xml:124: 
java.sql.SQLException: Connection is broken: Connection refused: 
connect

Is hsqldb fully started ? and or can You connect to it thought the 
jmx-console ?





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


Re: [JBoss-user] Cmp vs hibernate

2003-01-11 Thread Peter Fagerlund

söndagen den 12 januari 2003 kl 01.54 skrev Pete Beck:


Why not, it would be much more efficient?


I am somewhat misquoting You above ... to stress ... that of course 
there could be another acronym ... but RDBMS/OODBMS ...



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


Re: [JBoss-user] Deploying images dynamically

2003-01-02 Thread Peter Fagerlund

torsdagen den 2 januari 2003 kl 11.44 skrev Niket Anand:


I made war and jar files in a combined ear file and deployed that ear 
file
in deploy folder(JBoss-2.4.7_Tomcat-4.0.4).
I have some scenario where some of the images are made dynamically.

at run time ? or at package time ?


so How
can I integrate that new generated images with ear file so that server 
can
understand that images?

One way would be to place Your dynamic generated image in the file 
system at server root and have clients access it through a static url 
as http://domain.topDoman/image.format.

KISS
/peter_f



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


Re: [JBoss-user] A few J2EE/EJB design questions

2002-12-27 Thread Peter Fagerlund

fredagen den 27 december 2002 kl 21.23 skrev Sasidharan, Manoj:


1. Can a singleton class object be garbage collected by App server 
(JBoss)??
If so, can this be avoided/controlled?

Keep a reference to Your object valid for the lifespan of the same ! ...


2. How to use Log4J for logging? Some pointers to implementation would 
be
helpful.

Read The Manual ! ...


3. What is the best design strategy to provide a configuration file to 
an
EJB application - XML, JMX, etc..??

The best design is governed by Your application ! ...


4. Does App Server (JBoss) have some built-in Auditing features..


Yes - while in the (JBoss)  VM You can extract 'ALL' ! ...


5. Can we get some service performance statistics from App server
* what was the min, avg and max response time for a Session bean 
method call
* and some other performance matrix pointing out system wide 
bottlenecks

Yes You can ... email :  [EMAIL PROTECTED]


Thanks in advance for your time.


You are Welcome
/peter_f



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



Re: [JBoss-user] cmp mapping question

2002-12-15 Thread Peter Fagerlund

söndagen den 15 december 2002 kl 18.23 skrev Eric Kaplan:


It's a financial application.


Plesase epost [EMAIL PROTECTED] or something ... here We try to learn and 
share ! ...



---
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] JNDIView and Hypersonic manager in 3.2.0b2/jetty ?

2002-12-12 Thread Peter Fagerlund

onsdagen den 11 december 2002 kl 19.00 skrev Rupp,Heiko:


I meanwhile found out, that the database manager of Hypersonic DB
sometimes pops up and sometimes not.


Thats disturbing - how much memory do You have ?
also sometimes the DatabaseManager is started but hidden under other 
windows ?

Also I am sometimes able to change the MBean values of the
Hypersonc service (like silent from false to true), but can't
reset them.


This should be possible ! change value - Stop mbean - Start mbean 
should redeploy with the new values.

This all happens when the server it up and running without
redeployments in between.

Also the DB-Manager does not come up directly after reboot of the
server.


No You must start it from the jmx-console anew.


It even looks like most of the operations of the jmx-console don't
really succeed. How can I debug this?

If I didn't mention it yet: Jboss 3.2.0beta 2 on Win2k with the
default server


hmmm ... disturbing what do Your log say ?

/peter_f



---
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] JNDIView and Hypersonic manager in 3.2.0b2/jetty ?

2002-12-12 Thread Peter Fagerlund
torsdagen den 12 december 2002 kl 14.56 skrev Peter Fagerlund:


Also the DB-Manager does not come up directly after reboot of the
server.


No You must start it from the jmx-console anew.


maybe We can add it as a attribute in the mbean config
attribute name=StartDBM_at_Boottrue/attribute

?



---
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] JNDIView and Hypersonic manager in 3.2.0b2/jetty ?

2002-12-12 Thread Peter Fagerlund

torsdagen den 12 december 2002 kl 15.36 skrev Rupp,Heiko:


Are there additional trace flags for jetty / hypersonic that I
should tweak?


Can You try Jboss 3.2 from CVS ?
as it just got hsqldb updated to 1.7.1 and se if Your problem goes away 
with the new Swing based DatabaseManager.



---
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Startup Ordering problem with 4.0 Alpha

2002-12-06 Thread Peter Fagerlund
torsdagen den 5 december 2002 kl 14.00 skrev [EMAIL PROTECTED]:


Any Ideas?


- try
code change:
Start the hsqldb thread with a high priority ? and after startup fall 
back to normal.
Config change:
Use Persistent == false and se if the problem disappears.

Did You try ? Please do report back at anytime when given suggestions 
...

Separation of dependencies come at a 
JBossMicroKernel:ContainerDeployment;ApplicationDeployment level ...

so ? Your application maybe could use a timer, if You find starting 
Your application at JbossHardBoot time, reflects on Your desired 
container behavior ...

/peter_f



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


Re: [JBoss-user] Startup Ordering problem with 4.0 Alpha

2002-12-05 Thread Peter Fagerlund

torsdagen den 5 december 2002 kl 14.00 skrev [EMAIL PROTECTED]:


Any Ideas?


- try
code change:
Start the hsqldb thread with a high priority ? and after startup fall 
back to normal.
Config change:
Use Persistent == false and se if the problem disappears.

/peter_f



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


Re: [JBoss-user] regression tester is dying after 3 hours

2002-12-04 Thread Peter Fagerlund
Can You be more specific on Your testbed ...
+++
\Pretty PleUase		...
|||



---
This SF.net email is sponsored by: Microsoft Visual Studio.NET 
comprehensive development tool, built to increase your 
productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Hibernate and JBoss 3.0.4

2002-11-30 Thread Peter Fagerlund
chill - hibernate just works (TM) - inside JBoss or out ! ...

The gay is slandering hiberbate here and jboss there - Simon - U say U  
not going to use jboss in prod anyway !

*** From the hibernate list We conclude this Simon (Jasons Brother  
...heeh) is using a generation totally wrong in its function ... and  
therefore has the right it seems to waste our time  and goodwill ,,,

*** Start Hibernate dev list
From: Max Rydahl Andersen [EMAIL PROTECTED]
 Re: JBoss and Hibernate  
2002-11-29 09:09

 This is expected behavior, snippet from the docs:

 hilo.long

 Uses a hi/lo algorithm to efficiently generate identifiers of type  
long,
 given a table and column (by default hibernate_unique_key and next
 respectively) as a source of hi values. The hi/lo algorithm generates
 identifiers that are unique only for a particular database. Do not use  
this
 generator with connections enlisted with JTA or with a user-supplied
 connection.

 Notice the last line :)

 Workaround: Make your own generator that makes a direct connection to  
do the
 same thing :)

 Maybe we should provide such a beast with hibernate ?

 /max

 - Original Message -
 From: Simon Stewart [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, November 29, 2002 5:56 PM
 Subject: [Hibernate] JBoss and Hibernate


  Using JBoss 3.0.4, the Apple OS X JDK 1.4DP6 and Postgres 7.2.2 it is
  impossible to persist objects using Hibernate (beta4). When using  
code
  similar to:
 
  Person p = new Person();
  Session sess = Hibernate.openSession();
  sess.save( p );  // Exception thrown here
  // Close session properly.
 
  The following SQL exception is thrown:
 
  java.sql.SQLException: You cannot commit with autocommit set!
 
  This is ultimately caused by the HiLoGenerator while trying to set  
the
  persisted object's ID. If I try the same sort of thing with a
  Transaction:
 
  Person p = new Person();
  Session sess = Hibernate.openSession();
  Transaction tx = sess.beginTransaction();
  sess.save( p );  // Exception thrown here
  tx.commit();
  // Close session properly
 
  The exception:
 
  java.sql.SQLException: You cannot commit during a managed  
transaction!
 
  is thrown. This is again caused by the HiLoGenerator.
 
  As I had not seen this behaviour under previous versions of JBoss, I
  posted to the JBoss user list asking if anyone else had seen this
  problem. David Jencks, one of the JBoss developers, replied that:
 
  Autocommit on is required by the jca spec, and should have been the
  case
  for 3.0 versions as well.  You should endevour to make the  
transactions
  be
  controlled by the jboss tm/jta/cmt etc.
 
  Which fits with my error messages because I obtain my datasource from
  the JNDI (java:/DefaultDS, if that helps) The problem is that the
  HiLoGenerator (which my classes use) commits the changes that it has
  made to the underlying Hi/Lo table by calling Connection.commit()  
(line
  131 in HiLoGenerator.java, I think) rather than using a transaction,
  which would work. Are there any known work-arounds to this problem
  other than generating the IDs myself? Should I mark it as a bug on  
the
  sourceforge pages?
 
  Regards,
*** End Hibernate dev list

söndagen den 1 december 2002 kl 03.00 skrev Igor Fedorenko:


David Jencks wrote:

Why do you think this answer is correct? Does the jdbc spec say so?  I
think if you are in a managed transaction, autocommit should be  
reported
true -- you didn't set autocommit (false), and you can't control when  
the
transaction is committed.
JDBC 2.0 Standard Extension API, section 7.1
quote
Because transaction boundaries are controlled by the middle-tier  
server, the application
code may not call the Connection.commit() or Connection.rollback()  
methods.
These methods will throw an SQLException if they are called. In  
addition, the Connection
object that is returned by a DataSource when distributed transactions  
are being
done has autoCommit turned off by default. Attempting to enable  
autoCommit by calling
Connection.setAutoCommit() with a value of true will throw an  
SQLException.
The example below illustrates a typical sequence of JDBC API  
operations that an application
developer would write in a middle-tier environment where distributed  
transactions
are being used. The example assumes that ds is of type DataSource.
/quote

At the same time I agree with you that it should not matter much to  
applications.

Also, why won't the same patch work for xa datasources with the newer
wrapper?

As far as I remember XAWrappedConnection (or whatever its name) does  
not manage inManagedTransaction, i.e. inManagedTransaction is always  
false for xa connections. It was awhile ago but I remember that I've  
reviewed the code for possible related problems I could not find any.

Thanks
david jencks
On 2002.11.29 10:59:16 -0500 Igor Fedorenko wrote:

Simon Stewart wrote:


Off list I had a reply to this email, the gist of the email (and my  
reply) was:


I encountered 

Re: [JBoss-user] Hibernate and JBoss 3.0.4

2002-11-29 Thread Peter Fagerlund

fredagen den 29 november 2002 kl 14.12 skrev Simon Stewart:


I now have a problem using Hibernate, but that's not appropriate for 
this list :)

How do You execute hibernate ? by deploying the JMX MBean ?

/peter_f



---
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power  Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Hibernate and JBoss 3.0.4

2002-11-29 Thread Peter Fagerlund

fredagen den 29 november 2002 kl 15.34 skrev Simon Stewart:


I've heard great things about Hibernate, but this is starting to get 
beyond a joke. Any help getting this working would be appreciated!

I think - it might be a simple configuration problem ? ...

Can You try the JMX deploy ? ... and report back ... another solution 
might be consulting the Hibernate support list ...

/peter_f



---
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power  Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] CMR Performance: Weblogic7 Much Faster Then JBoss

2002-11-22 Thread Peter Fagerlund

fredagen den 22 november 2002 kl 13.04 skrev Sacha Labourey:


We really need to find out why going
to the DB (in-VM DB at least... ouf...) is faster than retrieving from
cache.


hehe ...

cache is King
makes me want to sing
use the sqlcache
as ***xp*** mesh.

/peter_f



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



Re: [JBoss-user] jdbc2.PersistenceManager fails with large messages

2002-11-21 Thread Peter Fagerlund
onsdagen den 20 november 2002 kl 20.58 skrev Sebastian Hauer:


The patch is rather old from August 5th 2001 and the status is closed.
Maybe it is already fixed in the latest HSQL 1.7.1?


Yes it is included in 1.7.x
1.7.1 is in CVS HEAD (4.0 alpha) scheduled for inclusion in 3.2RC

/peter_f

	Money for nothing - chick's for free



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



Re: [JBoss-user] jdbc2.PersistenceManager fails with large messages

2002-11-20 Thread Peter Fagerlund
onsdagen den 20 november 2002 kl 07.02 skrev Scott M Stark:


If I send an object message with a payload of approximately
32224 bytes and receive the following exception:


There is a large object patch in the hsqldb patch area that will allow 
Binary data then 32k.

*** hsqldb_v.1.61/doc/internet/hSqlSpec.html

*	The size of Binary data is limited to about 32 KB (because UTF is 
used)



---
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] jdbc2.PersistenceManager fails with large messages

2002-11-20 Thread Peter Fagerlund

onsdagen den 20 november 2002 kl 07.02 skrev Scott M Stark:


If I send an object message with a payload of approximately
32224 bytes and receive the following exception:


snip

*** Start hsqldb 1.6.1 faq
What is the limitations of the database (size of columns, number of 
tables, rows...)?

There is no limitation. Number of columns, tables, indexes, size of 
columns and so on is limited only by the memory.

*	My database runs out of memory / How much memory does a database need?

If only memory tables (CREATE TABLE or CREATE MEMORY TABLE) are used 
then the database is limited by the memory. About 500 bytes are 
required for each record. If you use CREATE CACHED TABLE, then the size 
of this table is not limited by the memory (because it is saved to 
disk). Indexes of cached tables are also saved to disk.

*	What is the biggest known Hypersonic SQL database?

Tests have been made with 4'000'000 records using the SelfTest 
application (insert, update, delete). The size of the database is then 
over 400 MB. For this tests the main memory was limited to 16 MB. The 
current size limit of a Hypersonic SQL database is currently 2 GB (the 
biggest integer value). If this is a problem, the limit is easy to 
change.

*** End hsqldb 1.6.1 faq



---
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] how to manage the jboss default dbase?

2002-11-20 Thread Peter Fagerlund

söndagen den 17 november 2002 kl 15.30 skrev SainTiss:


during my early experiments, I had managed to deploy a simple entity
bean using the default database.
So during that process, a table was created there...
Now I'm wondering how I can delete that table again, since it's no
longer of any use...


A alternative to drop the table programatically or by using the  
DatabaseManager is to edit or throw away Your  
{DEPLOYPATH}/data/hypersonic/ 
default.data:default.properties:default.script files and just restart  
hsqldb component or all of jboss.

/peter_f


---
This sf.net email is sponsored by: To learn the basics of securing
your web site with SSL, click here to get a FREE TRIAL of a Thawte
Server Certificate: http://www.gothawte.com/rd524.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] CMRs are Slow (was: Entity Bean Performance Tuni ng Help)

2002-11-07 Thread Peter Fagerlund

torsdagen den 7 november 2002 kl 22.33 skrev Luttrell, Peter:


Since Dain has spent so much time, he is the best person to performance
tweak it. I am not.


True - then again You are on the spot of where ! with a prod probe 
clear case  - Dain might be dp down somewhere else right now and 
therefore You ( hmmmprrr or me ... somebody help ;-) ) might still be 
the best to further drill it down and report - ? ... anyhow on behalf 
of the free JBoss community I here take the liberty to thank You from 
all of Us for Your excellent clear, patient, effort and great findings 
...

Love
peter_f



---
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power  Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] hsqldb 1.7.1 is using port 1701 as default in head (Matrix2)

2002-11-07 Thread Peter Fagerlund
Yes it is ...

Q: why
A: donow ... just one of those those things that might help in hsqldb 
versioning debugging ...

later u all ...

PS:
***
build is most test is run in testsuit/build.sh tests
***
21:43:46,200 INFO  [ServerInfo] Java version: 1.3.1,Apple Computer, Inc.
21:43:46,203 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 
1.3.1_03-69,Apple Computer, Inc.
21:43:46,207 INFO  [ServerInfo] OS-System: Mac OS X 10.2.1,ppc
21:43:46,214 DEBUG [ServerInfo] java.vm.name: Java HotSpot(TM) 
Client VM
21:43:46,215 DEBUG [ServerInfo] java.runtime.version: 
1.3.1-root_1.3.1_020714-12:46
21:43:46,216 DEBUG [ServerInfo] os.arch: ppc
***
Summary
Tests	Failures	Errors	Success rate	Time
961	5	27	96.67%	6841.004
***

ONLY rolled into head as of now ... did not test 3.2 !

***



---
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power  Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Entity Bean Performance Tuning Help

2002-11-06 Thread Peter Fagerlund
onsdagen den 6 november 2002 kl 13.51 skrev saroj kumar:


1) If there is no container then how do we parse the XML?

2) If there are no Entity beans then how do you query?

3) If Above points are sorted out then how do we achieve complex
joins/unions?


How would Hibernate stand up ? ...

As a bonus Hibernate has a JMX component to be run in jboss - how-to 
configure Hibernate JMX in JBoss in the FAQ section.

/peter_f

*** from Performance QA @ http://hibernate.sourceforge.net/
We claim that Hibernate performs well, in the sense that its 
performance is limited by the underlying JDBC driver / relational 
database combination. (Generally the overhead is between 5% and 15% of 
the JDBC calls.)
***
*** from About Hibernate FAQ @ http://hibernate.sourceforge.net/
Use a Session EJB to control transactional scope, security, threading 
and remoteablity. Use Hibernate for persistence. Arguably, the J2EE 
architecture went wrong when it tried to address too many separate 
problems with a one-size-fits-all solution. Most business objects are 
too fine grained to make good entity beans.
***
*** from Best Practices @ http://hibernate.sourceforge.net/
use hand-coded JDBC in bottlenecks
In performance-critical areas of the system, some kinds of operations 
(eg. mass update / delete) might benefit from direct JDBC. But please, 
wait until you know something is a bottleneck. And don''t assume that 
direct JDBC is necessarily faster.
If you need to use direct JDBC, it might be worth opening a Hibernate 
Session and using that SQL connection. That way you can still use the 
same transaction strategy and underlying connection provider.
***



---
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power  Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] why EJBs?

2002-10-16 Thread Peter Fagerlund


onsdagen den 16 oktober 2002 kl 18.49 skrev Vincent Stoessel:

 I am finding that modeling my business logic in custom beans seems to 
 be
 working fine for me in tomcat 4.1.x enviroment. But I know that my 
 management would really like for me to add EJBs to the mix. I was 
 looking at using jboss. Can some pro-Jboss/EJB person tell why in the 
 world I need to be using EJB instead of using my own model classes? It 
 is a relatively small app but an important one for the company.

EJB's is scalable and degrades gracefully ... EJB's with *all* the 
API's that specifies J2EE will help in being more productive while 
delegating responsibilities in teams, it also gives You a choice to mix 
and migrate between J2EE vendors and providers.

/peter_f



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



Re: [JBoss-user] OT Wiki in jboss

2002-10-12 Thread Peter Fagerlund
lördagen den 12 oktober 2002 kl 01.03 skrev Stefan Groschupf:


sorry be  out topic, someone know a wiki software running under jboss 
with
jetty?

Any under JavaLanguage @ http://c2.com/cgi/wiki?WikiEngines


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



Re: [JBoss-user] JBossGui

2002-04-16 Thread Peter Fagerlund

Try this tool and extended it for management
screenshoot :
http://pollo.sourceforge.net/sitemap1.png
sf.net :
http://sourceforge.net/projects/pollo/

beutiful for ant and *-service.xml files allready,
not so happy with BM xml files tho ;-( ... yet ? ...

/peter_f


on 16-04-2 22.40, David Jencks at [EMAIL PROTECTED] wrote:

 EJX died a long time ago from lack of interest.  There have been several
 people interested in developing various kinds of gui for jboss, but none of
 them is available yet.
 
 If you want a tool to help with the jboss dds, try xdoclet (on
 sourceforge), which will generate them from tags in your source code: also
 it generates home and remote interfaces.
 
 david jencks
 
 
 On 2002.04.16 15:54:42 -0400 Andrei Svirida wrote:
 Hi all,
 
 does anyone have an idea where to download JBossGui announced at
 http://www.jboss.org/developers/jboss-projects.jsp?
 I've tried both downloading the binary distribution and checking out
 jboss-all target per CVS, it seems not
 to be there.
 Please cc your answer to [EMAIL PROTECTED]
 
 
 
 
 --
 best regards, Andrei Svirida
 
 
 ___
 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



Re: [JBoss-user] JBoss 3.0.0beta2 and Tomcat 4.0.2 - No Contextconfigured to process this request?!

2002-04-09 Thread Peter Fagerlund

on 09-04-2 22.39, James Richards at [EMAIL PROTECTED] wrote:

 I'm assuming that deploying a war file into the server/default/deploy
 will work, but I would like to develop locally without the pain of
 jarring everything up...

Ahhh ...

A web service deployed as a .sar will give You a context able place to
deploy on ... You could have Your IDE(text editor) to save the source if it
lives in deploy and BANG - done - ... -hehe ... I am just dreaming ... right
;-) ...

/peter_f


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



Re: [JBoss-user] Re: [JBoss-dev] Automated JBoss TestsuiteResults: 7-April-2002

2002-04-07 Thread Peter Fagerlund

on 07-04-2 18.13, Richard Lim at [EMAIL PROTECTED] wrote:

 Ass hole, Can you stop sending this email to me.

U talking to Me ?



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



Re: [JBoss-user] How to remove agent view( http://localhost:8082) ?

2002-04-05 Thread Peter Fagerlund

on 05-04-2 09.18, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote:

 How can I remove the agent view (http://localhost:8082) ??
 because if someone knows the address, they can see the database's user
 name and password.
 Or can I just put authentication to see the page ??

There is a patch You can try :
http://sourceforge.net/tracker/index.php?func=detailaid=533737group_id=228
66atid=376687

A firewall is prefered when running a appserver - there are more ports open.

/peter_f


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



Re: [JBoss-user] Scott Stark, Daniel Fleury or Mark Fleury -Press Release Questio n (OT)

2002-03-28 Thread Peter Fagerlund

on 28-03-2 06.11, danch at [EMAIL PROTECTED] wrote:
 U have the wrong address ! ...
  If you're going to bitch about someone else's post being in html, at
 least strain your fingers to type the word 'you.' That's three freaking
 letters, Peter. I understand if english is not your first language, but
 typing three more letters won't hurt you. Grammar and sentence structure
 I can deal with, but this makes you come across like some script-kiddy.

true

 Sorry, but that's one of my hot-buttons.

I noticed ...

 Show Me the Money ...
 rant
 Great, that's all we need! Peter insulting people on behalf of the JBoss
 Group, even before Marc has a chance to. Now Peter, exactly what _is_
 your connection to the JBoss Group, that you're stealing Marc's line?
 You are apparently aware that The JBoss Group is a separate legal
 entity, an independent company? Can you speak for them?
 
 Frankly this is a very strange attitude for people who want to be paid
 to have: let's just insult anyone who comes along saying 'this could be
 better' and we certainly can't let anyone get away with publishing a
 press release mentioning how using JBoss made the project work so much
 better! The nerve of some people, to give JBoss free publicity! I'm not
 saying anyone should go out of their way to support someone who expects
 to be treated as royalty for free; I'm just saying that there are polite
 and professional ways to explain the difference between open-source and
 free support to people.
 
 What does it take for people to understand that what they say in a
 public forum _is_ their advertisement for _themselves_. Do you, and
 Marc, for that matter, really think that people who will later make
 decisions don't read this? Do you really think people don't remember
 names and attitudes from a mailing list? Your current customers pale in
 comparison to your future customers; otherwise you're already dead! If
 you offer JBoss consulting services, just about every person posting (or
 more importantly lurking) on this list is a potential customer. Don't
 burn bridges, either before or behind you.
 
 If you offer JBoss consulting services, just about every person posting
 (or more importantly lurking) on this list is a potential customer!
 
 Yes, I repeated that for emphasis. I really think that this is something
 that people involved with JBoss need to understand.
 
 /rant

Man You are good - I wish I could express myself as clear as U ...

I do not speak on behalf of the JBoss Group - nor has my intention been to
do so - I am a user of this list and I do react to html formated mail ...
also to mail addressed to the wrong recipient ...

If people want to Talk Shop or Shop Talk then I suggest they do that at
the bussiness list and keep this one for tech realated issues.

I am not here to attract customers. I am here to learn and share.

 -danch
 (amazed that he, of all people, is trying to convince people of the
 power of tact and politic)

That Me - an oxymoron - U say ...
/peter_f



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



Re: [JBoss-user] Scott Stark, Daniel Fleury or Marc Fleury - Press Release Question (OT)

2002-03-28 Thread Peter Fagerlund

Love goes as long way ...

It is easy - as a child I was tough to endure under stress - as an
independent I learned to tolerate stress under doubtful situations with
Andersen Accountants value ground as base ... - hehe ...

Danch is this to political for U ? ...

61.176.32.194


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



[JBoss-user] Re: [JBoss-user]ÊÖ»ú×îµÍ¼Û£¬·þÎñË͵½¼Ò¡£

2002-03-26 Thread Peter Fagerlund

on 26-03-2 13.52, @joyce.shortlist.se at
@joyce.shortlist.se wrote:

 
 ???
 
 ??
 
 http://www.139shop.com/asp/mem-from.asp?uid=waynetan
 
 ?
 
 waynetan
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user


***

Seems like IP 61.176.32.194 is 'posing' as joyce.shortlist.se

-hehe

***
61.176.32.194

Server used for this query: [ whois.apnic.net ]

% Rights restricted by copyright. See
http://www.apnic.net/db/dbcopyright.html
% (whois7.apnic.net)

inetnum: 61.176.0.0 - 61.176.255.255
netname: CHINANET-LN
descr:   CHINANET Liaoning province network
descr:   Data Communication Division
descr:   China Telecom
country: CN
admin-c: CH93-AP
tech-c:  GZ84-AP
mnt-by:  MAINT-CHINANET
mnt-lower:   MAINT-CN-CHINANET-LN
changed: [EMAIL PROTECTED] 20010221
source:  APNIC

person:  Chinanet Hostmaster
address: A12,Xin-Jie-Kou-Wai Street
country: CN
phone:   +86-10-62370437
fax-no:  +86-10-62053995
e-mail:  [EMAIL PROTECTED]
nic-hdl: CH93-AP
mnt-by:  MAINT-CHINANET
changed: [EMAIL PROTECTED] 2101
source:  APNIC

person:  Guangyu Zhan
address: DATA Communication Bureau of Liaoning Province,China
address: 38 Lianhe Road,Dadong District Shenyang 110044,China
country: CN
phone:   +86-24-22800096
fax-no:  +86-24-22800368
e-mail:  [EMAIL PROTECTED]
nic-hdl: GZ84-AP
mnt-by:  MAINT-CN-CHINANET-LN
changed: [EMAIL PROTECTED] 2815
source:  APNIC







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



Re: [JBoss-user] How to update hsqldb

2002-02-21 Thread Peter Fagerlund

 We are 1.61 allready ? ...
 
 Right. Unfortunately the current JBoss version from CVS still seems to use
 1.6. 1.61 seems to be an important upgrade, since it allows OBJECT fields to
 be greater than 32KB, which is quite important, at least for me :-)

- JBoss are shipping with HSQLDB v 1.61 Changes 20 July 2001 ! ...

- The HSQLDB JDBC driver version is 1.6 ! ...

- Please point me to the source that states greater then 32KB ? ...

/peter

http://sourceforge.net/projects/hsqldb/


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



Re: [JBoss-user] How to update hsqldb

2002-02-21 Thread Peter Fagerlund

on 21-02-2 18.09, Eric Jain at [EMAIL PROTECTED] wrote:

 Apply the patch from the link below to the 1.61 source ...
 
 And unzip the JBoss HSQLDB - subtract
 /Embedded_Server.class
 /Embedded_ServerConnection.class
 /util/Embedded_DatabaseManager.class
 
 Not sure if I got you right, but neither updating the three fixed hsqldb
 class files in the jboss hsqldb.jar nor adding the extra class files from
 the jboss hsqldb.jar to the freshly compiled hsqldb produced a version that
 would work with JBoss.
 
 I wonder where all the extra classes in the JBoss hsqldb.jar come from, they
 don't seem to be included in the normal hsqldb source distribution or with
 JBoss?

There also are some SwingDatabaseManager classes in there ... You can try it
by uncomment it in HypersonicDatabase.java ...

The hsqldb non UTF.write patch changes three classes, one being
ServerConnection, the others are jdbcConnection.java and Column.java ... so
recompile hsqldb with the patch also applying the ServerConnection changes
to Embedded_ServerConnection (the source file I sent You), then zip it all
up. 

/peter


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



Re: [JBoss-user] How to update hsqldb

2002-02-20 Thread Peter Fagerlund

on 13-02-2 19.48, Eric Jain at [EMAIL PROTECTED] wrote:

 Problem: I need to be able to store large objects inside entity beans.
 Unfortunately, the version of hsqldb provided with JBoss 3.0.0 alpha only
 supports fields of up to 32KB. Apparently this has been fixed in the newest
 version of hsqldb, 1.6.1.
 
 Simply replacing the hsqldb.jar in lib/ext results in hundreds of error
 messages.
 Does anyone have any experience with updating the database?

There is a patch at sf.net (JBoss area) introducing three *new* classes for
the hsqldb.jar distributed with JBoss :

Embedded_Server.class
Embedded_ServerConnection.class
Embedded_DatabaseManager.class

rip them out using zip and zip them in ... in any new version of hsqldb,
to my knowledge We are 1.61 allready ? ...

/peter


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



Re: [JBoss-user] Shutdown hangs

2002-02-20 Thread Peter Fagerlund

on 19-02-2 19.01, Eric Jain at [EMAIL PROTECTED] wrote:

 Whenever I shut down JBoss (3.0.0 alpha), it remains hanging at the
 following point:
 
 [18:40:08] INFO  naming.NamingService : Stopping
 
 Any ideas why this could be happening?

You are on NT ? ...

/peter


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



Re: [JBoss-user] Forum for App Contribution

2001-12-07 Thread Peter Fagerlund

on 1-12-07 15.29, Peter Shillan at [EMAIL PROTECTED] wrote:

 created for the application contribution?

You can use http://jboss.org/forums/forum.jsp?forum=77 for now ...

/peter_f


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



Re: [JBoss-user] jboss-user shutdown

2001-12-04 Thread Peter Fagerlund

on 1-12-04 19.23, David Jencks at [EMAIL PROTECTED] wrote:

 Hmmm. heres another idea for a useful jboss demo... a jsp/ejb/db wiki with
 notifications and new content navigation.

Yes ***

and lets try have a plugable sift index for quick/smart search ! ... ?
intergrated together with Jive ! ... ? ...

/peter_f


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



Re: [JBoss-user] where is CMP2.0 documentation?

2001-12-03 Thread Peter Fagerlund

on 1-12-04 01.57, Hicks, James at [EMAIL PROTECTED] wrote:

Why is the JBoss Group charging for documentation?  An opensource project
should have freely available documentation.  How can a project survive if
nobody knows how to set it up?

it is *nix docu = source ! ... and jbossis going to have Kick Start
Documentation to get *everybody* started ... please understand there is
some heavy deeep knowlegde around in a *app server* and in the for order
jboss docu one can pick that knowledge up ...

it is a new way of doing biz ... please adapt now ! ...

If You can not aford a ford ... then U will not have a ford ! ...

10$ - that is what We all should spend per person per day for the people
that need fooddrops right now ! ...

Thanxs
/peter_f


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



Re: [JBoss-user] Multiple IP adresses

2001-11-28 Thread Peter Fagerlund

One way would be to use forward in netfilter iptables to have a route
from one ip:port - ip:port ... search for netfilter at google ...

/peter_f

on 1-11-28 15.49, Lorenzo Resta at [EMAIL PROTECTED] wrote:

 Hi,
 
 Does someone know if JBoss supports a server with two or more ethernet
 cards and therefore multiple IP-adresses? I am currently deploying a
 JBoss server
 on a Linux box (SuSe 6.4) with two ethernet cards. There are two
 stateless session beans deployed on that server. The trouble is now that
 i need to access the beans from two different IP-segments (*.*.140.* and
 *.*.139.*). The first network card's (eth0) IP adress is *.*.139.103. If
 i try now to access the bean from the *.*.139.* segment, it works fine,
 but a soon as i try to access the same bean through the *.*.140.*
 segment, the machine trying to use the bean, hangs. If i now change the
 first entry of the /etc/hosts file from *.*.139.103 to *.*.140.103, i
 can access the bean from the *.*.140.* segment but not from *.*.139.*
 segment. I also tried to remove all /etc/hosts entries for the server,
 but then JBoss doesn't start properly anymore. My question is : Is JBoss
 aware of multiple ethernet cards or not and how do i configure JBoss, so
 that it doesn't try to do a hostname lookup of it's own server?
 
 Iam using JBoss 2.2.1 with Jettty 3.1
 
 Any idea or hint is welcome!!!
 
 Thanks a lot
 
 Lorenzo Resta
 
 SurfKitchen Inc.
 
 
 
 ___
 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] 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



Re: [JBoss-user] Security

2001-11-15 Thread Peter Fagerlund

on 1-11-15 13.08, jquest jquest at [EMAIL PROTECTED] wrote:

 Hi all,
 I use jboss as application server.
 I can call http://my.server.ip:8082 and see the setup of jboss.
 How can I disaple this option.

The recomendation is :
when running a application server, do so behind a firewall ...

/peter_f


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



Re: [JBoss-user] JBOSS Future, productive sites

2001-10-15 Thread Peter Fagerlund

 In terms of tools for developing with JBoss?  XDoclet
 (http://sourceforge.net/projects/xdoclet) provides excellent support for
 JBoss - it generates interfaces and deployment descriptors based on
 comments in your code.


also check out the Together Deployer
http://jboss.org/jbossgroup/partners.jsp under IDE INTEGRATION ... it makes
it a breeze to deploy on JBoss ...

/peter_f


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



Re: [JBoss-user] HOW TO BUILD JBOSS 3.0

2001-09-25 Thread Peter Fagerlund


cd jboss-all/build/

sh build.sh help
sh build.sh (will bild most)
sh build.sh all
sh build.sh clean
sh build.sh clobber

se more at http://jboss.org/cvs.jsp at the What is Buildmagic

/peter_f





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



HypersonicSQL the right way --was : Re: [JBoss-user] JBOSS stopsworking

2001-09-13 Thread Peter Fagerlund

I been using HypersonicSQL with great joy and success for over 2.5 years now
and have not found any unstable issues with it - ... except when crashing it
and then have a unclean shutdown, then rebuild the db from backup ...

first how are You using it ?
- not at all
- for read data
- for read/write data
- do You do backups ?

- what OS ? (after reinstall chmod ?)

If JBoss goes down unexpectedly (kill pid / power) and then do not have a
chance to shutdown HypersonicSQL properly - while writes has been made
since last run - then the .script file can become corrupt.

start without a .script file anew - and rebuild Your data - or use the file
persistents mode by using CREATE CASHED TABLE instead of CREATE TABLE

docs and tools at : http://sourceforge.net/projects/hsqldb/

HypersonicSQL   1.4 (JBoss vesion in 2.4)
hsqldb  1.6

If using HypersonicSQL with large datasets and You are in a developing phase
- then have a separate pararell instance of HypersonicSQL running outside of
Your JBoss VM. So that You can have Your db not rebuild itself everytime
JBoss is started.

Also how did Your JBoss stoped working - any logs ?
From below all I can se is that JBoss have problem starting - due to a
corrupt HypersonicSQL .script file ... that comes from unclean shutdown.

/peter_f


***
on 1-09-13 21.04, Tejaswi Redkar at [EMAIL PROTECTED] wrote:

I think you should get rid of HypersonicSQL. This is not a stable product. I
have seen this problem when using Hypersonic independently.
-Original Message-
From: Matthew Baird [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 13, 2001 11:16 AM
To: 'A.L.'; [EMAIL PROTECTED]
Subject: RE: [JBoss-user] JBOSS stops working

we've also seen this error, fwiw. No solution here other than to comment out
refs to hypersonic
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of A.L.
Sent: Wednesday, September 05, 2001 8:53 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] JBOSS stops working


 I have been running JBOSS for a month now, and all of a sudden it stops
working.  This problem happened before, so I reinstalled it.  Any help would
be much appreciated.  When  trying to start the tomact-Jboss program the
command line shows the following and then stops:

[Hypersonic] Server.run/init: java.sql.SQLException: Wrong database file
version 

[Hypersonic] java.sql.SQLException: Wrong database file version
[Hypersonic]at org.hsql.Trace.getError(Trace.java:124)
[Hypersonic]at org.hsql.Trace.getError(Trace.java:115)
[Hypersonic]at org.hsql.Trace.check(Trace.java:149)
[Hypersonic]at org.hsql.Trace.check(Trace.java:145)
[Hypersonic]at org.hsql.Log.open(Log.java:100)
[Hypersonic]at org.hsql.Database.init(Database.java:47)
[Hypersonic]at org.hsql.Server.run(Server.java:69)
[InstantDB] XA Connection pool InstantDB bound to java:/InstantDB
[Hypersonic]at org.hsql.Server.main(Server.java:33)
[Hypersonic]at 
org.jboss.jdbc.HypersonicDatabase$1.run(HypersonicDatabase.ja



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



Re: [JBoss-user] Management Console for Use with JBoss

2001-08-07 Thread Peter Fagerlund

on 1-08-07 02.13, Rogers, Darlene M. at [EMAIL PROTECTED] wrote:
 I think maybe the JBossGUI referenced on
 http://www.jboss.org/jboss-projects.jsp or perhaps even better JBossMGT
 referenced at http://www.jboss.org/jboss-mgt.jsp might be the answer to my
 question.  I am looking forward to hearing more about the JSR-77
 implementation (JBossMGT) as the project matures.

The new JBossGUI would be the presentation layer of JBossMGT.
The old JBossGUI seen on the project page is no longer supported.

JBossMGT would replace or use *?* the jboss.admin package ... since as I
understand it the admin package is made availible for the MGT of JBoss ...

All this is in its yelling phase ...

/peter


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



Re: [JBoss-user] Management Console for Use with JBoss

2001-08-06 Thread Peter Fagerlund

on 1-08-06 15.42, Rogers, Darlene M. at [EMAIL PROTECTED] wrote:
 Is anyone using any type of  Management Console with JBoss either open
 source or purchased?

It has been dicussed to build a core hot deployable plugin engine for
managment purposes, where one could dropin free and notfree modules, as I
understand its conception will show when the new core for 3.0 shows and so
the management core can reuse some of the new JMX code ? for clustering ...

Meanwhile Please share idees of what You need to manage ? ...

/peter


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



Re: [JBoss-user] Can an Entity EJB be observed?

2001-07-17 Thread Peter Fagerlund

check this out ??? :

http://www.javaworld.com/javaworld/javatips/jw-javatip110.html

/peter


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



Re: [JBoss-user] 2 WEEKS EVICTION NOTICE

2001-07-13 Thread Peter Fagerlund

huh ...

I belive critisism is good when *and only when* a sugested solution folows
... as I se it those who need it, should write it ... the mail service
module ... do not jive support it now ? ...

To replicate the web forum to a maillist ... one way would be to have all
new postings go to the web forum - and then the web forum would resend to
SMTP ... for a easy sync ? ...

/peter


on 1-07-13 10.22, Jason Dillon at [EMAIL PROTECTED] wrote:

 Ouch.
 
 --jason
 
 
 On Thu, 12 Jul 2001 [EMAIL PROTECTED] wrote:
 
 On Thu, Jul 12, 2001 at 03:41:12AM +0200, Peter Fagerlund wrote:
 Ahhh ... pushing forward is hard ... change ... the pain of growing ...
 cognisance dissonance - from having to change a GUI ... ;-) ... I to feel
 uncomfortable but recognise it is me - having to adapt really ... Just have
 hourly/daily/monthly *text* tome's downloadable for those who like to read
 and grep offline ... could be one simple solution ...
 
 Actually, when it comes to user interfaces, moving to an exclusively
 web based solution is a significant step backwards. With mail, the
 content and the presentation are very firmly separate. As a user, I am
 only bound by the content and I can use whatever presentation I
 like. I have used my mail reader for years and have become very
 comfortable with it. This is true for many others. If I become unhappy
 with the way my mail is presented, I can get _any_ other mail reader
 that supports the content format (SMTP) and use that in stead.
 
 The exclusively web based solution integrates both content and
 presentation into one. I have to be satisfied with the way the web
 solution chooses to present the content to me and there is no way I
 can change this to fit myself. Not to mention that I have to be happy
 with the excessively crappy web forms text editor when composing
 messages.
 
 It represents a step backwards in terms of usability, apparantly in
 order to pave the way for a step forwards in implementation (i.e., use
 web/jboss/whatnot). I don't like it when the usability of a service is
 sacrificed in favour of some behind-the-scenes implementation details
 that I couldn't care less about (as a user).
 
 But that's just me - a picky end user.
 
 As a developer, I find the jboss/jetty/web forum thing very
 interesting. But I was very disappointed to learn that it won't
 support SMTP as this limitation makes it largely useless for anything
 halfway serious. In my opinion.
 
 Cheers
 Bent D
 
 
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 http://lists.sourceforge.net/lists/listinfo/jboss-user


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



Re: [JBoss-user] 2 WEEKS EVICTION NOTICE

2001-07-13 Thread Peter Fagerlund

And for those who would like to read the forum on mobile devices supporting
WAP can call me ... ;-)

/peter


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



Re: [JBoss-user] 2 WEEKS EVICTION NOTICE

2001-07-12 Thread Peter Fagerlund

Ahhh ... pushing forward is hard ... change ... the pain of growing ...
cognisance dissonance - from having to change a GUI ... ;-) ... I to feel
uncomfortable but recognise it is me - having to adapt really ... Just have
hourly/daily/monthly *text* tome's downloadable for those who like to read
and grep offline ... could be one simple solution ...

/peter




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



Re: [JBoss-user] J2EE CAS

2001-07-03 Thread Peter Fagerlund

on 1-07-03 12.22, Anderson L at [EMAIL PROTECTED] wrote:

 Has anyone looked at creating a 'service' for JBoss? There are four
 supported servers...it's a shame that JBoss is not amongst them!

A perfect example of a add on Service/Module created by third party to not
infect JBoss with any OS specific FUD ...

/peter


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



admin Mbean tag's (was: Re: [JBoss-user] Everlasting sessionbean,now a MBean)

2001-07-03 Thread Peter Fagerlund

on 1-06-07 14.25, Juha Lindfors at [EMAIL PROTECTED] wrote:

 you can check the code in:
 http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/admin/src/org/jboss/adm
 in/mbean/SystemMonitor.java?rev=1.3content-type=text/vnd.viewcvs-markup

what is the Mbean tags for the AdminServerMBean and SystemMonitorMBean ?

/peter


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



Re: [JBoss-user] Tools

2001-07-01 Thread Peter Fagerlund

on 1-07-01 10.49, Devraj Mukherjee at [EMAIL PROTECTED] wrote:

 Can anyone, tell me what tools are included in JBoss for helping with app
 deployment and generation of the XML descriptors?/

There is a thread regarding JBossGUI at
http://jboss.org:8081/jive7forum.jsp?forum=19

/peter


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



Re: [JBoss-user] Tools

2001-07-01 Thread Peter Fagerlund

sorry correction of link
 http://jboss.org:8081/jive/forum.jsp?forum=19
http://jboss.org:8081/jive7forum.jsp?forum=19

/peter


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



Re: [JBoss-user] Taking backups

2001-07-01 Thread Peter Fagerlund

on 1-07-01 15.41, Ole Husgaard at [EMAIL PROTECTED] wrote:

 How do you get the measurements needed for the
 adaptation?

without going native - a simple way - to simple perhaps - is to have a
separate thread sleep in a set interval and measure the deviation against
the set interval. If mean value is above the set measured interval the
system (JVM) is stressed otherwise there is room for yet more load - One per
system or one per component or one per thread group ? ...  A MBean ? start,
stop, set interval, send result to JMS? etc. To add complexity there could
be a rule sets to understand if -temporary spikes etc. ...

/peter



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



Re: [JBoss-user] Taking backups

2001-06-30 Thread Peter Fagerlund

very good then - make a backup and leave it to the db to make a correct
snapshot - but this thread suggest - to still have the capability to
change a component in the system at any time - stopping/starting any
traffic to and from all other components - throught a observeble mechanism ?
...

/peter


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



Re: [JBoss-user] Upgrading to Hypersonic 1.6 and various otherquestions...

2001-06-12 Thread Peter Fagerlund

These snippets is from org.jboss.jdbc.HypersonicDatabase.java

This is how the MBean locates and loads the $JBOSS_HOME$/db/

URL dbLocator = getClass().getResource(/db.properties);
File dbDir = new File(dbLocator.getFile()).getParentFile();
File dbName = new File(dbDir, hypersonic/+name);

These are the drivers :

String dbStrVersion_1_4 = jdbc:HypersonicSQL:hsql://host:+port;
String dbStrVersion_1_6 = jdbc:hsqldb:hsql://host:+port;


Today U need to modify the stopService() to use the 1.6 driver manually and
recompile. Maybe the 2.3 could be distributed with 1.6 by default ? ...

/peter



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



Re: [JBoss-user] how does this work (classpath)?

2001-06-01 Thread Peter Fagerlund

on 1-05-31 23.49, Andre Vermeulen@i-Commerce at
[EMAIL PROTECTED] wrote:

 What is the correct way to extend the of JBoss classpath ???

You can add Classpath's to Your configuration by editing jboss.conf to
include a custom MLet tag :

MLET CODE = org.jboss.util.ClasspathExtension ARCHIVE = a-archive
CODEBASE = a-codebase
ARG TYPE = java.lang.String VALUE  = a-value
/MLET


/peter


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



Re: [JBoss-user] Access to EJB from APPLET

2001-06-01 Thread Peter Fagerlund

on 1-06-01 10.34, Sacha Labourey at [EMAIL PROTECTED] wrote:

 You may also try to simply sign your applet (what I did).

or maybe call into the ejb from the applet throught a servlet


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



Re: [JBoss-user] Loading classes from a jar file dynamicaly

2001-05-31 Thread Peter Fagerlund

on 1-05-31 15.07, Francois Archambault at [EMAIL PROTECTED] wrote:

 ow to load class from a .jar file dynamicaly and could give me
 some example.

Check the api doc for : java.net.JarURLConnection


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



Re: [JBoss-user] Various DB problems (with CMP)

2001-05-16 Thread Peter Fagerlund

on 1-05-15 22.48, Damon Hart-Davis at [EMAIL PROTECTED] wrote:

 I'd like to to use the built-in Hypersonic if at all possible.
 If not, I'll put everything in an external database.

You can use it and should - I for one love it, all depending tho, for a
datastore with millions of records comprising several GB of data as You
mention below, I would run that in a separate instance, for the integrity of
the data, enabling uninterrupted uptime while separating modular maintenance
of other components existing in the system.

 1) As I go on doing operations with CMPs (with lots of large
 Serializable objects or byte[] in the entity beans in question, in case
 that makes a difference) the
 JBoss-2.2.1_Tomcat-3.2.1/jboss/db/hypersonic/default.script file grows
 and grows, even if for example, I drop the tables.  The default.data
 file never grows.  How can I get the `log' flushed?  Here, for example,
 id the current state of the hypersonic directory after inserting the
 same few MB of data a few times:
 
 drwxr-x---   2 dhd  ExNet512 May 14 00:24 ./
 drwxr-   5 dhd  ExNet512 May 10 22:51 ../
 -rw-r-   1 dhd  ExNet 12 May 14 00:24 default.backup
 -rw-r-   1 dhd  ExNet 20 May 14 00:24 default.data
 -rw-r-   1 dhd  ExNet 80 May 14 00:24 default.properties
 -rw-r-   1 dhd  ExNet125300428 May 15 18:46 default.script

In Your properties file, the field 'modified=' says 'yes' it would mean that
the last time was not closed correctly, and repair will kick in. If the
field contains 'yes-new-files' then the old backup and script files are
deleted. and new clean ones created. If not closed correctly (crash) then
the modified field will contain 'yes' and the script file contains all info
to redo changes to the data. The data file may well then be corrupt, because
the in memory cache was not written out completely. -
hypersonicsql/doc/files.html describes it all ...

 2) I cannot create records (entity beans), eg including largish
 Serializable objects or byte[]s, larger than about 32kBytes in total.
 Is there any way to fix that directly?  At the moment I am fragmenting
 data across several entity beans, but that will make some things that I
 want to do, such as maintaining a live index in an object in a entity
 bean, usually held in memory but passivatable back to the db,
 spectacularly inefficient.

Binary data size is currently restricted to 32KB because UTF is used.
 
 3) Even if I keep records shorter than 32kBytes, if I undeploy and
 redeploy the same (unchanged) EAR, on trying to read some entity beans
 back into memory, they are reported as corrupt, `not containing
 serializable data' in some ByteArray deserialisation routine inside
 Hypersonic itself I think.  This means I usually have to reload lots of
 data each time I make even the most minor change to my EAR, which is
 very sad.  All data is loaded through Java with no access by anyone
 else.

se 1
 
 4) I intend to have several GB of data in my database in the end, with
 several tables/beans having up to millions of records each.  Will that
 completely stuff Hypersonic?

Hypersonic is Hypersonic, Informix is Informix, Informix and the like has
indexes of indexes to speed things up, + more maintanance tools.

A in memory Hypersonic instance together with a mirrored hot switched
separate in memory instance of Hypersonic ... would get U a lot of bang
for the buck ... ;-)

 I am resigned to having to sort some of these problems by moving to a
 different DB, but I want at least to understand what's going on with
 Hypersonic and make it a little more robust and to last as long as
 possible.

While developing, use a separate instance to avoid corrupting the db when
finding undocumented features in Your JBoss configuration.

/peter

 Regards,
 
 Damon
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 http://lists.sourceforge.net/lists/listinfo/jboss-user


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



Re: [JBoss-user] Various DB problems (with CMP)

2001-05-15 Thread Peter Fagerlund

 3) Even if I keep records shorter than 32kBytes, if I undeploy and
 redeploy the same (unchanged) EAR, on trying to read some entity beans
 back into memory, they are reported as corrupt, `not containing
 serializable data' in some ByteArray deserialisation routine inside
 Hypersonic itself I think.  This means I usually have to reload lots of
 data each time I make even the most minor change to my EAR, which is
 very sad.  All data is loaded through Java with no access by anyone
 else.


3) If I understand - U might want to have a separate instance of hypersonic
running alongside - and use that - the separate instance for storing and the
embedded jboss instance for smaller indexes (of indexes - perhaps) - just
a thought ...

/peter


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