[JBoss-user] when is jboss.xml necessary?

2003-08-30 Thread Matthew Hixson
In my .ear I have a .jar. (I guess that's better than having my ear in a jar. ahahhaaha.) Anyway, it seems that anytime I have jboss.xml in the META-INF directory, as I've seen some example code doing, I get an exception: javax.management.InstanceAlreadyExistsException:

[JBoss-user] JVM options for hardhit jboss-tomcat deployment

2003-08-30 Thread Sheldon Hearn
Hi folks, I'm battling to find appropriate -Xss, -Xms and -Xmx values for the JVM running a jboss-3.2.1-tomcat-4.1.24 deployment, the Coyote connector of which needs to handle heavy access (at least 500 concurrent connections). Has anyone got any silver bullets for me? I'm running on a FreeBSD

Re: [JBoss-user] when is jboss.xml necessary?

2003-08-30 Thread Adrian Brock
It isn't necessary. There are defaults for everything. The defaults are unlikely to be the best options for all your beans. On Fri, 2003-08-29 at 23:54, Matthew Hixson wrote: In my .ear I have a .jar. (I guess that's better than having my ear in a jar. ahahhaaha.) Anyway, it seems

Re: [JBoss-user] when is jboss.xml necessary?

2003-08-30 Thread Matthew Hixson
On Friday, August 29, 2003, at 04:41 PM, Adrian Brock wrote: It isn't necessary. There are defaults for everything. The defaults are unlikely to be the best options for all your beans. On Fri, 2003-08-29 at 23:54, Matthew Hixson wrote: In my .ear I have a .jar. (I guess that's better than

[JBoss-user] InterScan NT Alert

2003-08-30 Thread viruswall
Receiver, InterScan has detected virus(es) in the e-mail attachment. Date: Sat, 30 Aug 2003 02:28:57 +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.

[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. [...] Content analysis details: (-4.90 points, 5 required)IN_REP_TO (-0.5 points) Has a In-Reply-To headerREFERENCES (-0.5 points) Has a valid-looking References headerEMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attributionQUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email textREPLY_WITH_QUOTES (-0.5 points) Reply with is attached

2003-08-30 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 thin M270@:7-N)W0@;F5C97-S87)Y+B!4:5R92!A[EMAIL

[JBoss-user] InterScan NT Alert

2003-08-30 Thread viruswall
Sender, InterScan has detected virus(es) in your e-mail attachment. Date: Sat, 30 Aug 2003 02:28:57 +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.

[JBoss-user] ALERT - Virus W32/Sobig.f@MM found; an attachment/message has been quarantined

2003-08-30 Thread DSAVEXCHANGE001(Network Associates Anti-Virus - Mailbox Agent)
Action Taken: An attempt to disinfect the attachment was unsuccessful, so the attachment was quarantined from the message and replaced with a text file informing the recipient of the action taken. The infected attachment has been placed in the designated quarantine folder. Please exercise extreme

[JBoss-user] ALERT - Virus W32/Sobig.f@MM found; an attachment/message has been quarantined

2003-08-30 Thread DSAVEXCHANGE001(Network Associates Anti-Virus - Mailbox Agent)
Action Taken: An attempt to disinfect the attachment was unsuccessful, so the attachment was quarantined from the message and replaced with a text file informing the recipient of the action taken. The infected attachment has been placed in the designated quarantine folder. Please exercise extreme

Re: [JBoss-user] when is jboss.xml necessary?

2003-08-30 Thread Adrian Brock
You are looking for the local container. It is deployed at local/ejb-name by default. In your case lookup(local/Content); Alternatively specify ejb-nameContent/ejb-name local-jndi-nameContent/local-jndi-name /ejb-name in jboss.xml Regards, Adrian On Sat, 2003-08-30 at 01:15, Matthew Hixson

[JBoss-user] InterScan NT Alert

2003-08-30 Thread viruswall
Sender, InterScan has detected virus(es) in your 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.

[JBoss-user] Re: Details

2003-08-30 Thread lina01
See the attached file for details

Re: [JBoss-user] when is jboss.xml necessary?

2003-08-30 Thread Matthew Hixson
On Friday, August 29, 2003, at 05:56 PM, Adrian Brock wrote: You are looking for the local container. It is deployed at local/ejb-name by default. In your case lookup(local/Content); I thought of that too, but when I lookup that I get: 18:11:21,347 ERROR [STDERR]

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

2003-08-30 Thread rjh
After downloading jboss-4.0.0DR2, it won't startup out of the box without errors. Specifically, EJB fails. I'd hesitate to move to version 4 without the ability to run my existing systems. I'd like to run AOP examples and prepare to move my EJBs. Thanks, Bob [{ 'ClusteredHttpSessionEB.jar'

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

2003-08-30 Thread Jon Barnett
Have you tried the following? 1) Build an optimized version of JBoss. 2) Used different JVMs - IBM SDK best on Linux. YMMV. 3) Check GC with -verbose:gc and tune accordingly - there has been one report that a Sun JVM distributed GC performed full GC with RMI operations on every collection cycle,

