Re: [JBoss-user] Commit Option A and ejbCreate [auf Viren geprüft]

2004-01-26 Thread Neal Sanche
ating multiple transactions, and with commit-option A, its > caching the value. Still doesn't make sense though. Also, why can't > you move setting the CMRs into ejbPostCreate? > Ciao, > Jonathan O'Connor > XCOM Dublin > > > > Neal Sanche <[EMAIL PROTEC

[JBoss-user] Commit Option A and ejbCreate

2004-01-21 Thread Neal Sanche
Hi All, I have recently been experimenting with Commit Option A and have noticed on rare occasions that creation of an EJB and subsequent setting of some of its CMRs will fail with an EJB spec violation in JBoss 3.2.4RC1. The exception mentions that the CMR should only be set in the ejbPostCre

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

2004-01-15 Thread Neal Sanche
Hi All, Okay, I'm doing a bunch of genetic research with JBoss. Our principal investigator (my Boss), wants to store many many thousands of records in the database and I have been trying to write the code that inserts all of those records in the 'background' while users might be operating the

Re: [JBoss-user] MDB not getting messages after Redeployment

2004-01-15 Thread Neal Sanche
On January 15, 2004 05:20 am, Adrian Brock wrote: > On Thu, 2004-01-15 at 04:29, Neal Sanche wrote: > > On January 14, 2004 07:29 pm, Adrian Brock wrote: > > > On Wed, 2004-01-14 at 23:29, Neal Sanche wrote: > > > > Hi All, > > > > > > > > I&#x

Re: [JBoss-user] MDB not getting messages after Redeployment

2004-01-14 Thread Neal Sanche
On January 14, 2004 07:29 pm, Adrian Brock wrote: > On Wed, 2004-01-14 at 23:29, Neal Sanche wrote: > > Hi All, > > > > I've recently been having problems with MDBs not receiving > > messages after my .EAR is redeployed. About the only thing that > > I'm

Re: [JBoss-user] MDB not getting messages after Redeployment

2004-01-14 Thread Neal Sanche
On January 14, 2004 07:29 pm, Adrian Brock wrote: > On Wed, 2004-01-14 at 23:29, Neal Sanche wrote: > > Hi All, > > > > I've recently been having problems with MDBs not receiving > > messages after my .EAR is redeployed. About the only thing that > > I'm

[JBoss-user] MDB not getting messages after Redeployment

2004-01-14 Thread Neal Sanche
Hi All, I've recently been having problems with MDBs not receiving messages after my .EAR is redeployed. About the only thing that I'm doing differently, as far as I can tell, is to set the JNDI name of the MDB within the jboss deployment descriptors. Are there JBoss 3.2.2 problems with MDB re

Re: [JBoss-user] Cannot send a message to the JMS server

2003-12-23 Thread Neal Sanche
ything is definitely in the same VM, what would I change? -Neal On December 23, 2003 03:10 pm, Adrian Brock wrote: > > On Tue, 2003-12-23 at 18:15, Neal Sanche wrote: > > > Of course it does. The question is, the JBoss instance is > > > always talking to itself, on the same

Re: [JBoss-user] Cannot send a message to the JMS server

2003-12-23 Thread Neal Sanche
; The message says the tcp/ip connection was broken. > > You can monitor for this event using > javax.jms.Connection.setExceptionListener() > and reconnect. > > Regards, > Adrian > > On Tue, 2003-12-23 at 17:44, Neal Sanche wrote: > > Hi All, > > > >

[JBoss-user] Cannot send a message to the JMS server

