[JBoss-user] Configuring Petstore 1.3.2 for JBoss 3.2

2003-09-01 Thread Eliza



Hi,

I've been searching for instructions on how to 
configuring java petstore 1.3.2 for JBoss 3.2. but could not find any in the 
forums or in google.

Could anyone tell me where to find these 
instructions? Thank you.

Eliza


[JBoss-user] You sent a message containing a Virus

2003-09-01 Thread postmastermsw2
The following is an automatically generated message (please do not reply):

BMO Nesbitt Burns electronically scans all e-mail and attached files for computer 
viruses.

An e-mail message you sent contained one or more attached files that appears to 
contain a virus.

The details of the message are below:

Date:   Sun, 31 Aug 2003 19:04:04 --0700
Subject:Re: Wicked screensaver
To:
[EMAIL PROTECTED]


To protect the intended recipient's computer and data, the delivery of this message 
has been blocked and the message discarded.

Please correct the situation and resubmit your e-mail message.

An informational message has also been sent to the intended recipient of your message, 
informing them that it was discarded.

Thank-you,

BMO Nesbitt Burns
Network Administration



---
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


[JBoss-user] jboss-web.xml and Struts

2003-09-01 Thread Matthew Hixson
I was wondering if anyone out there who is using Struts with Tomcat 
embedded in JBoss could send me their jboss-web.xml.  I think I need to 
specify something with the following tags:

 context-root/context-root
 docBase//docBase
But I'm not sure what that needs to be.  I've already tried making 
docBase /jsp.

My webapp is structured like so:

/WEB-INF/
/jsp/
(ie. my jsp directory is not within my WEB-INF dir)

and my .jsp files are in the jsp directory.

In struts-config.xml I have entries like this:

action path=/foo/listAllPartners
type=com.company.foo.actions.ListPartnersAction
forward name=listPartners path=/foo/listPartners.jsp/
/action
I see that my ListPartnersAction class runs and retrieves records from 
the database, but it is unable to find the .jsp needed to render the 
page so Tomcat gives me a 404 saying:

The requested resource (/foo/listPartners.jsp) is not available.

Does anyone know what I need to do in order for struts to get my .jsp 
files from the right directory?
  Thanks,
-M@



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


RE: [JBoss-user] JBoss Performance Tuning Tips - a bit of an emergency

2003-09-01 Thread Elankath, Tarun (Cognizant)
Yes Bill,

We make use of a DAO layer and the MS-SQL JDBC Driver. And yes, I checked there are no 
connection leaks. We are returning everything to the pool. 

I do know that the free MS-SQL JDBC Driver isn't good enough for production use and 
there are much better drivers available, but since this is a Proof-Of-Concept which is 
towards its closing stages, none of the 'higher-ups' are interested in purchasing a 
new driver.

I am just a junior programmer. :-( The best part is we are competing against 
Microsoft! (yes, the real MS) for this POC.

I am going to start on profiling the application and seeing whether I can come up with 
anything.

Thanks,
Tarun

-Original Message-
From: Bill Burke [mailto:[EMAIL PROTECTED]
Sent: Sunday, August 31, 2003 10:20 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] JBoss Performance Tuning Tips - a bit of an
emergency


So the application is entirely straight JDBC?

Stephen Davidson wrote:

 Elankath, Tarun (Cognizant) wrote:
 
 Hi all,

 We have a small web + ejb application for a POC (Proof of Concept) 
 that is competing against a corresponding .NET application. We are 
 using Struts, 1 Stateful Session Bean, 1 Stateless Session Bean and 
 only 10 JSP pages. The application connects to a separate MS-SQL 
 database server.

 This application is being deployed in WebSphere, JBoss across Windows 
 and Linux as the target servers.

 So far, JBoss is giving the worst results on a 1000 user stress test, 
 which I am certain is ENTIRELY due to my inexperience with this 
 application server, and nothing whatsover to do with jboss.

 All performance tips on tuning jboss config parameters will be much 
 appreciated. I have done the following:
 -increased ms and mx heap size
 -increased connection pool size
 -increase maxProcessor,minProcessor setting (for Tomcat)
 -decreased session timeouts.
 -made log level to ERROR in log4.xml

 I am still now sure on how to disable class reloading totally.


 All tips/suggestions will be deeply appreciated. If JBoss performs 
 good, then our client would definitely prefer .Net to Java, just for 
 the cost factor.

 Regards,
 Tarun


 Hi Tarun.
 
 At this point, I would recommend starting a profiler (I like Optimizeit, 
 but there are others as well, pick your favorite), and seeing where the 
 hangup is.  Because it sounds like you do have one.
 
 Some of the nastiest I ever found (was not in JBoss itself, but 
 sometimes in code running on it) had to do with synchronized methods 
 (especially a static synchronixed in an abstract base class).  A 
 profiler would show if a method was getting stuck somewhere.
 
 Just a suggestion.
 
 Good luck,
 Steve

-- 

Bill Burke
Chief Architect
JBoss Group LLC.




---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
This e-mail and any files transmitted with it are for the sole use of the intended 
recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message. 
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or 
copying of this email or any action taken in reliance on this e-mail is strictly 
prohibited and may be unlawful.

Visit us at http://www.cognizant.com


Re: [JBoss-user] jboss-4.0.0DR2 Fails to Startup Undex XP

2003-09-01 Thread Adrian Brock
So what error do you get now?
Posting things like It doesn't work won't get you many answers.

Also including vir*s in an e-mail is automatically filtered into my
junk folder. Turn off your cleaning response. Spam is bad enough
without making it worse by responding to it.

Regards,
Adrian

On Sat, 2003-08-30 at 22:17, rjh wrote:
 Hi,
 
 Still doesn't work after changing JVM memory size to 512, other problems.
 Seems the
 JNDI name still isn't registered and no 'local' JNDI context exists for
 testImport27.ear
 local interface EJBs (all have local interfaces).
 
 Thanks,
 Bob
 
 P.S.  The last jboss email-list send had a virus cleaned by my newsreader.
 
 - Original Message - 
 From: Adrian Brock [EMAIL PROTECTED]
 To: rjh [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Saturday, August 30, 2003 2:53 PM
 Subject: Re: [JBoss-user] jboss-4.0.0DR2 Fails to Startup Undex XP
 
 
  You are only using the default 64M heap,
  from your original post:
 
   JAVA_OPTS: -server  -Dprogram.name=run.bat
 
  Add -Xmx512M or whatever size you want.
 
  The memory footprint of JBoss4 is a known issue
  that should be resolved by DR3
 
  Regards,
  Adrian
 
  On Sat, 2003-08-30 at 19:45, rjh wrote:
On Sat, 2003-08-30 at 18:25, rjh wrote:
 Adrain,
   
I am not A drain :-)
  
   Sorry, you're actually quite helpful.
  
[...]
   
I can see jboss's ejbs starting.
  
   Attached are the console and logs when hot dropping testImport27.ear.
  
   This is from the console, it shows out of memory but only 372MB out of
 1.5GB
   are used and I run very large programs all the time.
  
   Console
   ===
  
   13:21:44,578 INFO  [Engine] StandardHost[localhost]: MAPPING
 configuration
   error for request URI / jmx-console
   14:34:20,438 INFO  [MainDeployer] Starting deployment of package:
   file:/F:/jboss/jboss-4.0.0DR2/server/all/deploy/testImport27.ear
   14:34:20,563 INFO  [EARDeployer] Init J2EE application:
   file:/F:/jboss/jboss-4.0.0DR2/server/all/deploy/testImport27.ear
   14:34:23,813 INFO  [MainDeployer] Starting deployment of package:
  
 file:/F:/jboss/jboss-4.0.0DR2/server/all/tmp/deploy/server/all/deploy/testImport27.ear/66.testImport27.ear-contents/Utilities.jar
   14:34:24,329 INFO  [MainDeployer] Deployed package:
  
 file:/F:/jboss/jboss-4.0.0DR2/server/all/tmp/deploy/server/all/deploy/testImport27.ear/66.testImport27.ear-contents/Utilities.jar
   14:34:24,329 INFO  [MainDeployer] Package:
  
 file:/F:/jboss/jboss-4.0.0DR2/server/all/tmp/deploy/server/all/deploy/testImport27.ear/66.testImport27.ear-contents/Utilities.jar
   is already deployed
   14:34:28,344 ERROR [STDERR] java.lang.OutOfMemoryError
  
   Thanks again,
   Bob



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


RE: [JBoss-user] JBoss Performance Tuning Tips - a bit of an emergency

2003-09-01 Thread Elankath, Tarun (Cognizant)
I only have two connectors running - the Coyote connector and the AJP13 connector. I 
thought that the AJP connector was required if one wished to shutdown JBoss running in 
the background?



-Original Message-
From: Jon Barnett [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 30, 2003 10:41 PM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] JBoss Performance Tuning Tips - a bit of an
emergency


Sorry. I was using Jetty terminology. I meant connectors for handling web
requests. So if you are not using the AJP13 connector, comment it out if
it hasn't been already.

One thing about the servlet containers. I couldn't be sure that the
pre-built Tomcat and Jetty bundles are optimized so you may want to check.
It may mean you compile those separately from their source and then copy
over the necessary JARs into the JBoss bundle.

Best regards,

JonB.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Elankath,
 Tarun (Cognizant)
 Sent: Saturday, 30 August 2003 8:54 PM
 To: [EMAIL PROTECTED]
 Subject: RE: [JBoss-user] JBoss Performance Tuning Tips - a bit of an
 emergency


 Thanks for the tips Jon.

 I am going to start working on suggestions 1), 2), 4), 5) right
 away. The point on 3) looks interesting - hopefully I'll have
 time profile GC. 6) is out of my hands. I have already tried 7).
 I am not sure about 8) - what are the listeners you are referring
 to ? I My application doesn't make use of servlet listeners.

 Thanks for the tips - much appreciated!
 Tarun
This e-mail and any files transmitted with it are for the sole use of the intended 
recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message. 
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or 
copying of this email or any action taken in reliance on this e-mail is strictly 
prohibited and may be unlawful.

Visit us at http://www.cognizant.com


RE: [JBoss-user] JBoss Performance Tuning Tips - a bit of an emergency

2003-09-01 Thread Elankath, Tarun (Cognizant)
Hi Steve,

I am going to start profiling our application. I wanted to check if I was missing any 
JBoss config parameters.

How about class reloading ? How does one disable it ?

Thanks,
Tarun


-Original Message-
From: Stephen Davidson [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 30, 2003 8:03 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] JBoss Performance Tuning Tips - a bit of an
emergency


Elankath, Tarun (Cognizant) wrote:
 Hi all,
 
 We have a small web + ejb application for a POC (Proof of Concept) that is competing 
 against a corresponding .NET application. We are using Struts, 1 Stateful Session 
 Bean, 1 Stateless Session Bean and only 10 JSP pages. The application connects to a 
 separate MS-SQL database server.
 
 This application is being deployed in WebSphere, JBoss across Windows and Linux as 
 the target servers.
 
 So far, JBoss is giving the worst results on a 1000 user stress test, which I am 
 certain is ENTIRELY due to my inexperience with this application server, and nothing 
 whatsover to do with jboss.
 
 All performance tips on tuning jboss config parameters will be much appreciated. I 
 have done the following:
 -increased ms and mx heap size
 -increased connection pool size
 -increase maxProcessor,minProcessor setting (for Tomcat)
 -decreased session timeouts.
 -made log level to ERROR in log4.xml
 
 I am still now sure on how to disable class reloading totally.
 
 
 All tips/suggestions will be deeply appreciated. If JBoss performs good, then our 
 client would definitely prefer .Net to Java, just for the cost factor.
 
 Regards,
 Tarun
 
 
Hi Tarun.

At this point, I would recommend starting a profiler (I like Optimizeit, but there are 
others as well, pick your favorite), and seeing where the hangup is.  Because it 
sounds like you do have one.

Some of the nastiest I ever found (was not in JBoss itself, but sometimes in code 
running on it) had to do with synchronized methods (especially a static synchronixed 
in an abstract base class).  A profiler would show if a 
method was getting stuck somewhere.

Just a suggestion.

Good luck,
Steve
-- 
Java/J2EE Developer/Integrator
Co-Chair, Dallas/FortWorth J2EE Sig
214-724-7741





---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
This e-mail and any files transmitted with it are for the sole use of the intended 
recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message. 
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or 
copying of this email or any action taken in reliance on this e-mail is strictly 
prohibited and may be unlawful.

Visit us at http://www.cognizant.com


Re: [JBoss-user] jboss-4.0.0DR2 Fails to Startup Undex XP

2003-09-01 Thread rjh
I'll try to send the logs one more time.  As below, the EJBs aren't
registered
and JNDI access to them fails saying local context not found, all EJBs are
access thru local interfaces.

Hopefully the logs will get through, since there is no chance the jboss logs
contain a virus, either the programs are mistaken or something caught in en
route.

I'm first sending the console unzipped, a 2nd post will contain the
server.log zipped.

Regards,
Bob