[JBoss-user] 103 Java Processes under JBOSS-3.2.1

2003-08-30 Thread rjh
There are 103 Java processes running after my system has been up for about 12 hours. Where are all these coming from, I though JBOSS ran all in a single JVM for efficiency. I'm running jboss-3.2.1, dev under XP then onto Red Hat Linux. 1473 ? S 0:00 /bin/sh ./run.sh -c all1490 ? S 0:00

Re: [JBoss-user] when is jboss.xml necessary?

2003-08-30 Thread Adrian Brock
You need an ejb-local-ref on your session bean point at the entity bean if you want it bound in java:comp/env Regards, Adrian On Sat, 2003-08-30 at 02:35, Matthew Hixson wrote: On Friday, August 29, 2003, at 05:56 PM, Adrian Brock wrote: You are looking for the local container. It is

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

2003-08-30 Thread Adrian Brock
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

Re: [JBoss-user] 103 Java Processes under JBOSS-3.2.1

2003-08-30 Thread Adrian Brock
ps doesn't understand the linux threading model try pstree -p (you will see these are really threads) Regards, Adrian On Sat, 2003-08-30 at 02:49, rjh wrote: There are 103 Java processes running after my system has been up for about 12 hours. Where are all these coming from, I though JBOSS

RE: [JBoss-user] 103 Java Processes under JBOSS-3.2.1

2003-08-30 Thread Jon Barnett
This has to do with the Linux thread/process model. Under Linux, each thread is represented as a process. You can update your process utilities, psutils to the latest package and they will list a single process for your JBoss run-time. With your current utilities, you can ps aux and see that the

Re: [JBoss-user] when is jboss.xml necessary?

2003-08-30 Thread Matthew Hixson
On Friday, August 29, 2003, at 07:14 PM, Adrian Brock wrote: You need an ejb-local-ref on your session bean point at the entity bean if you want it bound in java:comp/env I should have mentioned in my previous mail that I do have this defined in my web.xml: ejb-local-ref

Re: [JBoss-user] when is jboss.xml necessary?

2003-08-30 Thread Matthew Hixson
On Friday, August 29, 2003, at 07:14 PM, Adrian Brock wrote: You need an ejb-local-ref on your session bean point at the entity bean if you want it bound in java:comp/env In which file does the ejb-local-ref need to go? And do you have an example of its usage? Sorry for all the questions and

Re: [JBoss-user] when is jboss.xml necessary?

2003-08-30 Thread Adrian Brock
Instead of drip feeding, why don't you post the full definition of the session bean and the entity bean in ejb-jar.xml Also, you should see java:comp/env for the Session bean at the top of JNDIView on the jmx-console. Regards, Adrian On Sat, 2003-08-30 at 03:43, Matthew Hixson wrote: On

Re: [JBoss-user] when is jboss.xml necessary?

