RE: [JBoss-user] unable to find login configuration file

2001-08-10 Thread Paul Austin
Title: RE: [JBoss-user] unable to find login configuration file Under the conf directory there is one configuration directory for each config you have, normally this would be default and tomcat. Some older versions of jboss always looked for the auth.conf in the default directory. If you are

[JBoss-user] Is unchecked access implemented for unauthenticated users?

2001-08-09 Thread Paul Austin
I am implementing a custom LoginModule on JBoss 2.4 BETA(Rel_2_4_0_26) which is working fine and authenticating users and assigning roles. I am no experimenting with unchecked access an unauthenticated users and am getting a SecurityException ([Image] Insufficient method permissions, princip

RE: AW: [JBoss-user] JBoss and Java Web Start

2001-08-09 Thread Paul Austin
Federico, You do not need to use the sun j2ee.jar file as this contain their reference implementation as well as the required ejb classess. If you use the jboss\client\jboss-j2ee.jar instead this contains the packages required by jboss for ejb, jms, resource and transaction. This file is only 58k

RE: [JBoss-user] (remote) debugging of servlet

2001-08-09 Thread Paul Austin
Title: RE: [JBoss-user] (remote) debugging of servlet Sven, The remote debugging is a feature of java and the -Xdebug is passed to the command line to java that starts JBoss. To do this I create an environment variable called DEBUG which I can then just include on the start-up command when

RE: [JBoss-user] JBOSS INTEREST EXAMPLE

2001-08-07 Thread Paul Austin
Title: RE: [JBoss-user] JBOSS INTEREST EXAMPLE Here is a summary of ejb-jar files, war files and ear files and how to build them with ant. Before we start it is recommended to have a standard directory structure set up, this can be as simple or as complex as you want but for most applicatio

RE: [JBoss-user] Authentication POP-UP-SCREEN in JBoss.

2001-08-07 Thread Paul Austin
Title: RE: [JBoss-user] Authentication POP-UP-SCREEN in JBoss. Check out the documentation on the jboss web site at http://www.jboss.org/documentation/HTML/ch11s61.html. Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Se

RE: [JBoss-user] HELP! EJB 1.1 specification compliance

2001-07-31 Thread Paul Austin
Daniel, try chaging the Application to Container in the ejb-jar.xml. Also in the jboss.xml the tag is not required. Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Daniel CAUNE Sent: 31 July 2001 15:03 To: [EMAIL PROTECTED]; Gregor Rayman Subject:

RE: [JBoss-user] can you explain these verification errors?

2001-07-26 Thread Paul Austin
Title: RE: [JBoss-user] can you explain these verification errors? Mike, If you look at PromotioBean it does not have the java.rmi.RemoteException in the throws clause. Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mike Williams Sent:

RE: [JBoss-user] Second post : Problem with Oracle 8i , Cyrillic and Unicode

2001-07-24 Thread Paul Austin
Title: RE: [JBoss-user] Second post : Problem with Oracle 8i , Cyrillic and Unicode What happens when you load the data back out of the database and display it in a text field does it still have the again. It could just be that System.out.println does not handle the unicode characters co

RE: [JBoss-user] RE: Embedded Tomcat with JBoss Not Able to Call JSPs

2001-07-18 Thread Paul Austin
Title: RE: [JBoss-user] RE: Embedded Tomcat with JBoss Not Able to Call JSPs Prashant, The jms uses a directory to store data before it can send it. In this version of jboss this directory is not in the distribution. If you create the directory jboss\db\jbossmq and restart it will create al

RE: [JBoss-user] Embedded Tomcat with JBoss Not Able to Call JSPs

2001-07-18 Thread Paul Austin
Title: RE: [JBoss-user] Embedded Tomcat with JBoss Not Able to Call JSPs Prashant, Where did you add the tools.jar to your classpath, if it is in your system classpath this will not be used as the default run script does not use the system class path. In the jbosa\bin\run.bat file you need

RE: [JBoss-user] Closing connections, etc

2001-07-10 Thread Paul Austin
Jim, The reason that you should close all the resources in reverse order is to insure that all resources are cleaned up. There are bugs in some drivers that do not perform correct clean up if you fail to close the result set and statement first. You should also catch any exceptions from the first

RE: [JBoss-user] help with security

2001-06-27 Thread Paul Austin
Mike,   I have the same problem when I use a web app that is defined as a Context within the Tomcat server.xml configuration file. As you are using the admin context I presume you are using the standard configuration and placing your files in the admin web app directory. The only way I have

RE: [JBoss-user] how can I modify MANIFEST.MF file

2001-06-21 Thread Paul Austin
Title: RE: [JBoss-user] how can I modify MANIFEST.MF file How are you creating the war file? If you atre using jar you can use the 'm' option to specify the manifest file on the command line check out the jar docs at http://java.sun.com/j2se/1.3/docs/tooldocs/solaris/jar.html. If you are usin

RE: [JBoss-user] Log4j & JBoss - HowTo?

2001-06-21 Thread Paul Austin
Title: RE: [JBoss-user] Log4j & JBoss - HowTo? Robert, With log4j you can separate your log messages to a separate file. I have the following entry in my log4j.properties file which logs my stuff to a new file. ### The nhigh appender log4j.appender.Nhigh=org.apache.log4j.FileAppender lo

RE: [JBoss-user] Log4j & JBoss - HowTo?

2001-06-21 Thread Paul Austin
Title: RE: [JBoss-user] Log4j & JBoss - HowTo? Robert, I have attached two versions of jboss.conf, one is the original version that does not use the log4j.properties file and the other is my version that uses the log4j.properties file (the shorter one of the two). You can then use the log4

RE: [JBoss-user] Multiple Datasources oracle

2001-06-20 Thread Paul Austin
Title: RE: [JBoss-user] Multiple Datasources oracle I think it may be having a problem with the extra / after the Oracle in the other data source try using jdbc/OracleBA instead. Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Stephen White (

[JBoss-user] How to make a binary distribution

2001-06-20 Thread Paul Austin
Title: How to make a binary distribution Is there a build.xml file that takes all of the jboss source modules and builds a new version of the application? cheers, Paul

RE: [JBoss-user] Proper shutdown under Linux

2001-06-20 Thread Paul Austin
Laurens,   The jboss management interface can be used to shutdown jboss via http://localhost:8082/ViewObjectRes//DefaultDomain%3Atype%3DShutdown.   Paul -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Laurens FridaelSent: 20 June 2001 09:44To

RE: [JBoss-user] JDBC / ResultSet Question

2001-06-20 Thread Paul Austin
Title: RE: [JBoss-user] JDBC / ResultSet Question Hi, Assuming your jdbc driver supports scrollable results sets you can use code such as the following that will jump to the startRow and return the next rowCount items. If scrollable result sets are not supported you will need to have a loop

RE: [JBoss-user] Jaws Mapping

2001-06-18 Thread Paul Austin
Title: RE: [JBoss-user] Jaws Mapping Marcel, The ejb-jar.xml contains the generic configuration for beans, the mapping between the fields  and the columns in the database needs to be done in the container specific deploment description. For jboss this is the jaws.xml file, the jboss documen

[JBoss-user] jboss-web.xml in web contexts defined in server.xml instead of a war file not working

2001-06-14 Thread Paul Austin
Title: jboss-web.xml in web contexts defined in server.xml instead of a war file not working I have a web application that uses JAAS security to secure servlets. When the app is deployed as a war file the user is allowed access to the servlets. When the application is defined as a context in

RE: [JBoss-user] Non-unique Primary Keys

2001-06-14 Thread Paul Austin
Title: RE: [JBoss-user] Non-unique Primary Keys Sun's J2EE developer guide has a good section on this at http://java.sun.com/j2ee/j2sdkee/techdocs/guides/ejb/html/Entity6.html#9455. Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Nordahl, D

RE: [JBoss-user] TomCat and Apache

2001-06-13 Thread Paul Austin
Title: RE: [JBoss-user] TomCat and Apache Emerson, I am running jboss 2.2.2 with tomcat 3.2.2 and apache 1.3.12 on Windows 2000 and Linux and they work well together. For details on setting up mod_jk for the link between apache and tomcat have a look at http://jakarta.apache.org/tomcat/tomc

RE: [JBoss-user] jBoss cannot handle char primitive type

2001-06-12 Thread Paul Austin
Kar,   Could you post the code for this, it looks as if it is looking for an Object of type Char not the primative type char. The object wrapper for char is the class java.lang.Character.   Paul -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of

[JBoss-user] Secure access to set methods but no security on get methods

2001-06-08 Thread Paul Austin
exception. Is there currently any way in jboss to say these methods do not require a valid user?   Paul   Paul Austin Viant Tel: +44-20-7984-7158 Fax: +44-20-7984-7101 AIM: PaustinViant YahooIM: p_d_austin JabberIM: paustin    

RE: [JBoss-user] :-( EAR & Support Jars...

2001-05-25 Thread Paul Austin
You need to put the support.jar in the /WEB-INF/lib directory in the war file. Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Lewis Henderson Sent: 25 May 2001 15:21 To: JBoss User (E-mail) Subject: [JBoss-user] :-( EAR & Support Jars... I've tra

[JBoss-user] Log4j xml configuration in the log4j service mbean

2001-05-24 Thread Paul Austin
Are there any plans to modify the Log4jService to use the DOMConfigurator if the user specifies a xml config file?   cheers, Paul   Paul Austin Viant Tel: +44-20-7984-7158 Fax: +44-20-7984-7101 AIM: PaustinViant YahooIM: p_d_austin JabberIM: paustin    

RE: [JBoss-user] tools for ear

2001-05-23 Thread Paul Austin
You can use the jar task in ant to create an ear file is it is just a jar file with the .ear extension. Below is two example tasks one to create the war file and one to create the ear file. For this example to work you will ne

RE: [JBoss-user] mySQL auto increment and CMP entity beans

2001-05-22 Thread Paul Austin
Georg, The code I am using is as follows, I had thought of creating an additional bean to do this but was wondering if there was an easier way. public Long ejbCreate(String name) throws CreateException, RemoteException { if (log.isInfoEnabled()) { StringBuffer s = new StringBuffer("e

RE: [JBoss-user] ejbLoad difference between Sun RI and JBOSS

2001-05-21 Thread Paul Austin
Jim, The ejbActivate method in the example sets the id attribute to the primary key from the context. This method is called by the container when it changes to entity that the bean is referencing, before it does this it changes the primary key value to the primary key of the entity the bean will

[JBoss-user] mySQL auto increment and CMP entity beans

2001-05-21 Thread Paul Austin
property to this value.   Thanks, Paul   Paul Austin Viant Tel: +44-20-7984-7158 Fax: +44-20-7984-7101 AIM: PaustinViant YahooIM: p_d_austin JabberIM: paustin    

RE: [JBoss-user] Database connection pool hangs...

2001-05-21 Thread Paul Austin
To be totally safe on all drivers you should also close any result sets and statements as well has connections, I use the following code as a template for sql routines. This will make sure that everything is always closed. Paul Connection con = null; Statement stmt = null; ResultSet rs = null; t