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
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
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
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
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
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
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:
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:
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
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
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
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
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
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
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
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
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 (
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
33 matches
Mail list logo