RE: [JBoss-user] Re: jboss.net: SOAP Attachments anyone?

2004-01-31 Thread Alastair Rodgers
the web-service.xml? Rob Alastair Rodgers wrote: It sounds like the 'apachesoap:DataHandler' might not be mapped correctly. I achieve this using the following in the Axis WSDD file: service name=myservice provider=java:RPC xmlns:ns1=http://www.blah.com/myservice; parameter name

RE: [JBoss-user] jboss.net: SOAP Attachments anyone?

2004-01-28 Thread Alastair Rodgers
It sounds like the 'apachesoap:DataHandler' might not be mapped correctly. I achieve this using the following in the Axis WSDD file: service name=myservice provider=java:RPC xmlns:ns1=http://www.blah.com/myservice; parameter name=wsdlTargetNamespace value=http://www.blah.com/myservice/

RE: [JBoss-user] Oracle Connection Pooling in 3.2.2

2004-01-07 Thread Alastair Rodgers
Out of interest, what happens if you omit min-pool-size/max-pool-size? Does this mean connections are not pooled, or does JBoss still use a pool but with some default settings instead? If the latter, where do the defaults come from? Al. -Original Message- From: [EMAIL PROTECTED]

[JBoss-user] Classloader issues

2003-11-26 Thread Alastair Rodgers
Hi, I have a legacy EAR which is currently deployed on JBoss 3.0.8. This contains a WAR an EJB JAR, and the web app invokes an EJB in the EJB JAR. This has always worked fine using the UCL and with Jetty's Java2ClassLoadingCompliance set to true. However, I now need to deploy a new EAR

[JBoss-user] RE: Classloader issues

2003-11-26 Thread Alastair Rodgers
that jar made no use of the package in question! Al. -Original Message- From: Alastair Rodgers Sent: 26 November 2003 11:56 To: '[EMAIL PROTECTED]' Subject: RE: Classloader issues app I get a ClassCastException doing PortableRemoteObject.narrow() on the remote

[JBoss-user] RE: Classloader issues

2003-11-26 Thread Alastair Rodgers
that jar made no use of the package in question. Al. -Original Message- From: Alastair Rodgers Sent: 26 November 2003 11:56 To: '[EMAIL PROTECTED]' Subject: RE: Classloader issues app I get a ClassCastException doing PortableRemoteObject.narrow() on the remote interface

RE: [JBoss-user] Removing items from a CMR collection

2003-09-10 Thread Alastair Rodgers
It looks like you're no longer calling remove() on the bean itself though; you need to do that too - i.remove() just removes it from the collection, it doesn't delete the bean. Al. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Hixson

RE: [JBoss-user] jboss changes jsp page encoding

2003-09-02 Thread Alastair Rodgers
Try adding a page directive at the top of your JSP to set the content type charset encoding, e.g. %@ page contentType=text/html;charset=UTF-8 language=java % Regards, Al. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jiri Chaloupka Sent: 02

RE: [JBoss-user] JBoss 3.0.7 and maximum open cursors exceeded

2003-08-26 Thread Alastair Rodgers
It's a while since I've used Oraclie 8i, but I think there was a discrepancy between the JDBC spec and the 8i drivers: when you close a statement it *should* close any associated ResultSet, but this didn't always work. So with Oracle, you should always explicitly close each result set,

RE: [JBoss-user] file upload problem

2003-08-18 Thread Alastair Rodgers
My company is doing file upload via a servlet without any problems (JBoss 3.0.6 with Jetty, using Jason Hunter's com.oreilly.servlet.MulipartRequest class to get the file from the HTTP request). I think the IO restrictions Heiko is referring to are the EJB restrictions - i.e. no file system

RE: [JBoss-user] j_security_check JBoss/Jetty

2003-07-15 Thread Alastair Rodgers
jsp. If they select that first they do not get directed to the startup page after. On Thu, 2003-06-26 at 20:58, Brian Wallis wrote: On Wed, 25 Jun 2003 19:39, Alastair Rodgers wrote: You don't need to write any special Action or Form classes to use JAAS with Struts. The steps you

RE: [JBoss-user] How to configure JBoss-Jetty to serve static content?

2003-07-02 Thread Alastair Rodgers
I'm not sure whether Jetty allows you to do this directly. If not, you could write a servlet which reads the file data streams it to the HTTP response. Al. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Herve Tchepannou Sent: 02 July 2003

RE: [JBoss-user] Problem with sudden unexpected shutdown

2003-06-20 Thread Alastair Rodgers
out a kill -9, but that's probably not a good way to force JBoss down either. Dustin -Original Message- From: Alastair Rodgers [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 12:11 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Problem with sudden unexpected

RE: [JBoss-user] Problem with sudden unexpected shutdown

2003-06-19 Thread Alastair Rodgers
I had a problem a while back on Solaris too, whereby I was using nohup and putting the process in the background but it still hung up when I logged off. The way round it was, after logging on, start a new shell (can't remember if it mattered which - I used ksh) then run JBoss from that (using

RE: [JBoss-user] MDB dependency on JMS

2003-06-12 Thread Alastair Rodgers
From a previous post from Scott Stark: Set the URLDeploymentScanner RecursiveSearch to true in the conf/jboss-service.xml descriptor and read the release notes about this propety. This was supposed to be True by default but it was not set apparently. attribute

RE: [jetty-support] Re: [JBoss-user] Session scope when forwarding to a separate web app

2003-05-30 Thread Alastair Rodgers
forwarding to a separate web app A patch for this issue has gone into Jetty CVS and will propogate to JBoss shortly. cheers Jules Gosnell wrote: Alastair Rodgers wrote: Hello, I think I've come across a bug with HTTP session tracking in JBoss 3.0.6. I don't know

RE: [JBoss-user] res-url and external resources.

2003-04-04 Thread Alastair Rodgers
One option is to store your file URLs, etc., in JNDI. You could write a custom MBean to read the localised properties from a file at system startup and load them into JNDI. Your app then just looks up the values from JNDI at runtime. The service.xml for your MBean might look something like:

RE: [JBoss-user] Starting threads from session beans

2003-03-28 Thread Alastair Rodgers
No, the EJB 2.0 Spec doesn't permit it. Section 24.1.2 (page 495) states: quote The enterprise bean must not attempt to manage threads. The enterprise bean must not attempt to start, stop, suspend, or resume a thread; or to change a thread's priority or name. The enterprise bean must not attempt

RE: [JBoss-user] Starting threads from session beans

2003-03-28 Thread Alastair Rodgers
- From: Alastair Rodgers Sent: 28 March 2003 09:30 To: '[EMAIL PROTECTED]' Subject: RE: [JBoss-user] Starting threads from session beans No, the EJB 2.0 Spec doesn't permit it. Section 24.1.2 (page 495) states: quote The enterprise bean must not attempt to manage threads. The enterprise