RE: [JBoss-user] [Beginners Corner] - Jboss start up time?

2004-03-10 Thread Rod Macpherson
The average box will start JBoss in about 10 seconds. With a large application (several hundred EJBs and hundreds of pages and servlets) it can take a minute or more. I cannot speak to other servers in general but WebLogic takes two or three times longer. JBoss is faster because the EJB

RE: [JBoss-user] [Beginners Corner] - How to develop JBoss client application in C++

2004-03-10 Thread Rod Macpherson
In more general terms you want to interface with objects in a running JVM: http://java.sun.com/docs/books/tutorial/native1.1/ -Original Message- From: richardander [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 10, 2004 11:42 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] [Beginners

RE: [JBoss-user] [Beginners Corner] - Re: Jboss start up time?

2004-03-10 Thread Rod Macpherson
JBoss 3.2.3 2.0 Ghz XP box with 1G RAM in non-debug mode: 15 - 20 seconds. Definitely slower than 3.X was which usually clocked in at 12 seconds. My home system has a faster hard-drive, it still takes 12 seconds to load the default. -Original Message- From: duslow [mailto:[EMAIL

RE: [JBoss-user] [HTTPD, Servlets JSP] - debug a jsp using jboss

2004-03-08 Thread Rod Macpherson
Lomboz will let you do that but to be honest you are better off not putting any code on your JSP page and just delegating to an external pagelet, so to speak. Then you can use any old debugger (e.g., Eclipse) to debug your pages. -Original Message- From: eqe1900 [mailto:[EMAIL PROTECTED]

RE: [JBoss-user] [Installation Configuration] - Re: Can't shutdown when running multiple instances

2004-03-08 Thread Rod Macpherson
shutdown.sh --server=host:1098 -Original Message- From: dbronk [mailto:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 12:01 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] [Installation Configuration] - Re: Can't shutdown when running multiple instances Anyone have any ideas? a

RE: [JBoss-user] [JBoss-user]how an VB application to call EJB ?

2004-03-04 Thread Rod Macpherson
You can call a DLL that in turn calls static Java methods to call your EJB: http://java.sun.com/docs/books/tutorial/native1.1/index.html -Original Message- From: JAIME GOMEZ [mailto:[EMAIL PROTECTED] Sent: Thursday, March 04, 2004 8:02 AM To: [EMAIL PROTECTED] Subject: [JBoss-user]

RE: [JBoss-user] [Beginners Corner] - java.lang.NoClassDefFoundError. Please Help

2004-03-03 Thread Rod Macpherson
Exactly where in the ear file is the class and from where is it being accessed? I think I can pinpoint your problem but need more specifics. -Original Message- From: joseph2003 [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 03, 2004 6:04 PM To: [EMAIL PROTECTED] Subject: [JBoss-user]

RE: [JBoss-user] [Installation Configuration] - JNI library

2004-03-01 Thread Rod Macpherson
EJBs are not allowed to load a JNI library. -Original Message- From: gsidhu [mailto:[EMAIL PROTECTED] Sent: Monday, March 01, 2004 12:37 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] [Installation Configuration] - JNI library I have a JNI library which I am trying to used in my

RE: [JBoss-user] [Installation Configuration] - JNI library

2004-03-01 Thread Rod Macpherson
Have you tried loading the library in a non-EJB component to rule out path issues? If that works perhaps you can call your JNI methods from within the EJB. -Original Message- From: gsidhu [mailto:[EMAIL PROTECTED] Sent: Monday, March 01, 2004 12:37 PM To: [EMAIL PROTECTED] Subject:

RE: [JBoss-user] [EJB/JBoss] - Can not find my EJB.jar!

2004-02-27 Thread Rod Macpherson
The EJB jars represent J2EE application components and they are deployed independently or as part of an EAR. There is no reason to duplicate those classes in WEB-INF/classes. The EJB jar has a jboss.xml and jbosscmp-jdbc.xml plus ejb-jar.xml under META-INF. The web application gets jboss-web.xml

RE: [JBoss-user] [Performance Tuning] - JBoss 3.2.3 is slow!!

2004-02-27 Thread Rod Macpherson
Precompile your JSPs and load-on-startup your servlet. The socket traffic should be the bottleneck for simple servlets and JSP pages and that's the same for JRun and JBoss. BTW, are you evaluating JBoss or have you already made the switch? -Original Message- From: sandy_basic

RE: [JBoss-user] [Datasource Configuration] - Re: How to configure a data source

2004-02-26 Thread Rod Macpherson
/jboss*/docs/examples/jca/oracle-ds.xml You put this in your launch configuration, e.g., /jboss*/server/default/deploy Example: __ ?xml version=1.0 encoding=UTF-8? datasources local-tx-datasource jndi-namedatasource/jndi-name

RE: [JBoss-user] [HTTPD, Servlets JSP] - Trouble importing library in JbuilderX for servlet.

2004-02-26 Thread Rod Macpherson
To get you going you could toss classes12.jar in your /jboss*/server/some-config/lib directory and leave it out of your webapp. OT: Have you considered using Ant in combination with Eclipse? Problems tend to be more transparent and remedies instantaneous. There is also the side benefit of not

[JBoss-user] JBoss was robbed

2004-02-26 Thread Rod Macpherson
There's always next year. Best Java Application Server Winner: BEA WebLogic Server, BEA Systems (www.bea.com) First Runner-up: JBoss 3.x Application Server, JBoss Group (www.jboss.com) Second Runner-up: IBM WebSphere Application Server v5.0, IBM (www.ibm.com) Third Runner-up: Fiorano ESB,

RE: [JBoss-user] [Installation Configuration] - Can't shutdown when running multiple instances

2004-02-25 Thread Rod Macpherson
Have you tried shutting down with host:port? shutdown.sh --server=sandbox:1098 -Original Message- From: dbronk [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 6:56 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] [Installation Configuration] - Can't shutdown when running

RE: [JBoss-user] [Performance Tuning] - Memory Leak in Jboss 3.2.3 ?

2004-02-25 Thread Rod Macpherson
Try turning on GC verbosity to ensure the GC is in fact attempting to scavenge memory after some time. Adding a forced GC for diagnositic purposes will also be revealing -- System.gc(). I haven't noticed any leaks. -verbose:gc -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -Original

RE: [JBoss-user] [EJB/JBoss] - Re: My ejb application can't see jar files

2004-02-25 Thread Rod Macpherson
FYI: This is not portable: module javaAPP-INF/lib/SharedUtils.jar/java /module Works on JBoss but not on WebLogic for example -- at least in WLS 7.0 that was the case. The java module is intended to be an application at the top of the food chain, analogous to a web-app. If you are only

RE: [JBoss-user] JBoss Took a Nap!

2004-02-19 Thread Rod Macpherson
Use tomcat -- you knew that was coming:) -Original Message- From: Peter Luttrell [mailto:[EMAIL PROTECTED] Sent: Thursday, February 19, 2004 8:24 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] JBoss Took a Nap! We experienced an odd problem last night in one of our production servers

RE: [JBoss-user] [Persistence CMP/JBoss] - Re: Problem : CMR field cannot be null

2004-02-12 Thread Rod Macpherson
It definitely works on 3.2.2 or greater. One caveat is that you cannot use container generated primary keys, perhaps that is the problem you are seeing? You have to supply the primary key manually. As far as patching jboss.xml you can do that in your ant script after XDoclet has run with a

[JBoss-user] Negative InUseConnectionCount

2004-02-09 Thread Rod Macpherson
Console reports InUseConnectionCount value of -4, as in minus four. Is that normal? We were exhausting connections in 3.2.2 and think that 3.2.3 may have fixed the problem but we get this negative connection count in the jmx-console for the managed connection bean. TIA, Rod

RE: [JBoss-user] Install as NT-Service

2004-02-09 Thread Rod Macpherson
I am not familiar with Alexandria's JavaService Tool however the Tanuki service wrapper works extremely well: http://wrapper.tanukisoftware.org/doc/english/ http://wrapper.tanukisoftware.org/doc/english/jmx.html http://wrapper.tanukisoftware.org/doc/english/integrate.html -Original

RE: [JBoss-user] [Persistence CMP/JBoss] - Problem : CMR field cannot be null

2004-02-09 Thread Rod Macpherson
Add a container configuration that uses insert-after-ejb-post-create to your jboss.xml file: container-configurations container-configuration extends=Standard CMP 2.x EntityBean container-namesesques-special-config/container-name

RE: [JBoss-user] [newbie] Listening on a TCP socket in J2ee environment

2004-02-06 Thread Rod Macpherson
Title: Message There are no limitations in terms of the "environment" although EJBs have limitations: cannot passivate an EJB listening to a socket therefore cannot have an EJB that listens to a socket. You can certainly open a socket from a servlet, for example. -Original

RE: [JBoss-user] [EJB/JBoss] - deploying EAR files

2004-02-05 Thread Rod Macpherson
Just to clarify, you used the manifest.mf as input to the jar command right? Also note that you have Class-path versus Class-Path in your example, not sure if that is case sensitive or not. Finally, did you remove AdminClient.jar from the bin folder to see that it worked in that instance?

RE: [JBoss-user] Setting jmx-console password

2004-01-30 Thread Rod Macpherson
roles.properties Rod Macpherson wrote: After enabling security on jmx-console, where do we set the password for JBossAdmin? Using tomcat version but there is no tomcat-users.xml. TIA, Rod

RE: [JBoss-user] Garbage Collector: Service?

2004-01-28 Thread Rod Macpherson
AH HA! This is precisely the trap that a lot of folks run in to with respect to the GC. That the memory remains high in an idle system for an indefinite period indicates that you indeed have reachable objects loitering around in the heap. Unfortunately forcing a GC will not release them. In

[JBoss-user] Setting jmx-console password

2004-01-28 Thread Rod Macpherson
After enabling security on jmx-console, where do we set the password for JBossAdmin? Using tomcat version but there is no tomcat-users.xml. TIA, Rod --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools

RE: [JBoss-user] Garbage Collector: Service?

2004-01-26 Thread Rod Macpherson
It is my understanding there is little point in an arbitrary GC call. Periodic GC calls have some benefit in terms of distributing effort over time however that is already available through JVM options. That memory shoots up is not relevant unless and until there is insufficient memory to satisfy

RE: [JBoss-user] Tips for development environment with JBoss

2004-01-15 Thread Rod Macpherson
Use JDK 1.4 and run JBoss in debug mode so that when you make a change in Eclipse and recompile (save the file) it will be updated on-the-fly without any redeployment whatsoever. Also, do not use an EAR for development but rather loose jar files and an exploded war file. Then you can granulate

RE: [JBoss-user] Huge Database Updates, and transaction failures...

2004-01-15 Thread Rod Macpherson
This sounds like a job for JBoss multihome where you can run your MDB application in one JBoss instance and your web application in another. Requires one JBoss install with two configurations that you launch independently using the --host and -c switches. -Original Message- From: Neal

RE: [JBoss-user] Shutdown multiple instances

2004-01-14 Thread Rod Macpherson
Rod Macpherson wrote: Has anyone mastered the intricacies of JBoss shutdown for multiple IPs? I kill the process. Does shutdown accept the --host switch? If not that should be added as a feature request for symmetry if nothing else. That's what I've been forced to resort to, as well. Have you

RE: [JBoss-user] Throwing exception question....

2004-01-14 Thread Rod Macpherson
The JSP compile should fail in that case. -Original Message- From: Pitre, Russell [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 14, 2004 12:38 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Throwing exception question Yah, I have my MaxNumberOfRequestsException class

RE: [JBoss-user] Throwing exception question....

2004-01-14 Thread Rod Macpherson
] On Behalf Of Rod Macpherson Sent: Wednesday, January 14, 2004 4:50 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Throwing exception question The JSP compile should fail in that case. -Original Message- From: Pitre, Russell [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 14, 2004

RE: [JBoss-user] JNDI question

2004-01-13 Thread Rod Macpherson
Title: Message You can use localhost as you're doing with your weblogic stuff but better to use the configurable hostname: jboss.bind.address try { properties = new Properties(); properties.put("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");

RE: [JBoss-user] Shutdown multiple instances

2004-01-12 Thread Rod Macpherson
Has anyone mastered the intricacies of JBoss shutdown for multiple IPs? I kill the process. Does shutdown accept the --host switch? If not that should be added as a feature request for symmetry if nothing else. -Original Message- From: Benjamin Cox [mailto:[EMAIL PROTECTED] Sent:

RE: [JBoss-user] Where to put the Interceptor .class file?

2004-01-09 Thread Rod Macpherson
That you can share jars using the java module is peculiar to JBoss. I have been down this road before. A java module is an executable java application that accesses EJBs just as the web application module does. Why not define a jar module for shared libraries with an EAR? Good question, but as it

RE: [JBoss-user] Where to put the Interceptor .class file?

2004-01-09 Thread Rod Macpherson
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rod Macpherson Sent: Friday, January 09, 2004 3:53 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Where to put the Interceptor .class file? That you can share jars using the java module is peculiar to JBoss. I have been down this road before

RE: [JBoss-user] CMR fields and sorting?

2004-01-05 Thread Rod Macpherson
Seems like the order is no important until you actually look at the item, no? So if you have a collection of alive and dead cats you could provide a finder with an ORDER BY to sort them accordingly. Could also specify a sortable concrete type in the DD versus Collection and use ArrayList or

RE: [JBoss-user] Why undeployment could not delete temp directories...

2003-12-29 Thread Rod Macpherson
could not delete temp directories... Rod Macpherson wrote: A sanitize ant task to take out the tmp folder and work folder (compiled JSPs from jasper) seems prudent to ensure a clean deploy. That would not be wise in a production environment since you do not want to pull the rug out from

RE: [JBoss-user] Why undeployment could not delete temp directories...

2003-12-28 Thread Rod Macpherson
A sanitize ant task to take out the tmp folder and work folder (compiled JSPs from jasper) seems prudent to ensure a clean deploy. That would not be wise in a production environment since you do not want to pull the rug out from under active clients and you would not want to affect other

RE: [JBoss-user] Cannot access EJB with multiple CMR columns

2003-12-24 Thread Rod Macpherson
To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Cannot access EJB with multiple CMR columns So what is causing the SQLException? Incorrect SQL? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rod Macpherson Sent: Wednesday, December 24, 2003 12:34 AM

[JBoss-user] Cannot access EJB with multiple CMR columns

2003-12-23 Thread Rod Macpherson
We get the following error fetching one of our entity beans in JBoss 3.2.2: java.sql.SQLException: ORA-00936: missing expression The associated table is different than every other table in the schema. I will use a fictitious example to explain. Assume you have a TREE table with six columns that

RE: [JBoss-user] Why use JBOSS?

2003-12-19 Thread Rod Macpherson
Insofar as you are not using websphere or weblogic or a similar system, the question should be ammended: What do we gain from using an EJB container: session beans, entity beans, message driven beans... Here is a concise introduction:

RE: [JBoss-user] What files need to changed to bring up two instances of JBoss on the same machine?

2003-12-19 Thread Rod Macpherson
Assume you want two JBoss instances where each is bound to a separate host name on a single machine. Needless to say you need two IP addresses mapped to two host names and presumably you have pinged those without incident. Next step is to create two configurations under a single JBoss

RE: [JBoss-user] jboss 3.2.3 + jetty X

2003-12-18 Thread Rod Macpherson
BCS poll shows Jetty winning however of the 18 million daily downloads of JBoss that majority now use Tomcat. We resisted moving to Tomcat because our stuff would break horribly on it. When the powers that be started steering the herd toward tomcat we decided to put the cart before the horse and

RE: [JBoss-user] CMP, multiple workers and shared DB (help me!)

2003-12-16 Thread Rod Macpherson
Can you not use a database that persists to secondary storage such as MySQL? That would certainly solve your problem. -Original Message- From: Raquel V. Lopes [mailto:[EMAIL PROTECTED] Sent: Tue 12/16/2003 5:05 AM To: [EMAIL PROTECTED] Cc:

RE: [JBoss-user] Setting up default context in JBoss 3.2.0

2003-12-16 Thread Rod Macpherson
Do you mean the ./WEB-INF/jboss-web.xml context root setting for a given war file? jboss-web context-root//context-root /jboss-web -Original Message- From: Jonathan Cowherd [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 12:17 PM To: '[EMAIL PROTECTED]' Subject:

RE: [JBoss-user] (SOLVED) Invoking EJB but using *name* instead*IP*

2003-12-12 Thread Rod Macpherson
Did you need the web container and JNDI listening on one host and RMI on another? I would be very interested in what the intent was here. TIA, Rod -Original Message- From: Pedro Salazar [mailto:[EMAIL PROTECTED] Sent: Fri 12/12/2003 4:08 AM To:

[JBoss-user] Multihome JBoss SNMP Issue Resolved in 3.2.3

2003-12-12 Thread Rod Macpherson
Running 3.2.3 with snmp-adapter.sar and the start-up bind error went away in 3.2.3. We expect to use some server-side instrumentation that clients access via SNMP in the not-too-distant future so this is good. winmail.dat

RE: [JBoss-user] JBoss 3.2.4 ...

2003-12-12 Thread Rod Macpherson
I guess we will have to hold off on 3.2.3 after all because we have a SQL Server deployment on the verge of release and this would fubar us, right? -Original Message- From: Bill Burke [mailto:[EMAIL PROTECTED] Sent: Fri 12/12/2003 5:49 AM To: [EMAIL

RE: [JBoss-user] Multiple deploy of ear, how to steps

2003-12-12 Thread Rod Macpherson
, 2003 4:00 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Multiple deploy of ear, how to steps Rod Macpherson wrote: How about just making a copy of your configuration and launching it bound to a different host? That way you do not have to change anything provide you are using the no-arg

RE: [JBoss-user] (SOLVED) Invoking EJB but using *name* instead*IP*

2003-12-12 Thread Rod Macpherson
* On Fri, 2003-12-12 at 13:06, Rod Macpherson wrote: Did you need the web container and JNDI listening on one host and RMI on another? I would be very interested in what the intent was here. TIA, Rod

RE: [JBoss-user] (SOLVED) Invoking EJB but using *name* instead*IP*

2003-12-12 Thread Rod Macpherson
Using 3.2.2 or greater use the --host switch. In 3.2.2 you must remove snmp-adapter.sar from your deploy or it will generate bind errors. Example: run.bat -c default --host localhost -Original Message- From: Stephen Ting [mailto:[EMAIL PROTECTED] Sent:

[JBoss-user] A couple of web.xml issues

2003-12-11 Thread Rod Macpherson
1. Compiled JSPs to servlets and the URLs listed in my web.xml welcome-file-list stopped working. 2. JBoss complains about a mapping error in web.xml if the page listed in your welcome file is badly formed. That is to say web.xml is fine but the page you are referring to has problems. A

RE: [JBoss-user] Multiple deploy of ear, how to steps

2003-12-09 Thread Rod Macpherson
not, because putting them into dns won't work. So is each new ip address that you add to the NIC must be a new live ip address? Correct? thanks again, so much, Brian From: Rod Macpherson [EMAIL PROTECTED] Reply-To: [EMAIL

[JBoss-user] Dummies use JBoss

2003-12-09 Thread Rod Macpherson
Are these people stupid? JBoss uses Tomcat by default now:) http://www.dummies.com/extras/enterprise_javabeans_fd/ Both the ATM application and the HelloWorld application have been completely developed, compiled, deployed and tested using JBoss application server and Jetty Web Server. JBoss

RE: [JBoss-user] Create a datasource without java:/

2003-12-09 Thread Rod Macpherson
You can map it in your jboss-web.xml using a resouce reference, if that helps: jboss-web context-root/acme/context-root resource-ref res-ref-nameDSName/res-ref-name jndi-namejava:/DSName/jndi-name /resource-ref /jboss-web -Original Message-

RE: [JBoss-user] Multihome JBoss Issue

2003-12-08 Thread Rod Macpherson
\appsnetstat -na | grep 1099 TCP0.0.0.0:1099 0.0.0.0:0 LISTENING So why would that conflict with JBoss running with --host foobar? -Original Message- From: Rod Macpherson on behalf of Rod Macpherson Sent: Sun 12/7/2003 7:43 PM

RE: [JBoss-user] getParameterValues

2003-12-08 Thread Rod Macpherson
Yikes! I think Marc was making a joke: pussy, tomcat. In any event if you are making business decisions based on your personal opinion of how others should behave that is your business, but, I find the support given on this thread to be second only to the quality of the product they are

RE: [JBoss-user] Multiple deploy of ear, how to steps

2003-12-08 Thread Rod Macpherson
How about just making a copy of your configuration and launching it bound to a different host? That way you do not have to change anything provide you are using the no-arg InitialContext. Example: 1. Create copies of your configuration folder: /jboss/server/orginal - /jboss/server/foo and

RE: [JBoss-user] Multihome JBoss Issue

2003-12-07 Thread Rod Macpherson
Chief Technology Officer JBoss Group, LLC Rod Macpherson wrote: Here's the gook. C:\ Telnet sandbox 1099 fsr?java.rmi.MarshalledObject|+?fcn??I?hashlocBytest?[BobjBytesq~?xp?Tur?[B

RE: [JBoss-user] Multihome JBoss Issue

2003-12-07 Thread Rod Macpherson
of the rmi stub as well. What does netstat -an | egrep '(1099|1098)' show on this box? Scott Stark Chief Technology Officer JBoss Group, LLC Rod Macpherson wrote

RE: [JBoss-user] JBoss 3.0.x and 3.2.x

2003-12-06 Thread Rod Macpherson
Appears to be as stable as 3.0 however we never found 3.0 to be unstable so it's difficult to say. We are using tomcat under 3.2 since JB seems to be herding the flock in that direction. One thing we noticed right away in 3.2 is that tomcat (jasper) pools tag libraries so you must ensure you

RE: AW: [JBoss-user] JBoss On Linux

2003-12-04 Thread Rod Macpherson
That's a pretty nice review... Yes, in fact I expected to see a link to the storefront that would net him some micropayments: a nickel per view:) My only concern is that they are now under BEA's umbrella so the temptation to enhance or hobble when running or not running in weblogic is there.

RE: AW: [JBoss-user] JBoss On Linux

2003-12-04 Thread Rod Macpherson
Macpherson on behalf of Rod Macpherson Sent: Thu 12/4/2003 7:21 PM To: [EMAIL PROTECTED] Cc: Subject: RE: AW: [JBoss-user] JBoss On Linux That's a pretty nice review... Yes, in fact I expected to see a link to the storefront

RE: [JBoss-user] JBoss On Linux

2003-12-04 Thread Rod Macpherson
Downloaded JRockit and launched a large J2EE application in debug mode. JBoss started in 1:24. Using Sun's JDK 1.4 JVM the same application started in 1:32. I would call that a noise-level improvement given JRockit is a commercial product focused on performance. Not a valid benchmark but then

RE: [JBoss-user] JBoss On Linux

2003-12-04 Thread Rod Macpherson
resource configuration. Start by looking at file descriptors. Just my 2 cents (again), David Rod Macpherson escribi: Downloaded JRockit and launched a large J2EE application in debug mode. JBoss started in 1:24. Using Sun's

RE: [JBoss-user] Unexpected Signal : 11

2003-12-02 Thread Rod Macpherson
Segmentation Violation. Unless you are making JNI calls there is nothing application code can do to generate this signal. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2003 9:25 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] Unexpected

RE: [JBoss-user] Multihome JBoss Issue

2003-12-01 Thread Rod Macpherson
with your JSP. Bill Rod Macpherson wrote: Thanks Bill, Scott posted this as well. I am using that but here is the problem 1. Have a box with three virtual IP addresses we will call default, primary and secondary. 2. Launch JBoss on primary using --host primary with nothing running

[JBoss-user] Multihome JBoss Issue

2003-11-26 Thread Rod Macpherson
Title: Message I use this to get the JNDI properties and bind Globals.HOST in a static class initializer using java.net.InetAddress.getLocalHost().getHostName(). The problem is that method returns the hostname of my box NOT the hostname that JBoss was started with using the --host switch.

RE: [JBoss-user] Multihome JBoss Issue

2003-11-26 Thread Rod Macpherson
this is asecurity featureissue on Windows XP that was added but who knows. -Original Message-From: Rod Macpherson Sent: Wednesday, November 26, 2003 9:24 AMTo: [EMAIL PROTECTED]Subject: [JBoss-user] Multihome JBoss Issue I use this to get the JNDI properties and bind Globals.HOST

RE: [JBoss-user] Multihome JBoss Issue

2003-11-26 Thread Rod Macpherson
Rod Macpherson wrote: I use this to get the JNDI properties and bind Globals.HOST in a static class initializer using java.net.InetAddress.getLocalHost().getHostName(). The problem is that method returns the hostname of my box NOT the hostname that JBoss was started with using

RE: [JBoss-user] Multihome JBoss Issue

2003-11-26 Thread Rod Macpherson
:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 9:55 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Multihome JBoss Issue System.getProperty(jboss.bind.address) == --host value -- Scott Stark Chief Technology Officer JBoss Group, LLC Rod

RE: [JBoss-user] Multihome JBoss Issue

2003-11-26 Thread Rod Macpherson
. -- Scott Stark Chief Technology Officer JBoss Group, LLC Rod Macpherson wrote: When running multihome I am getting this on all of the office machines but not on my home network: same version of JBoss, same JDK, same application works fine

RE: [JBoss-user] RE: Classloader issues

2003-11-26 Thread Rod Macpherson
We do not use WEB-INF/lib or WEB-INF/classes to avoid this. Instead we share jars across all tiers and stipulate what jar uses what in the Class-Path for each jar we assemble. We are guaranteed that there is one and only one image of a class in the whole system and, the class loader being part

RE: [JBoss-user] Multihome JBoss Issue

2003-11-26 Thread Rod Macpherson
[mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 1:25 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Multihome JBoss Issue System.getProperty(jboss.bind.address); Rod Macpherson wrote: I use this to get the JNDI properties and bind Globals.HOST in a static class initializer

RE: [JBoss-user] EJB home methods are not allowed to access CMP or CMR

2003-11-21 Thread Rod Macpherson
JBuilder 7 was not able to create valid deployment descriptors in porting from Weblogic to Borland Application Server. Verified issue with Borland support and they were unable to resolve. The lack of support for JBoss was the straw that forced us to investigate alternatives and we now use

RE: [JBoss-user] multiple instances of jboss

2003-11-20 Thread Rod Macpherson
Having multiple JVMs running can boost performance because you have separate garbage collectors and you can use as much memory as your system will allow rather than tapping out at 2G. Serialized code that (synchronized) can be distributed to gain parallelism when one JVM is blocked. Having

RE: [JBoss-user] FW: [Core] Sys Admin Denver Sold OUT

2003-11-20 Thread Rod Macpherson
Title: Message I thought NY was a Microsoft shop. -Original Message-From: Eric J Kaplan [mailto:[EMAIL PROTECTED] Sent: Thursday, November 20, 2003 12:43 PMTo: [EMAIL PROTECTED]Subject: RE: [JBoss-user] FW: [Core] Sys Admin Denver Sold OUT Guys I know NY is an

RE: [JBoss-user] Unable to run 3.2.2 on Windoze

2003-11-20 Thread Rod Macpherson
? Thanks, Jim Rod Macpherson [EMAIL PROTECTED] writes: I am using the tomcat version (seems to be the server of choice now) on XP no problemo. Either you have multiple copies of it running (assume you rebooted) or something is wacky about your system. Did you try telnet to 8080 on localhost

RE: [JBoss-user] Unable to run 3.2.2 on Windoze

2003-11-19 Thread Rod Macpherson
I am using the tomcat version (seems to be the server of choice now) on XP no problemo. Either you have multiple copies of it running (assume you rebooted) or something is wacky about your system. Did you try telnet to 8080 on localhost before starting JBoss? Speaking of localhost, not sure if

[JBoss-user] Hot Deploy of Session Beans

2003-11-18 Thread Rod Macpherson
Anybody else having a problem hot deploying SLBs? Fetching the home interface fails with a class-cast exception. That is the proxy itself cannot be cast to the home interface. Happens every time after you redeploy the SLB jar. --- This SF.net

RE: [JBoss-user] multiple instances of jboss

2003-11-17 Thread Rod Macpherson
Using multihome support in JBoss 3.2.2 you can ignore ports and use a different host for each instance. The only caveat is that you must remove snmp-service.sar since that still creates bind errors but other than that it's a snap. You can fire up as many instances of JBoss as memory will permit

[JBoss-user] Hot Deploy of Session Beans Fails

2003-11-14 Thread Rod Macpherson
Title: Message Weuse loose EJB jars during development rather than an EAR file so we can hot-deploy specific pieces. Unfortunately a session bean hot-deploy causes a class-cast exception the next time that bean is used. This fails if and only if you hot-deploy the session bean that is

RE: [JBoss-user] a to cmp

2003-10-29 Thread Rod Macpherson
Title: Message I second the middlegen motion. Generates the Bean classes with XDoclet tags and XDoclet does the rest: homes, remotes, descriptors. The sample is rather involved so here are the basic components for your own ant script: a classpath, a Middlegen task and an XDoclet task. I

RE: [JBoss-user] FK Columns cant have NOT NULL constraints

2003-10-23 Thread Rod Macpherson
Works great. Without this the INSERT happens after ejbCreate but you cannot set your CMRs until ejbPostCreate: hence the null constraint violations on foreign keys. With this switch the INSERT happens after ejbPostCreate giving you a chance to update the CMRs and by extension foreign keys will be

RE: [JBoss-user] Balance JBoss Load

2003-10-23 Thread Rod Macpherson
I think his issue is that the number of jars and wars and ears that he has on one system is swamping the boat. That is to say even if there was one person using the system the problem would still exist. -Original Message- From: Joao Pedro Clemente [mailto:[EMAIL PROTECTED] Sent:

RE: [JBoss-user] 3.2.2 : Null primary key on create

2003-10-23 Thread Rod Macpherson
Regarding this 64 column limit that was introduced and fixed, where do we get the fix given that 3.2.2 has been released? Does that mean the official release has been re-jarred with the fix or does it mean we have to checkout a CVS branch or how exactly does that work? We have a couple monster

RE: [JBoss-user] FK Columns cant have NOT NULL constraints

2003-10-23 Thread Rod Macpherson
I am using this and it works great. Without this the INSERT happens after ejbCreate but you cannot set your CMRs until ejbPostCreate: hence the null constraint violations on foreign keys. With this switch the INSERT happens after ejbPostCreate giving you a chance to update the CMRs and by

RE: [JBoss-user] 3.2.2 : Null primary key on create

2003-10-21 Thread Rod Macpherson
Is this a new limitation or was this introduced in 3.2.2? We have 64 column entity beans and AFAIK we have been inserting on them. Thx -Original Message- From: Phil Shrimpton [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 2:20 PM To: [EMAIL PROTECTED] Subject: Re:

RE: [JBoss-user] Specifying deployment order in EAR - JBoss 3.2.2

2003-10-20 Thread Rod Macpherson
Does the EAR's application.xml include both the EJB and WEB module elements? -Original Message- From: Jonathan.O'[EMAIL PROTECTED] [mailto:Jonathan.O'[EMAIL PROTECTED] Sent: Monday, October 20, 2003 4:50 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] Specifying deployment order in EAR -

RE: [JBoss-user] Specifying deployment order in EAR - JBoss 3.2.2

2003-10-20 Thread Rod Macpherson
/application And this works perfectly in JBoss 3.0.6 and 3.0.8 Ciao, Jonathan O'Connor XCOM Dublin Rod Macpherson [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 20.10.2003 13:24 Please respond to jboss-user To: [EMAIL PROTECTED] cc: Subject:RE: [JBoss-user] Specifying

RE: [JBoss-user] Re: 3.2.2 Release Available

2003-10-20 Thread Rod Macpherson
We had some really strange bugs related to varying implementations of JSP tags that only showed up in Tomcat's stricter enforcement and more aggressive tag object reuse strategies. Just a heads up to anybody getting strange JSP page behavior to look at your tag implementation first. In particular

RE: [JBoss-user] How to make jboss as app server in JDeveloper10g

2003-10-17 Thread Rod Macpherson
Title: Message JBuilder has not added build-in support for JBoss and that is a very telling omission.I think it would be inappropriate to go into details of one customer's anecdotal report of how JBuilder Enterprise was a miserable failure. Instead let me suggestion that you investigate

RE: [JBoss-user] How to make jboss as app server in JDeveloper10g

2003-10-17 Thread Rod Macpherson
(Beta) has support for JBoss. //Nicholas --- Rod Macpherson [EMAIL PROTECTED] wrote: JBuilder has not added build-in support for JBoss and that is a very telling omission. I think it would be inappropriate to go into details of one customer's anecdotal report of how JBuilder Enterprise

RE: [JBoss-user] ear jndi different databases.

2003-10-15 Thread Rod Macpherson
What about your datasource specification? Did you set the datasource on each copy of your jbosscmp-jdbc.xml? First Instance jbosscmp-jdbc defaults datasourcejava:/SomeDatasourceName/datasource datasource-mappingOracle9i/datasource-mapping

RE: [JBoss-user] damned build

2003-10-14 Thread Rod Macpherson
AFAIK, there are entries in the CVS modules file that wrap up everything you need. Rather than top-level folders (default modules) try getting a composite module like jboss-3.2. Maybe you can checkout the modules file and browse it. My problem is the checkout from sourceforge goes belly-up half

RE: [JBoss-user] mulplie ears in one jboss instance

2003-10-13 Thread Rod Macpherson
Each war will need its own context root. To meet the independent database requirement you will have to create multiple datasource entries in your database-ds.xml file then package each EAR with its own jbosscmp-jdbc.xml defaults: jbosscmp-jdbc defaults datasourcejava:/DS1/datasource

RE: [JBoss-user] Quick JDBC question.

2003-10-11 Thread Rod Macpherson
Title: Message It is certain that you are gettingto thefinally clause and if there are no SQLExceptions being logged there is nothing more you can do with that code snippet. Maybe there is aa bug in the release candidate? I would just ignore the warningunless you are really running out of

RE: [JBoss-user] Re: JBoss-IDE 1.2.1 released

2003-10-10 Thread Rod Macpherson
I would like to see an executive summary of the benefits of the JBoss IDE versus plain old Eclipse remote debugging. I assume the code.completion feature for xdoclet tags is the marketing hook but as a practical matter having the tag list in a window and just typing in what you need was more

  1   2   3   >