2003-08-30 Thread Adrian Brock
I didn't spot web.xml on the first pass. Is your war in an ear with the ejb? ejb-link will only work in the same deployment unit. Regards, Adrian On Sat, 2003-08-30 at 03:43, Matthew Hixson wrote: On Friday, August 29, 2003, at 07:14 PM, Adrian Brock wrote: You need an ejb-local-ref on

[JBoss-user] ALERT - Virus W32/Sobig.f@MM found; an attachment/message has been quarantined

2003-08-30 Thread DSAVEXCHANGE001(Network Associates Anti-Virus - Mailbox Agent)
Action Taken: An attempt to disinfect the attachment was unsuccessful, so the attachment was quarantined from the message and replaced with a text file informing the recipient of the action taken. The infected attachment has been placed in the designated quarantine folder. Please exercise extreme

[JBoss-user] ALERT - Virus W32/Sobig.f@MM found; an attachment/message has been quarantined

2003-08-30 Thread DSAVEXCHANGE001(Network Associates Anti-Virus - Mailbox Agent)
Action Taken: An attempt to disinfect the attachment was unsuccessful, so the attachment was quarantined from the message and replaced with a text file informing the recipient of the action taken. The infected attachment has been placed in the designated quarantine folder. Please exercise extreme

Re: [JBoss-user] when is jboss.xml necessary?

2003-08-30 Thread Matthew Hixson
On Friday, August 29, 2003, at 08:26 PM, Adrian Brock wrote: Instead of drip feeding, why don't you post the full definition of the session bean and the entity bean in ejb-jar.xml The entire definition of the session bean is below, as is the definition of my entity bean without all of its

Re: [JBoss-user] when is jboss.xml necessary?

2003-08-30 Thread Matthew Hixson
On Friday, August 29, 2003, at 08:31 PM, Adrian Brock wrote: I didn't spot web.xml on the first pass. Is your war in an ear with the ejb? ejb-link will only work in the same deployment unit. I have an ear that contains an application.xml with: application display-nameVersaly/display-name

Re: [JBoss-user] when is jboss.xml necessary?

2003-08-30 Thread Adrian Brock
On Sat, 2003-08-30 at 05:23, Matthew Hixson wrote: On Friday, August 29, 2003, at 08:26 PM, Adrian Brock wrote: Instead of drip feeding, why don't you post the full definition of the session bean and the entity bean in ejb-jar.xml The entire definition of the session bean is below, as

Re: [JBoss-user] when is jboss.xml necessary?

2003-08-30 Thread Adrian Brock
When you say Session and Entity locator are these global objects implementing the ServiceLocator pattern? Are you caching the java:comp/env context globally? This context changes depending on where you look it up. If you cache it globally, it is likely you are using a different bean's ENC

[JBoss-user] Report to Recipient(s)

2003-08-30 Thread PUNEMAIL/TCSPUNE/TCS
Incident Information:- Originator: [EMAIL PROTECTED] Recipients: [EMAIL PROTECTED] Subject:JBoss-user digest, Vol 1 #4954 - 3 msgs WARNING: The file mime001.txt (thank_you.pif) you received was infected with the W32/[EMAIL PROTECTED] (ED) virus. The file attachment was not successfully

Re: [JBoss-user] 103 Java Processes under JBOSS-3.2.1

2003-08-30 Thread Wolfgang Helbig
With Linux every Java thread is executed in a dedicated process. That is, JBoss still runs in one VM executing many processes. This is not the case with other operating systems, where OS threads are used to implement Java threads rather than OS processes. Regards, Wolfgang

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