- Original Message - 
From: Adrian Brock [EMAIL PROTECTED]
To: rjh [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, August 31, 2003 6:19 PM
Subject: Re: [JBoss-user] jboss-4.0.0DR2 Fails to Startup Undex XP


 So what error do you get now?
 Posting things like It doesn't work won't get you many answers.

 Also including vir*s in an e-mail is automatically filtered into my
 junk folder. Turn off your cleaning response. Spam is bad enough
 without making it worse by responding to it.

 Regards,
 Adrian

 On Sat, 2003-08-30 at 22:17, rjh wrote:
  Hi,
 
  Still doesn't work after changing JVM memory size to 512, other
problems.
  Seems the
  JNDI name still isn't registered and no 'local' JNDI context exists for
  testImport27.ear
  local interface EJBs (all have local interfaces).
 
  Thanks,
  Bob
 
  P.S.  The last jboss email-list send had a virus cleaned by my
newsreader.
 
  - Original Message - 
  From: Adrian Brock [EMAIL PROTECTED]
  To: rjh [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Sent: Saturday, August 30, 2003 2:53 PM
  Subject: Re: [JBoss-user] jboss-4.0.0DR2 Fails to Startup Undex XP
 
 
   You are only using the default 64M heap,
   from your original post:
  
JAVA_OPTS: -server  -Dprogram.name=run.bat
  
   Add -Xmx512M or whatever size you want.
  
   The memory footprint of JBoss4 is a known issue
   that should be resolved by DR3
  
   Regards,
   Adrian
  
   On Sat, 2003-08-30 at 19:45, rjh wrote:
 On Sat, 2003-08-30 at 18:25, rjh wrote:
  Adrain,

 I am not A drain :-)
   
Sorry, you're actually quite helpful.
   
 [...]

 I can see jboss's ejbs starting.
   
Attached are the console and logs when hot dropping
testImport27.ear.
   
This is from the console, it shows out of memory but only 372MB out
of
  1.5GB
are used and I run very large programs all the time.
   
Console
===
   
13:21:44,578 INFO  [Engine] StandardHost[localhost]: MAPPING
  configuration
error for request URI / jmx-console
14:34:20,438 INFO  [MainDeployer] Starting deployment of package:
file:/F:/jboss/jboss-4.0.0DR2/server/all/deploy/testImport27.ear
14:34:20,563 INFO  [EARDeployer] Init J2EE application:
file:/F:/jboss/jboss-4.0.0DR2/server/all/deploy/testImport27.ear
14:34:23,813 INFO  [MainDeployer] Starting deployment of package:
   
 
file:/F:/jboss/jboss-4.0.0DR2/server/all/tmp/deploy/server/all/deploy/testImport27.ear/66.testImport27.ear-contents/Utilities.jar
14:34:24,329 INFO  [MainDeployer] Deployed package:
   
 
file:/F:/jboss/jboss-4.0.0DR2/server/all/tmp/deploy/server/all/deploy/testImport27.ear/66.testImport27.ear-contents/Utilities.jar
14:34:24,329 INFO  [MainDeployer] Package:
   
 
file:/F:/jboss/jboss-4.0.0DR2/server/all/tmp/deploy/server/all/deploy/testImport27.ear/66.testImport27.ear-contents/Utilities.jar
is already deployed
14:34:28,344 ERROR [STDERR] java.lang.OutOfMemoryError
   
Thanks again,
Bob

F:\jboss\jboss-4.0.0DR2\binrun -c all
===
.
  JBoss Bootstrap Environment
.
  JBOSS_HOME: F:\jboss\jboss-4.0.0DR2\bin\\..
.
  JAVA: C:\j2sdk1.4.1_02\\bin\java
.
  JAVA_OPTS: -server  -Xmx512M  -Dprogram.name=run.bat
.
  CLASSPATH: ;C:\j2sdk1.4.1_02\\lib\tools.jar;F:\jboss\jboss-4.0.0DR2\bin\\run.jar
.
===
.
15:40:12,688 INFO  [Server] Starting JBoss (MX MicroKernel)...
15:40:12,688 INFO  [Server] Release ID: JBoss [Matrix2] 4.0.0DR2 (build: 
CVSTag=JBoss_4_0_0_DR2 date=200307030107)
15:40:12,704 INFO  [Server] Home Dir: F:\jboss\jboss-4.0.0DR2
15:40:12,704 INFO  [Server] Home URL: file:/F:/jboss/jboss-4.0.0DR2/
15:40:12,704 INFO  [Server] Library URL: file:/F:/jboss/jboss-4.0.0DR2/lib/
15:40:12,704 INFO  [Server] Patch URL: null
15:40:12,704 INFO  [Server] Server Name: all
15:40:12,704 INFO  [Server] Server Home Dir: F:\jboss\jboss-4.0.0DR2\server\all
15:40:12,704 INFO  [Server] Server Home URL: file:/F:/jboss/jboss-4.0.0DR2/server/all/
15:40:12,704 INFO  [Server] Server Data Dir: F:\jboss\jboss-4.0.0DR2\server\all\data
15:40:12,704 INFO  [Server] Server Temp Dir: F:\jboss\jboss-4.0.0DR2\server\all\tmp
15:40:12,704 INFO  [Server] Server Config URL: 
file:/F:/jboss/jboss-4.0.0DR2/server/all/conf/
15:40:12,704 INFO  [Server] Server Library URL: 
file:/F:/jboss/jboss-4.0.0DR2/server/all/lib/
15:40:12,704 INFO  [Server] Root Deployemnt Filename: jboss-service.xml
15:40:12,704 

RE: [JBoss-user] JBoss Performance Tuning Tips - a bit of an emergency

2003-09-01 Thread Jon Barnett
AJP13 is used for web server - servlet container communication. You use
this with a JK/JK2 connector on the web server (mod_jk/mod_jk2 for Apache,
with similar connectors for IIS, iPlanet and so on). This allows the web
server to forward web requests to the back-end Tomcat or Jetty for
content. So if you don't have a front-end web server, don't enable the
AJP13 listener/connector.

Regards,

JonB.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Elankath,
 Tarun (Cognizant)
 Sent: Monday, 1 September 2003 3:48 PM
 To: [EMAIL PROTECTED]
 Subject: RE: [JBoss-user] JBoss Performance Tuning Tips - a bit of an
 emergency


 I only have two connectors running - the Coyote connector and the
 AJP13 connector. I thought that the AJP connector was required if
 one wished to shutdown JBoss running in the background?


smime.p7s
Description: S/MIME cryptographic signature


Re: [JBoss-user] jboss-4.0.0DR2 Fails to Startup Undex XP

2003-09-01 Thread rjh
Hi,

Perhaps I should mention precicely what's going on.  testImport27.ear is the
ear under discussion that's failing in V4, yet works on all other builds as
is.  It contains
a few war's and jars, the TqmProj war references UserEJB.jar.  UserEJB.jar
contains a few statlesss session beans, and you can see the error in the
console
log when the TqmProj war tries to access the session beans in UserEJB.jar,
it gets a message that JNDI can't find the local context.  The UserEJB.jar
beans
are accessed locally, starting with local/ in it's service locator.

  SurveySessionLocalHome  surveySessionLocalHome =
(SurveySessionLocalHome)jndiContext.lookup(local/SurveySession);

I also note that while the other EJB file, EntityEJB.jar and the other war
files are mentioned in the
console output, UserEJB is saliently missing.  UserEJB is mentioned and
seems to process in the
server.log file, so I don't know why it's missing in the console log.  Also,
all of the EJBs in
both EJB jar files (UserEJB and EntityEJB) are referenced locally, it looks
as though
the local interfaces aren't registering with JNDI.

Thanks for any help on resloving this issue.

Bob

- Original Message - 
From: Adrian Brock [EMAIL PROTECTED]
To: rjh [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, August 31, 2003 6:19 PM
Subject: Re: [JBoss-user] jboss-4.0.0DR2 Fails to Startup Undex XP


 So what error do you get now?
 Posting things like It doesn't work won't get you many answers.

 Also including vir*s in an e-mail is automatically filtered into my
 junk folder. Turn off your cleaning response. Spam is bad enough
 without making it worse by responding to it.

 Regards,
 Adrian

 On Sat, 2003-08-30 at 22:17, rjh wrote:
  Hi,
 
  Still doesn't work after changing JVM memory size to 512, other
problems.
  Seems the
  JNDI name still isn't registered and no 'local' JNDI context exists for
  testImport27.ear
  local interface EJBs (all have local interfaces).
 
  Thanks,
  Bob
 
  P.S.  The last jboss email-list send had a virus cleaned by my
newsreader.
 
  - Original Message - 
  From: Adrian Brock [EMAIL PROTECTED]
  To: rjh [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Sent: Saturday, August 30, 2003 2:53 PM
  Subject: Re: [JBoss-user] jboss-4.0.0DR2 Fails to Startup Undex XP
 
 
   You are only using the default 64M heap,
   from your original post:
  
JAVA_OPTS: -server  -Dprogram.name=run.bat
  
   Add -Xmx512M or whatever size you want.
  
   The memory footprint of JBoss4 is a known issue
   that should be resolved by DR3
  
   Regards,
   Adrian
  
   On Sat, 2003-08-30 at 19:45, rjh wrote:
 On Sat, 2003-08-30 at 18:25, rjh wrote:
  Adrain,

 I am not A drain :-)
   
Sorry, you're actually quite helpful.
   
 [...]

 I can see jboss's ejbs starting.
   
Attached are the console and logs when hot dropping
testImport27.ear.
   
This is from the console, it shows out of memory but only 372MB out
of
  1.5GB
are used and I run very large programs all the time.
   
Console
===
   
13:21:44,578 INFO  [Engine] StandardHost[localhost]: MAPPING
  configuration
error for request URI / jmx-console
14:34:20,438 INFO  [MainDeployer] Starting deployment of package:
file:/F:/jboss/jboss-4.0.0DR2/server/all/deploy/testImport27.ear
14:34:20,563 INFO  [EARDeployer] Init J2EE application:
file:/F:/jboss/jboss-4.0.0DR2/server/all/deploy/testImport27.ear
14:34:23,813 INFO  [MainDeployer] Starting deployment of package:
   
 
file:/F:/jboss/jboss-4.0.0DR2/server/all/tmp/deploy/server/all/deploy/testImport27.ear/66.testImport27.ear-contents/Utilities.jar
14:34:24,329 INFO  [MainDeployer] Deployed package:
   
 
file:/F:/jboss/jboss-4.0.0DR2/server/all/tmp/deploy/server/all/deploy/testImport27.ear/66.testImport27.ear-contents/Utilities.jar
14:34:24,329 INFO  [MainDeployer] Package:
   
 
file:/F:/jboss/jboss-4.0.0DR2/server/all/tmp/deploy/server/all/deploy/testImport27.ear/66.testImport27.ear-contents/Utilities.jar
is already deployed
14:34:28,344 ERROR [STDERR] java.lang.OutOfMemoryError
   
Thanks again,
Bob



---
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


[JBoss-user] Re: HA JNDI

2003-09-01 Thread Eric Jain
 jnp.disableDiscovery=true

Thanks. Unfortunately this does a bit too much in my case, as it seems
to also prevent discovery when no host name is set at all.

--
Eric Jain



---
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


[JBoss-user] jdo mysql bug

2003-09-01 Thread Anthony Cheung
Hi,

After experiencing problems with executing a simple query (from my last mail), i tried to just make an object persistent with makePersistent().

I got an error saying "unable to execute the command insert into users(username,password) values (aaa,bbb)" (note i did not reproduce the exact error msg.)

and when i try the command in mysql, it does give an error and a simple fix to this was adding a space before one of the brackets.

thanks

AnthonyWant to chat instantly with your online friends? Get the FREE Yahoo!
Messenger

[JBoss-user] HA JNDI trouble

2003-09-01 Thread Stefan Groschupf
Dear all,
I have massive trouble to get an simple cluster to run. It sounds in all 
publications so easy, but something went wrong here.
I can run multiple instances on my machine via binding service. The 
nodes are discovered and the farming deployment running well.
As you may be remember i have a set of node with my project A: It is 
manually deployed on all nodes. I have my main application that has an 
mdb that run my job queue.

My problem is that it looks like i have no HA JNDI. To get something 
running i setup my instances on my machine to use all the same jndi of 
localhost. ;/

But when i setup my nodes in the network to use on jndi on my main 
machine it does of curse say that my project is already deployed. ;(
When i does not setup an jndi host as described in the clustering 
documentation i get an Object no bound exception.

My MDB:
TRExtractorRemote extractor = TRExtractorUtil.getHome().create();
ProcessedDocument document = extractor.process(oneValue.getValueExternal());
(The Remote Object is generated by xdoclet)
Since my nodes are in a win network and the farming works i think the 
multi casting working.

Really guys i had try everything i had found in the net or in the 
documentation and had tried it now 2 days and 2 nights, since i only can 
play with the nodes over night. Someone has any idea where my problem 
could be located?
I use jboss-3.2.2RC3_jetty-4.2.11.

Thanks for giving me light!
Stefan


---
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] sync-on-commit-only and cascade-delete

2003-09-01 Thread Andrew May
Alex,

Thanks for your reply - my answers in-lined:

-Andrew

Alexey Loubyansky wrote:
Hello, Andrew.

my comments in-lined.

Andrew May wrote:

I'm having a problem trying to user sync-on-commit-only and 
cascade-delete with JBoss 3.2.1 (Sun JDK1.4.2, Solaris).

We've got a number of related entities like this:

LOGIN---IDENTITY
  | |
LOGINPROPERTIES IDENTITYPROPERTIES
login-identity, login-loginproperties  identity-identityproperties 
are 1-M relationships and are defined as cascade-delete.


To be exact:
LOGIN - IDENTITY: M-1
IDENTITY - IDENTITYPROPERTIES: 1-M
LOGIN - LOGINPROPERTIES: 1-M
correct?
Yes (sorry)

When we originally developed the application on JBoss 3.0 there wasn't 
(or I wasn't aware of it) a sync-on-commit-only option, so all our 
foreign keys are nullable, and also our properties foreign keys 
(loginid and identityid) are not part of the primary key of the 
properties because I don't think this was possible at the time either.

The entities are actually using views on an Oracle database. For 
various reasons we need to keep data that has been deleted, so when a 
delete is performed a hidden state is changed and the records no 
longer appear in the view but still exist in the table.

We're now developing an API for maintaining the data (previously any 
deletes were done directly in the database) and we're having to think 
about how the EJB remove() calls interact with the database and the 
views and the triggers that maintain the views.

If sync-on-commit-only=false then as per the spec all the 
relationships are broken before the entities are deleted. This looks 
OK to the application and in the views, but the data in the tables 
that's kept has had all the relationships broken and is no longer useful.

With sync-on-commit-only=false things work fine in the simple cases: If 


I guess, I meant sync-on-commit-only=true, right?
Yes (sorry again - blame it on Friday afternoon)


I delete a login, it is deleted as are it's properties (although I'm a 
bit surprised that the properties are deleted after the login). If I 


yes, it works that way.

delete an identity that doesn't have any logins it works OK.

However, if I delete an identity that has logins it fails:

JDBCRemoveEntityCommand.Identity] Executing SQL: DELETE FROM 
ACS_IDENTITY WHERE identityid=?
JDBCRemoveEntityCommand.Identity] Remove: Rows affected = 1
JDBCRemoveEntityCommand.Identity] Checking if already deleted: 
id100169city
JDBCRemoveEntityCommand.Identity] Deleteing: id100169city
JDBCRemoveEntityCommand.IdentityProperty] Executing SQL: DELETE FROM 
ACS_IDENTITYPROPERTY WHERE id=?
JDBCRemoveEntityCommand.IdentityProperty] Remove: Rows affected = 1
JDBCRemoveEntityCommand.Identity] Checking if already deleted: 
id100169country
JDBCRemoveEntityCommand.Identity] Deleteing: id100169country
JDBCRemoveEntityCommand.IdentityProperty] Executing SQL: DELETE FROM 
ACS_IDENTITYPROPERTY WHERE id=?
JDBCRemoveEntityCommand.IdentityProperty] Remove: Rows affected = 1
JDBCRemoveEntityCommand.Identity] Checking if already deleted: 4885910
JDBCRemoveEntityCommand.Identity] Deleteing: 4885910
JDBCLoadRelationCommand.Login] Executing SQL: SELECT id, name, value 
FROM ACS_LOGINPROPERTY WHERE (loginid=?)
JDBCRemoveEntityCommand.Login] Executing SQL: DELETE FROM ACS_LOGIN 
WHERE loginid=?
JDBCStoreEntityCommand.Login] Executing SQL: UPDATE ACS_LOGIN SET 
identityid=? WHERE loginid=?
2003-08-29 13:39:14,209 ERROR [org.jboss.ejb.plugins.LogInterceptor] 
TransactionRolledbackException, causedBy:
javax.ejb.EJBException: Update failed. Expected one affected row: 
rowsAffected=0id=4885910


Looking at the last two statements, this is expected result.
Does LoginProperties have sync-on-commit-only set also to true?
Are all the beans have it as true?
Because we're only using CMP2 for this set of related entities, I've been setting 
sync-on-commit-only=true globally in standardjboss.xml. This is also where I've been 
turing on/off call-logging.

at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreEntityCommand.execute(JDBCStoreEntityCommand.java:165) 

at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.storeEntity(JDBCStoreManager.java:649) 

at 
org.jboss.ejb.plugins.CMPPersistenceManager.storeEntity(CMPPersistenceManager.java:434) 

at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.storeEntity(CachedConnectionInterceptor.java:388) 

at 
org.jboss.ejb.EntityContainer.storeEntity(EntityContainer.java:702)
at 
org.jboss.ejb.GlobalTxEntityMap.synchronizeEntities(GlobalTxEntityMap.java:163) 

at 
org.jboss.ejb.GlobalTxEntityMap$GlobalTxEntityMapCleanup.beforeCompletion(GlobalTxEntityMap.java:227) 

at 
org.jboss.tm.TransactionImpl.doBeforeCompletion(TransactionImpl.java:1297) 

at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:338)
...
Oddly, if I turn on call logging there's also an exception thrown when 
deleting from the 

RE: [JBoss-user] JBoss Performance Tuning Tips - a bit of an emergency

2003-09-01 Thread Elankath, Tarun (Cognizant)
I am sorry . I did know that the JK2 connector is used in Apache integration, but for 
some foggy reason I kept thinking that JBoss used that connector for administrative 
commands like Shutdown, etc.

Anyhow, one more service removed. Thanks.

-Original Message-
From: Jon Barnett [mailto:[EMAIL PROTECTED]
Sent: Monday, September 01, 2003 12:08 PM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] JBoss Performance Tuning Tips - a bit of an
emergency


AJP13 is used for web server - servlet container communication. You use
this with a JK/JK2 connector on the web server (mod_jk/mod_jk2 for Apache,
with similar connectors for IIS, iPlanet and so on). This allows the web
server to forward web requests to the back-end Tomcat or Jetty for
content. So if you don't have a front-end web server, don't enable the
AJP13 listener/connector.

Regards,

JonB.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Elankath,
 Tarun (Cognizant)
 Sent: Monday, 1 September 2003 3:48 PM
 To: [EMAIL PROTECTED]
 Subject: RE: [JBoss-user] JBoss Performance Tuning Tips - a bit of an
 emergency


 I only have two connectors running - the Coyote connector and the
 AJP13 connector. I thought that the AJP connector was required if
 one wished to shutdown JBoss running in the background?
This e-mail and any files transmitted with it are for the sole use of the intended 
recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message. 
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or 
copying of this email or any action taken in reliance on this e-mail is strictly 
prohibited and may be unlawful.

Visit us at http://www.cognizant.com


Re: [JBoss-user] Disabling hot deployment to limit open filehandles

2003-09-01 Thread Adrian Brock
attribute name=ScanEnabledfalse/attribute
Setting the period to 0 will just cause it to spin in a cpu loop.

Are you sure the file handles aren't jasper checking for
changed jsps?
Have you turned off development mode for jasper
in jbossweb-tomcat.sar/META-INF/web.xml?

