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

2004-01-26 Thread Neal Sanche
, 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 PROTECTED] Sent by: [EMAIL PROTECTED] 21.01.2004 22:55 Please respond to [EMAIL PROTECTED

[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

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've recently been having problems with MDBs not receiving messages

[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

[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: [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 doing differently, as far as I can tell, is to set

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

2003-12-23 Thread Neal Sanche
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, I'm running a JBoss on a machine that tends to have an IP address change

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

2003-12-23 Thread Neal Sanche
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 machine. Shouldn't the TCP/IP connection just stay up all the time? I've

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

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

2003-12-12 Thread Neal Sanche
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, you are 'guest' which means you have been given a session, but have not authenticated. Then you can 'login' and then see

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

[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

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

2003-11-26 Thread Neal Sanche
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 to solve. Thanks. -Neal

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 checking out why

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, putting my MDB beans into the JNDI

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) { //

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

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 away. -Neal

[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] Read only CMR Collections?

2003-11-10 Thread Neal Sanche
. 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 many relations. Navigating down a 1 to 1 relation works fine. The thing is, all I'm trying to do

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

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

[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

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 was posted a *long* time ago

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

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

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 =

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

2003-09-05 Thread Neal Sanche
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, September 4, 2003, at 10:36 PM, Neal Sanche wrote: Okay, so I spent a little more time and read through

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

2003-09-05 Thread Neal Sanche
, 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, I am using xdoclet. This is what you do for JBoss-QL

Re: [JBoss-user] which xdoclet tag creates ejb-local-ref 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-local-ref

[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

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

2003-09-04 Thread Neal Sanche
, 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 'BETWEEN' statements. I'm trying to select

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

2003-09-03 Thread Neal Sanche
Did you add the .JAR to your application.xml? module javamy.jar/java /module 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

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

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've done some digging, finding

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

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 distinct

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

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

[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

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: jbossnet prefix=myapp ... / Then in your data

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

[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

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

2003-07-06 Thread Neal Sanche
, 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 in the new web service stuff, but wasn't able to get my .EAR file to load without validation errors

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 JBoss 3.2 server's enforce. Is this something

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

2003-06-27 Thread Neal Sanche
be forever yours ;-) CGJ -Ursprüngliche Nachricht- Von: Neal Sanche [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 26. Juni 2003 17:51 An: [EMAIL PROTECTED] Betreff: Re: AW: [JBoss-user] Web Services and Basic Authentication Hi Dr. Jung, I have definitely been able

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

2003-06-26 Thread Neal Sanche
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 PROTECTED] Gesendet: Donnerstag, 26. Juni 2003 04:58 An: JBoss

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

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 additional

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

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

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

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

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:

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

[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

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: Call name=addListener Arg New class=org.mortbay.http.SunJsseListener Set name=Port8443/Set Set name=MinThreads5/Set Set name=MaxThreads255/Set Set

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

2003-03-07 Thread Neal Sanche
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 Morton wrote: I added the following to jboss-service.xml

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. Ive googled but find tons of howto's that are out of date. Anyway,

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

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

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

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

2003-02-26 Thread Neal Sanche
-Ursprüngliche Nachricht- Von: Neal Sanche [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 26. Februar 2003 00:45 An: [EMAIL PROTECTED] Betreff: [JBoss-user] Confused about Web Service Security... Hi All, Now that I have a simple web service running with JBoss.NET I'm now trying to enable

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 ear with a web-service.xml that contains the following service

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 figure out exactly what was null

[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

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

[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: service name=TestService provider=Handler parameter

[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. target

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:

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,

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

[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

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 perform that, depending on the size

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 login

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: error-page error-code403/error-code location/authorizationError.jsp/location /error-page The only time I've been able to see the page specified by

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

2002-10-27 Thread Neal Sanche
. Thanks, Derek - Original Message - From: Neal Sanche [EMAIL PROTECTED] To: [EMAIL PROTECTED]; John Snyder [EMAIL PROTECTED] Sent: Sunday, October 27, 2002 10:58 AM Subject: Re: [JBoss-user] DatabaseServerLoginModule - failing authentication? On Sunday 27 October 2002 12:26 pm

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

[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

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

2002-10-25 Thread Neal Sanche
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 packaging your servlets and ejbs into an .ear file. That way both your servlets

Re: [JBoss-user] Packaging question.

2002-10-25 Thread Neal Sanche
Russian Doll feature and put everything in a single .JAR file Cheers, Sacha -Message d'origine- De : [EMAIL PROTECTED] [mailto:jboss-user-admin;lists.sourceforge.net]De la part de Neal Sanche Envoye : vendredi, 25 octobre 2002 18:51 A : '[EMAIL PROTECTED

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

2002-10-08 Thread Neal Sanche
Hi All, Am I misunderstanding the meaning of Unidirectional? I have declared a One to One Unidirectional relation from a RepositoryEntry to a Signature. When JBoss creates the tables, RepositoryEntry is given a signature field, as expected, but it also creates a RepositoryEntry field in the

Re: [JBoss-user] CMP and relationships -

2002-09-24 Thread Neal Sanche
On Tuesday 24 September 2002 02:29 pm, you wrote: Hello! I am developing a J2EE application with JBoss 3.0.0. My application has 10-15 Entity beans. I am using CMP for all of them and I am also creating all the relationships between them. Can any one tell me if this is the best option,

[JBoss-user] Security for Database usernames and passwords...

2002-09-22 Thread Neal Sanche
Hi All, I've been reading through many of the posts related to setting up login-config.xml to provide the username and password for data sources. I can envision a way to put an added level of security for the database username and password instead of using the ConfiguredIdentityLoginModule

Re: [JBoss-user] Error When Starting JBoss 3.0.2

2002-09-10 Thread Neal Sanche
You might be already running a Java service that uses an RMI registry. That's the port that is in use already. If you need to run more than one registry, search for 1099 in the conf/ directory, and replace it with some other port, like 2099, or 10990, and then start up JBoss. Just remember

[JBoss-user] Oracle DBA CMP Strangeness

2002-07-15 Thread Neal Sanche
Hi All, Today one of our developers found a neat problem with the CMP queries in JBoss 3.0.1RC1 that I thought I'd make mention of in case others run into the same problems. We had created a database for a particular user that was granted DBA privileges. Since the queries for CMP weren't

Re: [JBoss-user] Jboss CMP

2002-07-09 Thread Neal Sanche
I think that might be due to the DOCTYPE you're using in one of your deployment descriptors perhaps? Make sure your deployment descriptors are for CMP 2.x, and not a lower version. !DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN

Re: AW: [JBoss-user] Jboss CMP

2002-07-09 Thread Neal Sanche
response. in fact i had an erroy with my = DOCTYPE in jboss.xml Now everything is working fine :-) - Ingo -Urspr=FCngliche Nachricht- Von: Neal Sanche [mailto:[EMAIL PROTECTED]] Gesendet am: Dienstag, 9. Juli 2002 15:32 An: [EMAIL PROTECTED] Betreff: Re: [JBoss-user

Re: [JBoss-user] Jetty and Port 80

2002-07-07 Thread Neal Sanche
Hi David, I would think that RedHat 7.2's kernel is probably fully modular. I simply put the following into my /etc/modules file: ipt_MASQUERADE ipt_REJECT ipt_REDIRECT ipt_TCPMSS ip_conntrack And then you should be able to use your redirect statements, as below. Unfortunately it will only

[JBoss-user] CMR Questions

2002-07-05 Thread Neal Sanche
Hi All, I've been playing with CMR in JBoss 3.0.1RC1 and have had my first success with both Many To Many and One to One relations upon inserting records. I'm using an Oracle datasource and I have noticed a couple of strange things. I've set my entity beans to remove the database table when

Re: [JBoss-user] CMR Questions

2002-07-05 Thread Neal Sanche
On Friday 05 July 2002 12:49 pm, you wrote: Neal Sanche wrote: I've set my entity beans to remove the database table when undeployed because I'm testing and making all kinds of changes. One thing I noticed is that the database table for the Many to Many relation didn't get deleted

Re: [JBoss-user] Error creating table

2002-06-30 Thread Neal Sanche
Probably because 'index' is a reserved word. Try changing the name of your field to something else, like 'value'. Cheers. -Neal On Sunday 30 June 2002 05:24 pm, you wrote: Hi, I´m getting an error while my beans are being deployed. Why is the SQL syntax wrong? When I try to execute the

  1   2   >