2003-08-30 Thread Adrian Brock
It is noise. The URI resolver is after the URL scanner in jboss-service.xml When the scanner finishes it dumps not yet started mbeans. I guess this is because whoever added it, couldn't work out the dependencies. The URI resolver hasn't started yet (because it is listed afterwards. If you look

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

2003-08-30 Thread rjh
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.

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

2003-08-30 Thread Elankath, Tarun (Cognizant)
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

RE: [JBoss-user] JVM options for hardhit jboss-tomcat deployment

2003-08-30 Thread Elankath, Tarun (Cognizant)
Hi Sheldon, I am in the same predicament as you are. I need to prepare our app for a 1000 concurrent user stress test. I didn't bother with -Xss. I set -Xms to 256MB and -Xmx to 1024MB. (We have 2 Gig RAM.) I also increased the maxProcessors setting in

Re: [JBoss-user] sync-on-commit-only and cascade-delete

2003-08-30 Thread Alexey Loubyansky
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

[JBoss-user] jbossdo deployment question

2003-08-30 Thread Anthony Cheung
Hi, It seems to be the case that jdo deployment only works if only *.class and *.jdo files are in the jar. Is this correct? I tried to have ejbs within the same package and the jdos doesn't get deploy. thanks Yahoo! Search - Looking for more? Try the new Yahoo! Search

Re: [JBoss-user] jbossdo deployment question

2003-08-30 Thread Alexey Loubyansky
Correct. Anthony Cheung wrote: Hi, It seems to be the case that jdo deployment only works if only *.class and *.jdo files are in the jar. Is this correct? I tried to have ejbs within the same package and the jdos doesn't get deploy. thanks

[JBoss-user] Delivery Notification: Delivery has failed

2003-08-30 Thread Internet Mail Delivery
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

[JBoss-user] Fix your spam/virus filters

2003-08-30 Thread Scott M Stark
Anyone running spam or virus filters that reply back to this list will be removed. -- Scott Stark Chief Technology Officer JBoss Group, LLC --- This sf.net email is sponsored by:ThinkGeek

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

2003-08-30 Thread Stephen Davidson
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

[JBoss-user] HA JNDI

2003-08-30 Thread Eric Jain
Just set up HA JNDI, I'm really impressed. I had expected to spend a week implementing some kind of dynamic service discovery on my own, but it's all there already! One minor issue: If java.naming.provider.url is set, but this server is not available, I'd prefer to have the connection fail,

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

2003-08-30 Thread Jon Barnett
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

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

2003-08-30 Thread rjh
Adrain, Thanks for the comment, but the reason I'm writing is because my EAR with EJB doesn't work on the V4 release although it runs on all other releases on Tomcat and Jetty. I print the JNDI env from the ear and the EJBs aren't listed, which I assume is the first part of the problem, I can

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

2003-08-30 Thread Adrian Brock
On Sat, 2003-08-30 at 18:25, rjh wrote: Adrain, I am not A drain :-) Thanks for the comment, but the reason I'm writing is because my EAR with EJB doesn't work on the V4 release although it runs on all other releases on Tomcat and Jetty. I print the JNDI env from the ear and the EJBs

Re: [JBoss-user] HA JNDI

2003-08-30 Thread Adrian Brock
On Sat, 2003-08-30 at 18:17, Eric Jain wrote: Just set up HA JNDI, I'm really impressed. I had expected to spend a week implementing some kind of dynamic service discovery on my own, but it's all there already! One minor issue: If java.naming.provider.url is set, but this server is not

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

2003-08-30 Thread rjh
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

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

2003-08-30 Thread Adrian Brock
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

[JBoss-user] InterScan NT Alert

2003-08-30 Thread viruswall
Receiver, InterScan has detected virus(es) in the e-mail attachment. Date: Sat, 30 Aug 2003 21:52:26 +0200 Method: Mail From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] File: run.bat Add -Xmx512Mor whatever size you want. [...] Content analysis details: (-4.90

[JBoss-user] InterScan NT Alert

2003-08-30 Thread viruswall
Sender, InterScan has detected virus(es) in your e-mail attachment. Date: Sat, 30 Aug 2003 21:52:26 +0200 Method: Mail From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] File: run.bat Add -Xmx512Mor whatever size you want. [...] Content analysis details: (-4.90