Regards,
Adrian

On Sun, 2003-08-31 at 22:10, Sheldon Hearn wrote:
 Hi folks,
 
 Now that I've managed to configure Wintendo 2000 Server to service a
 high number of threads (up to about 7,000 although I'm using fewer than
 that), I'm running into an open handle problem. :-)
 
 Since I can't figure out how to bump the OS handle limit, I'm trying to
 limit the number of handles used by JBoss-tomcat.
 
 Using ProcessExplorer[1], I see that a large number of handles (about
 1,500) are open for files deployed by UrlDeploymentScanner (jar and xml
 files).
 
 I have the JBoss-3.2.1 book, and have checked the documentation in
 the section Hot Deployment of Components, the UrlDeploymentScanner.
 
 I've tried setting ScanPeriod to 0 (not documented to behave the way I
 guessed it might) and the equivalent of 6 hours, and I can't seem to get
 JBoss to release those file handles.
 
 Is there a way to use UrlDeploymentScanner for initial container boot,
 but to never rescan for deployment updates?  I'm assuming it's the need
 to rescan that causes JBoss to hold these file handles open.
 
 We don't need the ability to hot deploy or redeploy after container
 boot, and can't anyway because we haven't specified dependencies.
 
 I realize that an easier solution would be to bump the OS handle limit,
 but my Wintendo Fu is lacking.
 
 Thanks,
 Sheldon.
 
 [1] http://www.sysinternals.com/ntw2k/freeware/procexp.shtml
 
 
 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user



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


[JBoss-user] error when deploying exploded ear

2003-09-01 Thread Panagiotis Korros
Title: Message



I have an 
ear file with the following 
structure:/xxx.ear/xxx.ear/xxxEJB.jar/xxx.ear/xxxEJB.jar/META-INF/ejb-jar.xml/xxx.ear/xxx.war/xxx.ear/xxx.war/WEB-INF/web.xmlIn 
the ejb-jar.xml i define a Stateless Session bean with local interfaces.In 
web.xml i use the following markup to define a local ejb 
ref:ejb-local-refejb-ref-nameejb/OrganizationChartManagerLocalHome/ejb-ref-nameejb-ref-typeSession/ejb-ref-typelocal-homeorgchart.interfaces.OrganizationChartManagerLocalHome/local-homelocalorgchart.interfaces.OrganizationChartManagerLocal/localejb-linkxxxEJB.jar#OrganizationChartManager/ejb-link/ejb-local-refWhen 
i use the usual application archive everything works ok but when i use an 
exploded archive i get the following error:12:53:08,202 ERROR 
[MainDeployer] could not start deployment: 
file:/C:/jboss3.2/server/default/deploy/xxx.ear/xxx.war/org.jboss.deployment.DeploymentException: 
Error during deploy; - nested throwable: (javax.naming.NamingException: 
ejb-local-ref: 'ejb/OrganizationChartManagerLocalHome', with web.xml ejb-link: 
'xxxEJB.jar#OrganizationChartManager' failed to resolve to an ejb with a 
LocalHome)at 
org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:440)at 
org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)at 
org.jboss.deployment.MainDeployer.start(MainDeployer.java:816)Is 
there any idea on how to bypass this problem? 



Re: [JBoss-user] Re: HA JNDI

2003-09-01 Thread Adrian Brock
On Mon, 2003-09-01 at 08:44, Eric Jain wrote:
  jnp.disableDiscovery=true
 
 Thanks. Unfortunately this does a bit too much in my case, as it seems
 to also prevent discovery when no host name is set at all.
 

It goes in jndi.properties, set it to false if you don't specify
a provider url.

Regards,
Adrian

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



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


Re: [JBoss-user] jboss-4.0.0DR2 Fails to Startup Undex XP

2003-09-01 Thread Adrian Brock
2003-08-30 15:40:55,032 DEBUG [org.jboss.deployment.XSLSubDeployer]
accepts: packageSuffix: null, urlStr:
file:/F:/jboss/jboss-4.0.0DR2/server/all/deploy/testImport27.ear/UserEJB.jar
2003-08-30 15:40:55,032 DEBUG [org.jboss.deployment.JARDeployer] No
META-INF or
WEB-INF resource found, assuming it is for us

It is just deploying it as a classes jar b

On Mon, 2003-09-01 at 07:22, rjh wrote:
 Here's the server.log zipped, this is the 2nd message.
 
 Bob



---
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


[JBoss-user] Open-Source Wireless OS

2003-09-01 Thread nfs_ nfs
Software Objects,Inc is providing free project hosting for open-source 
wireless OS development.For more information,please visit this url:
http://www.thesoftwareobjects.com/Projects

_
MSN 8: Get 6 months for $9.95/month. http://join.msn.com/?page=dept/dialup


---
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


[JBoss-user] Re: Re: HA JNDI

2003-09-01 Thread Eric Jain
 It goes in jndi.properties, set it to false if you don't specify
 a provider url.

Of course, should have though about that... Thanks!

  properties.setProperty(jnp.disableDiscovery, 
Boolean.toString(server != null));

--
Eric Jain



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


Re: [JBoss-user] JBoss Presentation

2003-09-01 Thread Aurele Vrata Venet
Thanks Chris,

I managed to put in a pdf version on the forum, along with links as 
well.  You'll find it at:

http://www.jboss.org/thread.jsp?forum=67thread=21007

for sourceforge I tried the upload but unfortunately the file is too 
large.  So I posted a mail to the admin people there.  We'll see if they 
put it on.  I'll let you know if there is anything new.

cheers

Vrata

Chris Bonham wrote:

Putting the zip file on SourceForge is fine by me; I imagine one of the JBoss
admins would have to do it though.  Also, please link to presentation in the
FAQ forum if you'd like.
 



--
V
. . . . . . . . . 
tel:+34.918.131.331





---
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] sync-on-commit-only and cascade-delete

2003-09-01 Thread Alexey Loubyansky
Are there other beans involved in the tx? Something, causes 
synchronization. If all the CMP2 beans have sync-on-commit-only=true, 
then it shouldn't happen.

alex

Andrew May wrote:

Alex,

Thanks for your reply - my answers in-lined:

-Andrew

Alexey Loubyansky wrote:

Hello, Andrew.

my comments in-lined.

Andrew May wrote:

I'm having a problem trying to user sync-on-commit-only and 
cascade-delete with JBoss 3.2.1 (Sun JDK1.4.2, Solaris).

We've got a number of related entities like this:

LOGIN---IDENTITY
  | |
LOGINPROPERTIES IDENTITYPROPERTIES
login-identity, login-loginproperties  
identity-identityproperties are 1-M relationships and are defined as 
cascade-delete.


To be exact:
LOGIN - IDENTITY: M-1
IDENTITY - IDENTITYPROPERTIES: 1-M
LOGIN - LOGINPROPERTIES: 1-M
correct?


Yes (sorry)


When we originally developed the application on JBoss 3.0 there 
wasn't (or I wasn't aware of it) a sync-on-commit-only option, so all 
our foreign keys are nullable, and also our properties foreign keys 
(loginid and identityid) are not part of the primary key of the 
properties because I don't think this was possible at the time either.

The entities are actually using views on an Oracle database. For 
various reasons we need to keep data that has been deleted, so when a 
delete is performed a hidden state is changed and the records no 
longer appear in the view but still exist in the table.

We're now developing an API for maintaining the data (previously any 
deletes were done directly in the database) and we're having to think 
about how the EJB remove() calls interact with the database and the 
views and the triggers that maintain the views.

If sync-on-commit-only=false then as per the spec all the 
relationships are broken before the entities are deleted. This looks 
OK to the application and in the views, but the data in the tables 
that's kept has had all the relationships broken and is no longer 
useful.

With sync-on-commit-only=false things work fine in the simple cases: If 


I guess, I meant sync-on-commit-only=true, right?


Yes (sorry again - blame it on Friday afternoon)


I delete a login, it is deleted as are it's properties (although I'm 
a bit surprised that the properties are deleted after the login). If I 


yes, it works that way.

delete an identity that doesn't have any logins it works OK.

However, if I delete an identity that has logins it fails:

JDBCRemoveEntityCommand.Identity] Executing SQL: DELETE FROM 
ACS_IDENTITY WHERE identityid=?
JDBCRemoveEntityCommand.Identity] Remove: Rows affected = 1
JDBCRemoveEntityCommand.Identity] Checking if already deleted: 
id100169city
JDBCRemoveEntityCommand.Identity] Deleteing: id100169city
JDBCRemoveEntityCommand.IdentityProperty] Executing SQL: DELETE FROM 
ACS_IDENTITYPROPERTY WHERE id=?
JDBCRemoveEntityCommand.IdentityProperty] Remove: Rows affected = 1
JDBCRemoveEntityCommand.Identity] Checking if already deleted: 
id100169country
JDBCRemoveEntityCommand.Identity] Deleteing: id100169country
JDBCRemoveEntityCommand.IdentityProperty] Executing SQL: DELETE FROM 
ACS_IDENTITYPROPERTY WHERE id=?
JDBCRemoveEntityCommand.IdentityProperty] Remove: Rows affected = 1
JDBCRemoveEntityCommand.Identity] Checking if already deleted: 4885910
JDBCRemoveEntityCommand.Identity] Deleteing: 4885910
JDBCLoadRelationCommand.Login] Executing SQL: SELECT id, name, value 
FROM ACS_LOGINPROPERTY WHERE (loginid=?)
JDBCRemoveEntityCommand.Login] Executing SQL: DELETE FROM ACS_LOGIN 
WHERE loginid=?
JDBCStoreEntityCommand.Login] Executing SQL: UPDATE ACS_LOGIN SET 
identityid=? WHERE loginid=?
2003-08-29 13:39:14,209 ERROR [org.jboss.ejb.plugins.LogInterceptor] 
TransactionRolledbackException, causedBy:
javax.ejb.EJBException: Update failed. Expected one affected row: 
rowsAffected=0id=4885910


Looking at the last two statements, this is expected result.
Does LoginProperties have sync-on-commit-only set also to true?
Are all the beans have it as true?
Because we're only using CMP2 for this set of related entities, I've 
been setting sync-on-commit-only=true globally in standardjboss.xml. 
This is also where I've been turing on/off call-logging.

at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreEntityCommand.execute(JDBCStoreEntityCommand.java:165) 

at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.storeEntity(JDBCStoreManager.java:649) 

at 
org.jboss.ejb.plugins.CMPPersistenceManager.storeEntity(CMPPersistenceManager.java:434) 

at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.storeEntity(CachedConnectionInterceptor.java:388) 

at 
org.jboss.ejb.EntityContainer.storeEntity(EntityContainer.java:702)
at 
org.jboss.ejb.GlobalTxEntityMap.synchronizeEntities(GlobalTxEntityMap.java:163) 

at 
org.jboss.ejb.GlobalTxEntityMap$GlobalTxEntityMapCleanup.beforeCompletion(GlobalTxEntityMap.java:227) 

at 

Re: [JBoss-user] HA JNDI trouble

2003-09-01 Thread Holger Baxmann
your setup reminds me on the Service Activator Pattern 
http://java.sun.com/blueprints/corej2eepatterns/Patterns/ServiceActivator.html 
in conjunction with Session Facade and Service Locator for decoupling the 
lookup and the do-something stuff.

It could be more easy to solve the clustering jndi problem if you have a 
facade between for 'hiding' the cluster to the 'client' --- but i could be 
totaly wrong here ...

regards

bax

On Mon, 01 Sep 2003 10:12:23 +0200, Stefan Groschupf [EMAIL PROTECTED] 
wrote:

Dear all,
I have massive trouble to get an simple cluster to run. It sounds in all 
publications so easy, but something went wrong here.
I can run multiple instances on my machine via binding service. The nodes 
are discovered and the farming deployment running well.
As you may be remember i have a set of node with my project A: It is 
manually deployed on all nodes. I have my main application that has an 
mdb that run my job queue.

My problem is that it looks like i have no HA JNDI. To get something 
running i setup my instances on my machine to use all the same jndi of 
localhost. ;/

But when i setup my nodes in the network to use on jndi on my main 
machine it does of curse say that my project is already deployed. ;(
When i does not setup an jndi host as described in the clustering 
documentation i get an Object no bound exception.

My MDB:
TRExtractorRemote extractor = TRExtractorUtil.getHome().create();
ProcessedDocument document = 
extractor.process(oneValue.getValueExternal());
(The Remote Object is generated by xdoclet)
Since my nodes are in a win network and the farming works i think the 
multi casting working.

Really guys i had try everything i had found in the net or in the 
documentation and had tried it now 2 days and 2 nights, since i only can 
play with the nodes over night. Someone has any idea where my problem 
could be located?
I use jboss-3.2.2RC3_jetty-4.2.11.

Thanks for giving me light!
Stefan


---
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


--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
---
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


[JBoss-user] Undeliverable: Re: Approved

2003-09-01 Thread System Administrator
Your message

  To:  [EMAIL PROTECTED]
  Subject: Re: Approved
  Sent:Mon, 1 Sep 2003 07:34:42 -0400

did not reach the following recipient(s):

[EMAIL PROTECTED] on Mon, 1 Sep 2003 07:42:32 -0400
The recipient name is not recognized
The MTS-ID of the original message is: c=us;a= ;p=payment
technolo;l=GROMMIT0309011141RVSN70L7
MSEXCH:IMS:Payment Technologies:PTI:GROMMIT 0 (000C05A6) Unknown
Recipient


---BeginMessage---
Please see the attached file for details.



Deleted Attachment.txt
Description: Binary data
---End Message---


[JBoss-user] ERROR [LogInterceptor] Unexpected Error: java.lang.ClassFormatError: class file name (Truncated class file)

2003-09-01 Thread Thilina Anjitha








hi,

I got following error when try to run a java code in JBoss.



15:39:56,696 ERROR [LogInterceptor] Unexpected
Error:

java.lang.ClassFormatError: Thilina (Truncated class file)

 at java.lang.ClassLoader.defineClass0(Native Method)

 at java.lang.ClassLoader.defineClass(ClassLoader.java:537)

 at java.lang.ClassLoader.defineClass(ClassLoader.java:448)

 at com.sun.tools.javac.v8.StringCompiler$Loader.findClass(StringCompiler

.java:63)

 at com.sun.tools.javac.v8.StringCompiler.executeMethod(Str

ingCompiler.java:120)

 at
cc.aot.qVoice.domain.ejb.qVoiceManager.qVoiceManagerEJB.getVxmlString

(qVoiceManagerEJB.java:125)



I use JBoss 3.0.6 and sdk 1.4. In my program, classes are create
and load on the fly. Then using Reflection API I called some methods in the
dynamically created class(this class not 

write into a file
and it is taken as a String variable).



I refferd this url
as a guid to write class loader and compiler.(actually same thing i copied 

from there and
change it's name Pmat1 to StringCompiler)

http://forum.java.sun.com/thread.jsp?thread=347467forum=4message=1439418



When I run this as a normal application, it is work well.
Then I try to run it in a jboss and it will give the
above error. In here I Wote some EJBs
and struts also and i called the methodds
in the StringCompiler(Pamat1) class in a EJB. Thilina
is the name of the dynamically created calss and StringCompiler is the class that includes the class loader
and compiler methods as in the above url.
qVoiceManagerEJB has a getvxmlString method. Whithin
this method 

i called
required the methods in the String compiler.



I call the executeMethod() in the getVxmlStrin() method in
qVoiceManagerEJB classs
which implemenys the sessionBean
interface. It calls as normall java calling ..

StringCompiler sc =new StringCompiler();

sc.executeMethod();

Treated as...

StringCompiler = Pmat1



Thanx in advanced
for any help.








[JBoss-user] java.lang.ClassFormatError: (Truncated class file)

2003-09-01 Thread Thilina Anjitha
hi,
I got following error when try to run a java code in JBoss.
15:39:56,696 ERROR [LogInterceptor] Unexpected Error:
java.lang.ClassFormatError: Thilina (Truncated class file)
   at java.lang.ClassLoader.defineClass0(Native Method)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:448)
   at 
com.sun.tools.javac.v8.StringCompiler$Loader.findClass(StringCompiler
.java:63)
   at com.sun.tools.javac.v8.StringCompiler.executeMethod(Str
ingCompiler.java:120)
   at 
cc.aot.qVoice.domain.ejb.qVoiceManager.qVoiceManagerEJB.getVxmlString
(qVoiceManagerEJB.java:125)

I use JBoss 3.0.6 and sdk 1.4. In my program, classes are create and load on 
the fly. Then using Reflection API I called some methods in the dynamically 
created class(this class not
write into a file and it is taken as a String variable).

I refferd this url as a guid to write class loader and compiler.(actually 
same thing i copied
from there and change it's name Pmat1 to StringCompiler)
http://forum.java.sun.com/thread.jsp?thread=347467forum=4message=1439418

When I run this as a normal application, it is work well. Then I try to run 
it in a jboss and it will give the above error. In here I Wote some EJBs and 
struts also and i called the methodds in the StringCompiler(Pamat1) class in 
a EJB. Thilina is the name of the dynamically created calss and 
StringCompiler is the class that includes the class loader and compiler 
methods as in the above url. qVoiceManagerEJB has a getvxmlString method. 
Whithin this method
i called required the methods in the String compiler.

I call the executeMethod() in the getVxmlStrin() method in qVoiceManagerEJB 
classs which implemenys the sessionBean interface. It calls as normall java 
calling ..
StringCompiler sc =new StringCompiler();
sc.executeMethod();
Treated as...
StringCompiler = Pmat1

Thanx in advanced for any help.

_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus



---
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


[JBoss-user] DELIVERY FAILURE: User OF6BA417E3.C2BC36F8-ONC2256D8E.004781F3 (OF6BA417E3.C2BC36F8-ONC2256D8E.004781F3@vv-plc.com) not listed in public Name Address Book

2003-09-01 Thread Postmaster
Your message

  Subject: Re: Details

was not delivered to:

  [EMAIL PROTECTED]

because:

  User OF6BA417E3.C2BC36F8-ONC2256D8E.004781F3 ([EMAIL PROTECTED]) not listed in 
public Name  Address Book

Reporting-MTA: dns;tangra.vv-plc.com

Final-Recipient: rfc822;[EMAIL PROTECTED]
Action: failed
Status: 5.1.1
Diagnostic-Code: X-Notes; User OF6BA417E3.C2BC36F8-ONC2256D8E.004781F3 ([EMAIL PROTECTED]) not listed in public Name  Address Book
---BeginMessage---
Please see the attached file for details.---End Message---


[JBoss-user] need to simply list fields of many CMP instances

2003-09-01 Thread Milen Dyankov
Hi all,

There is a question that bothers me from a while.

For the sake of this example lets use Employee and Customer CMPs with 1 to M 
relationship.
Lets say Customer has fields name, address, phone.
Suppose I would like to list all Customers for given Employee. Something like

customer1, address1, phone1
customer2, address2, phone2

customerN, addresN, phoneN
With my today's knowledge I would write appropriate finder method in Employee 
returning
Collection of Customer. Then I would iterate through this Collection, instantiate its
elements and call appropriate getters to display the information I need.
For some reason though, this doesn't look like good solution for me.
As far as I understand this will call ejbLoad (and perhaps ejbStore) method for each 
and
every bean instance. I'm not sure if this will result in many SQL queries being send to
the underlaying database or it is somehow optimized.
I'm I right to thing that this approach will not take the first place in performance 
tests?
Especially if it happens that our employee has couple of thousands customers.
I've been wandering what other options I have? Going for BMP? Session bean + JDBC?

Is there something like best practice?

Best regards,
Milen Dyankov


---
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


[JBoss-user] Configuration for JBoss Startup

2003-09-01 Thread sun zheng
Hi all,

I get such a task that I can not find any club to achieve it.

My boss asks me to configure JBoss somehow. When JBoss starts up, there are 
some beans not being starts up together have to be run until the first user 
uses JBoss, which means the first user has to spend much more time than next 
users. In order to avoid the case happens again, we want to startup those 
beans meanwhile startup JBoss.

How to configure JBoss to fulfill the task ?

with best wishes

Zheng Sun

_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail



---
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] HA JNDI trouble

2003-09-01 Thread Stefan Groschupf
Hi Bax,

nice to hear you! ;) I use such an pattern and it is generated by 
Xdoclet. I use the BeanUtil classes.
They make an normal remote lookup. As i understand the documentation i 
does not need an other lookup. Since the request will be forwarded to 
the HA JNDI. Isn't it?