2003-12-23 Thread Neal Sanche
Hi All, I'm running a JBoss on a machine that tends to have an IP address change periodically on it's PPP adaptor. I am suspecting that might be the reason for the following exceptions that I get after a certain amount of time on my system: 2003-12-23 12:30:48,577 INFO [com.cartel.usc.jmx.Tim

Re: [JBoss-user] JSP precompilation

2003-12-13 Thread Neal Sanche
On December 13, 2003 07:48 am, Kavitha Ranga wrote: > Hello, > I am using JBOSS and tomcat for EJB and > webapps. In order to speed up the JSP's I have > precompiled all the JSP's using ant and have dumped > all the .java and .class for each of the jsp under > the tomcat directory of jboss ie, to

Re: [JBoss-user] Web Application Security Recipe?

2003-12-13 Thread Neal Sanche
Okay, makes sense, will do. Thanks for the clarification of this. I've always found that bit confusing. -Neal On December 13, 2003 01:10 am, Scott M Stark wrote: > Its a feature of the spec that the an authenticated user is not > available via getUserPrincipal on unsecured pages. Put the user >

Re: [JBoss-user] Web Application Security Recipe?

2003-12-12 Thread Neal Sanche
urn who they are. > > > Scott Stark > Chief Technology Officer > JBoss Group, LLC > > > Neal Sanche wrote: > > Okay, I've seen such applications, including that on JBoss.org. > > When you initially arrive at the site

Re: [JBoss-user] Web Application Security Recipe?

2003-12-11 Thread Neal Sanche
Okay, I've seen such applications, including that on JBoss.org. When you initially arrive at the site, you are 'guest' which means you have been given a session, but have not authenticated. Then you can 'login' and then see other features of the application that weren't there when you weren't l

[JBoss-user] Web Application Security Recipe?

2003-12-09 Thread Neal Sanche
Hi All, One of the many mysteries that I haven't yet come to understand about securing web applications is the following: Is it possible, with default web container security and JAAS domains, to allow a user to automatically log into a web application as 'Guest' and then at some later time all

Re: [JBoss-user] Shared ejb-jars, scoped ears and MDBs

2003-11-26 Thread Neal Sanche
Oh how clever, sorry the correct URL is: http://tinyurl.com/wpi1 -Neal On November 26, 2003 04:50 pm, Neal Sanche wrote: > My patch was successful, I've started an issue on the XDoclet site > for this: > > http://tinyurl.com/czcn > > I've tested this, and it works, p

Re: [JBoss-user] Shared ejb-jars, scoped ears and MDBs

2003-11-26 Thread Neal Sanche
My patch was successful, I've started an issue on the XDoclet site for this: http://tinyurl.com/czcn I've tested this, and it works, putting my MDB beans into the JNDI tree with nice names. -Neal On November 26, 2003 04:25 pm, Neal Sanche wrote: > I finally got around to che

Re: [JBoss-user] Shared ejb-jars, scoped ears and MDBs

2003-11-26 Thread Neal Sanche
ently writing such a patch and will submit it off to the XDoclet project when I get it right. -Neal On October 9, 2003 03:49 pm, Neal Sanche wrote: > Okay, I'll have to see why XDoclet wasn't taking the > local-jndi-name I was giving it. That's a slightly easier problem >

Re: [JBoss-user] transactions in MDB - Error: A CMR collection may only be used wi thin the transction in which it was created

2003-11-17 Thread Neal Sanche
For Option 2, you'd do something like: UserTransaction tx = null; InitialContext ctx = null; boolean rollback = false; try { ctx = new InitialContext(); tx = (UserTransaction)ctx.lookup("UserTransaction"); tx.begin(); // Do your thing } catch (Throwable ex) { // M

Re: [JBoss-user] problem with UsersRolesLoginModule

2003-11-16 Thread Neal Sanche
I noticed this as well, and found that the location of the users.properties and roles.properties files needed to be in the classpath of the deployed application, not in server\default\conf as was previously the case. If I put then in WEB-INF\classes it worked for my web application. This behavi

Re: [JBoss-user] Read only CMR Collections?

2003-11-11 Thread Neal Sanche
On November 11, 2003 08:17 am, Alexey Loubyansky wrote: > I know ;) > > julien viet wrote: > > yes it works well. > > > >>What about using filters to begin/commit transactions? Brilliant idea. I keep forgetting about filters. That'll really simplify things, won't it? I'll give it a shot right awa

Re: [JBoss-user] Need help with SSL setup. JBoss 3.2.1 Jetty bundle

2003-11-10 Thread Neal Sanche
http://www.nsdev.org/jboss has a story on getting SSL working with various JBoss versions. -Neal On November 10, 2003 08:34 pm, suneth kandamby wrote: > Hi > > Newbie here. Could some one tell me how to setup > SSL on the JBoss-Jetty 3.2.1 bundle? And how do i > test if my SSL connection is work

Re: [JBoss-user] Read only CMR Collections?

2003-11-10 Thread Neal Sanche
layer and no need > for value objects. > > Neal Sanche wrote: > > Hi All, > > > > I've found recently that it's becoming increasingly painful to > > avoid the 'CMR Collection cannot be modified outside of a > > transaction' when navigating down CMR

[JBoss-user] Read only CMR Collections?

2003-11-10 Thread Neal Sanche
Hi All, I've found recently that it's becoming increasingly painful to avoid the 'CMR Collection cannot be modified outside of a transaction' when navigating down CMR many relations. Navigating down a 1 to 1 relation works fine. The thing is, all I'm trying to do is easily display information

Re: [JBoss-user] Custom JAAS Login Module

2003-11-03 Thread Neal Sanche
Thanks Anders, The Filters, since I've not used them before, are certainly an excellent way to implement this type of site-wide logging. Thanks very much for the pointers! -Neal On November 1, 2003 03:25 am, Anders Engström wrote: > On Fri, Oct 31, 2003 at 03:48:09PM -0500, Neal Sanc