Stefan

Holger Baxmann wrote:

your setup reminds me on the Service Activator Pattern 
http://java.sun.com/blueprints/corej2eepatterns/Patterns/ServiceActivator.html 
in conjunction with Session Facade and Service Locator for decoupling 
the lookup and the do-something stuff.

It could be more easy to solve the clustering jndi problem if you have 
a facade between for 'hiding' the cluster to the 'client' --- but i 
could be totaly wrong here ...

regards

bax

On Mon, 01 Sep 2003 10:12:23 +0200, Stefan Groschupf 
[EMAIL PROTECTED] wrote:

Dear all,
I have massive trouble to get an simple cluster to run. It sounds in 
all publications so easy, but something went wrong here.
I can run multiple instances on my machine via binding service. The 
nodes are discovered and the farming deployment running well.
As you may be remember i have a set of node with my project A: It is 
manually deployed on all nodes. I have my main application that has 
an mdb that run my job queue.

My problem is that it looks like i have no HA JNDI. To get something 
running i setup my instances on my machine to use all the same jndi 
of localhost. ;/

But when i setup my nodes in the network to use on jndi on my main 
machine it does of curse say that my project is already deployed. ;(
When i does not setup an jndi host as described in the clustering 
documentation i get an Object no bound exception.

My MDB:
TRExtractorRemote extractor = TRExtractorUtil.getHome().create();
ProcessedDocument document = 
extractor.process(oneValue.getValueExternal());
(The Remote Object is generated by xdoclet)
Since my nodes are in a win network and the farming works i think the 
multi casting working.

Really guys i had try everything i had found in the net or in the 
documentation and had tried it now 2 days and 2 nights, since i only 
can play with the nodes over night. Someone has any idea where my 
problem could be located?
I use jboss-3.2.2RC3_jetty-4.2.11.

Thanks for giving me light!
Stefan


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







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


[JBoss-user] Configuration for JBoss Startup

2003-09-01 Thread sun zheng
Hi all,

I get such a task that I can not find any club to achieve it.

My boss asks me to configure JBoss somehow. When JBoss starts up, there are 
some beans not being starts up together have to be run until the first user 
uses JBoss, which means the first user has to spend much more time than next 
users. In order to avoid the case happens again, we want to startup those 
beans meanwhile startup JBoss.

How to configure JBoss to fulfill the task ?

with best wishes

Zheng Sun

_
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



---
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


[JBoss-user] Cleaned virus file Partner,service=EJB already registered. If Idon't have jboss.xml there things work as best they have so far. Your jndi names must be unique. You have Partner twice. JBoss usesejb-name when you don't specify a jndi-name in jboss.xml. [...] Content analysis details: (-0.80 points, 5 required)USER_AGENT_APPLEMAIL (0.0 points) X-Mailer header indicates a non-spam MUA (Apple Mail)IN_REP_TO (-0.5 points) Has a In-Reply-To headerEMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what loo is attached

2003-09-01 Thread viruswall
InterScan E-Mail VirusWall has cleaned all the viruses contained
in the following attached file.  The sender of the original file
was [EMAIL PROTECTED].

begin 666 Partner,service=EJB already registered.   If Idon't have jboss.xml there 
th
[EMAIL PROTECTED])I9%Y+!!=6=UW0@,CDL(#(P,#,L(%T(# T.C0Q([EMAIL PROTECTED]
M:6%N($)R;V-K('=R;[EMAIL PROTECTED]($ET(ES;B=T(YE8V5SV%R[EMAIL PROTECTED]AE
M[EMAIL PROTECTED])E(1E9F%U;'1S(9OB!E=F5R71H:[EMAIL PROTECTED]/B!4:[EMAIL 
PROTECTED]5F875L
M=',@87)E('5N;EK96QY('1O()E('1H92!B97-T(]P=EO;G,@9F]R(%L
M;!Y;W5R()[EMAIL PROTECTED]/@T*/B!/;B!FDL(#(P,#,M,[EMAIL PROTECTED],[EMAIL 
PROTECTED]@,C,Z
M-30L($UA='1H97@2EXV]N('=R;[EMAIL PROTECTED]/[EMAIL PROTECTED]@;[EMAIL 
PROTECTED]B!)(AA
[EMAIL PROTECTED] N:F%R+B @[EMAIL PROTECTED]W,@=AA==S()E='1EB!T:%N(AA=FEN
M9R!M2!E87(@( T*/CX@:6X-CX^($@:F%R+B!A:%H:%A:$N+BXN+BD-
MCX^( @($%N7=A2P@:70@V5E;7,@=AA=!A;GET:6UE($D@:%V92!J
M8F]SRYX;6P@:[EMAIL PROTECTED]AE($U%5$$M24Y#0H^/B!D:7)E8W1OGDL(%S($DG
M=F4@V5E;B!S;VUE(5X86UP;[EMAIL PROTECTED];[EMAIL PROTECTED]@[EMAIL PROTECTED]
M97!T:[EMAIL PROTECTED]/CX-CX^(IA=F%X+FUA;F%G96UE;G0N26YS=%N8V5!;')E
M861Y17AIW1S17AC97!T:[EMAIL PROTECTED]/CX@:F)OW,N:C)E93IJ;F1I3F%M93U0
M87)T;F5R+'-EG9I8V4]14I(%LF5A9'D@F5G:7-T97)E9X-CX^#0H^
M/B!)9B!)(1O;B=T(AA=F4@:F)OW,NUL('1H97)E('1H:6YGR!W;W)K
M(%S()E[EMAIL PROTECTED]AE2!H879E('-O(9ABX-CX-[EMAIL PROTECTED]B!J;F1I(YA
M;65S(UU[EMAIL PROTECTED]@=6YI[EMAIL PROTECTED]/B!9;W4@:%V92!087)T;F5R('1W:6-E
M+B!*0F]SR!UV5S(#QE:F(M;[EMAIL PROTECTED];B!Y;[EMAIL PROTECTED]]N)W0@W!E8VEF
M0T*/B!A(#QJ;F1I+6YA;64^(EN(IB;W-S+GAM;X-@T*3VMA2P@V\@
M22=V92!G;W1T96X@%S=!T:ES(ESW5E(9OB!N;W@8GD@;F]T(EN
M8VQU9EN9R!A( -FIB;W-S+GAM;!A=!A;PN(!-;W9I;F@;VXN+BX-
M@T*/[EMAIL PROTECTED];W5L9XG=!H879E('!U=!J8F]SRYX;6P@:6YT;R!T:4@
M:F%R(5X8V5P=!T:%T($DG;2!TGEI;F@=\-CX^(9I9W5R92!O=70@
M=VAY(UY('-EW-I;[EMAIL PROTECTED];G,@87)E()E:6YG(9O=6YD(EN($I.1$DL
M()U=!M2!E;G1I='D-CX^()E86YS(%R92!N;W0N#0H^#0H^(%EO=2!P
MF]B86)L2!H879E(%N(5J8BUN86UE('1H870@:7-N)[EMAIL PROTECTED]!J
M879A(YA;64N#0H^(%1H92!S5C(')E75IF5S('1H:7,@97ATF$@F5S
M=')I8W1I;[EMAIL PROTECTED](5N=ET2!B96%NPT*/B!B96-A=7-E(ET(UI9VAT
M()E('[EMAIL PROTECTED],@=AE('[EMAIL PROTECTED]/B!E+FN(5J8G,O37E%;G1I='D@
M:7,@;F]T('9A;ED#0H-E1H92!B96%N($DG;2!TGEI;F@=[EMAIL PROTECTED](ES
M(-A;QE9!#;VYT96YT0F5A;BX@(%1H92!E;G1R2!I;B @#0IE:F(M:F%R
M+GAM;!ISH-@T*( @( @(#QE;G1I='D@/@T*( @( @( @(#QD97-C
MFEP=EO;CX\(5M#1$%405M=73X\+V1EV-R:7!T:6]N/@T*( @( @( @
M(#QE:F(M;F%M93Y#;VYT96YT/]E:F(M;F%M93X-B @( @( @( @#0H\
M;]C86PM:]M93YC;VTN=F5RV%L2YE:F(N96YT:71Y+D-O;G1E;G1,;V-A
M;$AO;64\+VQO8V%L+6AO;64^#0H@( @( @( @/QO8V%L/F-O;2YV97)S
M86QY+F5J8BYE;G1I='DN0V]N=5N=$QO8V%L/]L;V-A;#X-B @( @( @
M( \96IB+6-L87-S/F-O;2YV97)S86QY+F5J8BYE;G1I='DN0V]N=5N=$)E
M86X\+V5J8BUC;%SSX-B @( @( @( \5RVES=5N8V4M='EP93Y#
M;VYT86EN97(\+W!EG-IW1E;F-E+71Y4^#0H@( @( @( @/'!R:6TM
M:V5Y+6-L87-S/FIA=F$N;%N9RY);G1E9V5R/]PFEM+6ME2UC;%SSX-
MB @( @( @( \F5E;G1R86YT/D9A;'-E/]R965N=')A;G0^#0H@( @
M( @( @/-MUV97)S:6]N/C(N#PO8VUP+79EG-I;VX^#0H@( @( @
M( @/%BW1R86-T+7-C:5M82UN86UE/G9?8V]N=5N=#PO86)S=')A8W0M
MV-H96UA+6YA;64^#0H@( @( @( @/-MUF:65L9 ^#0H@( @( @
M( @( @/1EV-R:7!T:6]N/CPA6T-$051!6UU=/CPO95S8W)I'1I;VX^
M#0H@( @( @( @( @/9I96QD+6YA;64^8V]N=5N=$ED/]F:65L9UN
M86UE/@T*( @( @( @(#PO8VUP+69I96QD/@T*/$M+2!O=AEB!C;7 @
M9FEE;1S('-N:[EMAIL PROTECTED]@( @( @( @/'!R:6UK97DM9FEE;0^
M8V]N=5N=$ED/]PFEM:V5Y+69I96QD/@T*/$M+2!E:F(@9FEN95RR!S
M;FEP5D(TM/@T*( @( @(#PO96YT:71Y/@T*#0I!('-EW-I;[EMAIL PROTECTED]
M;B!W:EC:!)(MN;W@;[EMAIL PROTECTED]R!L;V]K:6YG('5P(%N9!UVEN
M9R!IR!D969I;F5D( -F%S('1H:7,Z#0H-B @( @( \V5SVEO;B ^
M#0H@( @( @( @/1EV-R:7!T:6]N/B \(5M#1$%405M=73X@/]D97-C
MFEP=EO;CX-B @( @( @( \96IB+6YA;64^4%R=YEE-EG9I8V5S
M/]E:F(M;F%M93X-B @( @( @( @#0H\;]C86PM:]M93YC;VTN=F5R
MV%L2YE:F(NV5SVEO;BY087)T;F5R4V5R=FEC97-,;V-A;$AO;64\+VQO
M8V%L+2 -FAO;64^#0H@( @( @( @/QO8V%L/F-O;2YV97)S86QY+F5J
M8BYS97-S:6]N+E!AG1N97)397)V:6-ETQO8V%L/]L;V-A;#X-B @( @
M( @( \96IB+6-L87-S/F-O;2YV97)S86QY+F5J8BYS97-S:6]N+E!AG1N
M97)397)V:6-ESPO96IB+6-L87-S/@T*( @( @( @(#QS97-S:6]N+71Y
M4^4W1A=5L97-S/]S97-S:6]N+71Y4^#0H@( @( @( @/'1R86YS
M86-T:6]N+71Y4^0V]N=%I;F5R/]TF%NV%C=EO;BUT7!E/@T*( @
M( @(#POV5SVEO;CX-@T*06YD($D@;]O:R!I=!U!W:71H('1H:7,Z
M#0H-E]P87)T;F5R4V5R=FEC97-(;VUE( @/2 H4%R=YEE-EG9I8V5S
M3]C86Q(;VUE*2 @( -E]C;VYT97AT+FQO;VMU@B4%R=YEE-EG9I
M8V5S(BD[#0H-[EMAIL PROTECTED](@;6%Y8F4@6]U(AA=F4@V]M92!O=AEB!PF]B
M;5M('=I=@@=AE(1B(UA'!I;F=S/PT*#0I)(AA=F4@;[EMAIL PROTECTED]]S==R
M97,@9%T87-O=7)C92!S971U!PF]P97)L2!A;[EMAIL PROTECTED]AE(5N=ET2!B
M96%NR @#0ID97!L;[EMAIL PROTECTED]:]U=!A;[EMAIL PROTECTED])R;W)S('=R:[EMAIL 
PROTECTED]\@
M=AE(-O;G-O;4N(!))VT@;F]T('-U[EMAIL PROTECTED]AA= @#0IT:5Y)W)E(5R
MF]R(9R964L()U=!)(1O;B=T('1H:6YK('1H870GR!C875S:6YG('1H
M:7,@')O8FQE;2X-@T*/B!0;W-T('1H92!E-E'1I;VXN#0H-E=H96X@
M;[EMAIL PROTECTED]:71Y(AO;64@;]C871OB!C;%SR!TFEER!T;R!L;V]K=7 @
M;[EMAIL PROTECTED]5N=$)[EMAIL PROTECTED]:#H-@T*7V-O;G1E;G1,;V-A;$AO;64@( @
M( @( ](A#;VYT96YT3]C86Q(;VUE*2 @( @( @( -E]C;VYT97AT
M+FQO;VMU@B0V]N=5N=(I.PT*#0I)(=E=!A($YA;6EN9T5X8V5P=EO

Re: [JBoss-user] Disabling hot deployment to limit open file handles

2003-09-01 Thread Sheldon Hearn
On (2003/08/31 23:10), Adrian Brock wrote:

 attribute name=ScanEnabledfalse/attribute

Thanks!  That's not in the Jboss-3.2.1 book, so your response is much
appreciated.

 Setting the period to 0 will just cause it to spin in a cpu loop.

Suitable punishment for a server that's given me nothing but grief for 4
days.  I finally got everything working, and now the hardware's failed
(mobo, according to the colo guys).  Some people get all the luck. :-)

 Are you sure the file handles aren't jasper checking for
 changed jsps?

Dead sure, although that'll be true for _some_ of them.  Every jar and
xml file deployed by JBoss (even with jbossweb-tomcat.sar disabled)
consumes an open NT File Handle for the lifetime of the JBoss process.

I'll try ScanEnabled=false and see if that changes the behaviour.

If not, this is probably worth looking into, as it seems incredibly
wasteful to hold onto those references.  Perhaps the Wintendo equivalent
of stat() is too expensive or doesn't exist, in which case JBoss's
behaviour makes sense.

 Have you turned off development mode for jasper
 in jbossweb-tomcat.sar/META-INF/web.xml?

Yes. :-)

I got around the problem by starting Jboss as an NT service with the
Java Service Wrapper.  This gets around the hard limit on the number of
open file handles for programs run from a CMD.EXE prompt, and around the
22MB heap limit for the desktop when Terminal Server is enabled.

Later in the week, I intend to post my notes on getting JBoss to work on
high-end PC hardware that's been encumbered with a Wintendo operating
system.  Probably not useful to serious Microsoft cluebats, but I hope
it'll help folks like me who've never had to administer Wintendo systems
before.

Ciao,
Sheldon.


---
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] Configuration for JBoss Startup

2003-09-01 Thread Meyer-Willner, Bernhard
You could deploy a scheduler that fires up immediately (NOW) and executes
the required tasks/steps.

-Ursprüngliche Nachricht-
Von: sun zheng [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 1. September 2003 14:18
An: [EMAIL PROTECTED]
Betreff: [JBoss-user] Configuration for JBoss Startup


Hi all,

I get such a task that I can not find any club to achieve it.

My boss asks me to configure JBoss somehow. When JBoss starts up, there are 
some beans not being starts up together have to be run until the first user 
uses JBoss, which means the first user has to spend much more time than next

users. In order to avoid the case happens again, we want to startup those 
beans meanwhile startup JBoss.

How to configure JBoss to fulfill the task ?

with best wishes

Zheng Sun

_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail



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

This e-mail and any attachment is for authorised use by the intended recipient(s) 
only.  It may contain proprietary material, confidential information and/or be subject 
to legal privilege.  It should not be copied, disclosed to, retained or used by, any 
other party.  If you are not an intended recipient then please promptly delete this 
e-mail and any attachment and all copies and inform the sender.  Thank you.


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


Re: [JBoss-user] How to use Log4J in JBoss?

2003-09-01 Thread Adrian Brock
Put your log4j config in
conf/log4j.xml

Why do think it weird if jboss's logging goes where
you configured it?

Regards,
Adrian

On Mon, 2003-09-01 at 12:54, Paulo Bengero wrote:
 this is my wrapper class for Log4J:
 package com.uniserv.comn.logger;
 
 import org.apache.log4j.*;
 import java.util.*;
 import java.io.*;
 
 public class Logger
 {
 
   private static boolean isInstantiated;
   private static Logger logger = null;
   private Category posTxtFileLog;
   private Category bosTxtFileLog;
   private Category bosJdbcLog;
 
   /** class constants **/
   public static final int DEBUG= 0;
   public static final int INFO = 1;
   public static final int WARN = 2;
   public static final int ERROR= 3;
   public static final int FATAL= 4;
 
   private Logger()
   {
posTxtFileLog = Category.getInstance( Logger.class.getName() + .
  POSTXTLOG );
bosTxtFileLog = Category.getInstance( Logger.class.getName() + .
  BOSTXTLOG );
bosJdbcLog  = Category.getInstance( Logger.class.getName() + .
 BOSJDBCLOG );
Properties props = new Properties();
 
try
{
   System.out.println(getting log4j.properties );
  props.load(new BufferedInputStream(this.getClass().
getResourceAsStream(log4j.properties)));
PropertyConfigurator.configure(props);
}
catch (IOException ioe)
{
   ioe.printStackTrace();
}
 
   }
 
 
   public static Logger getInstance()
   {
if ( logger == null )
{
   logger = new Logger();
}
 
return logger;
   }
 
   public void logPOS( int iLevel, String message )
   {
switch(iLevel)
{
   case DEBUG:
  posTxtFileLog.debug(message);
  break;
   case INFO:
  posTxtFileLog.info(message);
  break;
   case WARN:
  posTxtFileLog.warn(message);
  break;
   case ERROR:
  posTxtFileLog.error(message);
  break;
   case FATAL:
  posTxtFileLog.fatal(message);
  break;
}
 
   }
 
   public void logBOS( int iLevel, String message )
   {
 
switch(iLevel)
{
   case DEBUG:
  bosTxtFileLog.debug(message);
  bosJdbcLog.debug(message);
  break;
   case INFO:
  bosTxtFileLog.info(message);
  bosJdbcLog.info(message);
  break;
   case WARN:
  bosTxtFileLog.warn(message);
  bosJdbcLog.warn(message);
  break;
   case ERROR:
  bosTxtFileLog.error(message);
  bosJdbcLog.error(message);
  break;
   case FATAL:
  bosTxtFileLog.fatal(message);
  bosJdbcLog.fatal(message);
  break;
}
   }
 
 }
 
 this is my log4j.properties
 #root category
 log4j.rootCategory=DEBUG, Appender2
 log4j.category.Logger.POSTXTLOG=DEBUG, Appender2
 log4j.category.Logger.BOSTXTLOG=DEBUG, Appender3
 log4j.category.Logger.BOSJDBCLOG=DEBUG, Appender4
 
 # Appender1
 log4j.appender.Appender1=org.apache.log4j.ConsoleAppender
 log4j.appender.Appender1.layout=org.apache.log4j.PatternLayout
 log4j.appender.Appender1.layout.ConversionPattern=%d [%t] %-5p %m%n
 
 # Appender2
 log4j.appender.Appender2=org.apache.log4j.FileAppender
 log4j.appender.Appender2.layout=org.apache.log4j.PatternLayout
 log4j.appender.Appender2.layout.ConversionPattern=%d [%t] %-5p %m%n
 log4j.appender.Appender2.File=F:\postxtlog.txt
 
 # Appender3
 log4j.appender.Appender3=org.apache.log4j.FileAppender
 log4j.appender.Appender3.layout=org.apache.log4j.PatternLayout
 log4j.appender.Appender3.layout.ConversionPattern=%d [%t] %-5p %m%n
 log4j.appender.Appender3.File=F:\MyDocuments\LOG 4J Docu\Test Codes\bostxtlog.
 txt
 
 # Appender4
 log4j.appender.Appender4=org.apache.log4j.jdbc.JDBCAppender
 log4j.appender.Appender4.URL=jdbc:postgresql://localhost:5432/testdb
 log4j.appender.Appender4.user=pau
 log4j.appender.Appender4.password=pau
 log4j.appender.Appender4.sql=INSERT INTO JDBCTEST (Message) VALUES ('%d - %c -
 %p - %m')
 
 
 the ejb that uses my logging class:
 
 public class TimeKeepingSessionEJB implements SessionBean {
 
 
 SessionContext ctx = null;
 
 EntityServices entityServices = new EntityServices();
 
 LocalTimeKeeping timeKeeping = null;
 LocalTimeKeepingHome timeKeepingHome = null;
 
 Logger logger = Logger.getInstance();
 
 /**
   * Default constructor
   */
  public TimeKeepingSessionEJB() {
  }
 
 public void ejbRemove() {}
 public void ejbPassivate () 

Re: [JBoss-user] need to simply list fields of many CMP instances

2003-09-01 Thread Adrian Brock
Investigate read-ahead.

Regards,
Adrian

On Mon, 2003-09-01 at 13:11, Milen Dyankov wrote:
 Hi all,
 
 There is a question that bothers me from a while.
 
 For the sake of this example lets use Employee and Customer CMPs with 1 to M 
 relationship.
 Lets say Customer has fields name, address, phone.
 
 Suppose I would like to list all Customers for given Employee. Something like
 
 customer1, address1, phone1
 customer2, address2, phone2
 
 customerN, addresN, phoneN
 
 
 With my today's knowledge I would write appropriate finder method in Employee 
 returning
 Collection of Customer. Then I would iterate through this Collection, instantiate 
 its
 elements and call appropriate getters to display the information I need.
 
 For some reason though, this doesn't look like good solution for me.
 As far as I understand this will call ejbLoad (and perhaps ejbStore) method for each 
 and
 every bean instance. I'm not sure if this will result in many SQL queries being send 
 to
 the underlaying database or it is somehow optimized.
 
 I'm I right to thing that this approach will not take the first place in performance 
 tests?
 Especially if it happens that our employee has couple of thousands customers.
 
 I've been wandering what other options I have? Going for BMP? Session bean + JDBC?
 
 Is there something like best practice?
 
 
 Best regards,
 Milen Dyankov
 
 
 
 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user



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


Re: [JBoss-user] (no subject)

2003-09-01 Thread Adrian Brock
Your example makes no sense.
You don't show how the compiler knows about the source.
The execute method you show is not in the provided link.

My guess is it failed to compile.
Try dumping the bytestream before you defineClass it.

Regards,
Adrian

On Mon, 2003-09-01 at 13:12, Thilina Anjitha wrote:
 hi,
 I got following error when try to run a java code in JBoss.
 
 15:39:56,696 ERROR [LogInterceptor] Unexpected Error:
 java.lang.ClassFormatError: Thilina (Truncated class file)
 at java.lang.ClassLoader.defineClass0(Native Method)
 at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
 at java.lang.ClassLoader.defineClass(ClassLoader.java:448)
 at 
 com.sun.tools.javac.v8.StringCompiler$Loader.findClass(StringCompiler
 .java:63)
 at com.sun.tools.javac.v8.StringCompiler.executeMethod(Str
 ingCompiler.java:120)
 at 
 cc.aot.qVoice.domain.ejb.qVoiceManager.qVoiceManagerEJB.getVxmlString
 (qVoiceManagerEJB.java:125)
 
 I use JBoss 3.0.6 and sdk 1.4. In my program, classes are create and load on 
 the fly. Then using Reflection API I called some methods in the dynamically 
 created class(this class not
 write into a file and it is taken as a String variable).
 
 I refferd this url as a guid to write class loader and compiler.(actually 
 same thing i copied
 from there and change it's name Pmat1 to StringCompiler)
 http://forum.java.sun.com/thread.jsp?thread=347467forum=4message=1439418
 
 When I run this as a normal application, it is work well. Then I try to run 
 it in a jboss and it will give the above error. In here I Wote some EJBs and 
 struts also and i called the methodds in the StringCompiler(Pamat1) class in 
 a EJB. Thilina is the name of the dynamically created calss and 
 StringCompiler is the class that includes the class loader and compiler 
 methods as in the above url. qVoiceManagerEJB has a getvxmlString method. 
 Whithin this method
 i called required the methods in the String compiler.
 
 I call the executeMethod() in the getVxmlStrin() method in qVoiceManagerEJB 
 classs which implemenys the sessionBean interface. It calls as normall java 
 calling ..
 StringCompiler sc =new StringCompiler();
 sc.executeMethod();
 Treated as...
 StringCompiler = Pmat1
 
 Thanx in advanced for any help.
 
 _
 Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
 http://join.msn.com/?page=features/featuredemail
 
 
 
 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user



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


Re: [JBoss-user] Configuration for JBoss Startup

2003-09-01 Thread Adrian Brock
Investigate MBeans or bean shell scripts.

Regards,
Adrian

On Mon, 2003-09-01 at 13:17, sun zheng wrote:
 Hi all,
 
 I get such a task that I can not find any club to achieve it.
 
 My boss asks me to configure JBoss somehow. When JBoss starts up, there are 
 some beans not being starts up together have to be run until the first user 
 uses JBoss, which means the first user has to spend much more time than next 
 users. In order to avoid the case happens again, we want to startup those 
 beans meanwhile startup JBoss.
 
 How to configure JBoss to fulfill the task ?
 
 with best wishes
 
 Zheng Sun
 
 _
 STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
 http://join.msn.com/?page=features/junkmail
 
 
 
 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user



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


Re: [JBoss-user] Disabling hot deployment to limit open filehandles

2003-09-01 Thread Adrian Brock
On Mon, 2003-09-01 at 13:44, Sheldon Hearn wrote:

  Are you sure the file handles aren't jasper checking for
  changed jsps?
 
 Dead sure, although that'll be true for _some_ of them.  Every jar and
 xml file deployed by JBoss (even with jbossweb-tomcat.sar disabled)
 consumes an open NT File Handle for the lifetime of the JBoss process.
 
 I'll try ScanEnabled=false and see if that changes the behaviour.

Report back, sounds like something not closing something and
leaving it to the gc? 
Which JBoss version are you using?

Regards,
Adrian



---
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] Configuration for JBoss Startup

2003-09-01 Thread Srinivas Malladi
Write an MBean. The MBean must extend ServiceMBeanSupport. For example, 
public class ConfigStartup extends ServiceMBeanSupport implements ConfigStartupMBean 
 
and an Interface public interface ConfigStartupMBean extends ServiceMBean {}. This 
interface implements start and stop methods. Jboss will invoke these methods when it 
starts. The Mbean must be deployed by sar. 

Example of jboss-service.xml

?xml version=1.0 encoding=UTF-8?
!DOCTYPE server
server
mbean code=com.sri.configservice.ConfigStartup
  name=DSS:service=ConfigStartup
   
   /mbean
/server

 


-Original Message-
From: Adrian Brock [mailto:[EMAIL PROTECTED]
Sent: Monday, September 01, 2003 9:08 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Configuration for JBoss Startup


Investigate MBeans or bean shell scripts.

Regards,
Adrian

On Mon, 2003-09-01 at 13:17, sun zheng wrote:
 Hi all,
 
 I get such a task that I can not find any club to achieve it.
 
 My boss asks me to configure JBoss somehow. When JBoss starts up, there are 
 some beans not being starts up together have to be run until the first user 
 uses JBoss, which means the first user has to spend much more time than next 
 users. In order to avoid the case happens again, we want to startup those 
 beans meanwhile startup JBoss.
 
 How to configure JBoss to fulfill the task ?
 
 with best wishes
 
 Zheng Sun
 
 _
 STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
 http://join.msn.com/?page=features/junkmail
 
 
 
 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user



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


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


Re: [JBoss-user] error when deploying exploded ear

2003-09-01 Thread Adrian Brock
Post your ejb-jar.xml, jboss.xml, jbossweb.xml, 
JBoss version and the full stacktrace.

Regards,
Adrian

On Mon, 2003-09-01 at 11:04, Panagiotis Korros wrote:
  I have an ear file with the following structure:
 
 /xxx.ear
 /xxx.ear/xxxEJB.jar
 /xxx.ear/xxxEJB.jar/META-INF/ejb-jar.xml
 /xxx.ear/xxx.war
 /xxx.ear/xxx.war/WEB-INF/web.xml
 
 In the ejb-jar.xml i define a Stateless Session bean with local
 interfaces.
 In web.xml i use the following markup to define a local ejb ref:
 
 ejb-local-ref
 ejb-ref-nameejb/OrganizationChartManagerLocalHome/ejb-ref-name
 ejb-ref-typeSession/ejb-ref-type
 local-homeorgchart.interfaces.OrganizationChartManagerLocalHome/local-home
 localorgchart.interfaces.OrganizationChartManagerLocal/local
 ejb-linkxxxEJB.jar#OrganizationChartManager/ejb-link
 /ejb-local-ref
 
 When i use the usual application archive everything works ok but when
 i use an exploded archive i get the following error:
 
 12:53:08,202 ERROR [MainDeployer] could not start deployment:
 file:/C:/jboss3.2/server/default/deploy/xxx.ear/xxx.war/
 org.jboss.deployment.DeploymentException: Error during deploy; -
 nested throwable: (javax.naming.NamingException: ejb-local-ref:
 'ejb/OrganizationChartManagerLocalHome', with web.xml ejb-link:
 'xxxEJB.jar#OrganizationChartManager' failed to resolve to an ejb with
 a LocalHome)
 at
 org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:440)
 at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
 at org.jboss.deployment.MainDeployer.start(MainDeployer.java:816)
 
 
 Is there any idea on how to bypass this problem?
  



---
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] Configuration for JBoss Startup

2003-09-01 Thread Neal Sanche

Another option would be to investigate Pre-Compiling your JSPs so that 
the compilation time won'[t affect the first user on the system. 
There was a recent thread on how to do that, and if you want an 
example, I've put a framework that achieves this into my website at 
the bottom of the 'My JBoss Framework' story at 
http://www.nsdev.org/jboss

(If you're using JSPs... which you didn't actually say, so I'm making 
an assumption.)

Enjoy.

-Neal

On September 1, 2003 08:17 am, sun zheng wrote:
 Hi all,

 I get such a task that I can not find any club to achieve it.

 My boss asks me to configure JBoss somehow. When JBoss starts up,
 there are some beans not being starts up together have to be run
 until the first user uses JBoss, which means the first user has to
 spend much more time than next users. In order to avoid the case
 happens again, we want to startup those beans meanwhile startup
 JBoss.

 How to configure JBoss to fulfill the task ?

 with best wishes

 Zheng Sun

 _
 Protect your PC - get McAfee.com VirusScan Online
 http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



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



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


Re: [JBoss-user] Configuration for JBoss Startup

2003-09-01 Thread sun zheng
Thank you ! however, my boss is sure that only to configure xml files of 
JBoss
can achieve the task.. your way is also right, but we even dunno which beans
the JBoss does not startup and need be done by us.

with best wishes

Sun Zheng



You could deploy a scheduler that fires up immediately (NOW) and executes
the required tasks/steps.
-Ursprüngliche Nachricht-
Von: sun zheng [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 1. September 2003 14:18
An: [EMAIL PROTECTED]
Betreff: [JBoss-user] Configuration for JBoss Startup
Hi all,

I get such a task that I can not find any club to achieve it.

My boss asks me to configure JBoss somehow. When JBoss starts up, there are
some beans not being starts up together have to be run until the first user
uses JBoss, which means the first user has to spend much more time than next
users. In order to avoid the case happens again, we want to startup those
beans meanwhile startup JBoss.
How to configure JBoss to fulfill the task ?

with best wishes

Zheng Sun

_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus



---
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


[JBoss-user] HOWTO: Configure Windows 2000 Server for high-end JBoss-Tomcat

2003-09-01 Thread Sheldon Hearn
As promised, here are my notes on getting a serious JBoss-Tomcat
deployment functional on Windows 2000 Server, assuming you aren't
in a position to use a real operating system.

So I've finally managed to get JBoss-Tomcat working on a dual-Xeon 4GB
Windows 2000 server.

The problems were:

1) Use of the /3GB boot.ini switch radically reduces the number of PTEs
   available.  This results in a very low limit on concurrent threads.

   If you don't need 2GB virtual address space per process,
   don't enable /3GB.  If you can't live without it, see
   http://support.microsoft.com/default.aspx?scid=kb;en-us;313707 for
   information on tuning SystemPages to increase available PTEs.

2) The default Windows 2000 TCP connection backlog is ridiculously
   low (20).  This is a problem for when the server is configured to
   ramp the number of connection handlers up as load increases. See
   http://support.microsoft.com/default.aspx?scid=kb;en-us;142641 for
   information on enabling dynamic backlog handling.

3) The default Windows 2000 local user socket limit is ridiculously
   low (5000).  This is a problem when the server accesses resources
   (such as databases and application containers) over the network. See
   http://support.microsoft.com/default.aspx?scid=kb;en-us;319502 for
   information on increasing this limit to the defaults found on most
   sensible server platforms.

4) [SPECULATION] Windows 2000 imposes an immutable limit on the number
   of open files / handles allowed for a process started from a CMD.EXE
   prompt.  See http://wrapper.tanukisoftware.org/doc/english/ for
   information on installing JBoss-Tomcat as an NT service using the
   Java Service Wapper.

5) [SPECULATION] Windows 2000 imposes a 48MB heap limit for processes
   started via the desktop (22MB for Terminal Services desktops).  The
   solution for (4) above applies.

I don't have KB article references to support (4) and (5).  I read stuff
that led me to believe them, but didn't record references.  However,
running Jboss-Tomcat as an NT service avoided undiagnosed resource
starvation problems not covered in (1) through (3).

With these changes made, a Windows 2000 server can be made to service
a serious JBoss-Tomcat deployment configured to operate under the kind
of load that Unix-like operating systems tend to handle out of the box.
The host is able to service at least 2,000 concurrent HTTP connections
without application server failure.

This does _not_ mean that a Windows 2000 server's _performance_ will
match that of a Unix-like operating system.  At this stage, I'm just
trying to get this rubbish to stay on its feet when I poke it with a
pointy stick.


Ciao,
Sheldon.
-- 
Windows sucks.


---
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] Disabling hot deployment to limit open file handles

2003-09-01 Thread Sheldon Hearn
On (2003/09/01 14:29), Adrian Brock wrote:

  Dead sure, although that'll be true for _some_ of them.  Every jar and
  xml file deployed by JBoss (even with jbossweb-tomcat.sar disabled)
  consumes an open NT File Handle for the lifetime of the JBoss process.
  
  I'll try ScanEnabled=false and see if that changes the behaviour.
 
 Report back, sounds like something not closing something and
 leaving it to the gc? 
 Which JBoss version are you using?

jboss-3.2.1_tomcat-4.1.24
jdk-1.4.2_01
Windows 2000 Server SP4

I'm using ProcessExporer (http://www.sysinternals.com/) to inspect the
handles.  It's possible that ProcessExplorer is just plain wrong.

Can't try ScanEnabled until the mobo swapout happens, and it's a national
holiday for the colo guys.  All the luck, I tell you. :-)

Ciao,
Sheldon.


---
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


[JBoss-user] Build optimized JBoss version

2003-09-01 Thread Rafal Kedziorski
hi,

I wanted build an optimized JBoss version from the downloaded 3.2.2RC3 
sources. Is thre an option or target (I didn't find any) for creating an 
optimized version i.e. with this settings:

debug = off
optimize = on
deprecation = off
depend = off
Regards,
Rafal


---
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


[JBoss-user] Configuration for JBoss Startup

2003-09-01 Thread sun zheng
Hi, all,

I get such a task that I can not find any club to achieve it.

My boss asks me to configure JBoss somehow. When JBoss starts up,
there are some beans not being starts up together have to be run until
the first user uses JBoss, which means the first user has to spend much
more time than next users. In order to avoid the case happens again,
we want to startup those beans meanwhile startup JBoss.
How to configure JBoss to fulfill the task ?

with best wishes

Zheng Sun

_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail



---
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] Configuration for JBoss Startup

2003-09-01 Thread Sheldon Hearn
On (2003/09/01 09:57), Neal Sanche wrote:

 Another option would be to investigate Pre-Compiling your JSPs so that 
 the compilation time won'[t affect the first user on the system. 

I've done this with jboss-3.2.1-tomcat-4.1.24 and it makes a HUGE
difference.

Detials at:

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html

Specifically, see Production Configuration and Web Application
Compilation.  If you use tag libraries, be sure to check Upgrading,
the contents of which covers a problem that nearly bit my ass clean off.

Ciao,
Sheldon.


---
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] Disabling hot deployment to limit open file handles

2003-09-01 Thread Danny . Yates
Today's lesson... never colo with a company that has different national
holidays (and hence, different time priorities) to you! :-)

-- 
Danny Yates
 


-Original Message-
From: Sheldon Hearn [mailto:[EMAIL PROTECTED] 
Sent: 01 September 2003 15:20
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Disabling hot deployment to limit open file
handles


On (2003/09/01 14:29), Adrian Brock wrote:

  Dead sure, although that'll be true for _some_ of them.  Every jar and
  xml file deployed by JBoss (even with jbossweb-tomcat.sar disabled)
  consumes an open NT File Handle for the lifetime of the JBoss process.
  
  I'll try ScanEnabled=false and see if that changes the behaviour.
 
 Report back, sounds like something not closing something and
 leaving it to the gc? 
 Which JBoss version are you using?

jboss-3.2.1_tomcat-4.1.24
jdk-1.4.2_01
Windows 2000 Server SP4

I'm using ProcessExporer (http://www.sysinternals.com/) to inspect the
handles.  It's possible that ProcessExplorer is just plain wrong.

Can't try ScanEnabled until the mobo swapout happens, and it's a national
holiday for the colo guys.  All the luck, I tell you. :-)

Ciao,
Sheldon.


---
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


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

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

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




---
This sf.net email 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


[JBoss-user] PLS READ

2003-09-01 Thread alisesay1


Dear  Sir



This letter may come to you as a surprise because we have not met. The decision to 
write you is out of a sincere desire to establish a business/mutual relationship with 
you. I got your contact through the international trade and commerce chamber (ITCC) in 
Madrid.

My name is Mr. Ali Sesay Karimu, the son of John Karimu (the former
Secretary of state for finance) who was killed and mutilated by the 
military junta led by Major Paul Koroma after over-throwing the elected 
government of President Tijan Kabba. Though, I do not know to what extent you are 
familiar with events and disturbances in Sierra-Leone but it has  consistent features 
in the CNN, BBC news bulletins. The pressure of war drove the rest of my family out of 
Sierra-Leone into exile in Spain where we have been living under political asylum for 
the past 3 years.

Sadly, my mother died of cancer 3 months ago and was buried in Madrid. Prior to her 
death, she gave me a certificate  for a secret deposit that my father made in a 
security company in Europe (destination will be disclosed later for security reason). 
The deposit which is worth $32,000.000 (Thirty-two Million U.S. Dollars) was money set 
apart for government propaganda against the rebel forces. He made the deposit in his 
name with the hope of converting it to his personal use at the end of the war but was 
killed as a result of his opposition to the rebel forces when the conflict 
intensified. I have contacted the Security Company to confirm the deposit and 
establish ownership. The money was however deposited as family treasure.

Due to the death of my mother and the continued hostility in Sierra-Leone, I have 
decided to solicit  the assistance of an honest and trustworthy person or company that 
will assist in investing the  money. I cannot do it alone due to my present political 
status and total ignorance of the business world. You will be given a negotiable 
percentage of the money at the end of the transaction.

If you are honest, trustworthy and interested in the above proposal, 
contact me immediately through the number/email address indicated above for more 
details. You must maintain absolute confidentiality to ensure success. Please, 
indicate your personal Tel./Fax nos. when replying. 

Regards,

 

Ali Sesay Karimu. 



---
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


(ignore last message) Re: [JBoss-user] Configuration for JBoss Startup

2003-09-01 Thread Joao Clemente
Sorry for the last message.Forget it.
I had just read Build optimized Jboss version message and I tough you're
answering to it. I only notisted the mistake after double-checking the
subjects.
Sorry.



---
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] Configuration for JBoss Startup

2003-09-01 Thread Joao Clemente

- Original Message - 
From: Sheldon Hearn [EMAIL PROTECTED]
To: [EMAIL PROTECTED]


 On (2003/09/01 09:57), Neal Sanche wrote:

  Another option would be to investigate Pre-Compiling your JSPs so that
  the compilation time won'[t affect the first user on the system.

 I've done this with jboss-3.2.1-tomcat-4.1.24 and it makes a HUGE
 difference.


Can you detail a bit what HUGE i actually? Speed? Latency? Maximum number
of users? Memory usage? Cpu usage?
Thanks



---
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] Build optimized JBoss version

2003-09-01 Thread Adrian Brock
Modify build/local.properties

Regards,
Adrian

On Mon, 2003-09-01 at 15:21, Rafal Kedziorski wrote:
 hi,
 
 I wanted build an optimized JBoss version from the downloaded 3.2.2RC3 
 sources. Is thre an option or target (I didn't find any) for creating an 
 optimized version i.e. with this settings:
 
 debug = off
 optimize = on
 deprecation = off
 depend = off
 
 
 Regards,
 Rafal
 
 
 
 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user



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


RE: [JBoss-user] Problems with jsp temp files

2003-09-01 Thread Rupp, Heiko
Define a different tmp dir by setting java.io.tmpdir to a writable
location at JBoss startup.


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


Re: [JBoss-user] How to use Log4J in JBoss?

2003-09-01 Thread Antonio Kantek
check out the log4j.xml at $JBOSS_HOME/conf

In this file you can modify properties of your loggers and appenders (you
can add new appenders too).

-antonio

- Original Message -
From: Paulo Bengero [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 01, 2003 3:54 AM
Subject: [JBoss-user] How to use Log4J in JBoss?


this is my wrapper class for Log4J:
package com.uniserv.comn.logger;

import org.apache.log4j.*;
import java.util.*;
import java.io.*;

public class Logger
{

  private static boolean isInstantiated;
  private static Logger logger = null;
  private Category posTxtFileLog;
  private Category bosTxtFileLog;
  private Category bosJdbcLog;

  /** class constants **/
  public static final int DEBUG= 0;
  public static final int INFO = 1;
  public static final int WARN = 2;
  public static final int ERROR= 3;
  public static final int FATAL= 4;

  private Logger()
  {
   posTxtFileLog = Category.getInstance( Logger.class.getName() + .
 POSTXTLOG );
   bosTxtFileLog = Category.getInstance( Logger.class.getName() + .
 BOSTXTLOG );
   bosJdbcLog  = Category.getInstance( Logger.class.getName() + .
BOSJDBCLOG );
   Properties props = new Properties();

   try
   {
  System.out.println(getting log4j.properties );
 props.load(new BufferedInputStream(this.getClass().
   getResourceAsStream(log4j.properties)));
   PropertyConfigurator.configure(props);
   }
   catch (IOException ioe)
   {
  ioe.printStackTrace();
   }

  }


  public static Logger getInstance()
  {
   if ( logger == null )
   {
  logger = new Logger();
   }

   return logger;
  }

  public void logPOS( int iLevel, String message )
  {
   switch(iLevel)
   {
  case DEBUG:
 posTxtFileLog.debug(message);
 break;
  case INFO:
 posTxtFileLog.info(message);
 break;
  case WARN:
 posTxtFileLog.warn(message);
 break;
  case ERROR:
 posTxtFileLog.error(message);
 break;
  case FATAL:
 posTxtFileLog.fatal(message);
 break;
   }

  }

  public void logBOS( int iLevel, String message )
  {

   switch(iLevel)
   {
  case DEBUG:
 bosTxtFileLog.debug(message);
 bosJdbcLog.debug(message);
 break;
  case INFO:
 bosTxtFileLog.info(message);
 bosJdbcLog.info(message);
 break;
  case WARN:
 bosTxtFileLog.warn(message);
 bosJdbcLog.warn(message);
 break;
  case ERROR:
 bosTxtFileLog.error(message);
 bosJdbcLog.error(message);
 break;
  case FATAL:
 bosTxtFileLog.fatal(message);
 bosJdbcLog.fatal(message);
 break;
   }
  }

}

this is my log4j.properties
#root category
log4j.rootCategory=DEBUG, Appender2
log4j.category.Logger.POSTXTLOG=DEBUG, Appender2
log4j.category.Logger.BOSTXTLOG=DEBUG, Appender3
log4j.category.Logger.BOSJDBCLOG=DEBUG, Appender4

# Appender1
log4j.appender.Appender1=org.apache.log4j.ConsoleAppender
log4j.appender.Appender1.layout=org.apache.log4j.PatternLayout
log4j.appender.Appender1.layout.ConversionPattern=%d [%t] %-5p %m%n

# Appender2
log4j.appender.Appender2=org.apache.log4j.FileAppender
log4j.appender.Appender2.layout=org.apache.log4j.PatternLayout
log4j.appender.Appender2.layout.ConversionPattern=%d [%t] %-5p %m%n
log4j.appender.Appender2.File=F:\postxtlog.txt

# Appender3
log4j.appender.Appender3=org.apache.log4j.FileAppender
log4j.appender.Appender3.layout=org.apache.log4j.PatternLayout
log4j.appender.Appender3.layout.ConversionPattern=%d [%t] %-5p %m%n
log4j.appender.Appender3.File=F:\MyDocuments\LOG 4J Docu\Test
Codes\bostxtlog.
txt

# Appender4
log4j.appender.Appender4=org.apache.log4j.jdbc.JDBCAppender
log4j.appender.Appender4.URL=jdbc:postgresql://localhost:5432/testdb
log4j.appender.Appender4.user=pau
log4j.appender.Appender4.password=pau
log4j.appender.Appender4.sql=INSERT INTO JDBCTEST (Message) VALUES ('%d -
%c -
%p - %m')


the ejb that uses my logging class:

public class TimeKeepingSessionEJB implements SessionBean {


SessionContext ctx = null;

EntityServices entityServices = new EntityServices();

LocalTimeKeeping timeKeeping = null;
LocalTimeKeepingHome timeKeepingHome = null;

Logger logger = Logger.getInstance();

/**
  * Default constructor
  */
 public TimeKeepingSessionEJB() {
 }

public void ejbRemove() {}
public void ejbPassivate () {}

Re: [JBoss-user] Configuration for JBoss Startup

2003-09-01 Thread Alex Hornby
On Mon, 2003-09-01 at 15:48, Joao Clemente wrote:

 Can you detail a bit what HUGE i actually? Speed? Latency? Maximum number
 of users? Memory usage? Cpu usage?
 Thanks
 

I've set jsp precompilation up for a small example project as part of a
training course - the difference in user experience was massive - no
measurements but I'd guess at least 10x faster to load a page the first
time it is viewed.

What would be nice is a compile JSPs on deploy (rather than first use)
option in jboss-web.xml so that we don't have to set up Ant tasks to do
it :)

Cheers,
Alex.



---
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


[JBoss-user] CMP- Hypersonic problems

2003-09-01 Thread Subramanian Ananthram

Hi,
We are using Hypersonic database with JBOSS 3.0.0, tomcat 4.0.3 with CMP. If
JBOSS is terminated abnormally, then we have observed that some of the
tables in the database is corrupted. For eg: we are using
Jbossautoutilnumber table for auto generation of primary keys. But we have
seen that after this abnormal termination that the auto number key is haivng
a number which is already used for creating a primary key

Eg: 
Table:
Jbossautoutilnumber 
field 
ABC - 50


Table:
Employee

OID - 2
Name - CDE
|
|
OID - 56 
Name - ABC

In the above example, we have a employee table with OID 56 and to generate a
new employee record we generate the auto number from Jbossautoutilnumber and
field ABC ( this number is 50) , so obviously when try to create a record
with OID as 50, it will thro a duplicate key exception. 
This behaviour happens when JBOSS is abnormally terminated.
Can somebody help me here.
Thanking in advance 




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


Re: [JBoss-user] JBoss Performance Tuning Tips - a bit of an emergency

2003-09-01 Thread Stephen Davidson
Elankath, Tarun (Cognizant) wrote:
Hi Steve,

I am going to start profiling our application. I wanted to check if I was missing any JBoss config parameters.

How about class reloading ? How does one disable it ?

Thanks,
Tarun
Hi Taurun.

Umm, the only problem I ever had with the classloaders was a (very old, and long since closed) bug causing the initial classloading to fail, and some issues with hot redeploy that crop up periodically with the different 
versions.  Once these issues had been fixed, I never not had to look at this issue, and class reloading never showed up in of my tests as a bottle neck.

Bottom line, I never had to disable class reloading, so I don't know to.  I remember Scott mentioning something about some setting in one of the config files a way back, but I would not know if that information was valid for 
current versions.

Regards,
Steve
--
Java/J2EE Developer/Integrator
Co-Chair, Dallas/FortWorth J2EE Sig
214-724-7741




---
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] [OT] Jboss/Tomcat on Windows 2000

2003-09-01 Thread Stephen Davidson
Sheldon Hearn wrote:
On (2003/08/30 18:23), Stephen Davidson wrote:


Why pay for a virused, buggy, and insecure Operating System?


Because the technical lead on the project insists on using MS SQL
Server.
Ciao,
Sheldon.
My condolences.
Too bad you can't get the lead to consider Oracle, Firebird, or PostGreSQL
Regards,
Steve
--
Java/J2EE Developer/Integrator
Co-Chair, Dallas/FortWorth J2EE Sig
214-724-7741


---
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] CVS Rollback - Why?

2003-09-01 Thread Alexey Loubyansky
Stephen Davidson wrote:

I hope that this rollback is not just to remove contributions from 
developers that JBoss Group LLC is apparently pissed off at, as it would 
indicate continued extreme childness on their part.
No, it is not. HEAD occurred to be messed up. Because, in many parts it 
was used as a sandbox for researches. It's time to stabilize it. We 
decided to rollback and port new code that worth it making another 
iteration and, this time, doing it accurately.

Courtesy Copied to the Keel Meta-Framework group, as JBoss is integrated 
as one of our modules, and we need to be aware of what JBoss is doing, 
and where it is going.
We are making JBoss 4th generation more stable.

 I am hoping we do not have to switch to another 
J2EE provider, but the recent actions of the JBoss Group LLC have made 
me very, very nervous.
Will then the other J2EE provider ask you how to manage their codebase? 
Why pannic?

alex



---
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- Hypersonic problems

2003-09-01 Thread Alexey Loubyansky
Is the autonumber the only problem? How does it work?

alex

Subramanian Ananthram wrote:

Hi,
We are using Hypersonic database with JBOSS 3.0.0, tomcat 4.0.3 with CMP. If
JBOSS is terminated abnormally, then we have observed that some of the
tables in the database is corrupted. For eg: we are using
Jbossautoutilnumber table for auto generation of primary keys. But we have
seen that after this abnormal termination that the auto number key is haivng
a number which is already used for creating a primary key
Eg: 
Table:
Jbossautoutilnumber 
field 
ABC - 50

Table:
Employee
OID - 2
Name - CDE
|
|
OID - 56 
Name - ABC

In the above example, we have a employee table with OID 56 and to generate a
new employee record we generate the auto number from Jbossautoutilnumber and
field ABC ( this number is 50) , so obviously when try to create a record
with OID as 50, it will thro a duplicate key exception. 
This behaviour happens when JBOSS is abnormally terminated.
Can somebody help me here.
Thanking in advance 



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


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


Re: [JBoss-user] Build optimized JBoss version

2003-09-01 Thread Holger Baxmann
On Mon, 01 Sep 2003 16:21:20 +0200, Rafal Kedziorski [EMAIL PROTECTED] 
wrote:

hi,

I wanted build an optimized JBoss version from the downloaded 3.2.2RC3 
sources. Is thre an option or target (I didn't find any) for creating an 
optimized version i.e. with this settings:

debug = off
optimize = on
deprecation = off
depend = off
just have a look @ ./build/etc/local.properties-production and what stuff 
refereces this (and the local.properties-example) file.

@all: have anybody a clue for glueing the (jboss-)modules together, 
especially the buildmagic stuff?
trying to complete my task by driving the build without the *.sh and/or 
*.sh files - it drives me nuts ...

bax
PS: any contributor for the build system online???
Regards,
Rafal


---
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


--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] jboss-4.0.0DR2 Fails to Startup Undex XP

2003-09-01 Thread Adrian Brock
You are too early in the log.
Look for the start phase of the DeploymentInfoURIResolver.
It creates all MBeans first, then starts them.

The exceptions you show are just noise.

Regards,
Adrian

On Sat, 2003-08-30 at 05:29, rjh wrote:
  The DeploymentInfoURIResolver failed to start for some reason.
  
  { objectName: jboss.system:service=DeploymentInfoURIResolver
state: CREATED
Waiting for me:
jboss.net:service=WS4EEDeployer state: CREATED
  } [EMAIL PROTECTED],
  
  check server/all/log/server.log for any debug exception traces.
  
  Regards,
  Adrian
  
 Thanks, there are exceptions but I can't make sense of them, perhaps
 this will help
 diagnose the problem, these are at the top of the file, first mention
 of DeploymentInfoURIResolver,
 and then the exceptions shortly afterwards:
  
 
 2003-08-29 20:29:49,375 DEBUG [org.jboss.system.ServiceController]
 Creating dependent components for:
 jboss.deployment:type=DeploymentScanner,flavor=URL dependents are: []
 
 2003-08-29 20:29:49,375 DEBUG
 [org.jboss.management.j2ee.LocalJBossServerDomain] handleNotification:
 javax.management.Notification[source=jboss.system:service=ServiceDeployer,type=org.jboss.deployment.SubDeployer.create,sequenceNumber=17,timeStamp=1062203389375,message=null,userData={
  'jboss-service.xml' URL: 
 'file:/F:/jboss/jboss-4.0.0DR2/server/all/conf/jboss-service.xml' localURL: 
 'file:/F:/jboss/jboss-4.0.0DR2/server/all/tmp/deploy/server/all/conf/jboss-service.xml/1.jboss-service.xml'
  watching: 'file:/F:/jboss/jboss-4.0.0DR2/server/all/conf/jboss-service.xml' 
 SubDeployer: [EMAIL PROTECTED] }]
 
 2003-08-29 20:29:49,375 DEBUG [org.jboss.system.ServiceController]
 Creating service jboss.system:service=DeploymentInfoURIResolver
 
 2003-08-29 20:29:49,375 DEBUG
 [org.jboss.management.j2ee.LocalJBossServerDomain] handleNotification:
 javax.management.Notification[source=jboss.system:service=ServiceController,type= 
 org.jboss.system.ServiceMBean.create,sequenceNumber=18,timeStamp=1062203389375,message=null,userData=jboss.system:service=DeploymentInfoURIResolver]
 
 2003-08-29 20:29:49,375 DEBUG
 [org.jboss.management.j2ee.factory.DefaultManagedObjectFactoryMap]
 Failed to find factory for event:
 javax.management.Notification[source=jboss.system:service=ServiceController,type= 
 org.jboss.system.ServiceMBean.create,sequenceNumber=18,timeStamp=1062203389375,message=null,userData=jboss.system:service=DeploymentInfoURIResolver]
 
 2003-08-29 20:29:49,375 DEBUG [org.jboss.system.ServiceController]
 Creating dependent components for:
 jboss.system:service=DeploymentInfoURIResolver dependents are: []
 
 2003-08-29 20:29:49,390 DEBUG
 [org.jboss.management.j2ee.LocalJBossServerDomain] handleNotification:
 javax.management.Notification[source=jboss.system:service=ServiceDeployer,type=org.jboss.deployment.SubDeployer.create,sequenceNumber=18,timeStamp=1062203389390,message=null,userData={
  'jboss-service.xml' URL: 
 'file:/F:/jboss/jboss-4.0.0DR2/server/all/conf/jboss-service.xml' localURL: 
 'file:/F:/jboss/jboss-4.0.0DR2/server/all/tmp/deploy/server/all/conf/jboss-service.xml/1.jboss-service.xml'
  watching: 'file:/F:/jboss/jboss-4.0.0DR2/server/all/conf/jboss-service.xml' 
 SubDeployer: [EMAIL PROTECTED] }]
 
 2003-08-29 20:29:49,390 DEBUG
 [org.jboss.management.j2ee.LocalJBossServerDomain] handleNotification:
 javax.management.Notification[source=jboss.system:service=ServiceController,type= 
 org.jboss.system.ServiceMBean.create,sequenceNumber=19,timeStamp=1062203389390,message=null,userData=jboss.deployment:name=file%3a/F%3a/jboss/jboss-4.0.0DR2/server/all/conf/jboss-service.xml,service=DeploymentInfo]
 
 
  
 ===
  
  
 2003-08-29 20:29:49,531 DEBUG [org.jboss.management.j2ee.MBean]
 postRegister(), parent:
 jboss.management.local:J2EEServer=Local,j2eeType=ServiceModule,name=jboss-service.xml
 2003-08-29 20:29:49,546 DEBUG [org.jboss.management.j2ee.MBean] Failed
 to initialze state from: jboss.rmi:type=RMIClassLoader
 java.lang.IllegalArgumentException: Unable to find operation
 getState()
  at
 org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:133)
  at
 org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:544)
  at
 org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:272)
  at $Proxy13.getState(Unknown Source)
  at org.jboss.management.j2ee.MBean.postCreation(MBean.java:156)
  at
 org.jboss.management.j2ee.J2EEManagedObject.postRegister(J2EEManagedObject.java:250)
  at
 org.jboss.mx.server.AbstractMBeanInvoker.invokePostRegister(AbstractMBeanInvoker.java:660)
  at
 org.jboss.mx.modelmbean.ModelMBeanInvoker.postRegister(ModelMBeanInvoker.java:342)
  at
 org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:323)
  at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
  at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at 

Re: [JBoss-user] jboss-4.0.0DR2 Fails to Startup Undex XP

2003-09-01 Thread rjh
UserEJB has a meta-inf directory with a manifest file and ejb-jar.xml which
apparently
is missing.  Since this is picked up by all other versions, I presume this
is a bug in JBOSS?  Wish
I had time to debug JBOSS, since I'd love to learn the internals but
unfortunately I don't.  Any ideas on
how to proceed?  I can try playing with the meta-inf directory, it's no
different than the other EJB jars
that apparently are being picked up.

I'll send the files in a private email, perhaps there's some obvious reason
V4 is missing what the others
can pick up.

Thanks,
Bob

- Original Message - 
From: Adrian Brock [EMAIL PROTECTED]
To: rjh [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, September 01, 2003 6:24 AM
Subject: Re: [JBoss-user] jboss-4.0.0DR2 Fails to Startup Undex XP


 2003-08-30 15:40:55,032 DEBUG [org.jboss.deployment.XSLSubDeployer]
 accepts: packageSuffix: null, urlStr:

file:/F:/jboss/jboss-4.0.0DR2/server/all/deploy/testImport27.ear/UserEJB.jar
 2003-08-30 15:40:55,032 DEBUG [org.jboss.deployment.JARDeployer] No
 META-INF or
 WEB-INF resource found, assuming it is for us

 It is just deploying it as a classes jar b

 On Mon, 2003-09-01 at 07:22, rjh wrote:
  Here's the server.log zipped, this is the 2nd message.
 
  Bob



---
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] Jbossdo query execute exception

2003-09-01 Thread Alexey Loubyansky
Compilation is missed.

 jdoQuery = pm.newQuery(User.class, filter);

 System.out.println(jdoQuery =  + jdoQuery);

jdoQuery.compile();

 Collection users = (Collection)jdoQuery.execute();

Perhaps, it should be done automatically.

alex

Anthony Cheung wrote:
Hi,
 
i got some cryptic errors:
 

13:10:47,984 INFO  [MainDeployer] Deployed package: 
file:/D:/Programming/java/jb
oss-4.0.0DR2/server/default/deploy/test.war
13:11:01,265 WARN  [ClassLoadingTask] Duplicate class found: 
junit.framework.Tes
tCase
Current CS: 
(file:/D:/Programming/java/jboss-4.0.0DR2/server/default/deploy/test
.war no certificates)
Duplicate CS: 
(file:/D:/Programming/java/jboss-4.0.0DR2/server/default/conf/jbos
s-service.xml no certificates)
13:11:03,875 INFO  [STDOUT] ##F++ = username = rasp  password = rasp1
13:11:04,484 INFO  [STDOUT] jdoQuery = 
org.jboss.persistence.jbossdo.JBossQuery@
1325aef
13:11:04,593 ERROR [LogInterceptor] RuntimeException:
java.lang.NullPointerException
at 
org.jboss.persistence.transform.PathUnnester.transform(PathUnnester.j
ava:45)
at 
org.jboss.persistence.jbossdo.command.JDOLoad.generate(JDOLoad.java:6
7)
at 
org.jboss.persistence.jbossdo.store.StoreManagerImpl.generate(StoreMa
nagerImpl.java:185)
at 
org.jboss.persistence.jbossdo.JBossQuery.execute(JBossQuery.java:131)

at 
com.cmcrc.tds.ejb.user.UserValidatorBean.isValid(UserValidatorBean.ja
va:80)

from code in session bean:
 
public boolean isValid(String username, String password) {
   
PersistenceManager pm = null;
javax.jdo.Query jdoQuery = null;
   
//try{
// obtain an instance of javax.jdo.PersistenceManager
pm = pmf.getPersistenceManager();
   
// find the User object with username
String filter = username =  + username ++
password =  + password;
   
System.out.println(##F++ =  + filter);
   
jdoQuery = pm.newQuery(User.class, filter);
   
System.out.println(jdoQuery =  + jdoQuery);
   
Collection users = (Collection)jdoQuery.execute();
   
System.out.println(#);
   
if(users.isEmpty())
return true;
else
return false;
/* 
}
catch (Exception e)
{
   e.printStackTrace();
}
finally
{
   if (jdoQuery != null)
  jdoQuery.closeAll();
   if (pm != null)
  pm.close();
}
*/   
}


*Yahoo! Search* 
http://au.rd.yahoo.com/mail/welcome/*http://au.search.yahoo.com
- Looking for more? Try the new Yahoo! Search


---
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


[JBoss-user] CMP on JBoss ejbQL == finder Failure

2003-09-01 Thread Edgar Silva
Hi Friends

I've declaring this ejbQL in my FinderMethod:

SELECT OBJECT(u) FROM Usuarios u WHERE u.nome LIKE '?1%'


In ejb-jar.xml I wrote this configuration to this finder:

query
query-method
method-namefindByNomeAprox/method-name
method-params
method-paramjava.lang.String/method-param
/method-params
/query-method
ejb-qlSELECT OBJECT(u) FROM Usuarios u WHERE u.nome LIKE
'?1%'/ejb-ql
/query


When I get the Finder result into a  Collection, this collection always is
empty.
When I execute FindAll (SELECT OBJECT(O) FROM Usuarios AS O) everything
works fine...

Somebody can see something wrong in my declarations (ejbql or ejb-jar.xml)?
Any Idea ?

Have other way To Do it similar?

Since now...Thanks in Adv.


ps - Following the my complete Entity Declaration:

entity
display-nameUsuarios/display-name
ejb-nameUsuarios/ejb-name
local-homecom.argos.ejb.le.usuarios.UsuariosHome/local-home
localcom.argos.ejb.le.usuarios.Usuarios/local
ejb-classcom.argos.ejb.le.usuarios.UsuariosBean/ejb-class
persistence-typeContainer/persistence-type
prim-key-classjava.lang.Integer/prim-key-class
reentrantFalse/reentrant
cmp-version2.x/cmp-version
abstract-schema-nameUsuarios/abstract-schema-name
cmp-field
field-nameusuarioPk/field-name
/cmp-field
cmp-field
field-namenome/field-name
/cmp-field
cmp-field
field-nameemail/field-name
/cmp-field
cmp-field
field-namedepto/field-name
/cmp-field
cmp-field
field-nametelefone/field-name
/cmp-field
cmp-field
field-nameramal/field-name
/cmp-field
primkey-fieldusuarioPk/primkey-field
query
query-method
method-namefindByNomeAprox/method-name
method-params
method-paramjava.lang.String/method-param
/method-params
/query-method
ejb-qlSELECT OBJECT(u) FROM Usuarios u WHERE u.nome LIKE
'?1%'/ejb-ql
/query
query
query-method
method-namefindAll/method-name
method-params /
/query-method
ejb-qlSELECT OBJECT(obj) FROM Usuarios as obj/ejb-ql
/query
/entity






---
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


[JBoss-user] InterScan NT Alert

2003-09-01 Thread viruswall
Receiver, InterScan has detected virus(es) in the e-mail attachment.

Date:   Sat, 30 Aug 2003 03:08:23 +0200
Method: Mail
From:   [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
File:   Partner,service=EJB already registered.   If Idon't have jboss.xml there 
things work as best they have so far.  Your jndi names must be unique.  You have 
Partner twice. JBoss usesejb-name when you don't specify  a jndi-name in 
jboss.xml. [...] Content analysis details:   (-0.80 points, 5 
required)USER_AGENT_APPLEMAIL (0.0 points)  X-Mailer header indicates a non-spam MUA 
(Apple Mail)IN_REP_TO  (-0.5 points) Has a In-Reply-To headerEMAIL_ATTRIBUTION 
 (-0.5 points) BODY: Contains what loo
Action: cleaned
Virus:  Email_Flaw_MIME_Tag_Overflow 


---
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 on JBoss ejbQL == finder Failure

2003-09-01 Thread Adrian Brock
Use JBossQL, EJBQL does not support LIKE ?1

Regards,
Adrian

On Mon, 2003-09-01 at 21:38, Edgar Silva wrote:
 Hi Friends
 
 I've declaring this ejbQL in my FinderMethod:
 
 SELECT OBJECT(u) FROM Usuarios u WHERE u.nome LIKE '?1%'
 
 
 In ejb-jar.xml I wrote this configuration to this finder:
 
 query
 query-method
 method-namefindByNomeAprox/method-name
 method-params
 method-paramjava.lang.String/method-param
 /method-params
 /query-method
 ejb-qlSELECT OBJECT(u) FROM Usuarios u WHERE u.nome LIKE
 '?1%'/ejb-ql
 /query
 
 
 When I get the Finder result into a  Collection, this collection always is
 empty.
 When I execute FindAll (SELECT OBJECT(O) FROM Usuarios AS O) everything
 works fine...
 
 Somebody can see something wrong in my declarations (ejbql or ejb-jar.xml)?
 Any Idea ?
 
 Have other way To Do it similar?
 
 Since now...Thanks in Adv.
 
 
 ps - Following the my complete Entity Declaration:
 
 entity
 display-nameUsuarios/display-name
 ejb-nameUsuarios/ejb-name
 local-homecom.argos.ejb.le.usuarios.UsuariosHome/local-home
 localcom.argos.ejb.le.usuarios.Usuarios/local
 ejb-classcom.argos.ejb.le.usuarios.UsuariosBean/ejb-class
 persistence-typeContainer/persistence-type
 prim-key-classjava.lang.Integer/prim-key-class
 reentrantFalse/reentrant
 cmp-version2.x/cmp-version
 abstract-schema-nameUsuarios/abstract-schema-name
 cmp-field
 field-nameusuarioPk/field-name
 /cmp-field
 cmp-field
 field-namenome/field-name
 /cmp-field
 cmp-field
 field-nameemail/field-name
 /cmp-field
 cmp-field
 field-namedepto/field-name
 /cmp-field
 cmp-field
 field-nametelefone/field-name
 /cmp-field
 cmp-field
 field-nameramal/field-name
 /cmp-field
 primkey-fieldusuarioPk/primkey-field
 query
 query-method
 method-namefindByNomeAprox/method-name
 method-params
 method-paramjava.lang.String/method-param
 /method-params
 /query-method
 ejb-qlSELECT OBJECT(u) FROM Usuarios u WHERE u.nome LIKE
 '?1%'/ejb-ql
 /query
 query
 query-method
 method-namefindAll/method-name
 method-params /
 /query-method
 ejb-qlSELECT OBJECT(obj) FROM Usuarios as obj/ejb-ql
 /query
 /entity
 
 
 
 
 
 
 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user



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


[JBoss-user] Returned mail: User unknown

2003-09-01 Thread Mail Delivery Subsystem
The original message was received at Mon, 1 Sep 2003 19:29:51 -0300
from aristoteles.local.inatel.br [192.168.10.7]

   - The following addresses had permanent fatal errors -
[EMAIL PROTECTED]
(expanded from: [EMAIL PROTECTED])

   - Transcript of session follows -
mail.local: unknown name: marcioe
550 [EMAIL PROTECTED]... User unknown
Reporting-MTA: dns; mx1.inatel.br
Received-From-MTA: DNS; aristoteles.local.inatel.br
Arrival-Date: Mon, 1 Sep 2003 19:29:51 -0300

Final-Recipient: RFC822; [EMAIL PROTECTED]
X-Actual-Recipient: RFC822; [EMAIL PROTECTED]
Action: failed
Status: 5.1.1
Last-Attempt-Date: Mon, 1 Sep 2003 19:29:51 -0300
---BeginMessage---
Your message

  To:  [EMAIL PROTECTED]
  Subject: Re: Approved
  Sent:Mon, 1 Sep 2003 07:34:42 -0400

did not reach the following recipient(s):

[EMAIL PROTECTED] on Mon, 1 Sep 2003 07:42:32 -0400
The recipient name is not recognized
The MTS-ID of the original message is: c=us;a= ;p=payment
technolo;l=GROMMIT0309011141RVSN70L7
MSEXCH:IMS:Payment Technologies:PTI:GROMMIT 0 (000C05A6) Unknown
Recipient



---BeginMessage---
Please see the attached file for details.




Deleted Attachment.txt
Description: Binary data
---End Message---
---End Message---


[JBoss-user] Returned mail: User unknown

2003-09-01 Thread Mail Delivery Subsystem
The original message was received at Mon, 1 Sep 2003 19:29:51 -0300
from aristoteles.local.inatel.br [192.168.10.7]

   - The following addresses had permanent fatal errors -
[EMAIL PROTECTED]
(expanded from: [EMAIL PROTECTED])

   - Transcript of session follows -
mail.local: unknown name: marcioe
550 [EMAIL PROTECTED]... User unknown
Reporting-MTA: dns; mx1.inatel.br
Received-From-MTA: DNS; aristoteles.local.inatel.br
Arrival-Date: Mon, 1 Sep 2003 19:29:51 -0300

Final-Recipient: RFC822; [EMAIL PROTECTED]
X-Actual-Recipient: RFC822; [EMAIL PROTECTED]
Action: failed
Status: 5.1.1
Last-Attempt-Date: Mon, 1 Sep 2003 19:29:51 -0300
---BeginMessage---
This report relates to a message you sent with the following header
fields:

  Return-path: [EMAIL PROTECTED]
  Received: from conversion-daemon.ndl1mx1-a-fixed.sancharnet.in by
   ndl1mx1-a-fixed.sancharnet.in
   (iPlanet Messaging Server 5.2 HotFix 1.17 (built Jun 23 2003))
   id [EMAIL PROTECTED]
   (original mail from [EMAIL PROTECTED]); Sat,
   30 Aug 2003 12:36:50 +0530 (IST)
  Received: from INSRWNET-II ([61.11.80.161]) by
ndl1mx1-a-fixed.sancharnet.in
   (iPlanet Messaging Server 5.2 HotFix 1.17 (built Jun 23 2003))
   id [EMAIL PROTECTED]
   (original mail from [EMAIL PROTECTED])
   for [EMAIL PROTECTED] (ORCPT [EMAIL PROTECTED]); Sat,
   30 Aug 2003 12:36:49 +0530 (IST)
  Received: from INSRWNET-II ([61.11.80.161]) by
ndl1mx1-a-fixed.sancharnet.in
   (iPlanet Messaging Server 5.2 HotFix 1.17 (built Jun 23 2003))
   with ESMTP id [EMAIL PROTECTED] for
   [EMAIL PROTECTED]; Sat, 30 Aug 2003 12:36:49 +0530 (IST)
  Date: Sat, 30 Aug 2003 12:32:43 +0530
  From: [EMAIL PROTECTED]
  Subject: Re: Details
  To: [EMAIL PROTECTED]
  Message-id: [EMAIL PROTECTED]
  MIME-version: 1.0
  X-Mailer: Microsoft Outlook Express 6.00.2600.
  Content-type: multipart/mixed;
boundary=Boundary_(ID_p7kTfM59IZGBJkrehiAmUA)
  Importance: Normal
  X-Priority: 3 (Normal)
  X-MSMail-priority: Normal
  X-MailScanner: Found to be clean

Your message cannot be delivered to the following recipients:

  Recipient address: @nppa.sancharnet.in:[EMAIL PROTECTED]
  Original address: [EMAIL PROTECTED]
  Reason: This message has been rejected, as this contains attachment
which has been used by recent viruses. If you mean to send this file
please package it as a zip file and resend it movie0045.pif

  Message rejected: Conversion failure.




ATT210411.TXT
Description: Binary data
Return-path: [EMAIL PROTECTED]
Received: from conversion-daemon.ndl1mx1-a-fixed.sancharnet.in by
 ndl1mx1-a-fixed.sancharnet.in
 (iPlanet Messaging Server 5.2 HotFix 1.17 (built Jun 23 2003))
 id [EMAIL PROTECTED]
 (original mail from [EMAIL PROTECTED]); Sat,
 30 Aug 2003 12:36:50 +0530 (IST)
Received: from INSRWNET-II ([61.11.80.161]) by ndl1mx1-a-fixed.sancharnet.in
 (iPlanet Messaging Server 5.2 HotFix 1.17 (built Jun 23 2003))
 id [EMAIL PROTECTED]
 (original mail from [EMAIL PROTECTED])
 for [EMAIL PROTECTED] (ORCPT [EMAIL PROTECTED]); Sat,
 30 Aug 2003 12:36:49 +0530 (IST)
Received: from INSRWNET-II ([61.11.80.161]) by ndl1mx1-a-fixed.sancharnet.in
 (iPlanet Messaging Server 5.2 HotFix 1.17 (built Jun 23 2003))
 with ESMTP id [EMAIL PROTECTED] for
 [EMAIL PROTECTED]; Sat, 30 Aug 2003 12:36:49 +0530 (IST)
Date: Sat, 30 Aug 2003 12:32:43 +0530
From: [EMAIL PROTECTED]
Subject: Re: Details
To: [EMAIL PROTECTED]
Message-id: [EMAIL PROTECTED]
MIME-version: 1.0
X-Mailer: Microsoft Outlook Express 6.00.2600.
Content-type: TEXT/PLAIN
Content-transfer-encoding: QUOTED-PRINTABLE
Importance: Normal
X-Priority: 3 (Normal)
X-MSMail-priority: Normal
X-MailScanner: Found to be clean


---End Message---


Re: [JBoss-user] CVS Rollback - Why?

2003-09-01 Thread Stephen Davidson
Hi Alexey.

I should have mentioned in my original email that I have been lead
developer on several projects.  Yes, occaisonally some developers
do decide to use the Code Vault's Head Revision as their personal
sandboxes.  Normally, I dealt with that behaviour immediately,
rather than waiting several months, just to avoid the kind of
hassle you guys seem to be going through.
One of the earlier statements you guys made earlier (I think I
quoted it, hope I did, anyways) was something along the lines of
If a developer is going to experiment, they should split off a
branch, and merge back in when ready.  A policy which should
always be strictly enforced.
Stability is always good.  Drastic rollbacks are not good, are
much extra work, have a tendency to destabilize the code base,
and should be avoided whenever possible.
While the timing may be coincidental, the fact that it is commencing
during the rollouts of Release Candidates is, unfortunately, highly
suspicious.  Especially after the fact that the dust has not yet
settled between a major blowout between JBoss Group LLC, and a number
of developers who have recently had their access revoked (in some cases
with cause, in some cases definately without a valid cause being given).
And as you may recall, the blowout included statements from various
JBoss Group LLC staff questioning the competence of some developers who
have a proven track record and have chosen to work for and/or with
another (and not necessarily competing) project(s).
And to paranoid project leads such as myself, this kind of activity
with this kind of timing makes me very nervous.
Basically, what is making me most nervous about this action was
that it is a major undertaking that is taking place during RC Rollouts,
directly affecting the version being rolled out, apparently without
any discussion among the general developer community.  (Yes, this is
something I would expect not be discussed in the user community,
but I also lurk on the Developer list, and was unable to find a
discussion there or in the forums about this action).
Bottom line, I am now extremely nervous about the direction that the
JBoss Application Server is being taken, and how it is being managed.
Regards,
Steve
Alexey Loubyansky wrote:
Stephen Davidson wrote:

I hope that this rollback is not just to remove contributions from 
developers that JBoss Group LLC is apparently pissed off at, as it 
would indicate continued extreme childness on their part.


No, it is not. HEAD occurred to be messed up. Because, in many parts it 
was used as a sandbox for researches. It's time to stabilize it. We 
decided to rollback and port new code that worth it making another 
iteration and, this time, doing it accurately.



Courtesy Copied to the Keel Meta-Framework group, as JBoss is 
integrated as one of our modules, and we need to be aware of what 
JBoss is doing, and where it is going.


We are making JBoss 4th generation more stable.

 I am hoping we do not have to switch to another J2EE provider, but 
the recent actions of the JBoss Group LLC have made me very, very 
nervous.


Will then the other J2EE provider ask you how to manage their codebase? 
Why pannic?

alex



--
Java/J2EE Developer/Integrator
Co-Chair, Dallas/FortWorth J2EE Sig
214-724-7741


---
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