[JBoss-user] Custom JAAS Login Module

2003-10-31 Thread Neal Sanche
Hi All, I'm looking at writing a custom login module to track logins to a web application and write the successes and failures to a database table. I am wondering if there's currently other ways to hook into the authentication process to track these things. Here's specifically what I'm thinkin

Re: [JBoss-user] a to cmp

2003-10-29 Thread Neal Sanche
On October 29, 2003 09:06 am, Eric J Kaplan wrote: > Anyone know of a good product (or eclipse plugin) that I can point > at my database and have it generate cmp entity beans (files with > xdoclet tags would be ok). Yes, I realize I'll have to tweak the > files afterward, but there's a lot of this

Re: [JBoss-user] Shared ejb-jars, scoped ears and MDBs

2003-10-09 Thread Neal Sanche
Okay, I'll have to see why XDoclet wasn't taking the local-jndi-name I was giving it. That's a slightly easier problem to solve. Thanks. -Neal On October 9, 2003 06:18 am, Adrian Brock wrote: > On Thu, 2003-10-09 at 05:53, Neal Sanche wrote: > > I realize this message

Re: [JBoss-user] Shared ejb-jars, scoped ears and MDBs

2003-10-08 Thread Neal Sanche
I realize this message was posted a *long* time ago, but it never got a reply, and I am running into the same difficulty now. Is there any way to assign a JNDI name to an MDB, or supress the automatic assignment of a JNDI name so that conflicts like this don't occur? Cheers. -Neal On April 3,

Re: [JBoss-user] Anybody out there using SSL on 3.2.2RCx?

2003-10-07 Thread Neal Sanche
On October 4, 2003 03:45 pm, Neal Sanche wrote: > On October 4, 2003 03:17 pm, Scott M Stark wrote: > > Attached are two different configs. One that uses the > > JaasSecurityDomain and HttpConnector/SSLServerSocketFactory, and > > one that uses the CoyoteConnector/CoyoteServ

Re: [JBoss-user] Anybody out there using SSL on 3.2.2RCx?

2003-10-04 Thread Neal Sanche
On October 4, 2003 03:17 pm, Scott M Stark wrote: > Attached are two different configs. One that uses the > JaasSecurityDomain and HttpConnector/SSLServerSocketFactory, and > one that uses the CoyoteConnector/CoyoteServerSocketFactory. Both > go against a chap8.keystore in the conf directory of the

[JBoss-user] Anybody out there using SSL on 3.2.2RCx?

2003-10-04 Thread Neal Sanche
Hey all, I used to know how to get JBoss+Jetty to work with SSL, how do I go about getting JBoss 3.2.2RC4 to do the same with the Tomcat web container? I just generated my keystore, and thought it'd be as easy as uncommenting some XML, but I can't find it. Thanks in advance. -Neal

Re: [JBoss-user] Building JBoss from CVS with JBossDO

2003-10-01 Thread Neal Sanche
I'm guessing, at this point that this HiLoIDGenerator is not available in the 3.2.2 releases, am I right? -Neal On October 1, 2003 04:06 pm, Adrian Brock wrote: > jboss > > * service=JNDIView > > Then click the "list" operation > > Regards, > Adrian > > On Wed, 2003-10-01 at 20:58, J.Mann wrote:

Re: [JBoss-user] Frustrated with CMR on Jboss

2003-09-12 Thread Neal Sanche
I've been frustrated by the same, many times. I've resorted to using Session bean facades to return new collections based on the old collection. public Collection getAllSomethings(Integer id) { SomethingLocal something = SomethingUtil.getLocalHome().findByPrimaryKey(id

Re: [JBoss-user] which xdoclet tag creates in ejb-jar.xml?

2003-09-05 Thread Neal Sanche
Hi Matt, Maybe I can help you back. I've been using XDoclet 1.2B3 with the following statement working: @ejb.ejb-ref view-type="local" ejb-name="Greeting" ref-name = "ejb/GreetingLocal" And that seems to work for me, it produces the following ejb-jar.xml output: ejb/G

Re: [JBoss-user] EJB-QL JBoss Support?

2003-09-05 Thread Neal Sanche
On Friday, September 5, 2003, at 08:49 AM, Neal Sanche wrote: > > Perhaps this is one of the nice features of JBoss-QL as opposed > > to EJB-QL. Are you, perchance, using JBoss-QL in XDoclet tags? > > What's the difference between that and doing EJB-QL in XDoclet? > > Yes

Re: [JBoss-user] EJB-QL JBoss Support?

2003-09-05 Thread Neal Sanche
extensions. I'm using it > like so: > > ... > and ?1 between o.content.availableStartDate and > o.content.availableEndDate > ... > > I'm also making use of <= and >= in other queries to do date > comparisons. > >-M@ > > On Thursday, Septembe

Re: [JBoss-user] EJB-QL JBoss Support?

2003-09-04 Thread Neal Sanche
o work, wouldn't it? Still just wondering. -Neal On September 5, 2003 12:42 am, Neal Sanche wrote: > Hi Guys, > > I know that EJB-QL is supported by JBoss 3.2.X but I am > encountering some deviations from the spec that I'm wondering > about. My latest problem is 

[JBoss-user] EJB-QL JBoss Support?

2003-09-04 Thread Neal Sanche
Hi Guys, I know that EJB-QL is supported by JBoss 3.2.X but I am encountering some deviations from the spec that I'm wondering about. My latest problem is 'BETWEEN' statements. I'm trying to select a bunch of objects between two dates. I've made EJB-QL like the following: SELECT DISTINCT OBJEC

Re: [JBoss-user] jars/ears revisited: deployment problem

2003-09-03 Thread Neal Sanche
Did you add the .JAR to your application.xml? my.jar I would guess that the classes in the jarfile are causing classloading issues in your EJBs when they aren't found, or the interface declarations for your EJBs are actually in that jarfile. -Neal On September 3, 2003 08:00 am, Stef

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 JBos

Re: [JBoss-user] Where does JBoss 3.2.2RC3 search for user.properties?

2003-08-25 Thread Neal Sanche
On August 24, 2003 10:58 pm, Neal Sanche wrote: > The usual server/all/conf placement doesn't work like it used to. > I'm expecting the 'other' JAAS configuration to work like it did in > JBoss 3.2.1. But it doesn't seem to. What am I missing? Okay, I'

[JBoss-user] Where does JBoss 3.2.2RC3 search for user.properties?

2003-08-25 Thread Neal Sanche
Hi All, I've been trying to get an application working that uses web services, but has no .WAR file within my .EAR file. I have found that the new UsernamePassword authenticator seems to find users.properties within my WEB-INF/classes for web applications, which is good. But I can't seem to fi

Re: [JBoss-user] file upload problem

2003-08-18 Thread Neal Sanche
Are you, perhaps, trying to write a file to a directory name? You might want to add a filename to your FileOutputStream constructor instead of the directory. With the struts stuff, the original filename is sent along with the file in the headers, so you should be able to ask the servlet. Or mak

Re: [JBoss-user] JBoss.net questions

2003-08-17 Thread Neal Sanche
Well, if you've generated your testClient with the port you've set aside for TCPmon, then that would be the reason you can only connect when it's running. Look for URLs inside the code that point to the incorrect port, replace those with the port that JBoss is running on (8080) and you'll get i

Re: [JBoss-user] JBoss 3.2.2RC2 Classloading Fun

2003-07-26 Thread Neal Sanche
On July 26, 2003 01:17 am, Scott M Stark wrote: > Ears have never been isolated by default. Wars have been until the > change to allow the tomcat container to use the unified class > loader as the web app class loader. Setting UseJBossWebLoader to > false restores the previous behavior of a distinc

[JBoss-user] JBoss 3.2.2RC2 Classloading Fun

2003-07-25 Thread Neal Sanche
Hi Guys, Just decided to try out JBoss 3.2.2RC2 with a few .EAR files I have kicking around. All of the .EAR files are similar in that they all include a Struts bundle within them, including all of the webapp/WEB-INF/lib/*.jar files. Out of the box, JBoss 3.2.2RC2 didn't like this, complaining

Re: [JBoss-user] EJB Stats in web-console

2003-07-14 Thread Neal Sanche
On July 14, 2003 01:17 pm, Adrian Brock wrote: > On Sun, 2003-07-13 at 20:27, Scott M Stark wrote: > > Yes, there should be no difference. I don't know if its the jsr77 > > layer or the web console that is not hooking up the stats > > correctly. What does the jmx-consol e show for the bean in > > q

[JBoss-user] EJB Stats in web-console

2003-07-12 Thread Neal Sanche
Hi All, I noticed that some of my older EJBs were showing me EJB statistics in the web-console, but many of my newer EJBs were not. I tracked it down to the older ejbs actually having remote interfaces and jndi-name set. My newer beans only have a local interface and are bound using local-jndi

Re: [JBoss-user] JBoss-net xml-schema problem

2003-07-07 Thread Neal Sanche
Hi Mark, I had this exact problem. What I did was use the same prefix that I gave to the jbossnet code generator in my ANT script, to the @jboss-net:xml-schema tag, and it seems to have cleared it up. So, if you have in your ANT script: Then in your data object class XDoclet tag, you need to

Re: [JBoss-user] JBoss 4.0DR2 EJB Validation Errors

2003-07-06 Thread Neal Sanche
On July 6, 2003 11:54 am, Adrian Brock wrote: > On Sun, 2003-07-06 at 16:08, Neal Sanche wrote: > > Well, that's definitely true. But, since it's a local interface, > > I will generally not be. It is also a different interpretation of > > the spec than the JBos

Re: [JBoss-user] JBoss 4.0DR2 EJB Validation Errors

2003-07-06 Thread Neal Sanche
overs the > java.rmi.RemoteException requirement. > > Regards, > Adrian > > On Sun, 2003-07-06 at 14:19, Neal Sanche wrote: > > Good day, > > > > I tried JBoss 4.0.0DR2 the other day, and subjected it to the > > torture of my latest application. I was interested

[JBoss-user] JBoss 4.0DR2 EJB Validation Errors

2003-07-06 Thread Neal Sanche
Good day, I tried JBoss 4.0.0DR2 the other day, and subjected it to the torture of my latest application. I was interested in the new web service stuff, but wasn't able to get my .EAR file to load without validation errors. In particular, the validator was complaining that methods in local int

Re: [JBoss-user] WSDL Part names within messages.

2003-07-06 Thread Neal Sanche
Hi Mark, I've created a fresh xdoclet-module-jboss-net.jar from jboss-head this morning, I applied your patch, and a patch to allow Microsoft .NET clients to connect to web services in JBoss and put it up on my website at http://www.nsdev.org/jboss/stories/jboss-net.html I'm going to try and m

Re: AW: AW: [JBoss-user] Web Services and Basic Authentication

2003-06-27 Thread Neal Sanche
t; > Such that > > @jboss-net:authentication validateUnauthenticatedCalls="true" > > should give you the desired output (this was just quickly > recapitulated and may lack a few details ...) > > If you could implement this with a default to "false" and cou

Re: AW: [JBoss-user] Web Services and Basic Authentication

2003-06-26 Thread Neal Sanche
; > AFAIK, a security error in the JBossAuthenticationHandler should > force a 401 response through Axis and the Web layer and hence > trigger the resending in the M$ implementation. > > > CGJ > > > -Ursprüngliche Nachricht- > > Von: Neal Sanche [mailto:[EMAIL

[JBoss-user] Web Services and Basic Authentication

2003-06-25 Thread Neal Sanche
Hi All, I'm writing, or at least attempting to write, a .NET client that talks to a secured JBoss web service. I've followed the other threads in this list that state that I should set an acceptUnauthenticatedCalls flag to false, and that isn't working. It seems that Microsoft has followed the

Re: [JBoss-user] M$ Soap 3.0 toolkit and JBoss.net interop

2003-06-24 Thread Neal Sanche
I am also very interested in testing this functionality. I am currently writing an application for PocketPC using the new .NET Compact Framework, and nothing I have tried so far causes basic authentication to kick in. Is there an XDoclet module that includes the new validateUnauthenticatedCall

Re: [JBoss-user] Web services in JBoss 3.2 and 4 - looking for examples and litera ture

2003-04-04 Thread Neal Sanche
Well, I put a little exploration 'diary' up on my website that you can have a look at, maybe it'll help you get started? http://www.nsdev.org/jboss Enjoy. -Neal On Friday 04 April 2003 01:47 pm, Sasidharan, Manoj wrote: > Hello All, > > Is there any literature on how to develop web-services in

Re: [JBoss-user] Got it working ! (related to [auth using JSP])

2003-04-04 Thread Neal Sanche
On Friday 04 April 2003 08:57 am, Ionel Gardais wrote: > But, (there is always a "but"), how to proceed if I want this > authentication not to be done by a popup but by an html (or jsp) > page with input text tags for username and password ? Well, this isn't much different, but requires an additi

Re: [JBoss-user] logout

2003-04-03 Thread Neal Sanche
Hi Tibor, On Thursday 03 April 2003 09:53 am, [EMAIL PROTECTED] wrote: > How do I do a logout from a Struts Action? > I am using JaasSecurityManager of JBoss, with BASIC authentication > for the war, running in TomCat (btw.: digest auth seems to be > broken). Login works fine, however, I am not ge

Re: [JBoss-user] JBoss: Not Ready For Prime Time

2003-03-26 Thread Neal Sanche
Yer funny. -Neal On Wednesday 26 March 2003 10:02 pm, Ed Brown wrote: > I've been monitoring this email list for some time. Occasionally, > I've also posted here to get information. > > I've come to the conclusion that JBoss is not ready for prime time. > There are just too many bugs with the app

Re: [JBoss-user] One to Many CMR question.

2003-03-25 Thread Neal Sanche
Okay, thanks Alex, that's a good enough answer for me at the moment. I've already figured out a workaround, but it's much like using a relation-table. Just making sure I wasn't missing something. -Neal On Tuesday 25 March 2003 05:12 pm, Alex Loubyansky wrote: > No, not at the moment. Foreign ke

[JBoss-user] One to Many CMR question.

2003-03-25 Thread Neal Sanche
Okay, I'm just trying to find a simple piece of information. Can a one to many CMR be created that references a non-key field of another EJB? For instance I'd like to do the following: +-++---+ | Text || FunkyThi

Re: [JBoss-user] SOAP Connector

2003-03-21 Thread Neal Sanche
On Friday 21 March 2003 05:58 am, Alberto Rodriguez Galdo wrote: > I know there's a work in progress for adding a soap connector to > jboss. Where can i get examples of use and connector's code? I had some experience with using it, and put the information up on my JBoss experiments page: http://w

Re: [JBoss-user] Subclassing allowed in CMR?

2003-03-15 Thread Neal Sanche
Thanks for the info, After I posted the message I came up with a very similar idea to yours. The only problem I have with the description you gave is how you're doing the traversal to the 'info' table records from the parent class without having info_fk in the parent class for each info that y

[JBoss-user] Subclassing allowed in CMR?

2003-03-14 Thread Neal Sanche
Hi All, I'm currently designing an application and I want to use CMP and CMR to do the following: A 'Project' can contain a number of 'Items'. An Item is either a 'Task' or an 'Idea'. I've thought that the Project EJB could have a getItems CMR method that would return a collection of either

Re: [JBoss-user] Jetty SSL with 3.2.0RC2

2003-03-07 Thread Neal Sanche
ver/default/conf instead of the one in > server/default/deploy/jbossweb.sar/META-INF. Worked first time > after that. > > Your other info was also helpful. > > Frank > > On Friday, March 7, 2003, at 08:33 PM, Neal Sanche wrote: > > On Friday 07 March 2003 09:12 am, Frank Mor

Re: [JBoss-user] Jetty SSL with 3.2.0RC2

2003-03-07 Thread Neal Sanche
On Friday 07 March 2003 09:12 am, Frank Morton wrote: > I added the following to jboss-service.xml while running 3.2.0RC2 > under MacOS X: > > > > > 8443 > 5 > 255 > 5 > 2000 > name="Keystore">/usr/local/jboss/server/default/conf/keystore > mypwurd > mypwurd > > > Hey Frank, it really l

Re: [JBoss-user] Hooking mysql to latest Jboss/Tomcat Distro? FAQ's?

2003-03-06 Thread Neal Sanche
On Thursday 06 March 2003 02:09 pm, Mike wrote: > Can someone point me to the FAQ's? Im trying to find out the > necessary steps to use mysql instead of hypersonic database. > Basically what do I need to remove hdb and add mysql. I’ve googled > but find tons of howto's that are out of date. Any

Re: [JBoss-user] Re: update on automatic login

2003-03-05 Thread Neal Sanche
Well, I've not actually tried using a servlet to do a POST to the login page. In my old company, an applet was doing the POST, and the rest came down to clever cookie manipulation. Best of luck with it. -Neal On Wednesday 05 March 2003 12:43 pm, Ken Yee wrote: > FYI, if you access your form bas

Re: [JBoss-user] update on automatic login

2003-03-05 Thread Neal Sanche
Wouldn't it be possible for you to perform a POST from within a servlet using the same JSESSIONID cookie that the user's browser sent, then forward their browser back to the page? The POST would simulate a FORM login, and if the cookie is the same the web application would think it was the user

Re: [JBoss-user] JBoss Mbean XDoclet extensions?

2003-03-02 Thread Neal Sanche
gt; @jboss.depends object-name="test:service=Test" > > This is a jboss specific feature so it should use @jboss tags. > > This should make it into xdoclet 1.2b3 > > david jencks > > On 2003.03.01 12:55 Neal Sanche wrote: > > On Saturday 01 March 2003 11:20 a

Re: [JBoss-user] JBoss Mbean XDoclet extensions?

2003-03-01 Thread Neal Sanche
On Saturday 01 March 2003 11:20 am, Neal Sanche wrote: > I'm probably going to toy with how to modify the XDoclet template > to add the Class level tag for anonymous depends as an excercise, > just wanted to know a little more. Alright, so I toyed with the XDoclet 1.2b3 (latest) s

Re: [JBoss-user] JBoss Mbean XDoclet extensions?

2003-03-01 Thread Neal Sanche
gs if you need them. > > This is shown off in the xdoclet samples and used to build jb4 > transaction-service.xml. > > david jencks > > On 2003.02.28 22:16 Neal Sanche wrote: > > Hi All, > > > > I've been using the JBoss JMX extensions lately to create a > >

[JBoss-user] JBoss Mbean XDoclet extensions?

2003-02-28 Thread Neal Sanche
Hi All, I've been using the JBoss JMX extensions lately to create a jboss-service.xml for putting mbeans in a .sar file for deployment. Now I'd also like to set up an mbean dependency. Is there a way to do this with merge files, or other XDoclet voodoo? I know, sounds more like a question to b

Re: [JBoss-user] Jboss.net via https?

2003-02-27 Thread Neal Sanche
On Wednesday 26 February 2003 03:25 pm, John Fawcett wrote: > Hi, > > Is it possible to call webservices over https? I've looked through > the Jboss book, and I think I am missing the method in all the > (very interesting) detail... I would think all you'd have to do is configure Jetty within JBos

Re: AW: [JBoss-user] Confused about Web Service Security...

2003-02-26 Thread Neal Sanche
lowed/denied behaviour depending on the associated principals. > > I can only refer to the jboss.net testsuite in which there is a > whole chapter dedicated to that issue. > > CGJ > > -Ursprüngliche Nachricht- > Von: Neal Sanche [mailto:[EMAIL PROTECTED] > Ges

[JBoss-user] Confused about Web Service Security...

2003-02-25 Thread Neal Sanche
Hi All, Now that I have a simple web service running with JBoss.NET I'm now trying to enable access to a web service method that's secured by principals and roles within my EJB application. I'm completely confused about how to accomplish this on JBoss. Do I need to set up a security-constraint

Re: [JBoss-user] Web Services in JBoss 3.2.0RC1

2003-02-25 Thread Neal Sanche
On Thursday 13 February 2003 01:50 am, Neal Sanche wrote: > But, when I go to the axis servlet page that lists the wsdl links, > I got a NullPointerException in > > org.jboss.net.axis.server.EJBProvider.getServiceClass(EJBProvider.j >ava:162) > > I added a bit of code to fi

Re: [JBoss-user] Web Services in JBoss 3.2.0RC1

2003-02-25 Thread Neal Sanche
On Tuesday 25 February 2003 03:14 am, jK.MkIII wrote: > Neal Sanche wrote: > >Hi All, > > > >I've been trying to make a small test web service with JBoss > > 3.2.0RC1 and am running into a problem. I've created a .wsr and > > added it to my e

Re: [JBoss-user] stateful session bean idle timeout

2003-02-24 Thread Neal Sanche
I haven't done this for 2.4.3, but in JBoss 3.x you set the property on a UserTransaction object obtained from the JNDI lookup. I believe the object retured follows the javax.transactions.UserTransaction interface which allows a timeout to be set. So basically you have to start a transaction pr

[JBoss-user] Web Services in JBoss 3.2.0RC1

2003-02-12 Thread Neal Sanche
Hi All, I've been trying to make a small test web service with JBoss 3.2.0RC1 and am running into a problem. I've created a .wsr and added it to my ear with a web-service.xml that contains the following service section:

[JBoss-user] CMP Finder Problem

2002-12-25 Thread Neal Sanche
Hi All, I've been trying out JBoss 3.2.0 Beta3 on my holidays, and just trying to get an application ported to it. The majority of things have gone excellently. I figured out the new Datasource .XML files and got a MySQL datasource configured. Then I ran into something that took me a while to

Re: [JBoss-user] Pre compiling JSP Pages

2002-12-20 Thread Neal Sanche
> I am using jboss with tomcat. I want to precompiled my JSP pages, how > will I do that. The Jetty FAQ indeed has a very good description of how this is done. I was able to follow those directions and get my JSPs precompiled for use under JBoss using ANT to do the dirty work.

Re: [JBoss-user] Problem Compile JBoss 3.2

2002-12-01 Thread Neal Sanche
Looks like you've got the wrong JAVA_HOME environment variable, or the javac in your path is possibly part of some other package. Make sure JAVA_HOME points to a Sun Java distribution (or Blackdown of course), and your PATH points to it as well. That will probably help you. -Neal On Sunday 01

[JBoss-user] JMX Access to Secure EJBs

2002-11-24 Thread Neal Sanche
Hi All, Today I decided to play around with setting up a JMX service MBean that would access a Stateless Session bean inside my EJB layer. I created a JMX bean called TestService and at first I tried setting a LoginContext and UsernamePasswordHandler something like so: UsernamePasswordHandler

Re: [JBoss-user] Problem Lookup Local Home Entity Bean

2002-11-07 Thread Neal Sanche
Hi Phuwarin, I didn't mean to say you should use a Class.forName(), I was suggesting that in your earlier code you should print out the name of the class you were getting back from the InitialContext.lookup() call. Basically what you want to do is create an InitialContext as you have done, cal

Re: [JBoss-user] Problem Lookup Local Home Entity Bean

2002-11-06 Thread Neal Sanche
On Wednesday 06 November 2002 10:49 pm, [EMAIL PROTECTED] wrote: > I'm facing a problem when try to lookup to local home entity bean > with error "java.lang.ClassCastException". But I've no problem with > lookup to remote home. > > InitialContext ic = new InitialContext(); > out.print("JSP

Re: [JBoss-user] Programmatic Transaction Timeouts?

2002-11-01 Thread Neal Sanche
On Friday 01 November 2002 08:58 am, Langelage, Frank wrote: > Neal Sanche wrote: > >Hi All, > > > >For the most part, the default transaction timeout of 5 minutes is > >reasonable for my application. However there is one operation that > >the server needs to perfo

[JBoss-user] Programmatic Transaction Timeouts?

2002-11-01 Thread Neal Sanche
Hi All, For the most part, the default transaction timeout of 5 minutes is reasonable for my application. However there is one operation that the server needs to perform that, depending on the size of the files involved, can take 20 minutes, an hour, or more. I'm interested in setting the tran

Re: [JBoss-user] DatabaseServerLoginModule - failing authentication?

2002-10-27 Thread Neal Sanche
of the > bean to call it from anywhere. > > Any help or pointers will be greatly appreciated. > > Thanks, > > Derek > - Original Message - > From: "Neal Sanche" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]>; "John Snyder" > &l

Re: [JBoss-user] DatabaseServerLoginModule - failing authentication?

2002-10-27 Thread Neal Sanche
> Well, I was getting this as well, and what you can do about it is > add a section to your web.xml file like the following: > > > 403 > /authorizationError.jsp > > > The only time I've been able to see the page specified by > is if the Roles for a user are not sufficient. If > the u

Re: [JBoss-user] DatabaseServerLoginModule - failing authentication?

2002-10-27 Thread Neal Sanche
On Sunday 27 October 2002 12:26 pm, John Snyder wrote: > Hello all, > I am trying to use the DatabaseServerLoginModule with > jboss-3.0.0_tomcat-4.0.3, using a FORM login. All I am trying to do > at this point is to secure a JSP page called Office.jsp. > > When I try to go to the JSP page, the logi

Re: [JBoss-user] Packaging question.

2002-10-25 Thread Neal Sanche
t; You should try to use JBoss "Russian Doll" feature and put > everything in a single .JAR file > > Cheers, > > > Sacha > > > -Message d'origine- > > De : [EMAIL PROTECTED] > > [mailto:jboss-user-admin@;lists.sourcefo

Re: [JBoss-user] JBOSS-EJB HOT DEPLOYMENT PROBLEM

2002-10-25 Thread Neal Sanche
ve a dozen web-apps that all depend on one ejb jar file, and > I redeploy that ejb jar file, I shouldn't have to redeploy the > other dozen web-apps! > > -- Jim > > Neal Sanche wrote: > > You'll probably see that due to the classloading. I'd suggest > &

[JBoss-user] Packaging question.

2002-10-25 Thread Neal Sanche
Hi all, I have an application that has a custom JAAS module, a web application, EJBs, and JMX beans. Currently I have the Web application and the Web application in an .ear file, but what I'd like to do is bundle the JMX and JAAS module together as well. The JMX beans are bundled into a .sar f

Re: [JBoss-user] JBOSS-EJB HOT DEPLOYMENT PROBLEM

2002-10-25 Thread Neal Sanche
You'll probably see that due to the classloading. I'd suggest packaging your servlets and ejbs into an .ear file. That way both your servlets and your EJBs will use the same classloader, and will be restarted at the same time during hot deployment. I do this, and don't have any problems with cl

Re: [JBoss-user] Re: One to One Unidirectional Relation

2002-10-11 Thread Neal Sanche
Thanks! This was exactly the information I needed to solve this. I am actually using XDoclet to do the generation, and being new to CMR I hadn't set up any specific foreign key statements, but as soon as I did, the extra field in the Signature side of the relation dissapeared. Thanks again.

Re: [JBoss-user] CMR: One to One Unidirectional Relation

2002-10-11 Thread Neal Sanche
Yes, now that I understand that JBoss was simply automatically completing both sides of the relation because I hadn't been specific enough, completing the key-fields for one side of the relation worked perfectly. Thanks. -Neal On Wednesday 09 October 2002 02:31 am, Alex Loubyansky wrote: > He

  1   2   >