Hi Toby,
Toby Allsopp wrote:
I'm still concerned about this variable "c". It's not declared in that
bit of code, so it looks like it's a member field of the bean class. I'd
make it a local variable unless you have a really good reason.
Yes, that variable is a local variable, but it is
This problen is most probably caused by the inability of tomcat services to pass on
the credential properly to the jBoss. The
solution is to update your tomcat-services.jar with the latest code in contrib module.
good luck
~jm
Hein Saris wrote:
Hi,
I have successfully installed
Hi,
I still have not found a way to add a connection pool to a new database at
runtime.
Can this be done with JBoss ? How ?
Thanks,
Avi.
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
Are you sure you do not have any other instance runing at the same time using
the same address. ??
~jm
Arun wrote:
when i start jboss using run.sh
im getting this error
[EmbeddedTomcat] Starting
[EmbeddedTomcat] Starting EmbeddedTomcat
2001-04-18 01:14:47 - ContextManager: Adding
Hi everybody,
I'm using Tomcat3.2, jdk1.2.2(or Jdk1.3), Postgreql7.0.2
under linux mandrake 7.2.
After configuring jboss.jcml and jboss.conf, I try to
start jboss and I've got nothing.
Jboss begin to start using default config file and then
it frozen and I've to do Ctrl-c.
Have you got an idea
Hi all,
Once started JBoss 2.2, it raises the next exception after a few
seconds: These are the messages in the console:
Any ideas??
[Service Control] Started 17 services
[Default] JBoss 2.2.0 FINAL Started in 0m:5s
[Naming] java.io.IOException: Broken pipe
[Naming]at
Hi,
We have discovered it. This happens when netsaint, a program to
validate the status of applications, makes a ping to the JNDI port 1099.
Is possible to show the status of JBoss in other way from a remote system?
Cheers
Jose R.
Jose Ramon Diaz wrote:
Hi all,
Hi all,
could anybody tell me how I can configure jboss-tomcat embbeded with IIS?
Thanks in advance
Antonio
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
Hi i am getting javax.naming.NameNotFoundException, when trying to run the
InterestClient.
I have followed the ejb docs exactlly. Packaged the ejb jar, putting it in
the deploy dir,then running the client with; java -classpath
jboss-client.jar;jbosssx-client.jar;jnp-client.jar; InterestClient
Hi to all,
I searched the list archive, but cant find any solution to my problem.
I hope somebody can help me.
If I start the run.bat I get the following Exception:
Using configuration "default"
javax.management.ServiceNotFoundException: Problems while parsing URL
Is the latest version of jboss mature enough for
commercial use?
Other than the documentations that I can find from
jboss.org, where else I can find jboss documentations,
is there any downloadable version in pdf?
__
Do You Yahoo!?
Yahoo!
Sure... instructions are at
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/tomcat-iis-howto.htm
l
-- Dewayne
Hi all,
could anybody tell me how I can configure jboss-tomcat embbeded with IIS?
Thanks in advance
Antonio
___
JBoss-user
The key jar file is jnp-client.jar and the key directory to place it is
webapp/WEB-INF/lib. Looks like one of these is not happening.
jim
- Original Message -
From: "Brett Palmer" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, April 18, 2001 5:59 PM
Hi Dewayne,
I think that doc, it`s only to Tomcat.My problem is that I don`t know which
is the directory where the IIS has to point to.In a Tomcat + IIS
configuration that directory is the application directory, but in a
Jboss+Tomcat+IIS with an ".ear file" deployed in jboss\deploy, which is the
I'm not sure I understand the second sentence "... I don't know which is the
directory...". Can you explain what you're trying to do? For the most
part, configuring IIS+JBoss+Tomcat should be no different than configuring
IIS+Tomcat. But, maybe I'm missing something...
I think that doc, it`s
Hi,
A couple of basic questions regarding running jBoss in a production
environment
a) Can I run multiple instances of jBoss on a single server? If so what
changes are needed in the configuration?
b) Can jBoss integrate with external LDAP products like ADS or Netcape
LDAP? If this is
I'm not a Tomcat expert, but I believe that on your client side (in JSPs
and servlets, that is) you should be using Tomcat style login
interceptors. There is a JBoss interceptor that picks up the Tomcat
principal and credential and assigns the SecurityAssociation to the
thread. This way, as long
Hi,
I have exactly the same problem (please see email with
subject: JNDI and Connection Pool, etc. From
Pellegrini, John. Posted on Sun, 01 Apr 2001 06:49:56
-0700).
Please, does anybody know the answer to this problem.
thanks a lot,
Raka
--- Cokorda Raka Angga Jananuraga
[EMAIL PROTECTED]
Help, I need a document for install jboss and petstore,
before the patch jps1.1.1 go to
srs/petstore/src/
modify build.xml and change my directory o jboss.
before run sh build.sh
and I get..
...
Copying 1 files to /usr/local/jps1.1.1/src/petstore/build/classes
Compiling 97 source
I'm wondering if it is possible to create a finder method for an attribute
which is nested in another object attribute of my bean. For example, say I
have an Employee bean with an attribute of type Person (non bean) which has
an attribute of last and first name, and I want to make a method
Hi,
I'm trying to authenticate servlets against a a
JBoss realm. I've got the servlets and JSP authenticating against the
org.apache.tomcat.request.SimpleRealm and tomcat-users.xml file. This works
fine. But I know want to go to the next step and authenticate against a Jboss
realm. Hence
I am interested in others comments as well. We have the same interest. I
have had good luck in using the command line parameter settings for starting
JBoss and I can actually get multiple instances running. Things get more
complicated as one adds their own code.
a) I found that the default in
Hi,
I have developed a couple of EJB's for some kind of shared calendar for
which I have a web interface and a Java client. I run the servlets in
JServ/Apache, which works very well, but for "prettyness" reasons and
enhanced configurability, I'd like to package the whole thing in an EAR
archive.
You have to have a Tomcat realm ahead of the JbossRealm as the JbossRealm
just mpas the credentials obtained by the Tomcat Realm onto the JBoss notion
of the thread user.
- Original Message -
From: Ijonas Kisselbach
To: jbUser
Sent: Thursday, April 19, 2001 10:01 AM
Subject:
getUnderLyingResultSet returns a java.sql.ResultSet, and if you are using
racle then it returns oracle.jdbc.ResultSet or something like that, you have
to look up the exact class.
you get a classcast exception because you think it is a Minerva resultset.
getUnderLyingResultSet returns the actual
He's casting what was returned from executeQuery so that he can call
getUnderLyingResultSet.
Filip Hanik wrote:
getUnderLyingResultSet returns a java.sql.ResultSet, and if you are using
racle then it returns oracle.jdbc.ResultSet or something like that, you have
to look up the exact class.
Is it possible to configure the datasource that an
entity bean uses on a per-bean basis?
I have entity beans (container managed) that represent
tables in different databases. I would like to avoid
packaging them in different jar files. Is there any
way to do this?
Thanks,
Carles
I have the following coded in my jboss.jcml and I have included
postgresql.jar in my lib/ext folder, but JBoss hangs on startup. postmaster
is running with the -i option when I try this and I have a database setup
named ejb with ejbUser as a user and ejbUserPassword as the account
password.
My
So let me get this right.
First I authenticate within Tomcat, using the usual means This then sets
ups credentials which will be passed onto JBoss for further handling.
But always authenticate in Tomcat first... ??
This makes sense if this is the case. Can you confirm ?
Cheers,
Ijonas.
I can't say for sure, because I don't use Postgresql... but AFAIK, you
should
use the same values for the PoolName and the Name under the XADataSource
service.
ie:
mbean code="org.jboss.jdbc.XADataSourceLoader"
name="DefaultDomain:service=XADataSource,name=jdbc/PostgresDB"
attribute
Yeah no problem what so ever. The following works for BMP as well as CMP
beans.
Basically, all you need to do is specify different datasource resource
references in your ejb-jar.xml and jboss.xml files, e.g.:
ejb-jar.xml -
entity
I found a place in my EJB book (O'Reilly 2nd ed. pg. 159) that talks about
having a compound key as a primary key. It says that you have to map the
keys to corresponding fields in the bean class.
Ex. If 'Component' is a compound primary key and 'id' is an attribute of
'Component' which
Correct.
- Original Message -
From: "Ijonas Kisselbach" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April 19, 2001 11:44 AM
Subject: Re: [JBoss-user] JBoss 2.2: Servlet Authentication against JBoss realms. How ?
So let me get this right.
First I authenticate within
Please unsubscribe me.
Thanks
Rajeev
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
I just tried that and it still doesn't work.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Daniel
Cardin
Sent: Thursday, April 19, 2001 2:52 PM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] PostgreSQL 7.1 Datasource setup
I can't say for
Does any one know of a production quality library that integrates into JBoss
that can provide persistence of arbitrary objects into a RDBMS? I have
looked a bit at Castor, but it *looks* like this requires some extra
metadata for the object.
Any ways, if someone happens to know of something
My only thought is if you have pg_hba.conf set up to allow TCP from
localhost?
-danch
John Menke wrote:
I just tried that and it still doesn't work.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Daniel
Cardin
Sent: Thursday, April 19,
I am running JBoss w/ Embedded Tomcat + Apache (all the latest versions) on a RedHat
7.0 box. I have followed on the instructions on jakarta.apache.org to configure
Apache and Tomcat. However, this setup depends on Tomcat rewriting the
mod_jk.conf-auto file each time it starts. For whatever
Does any one know what the basic differences are between these two
databases? Is one better suited for production usage?
--jason
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
You shouldn't be using mod_jk.conf-auto. If you do, any changes you make
get overwritten each time you start Tomcat. mod_jk.conf-auto is only an
example. Make a copy of it, make any changes you need, and then use this
new file as your include from Apache.
-- Dewayne
- Original Message
Thanks for the quick response. That leads me to my next question:
Since JBoss dynamically creates directories to unpack .ear files (e.g.
/usr/local/jboss/tmp/deploy/Default/adb.ear/web1001) how can I tell Apache what paths
to use? Each time I redeploy my ear file, the location changes
It was related to that. (pg_hba.conf) I had an entry for localhost in the
pg_hba.conf. For some reason Postgresql was seeing the JBoss connection
coming from my local network IP address instead of localhost. I determined
this by trying to connect to a JSP page that uses the database from
Title: cocoon + jetty
I have followed the instructions posted here to get cocoon working with jboss/jetty. It works as specified.
My question is if I want to have the xml/xsl files in the ear file how do I do the configuration.
-Bob
i ran into this problem also. I ran tomcat.bat first which generated the
mod_jk.conf-auto, then killed off tomcat, and ran jboss with embedded tomcat
after.
hope this helps,
dave
- Original Message -
From: "Ryan Partridge" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April
The code we use:
l_query= "SELECT noticia FROM noticias";
l_pstmt = l_con.prepareStatement(l_query);
l_rst = l_pstmt.executeQuery();
// which of the next two lines should be here??
a) l_rst2 =
((org.jboss.minerva.jdbc.ResultSetInPool)l_rst).getUnderlyingResultSet(); //
JBOSS
Hi,
That is really great that *binary* release is bundled with sources now.
But, maybe, build directory should be also included in this case?
Scott M Stark wrote:
A new 2.2.1 release is available from the jboss.org page at sourceforge along
with a JBoss2.2.1/Tomcat3.2.1 bundle. See
Jason,
I know that InstantDB is in use by hundreds of
commercial products so I guess that says a lot! Also,
InstantDB, unlike Hypersonic is fully JDBC2.0 compliant and
even supports the XA protocol for distributed transactions.
More often than not, InstantDB is used with the Enhydra
I had this problem aswell, and i belive that the postgres
JDBC2 driver is to blame.
A quick fix to the problem is to edit the ResultSet.java file
in the Postgres driver source.
Change the line:
return ((c == 't') || (c == 'T'));
int the getBoolean function on line 184:ish to:
return ((c ==
I am running JBoss 2.2 on Window 2000.
I started jboss server and copied interest.jar to
the deploy directory and get
[Auto deploy] Auto deploy of
file:/C:/Install/JBoss/deploy/interest.jar
[J2EE Deployer Default] Stopping module interest.jar
[Container factory]
I am running JBoss 2.2 on Window 2000.
I started jboss server and copied interest.jar to
the deploy directory and get
[Auto deploy] Auto deploy of
file:/C:/Install/JBoss/deploy/interest.jar
[J2EE Deployer Default] Stopping module interest.jar
[Container factory]
Straight from the horses mouth I see. Thanks for the info.
--jason
On Thu, 19 Apr 2001, Paul A Morgan wrote:
Jason,
I know that InstantDB is in use by hundreds of
commercial products so I guess that says a lot! Also,
InstantDB, unlike Hypersonic is fully JDBC2.0 compliant and
even
We run RH7.0 with jBoss2.2 and Postgres7.1b5 - works like a dream.
Attached is out jboss.conf and jboss.jcml - have look at it. Will
not fit your need exactly, as we don't use tomcat and I also ripped
other MBeans which we don't need, but the postgres stuff should be
the same (change connection
Negative.
- Original Message -
From: "Alexander Kogan" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April 19, 2001 2:48 PM
Subject: Re: [JBoss-user] 2.2.1 release available at sourceforge
Hi,
That is really great that *binary* release is bundled with sources now.
This was answered a few days ago -- search the list archives if you can for
full details. But, in summary, if you really need Apache to serve your
static content instead of Tomcat serving it, the answer is "put static
content in a static place" (i.e., not in your .ear file).
-- Dewayne
From:
Set loggingEnabled to true in your jcml. God willing, that will allow
you to see the damned SQLException that's being thrown and eaten.
-danch
John Menke wrote:
It was related to that. (pg_hba.conf) I had an entry for localhost in the
pg_hba.conf. For some reason Postgresql was seeing the
JBOSS 2.0 Final on Linux:
Here the situation, I start JBOSS without any beans
deployed. I deploy my beans (three for what it's worth.) Every thing
is fine, test programs work, jndiView class shows the home interfaces. I
stop JBOSS. I start JBOSS. The beans "seem" to be redeployed,
however
I have a service bean (stateless session) which
maintains metadata on my system (call it MSB.)MSB is used by other
beans (call themWorker Beans.) It appears that I must deploy the MSB
first (which I would expect.) However when I deploy the Worker Beans that
use the MSB they give an error at
Hi,
In ejb project(include .war file), Can i use a properties file?
because I think properties file is convenient.
if i can use a properties file, where can i put it? and how can i use it
in a java file?
thanks,
Sam Liu.
http://lists.sourceforge.net/lists/listinfo/jboss-user
Robert,
I used your versions of jboss.conf and jboss.jcml with the adjustments for
jdbc url. (Thanks:)) It looks like it ran well. Take a look at the log
though. I have this phantom datasource at the bottom again!! Where is
DefaultDB coming from?? For that matter where is BlackBoxDB coming
Does anyone have any opinions as to which contain is more robust, easier to
use and such?
--jason
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
Tomcat is more robust and extensible. Jetty is lightweight and fast.
Alvin
Jason Dillon wrote:
Does anyone have any opinions as to which contain is more robust, easier to
use and such?
--jason
___
JBoss-user mailing list
[EMAIL PROTECTED]
Hi. Please don't reply to a random message when you're starting a new thread.
On Fri, Apr 20, 2001 at 10:17:33AM +0800, Sam Liu wrote:
In ejb project(include .war file), Can i use a properties file?
because I think properties file is convenient.
if i can use a properties file, where can i
Has anyone successfully deployed a non trivial .ear (ie something other than
the example ear) under the integrated Tomcat-JBoss binary?
I've read the docs. I've reviewed the working sample. I've tried what
seems to be every concievable permutation of .jcml, .conf, manifest settings
that I can
In addition to the tomcat+jboss howto, you should read the "Deployment
on JBoss" section.
Also, get the tomcat-test.ear app from the contrib suite to see how it's
done.
It does work.
Victor
- Original Message -
From: "Bill Pfeiffer" [EMAIL PROTECTED]
Date: Thursday, April 19, 2001
Just use a simple ResultSet:
Connection connection = ((DataSource)new
InitialContext().lookup("java:comp/env/jdbc/DefaultDS")).getConnection();
Statement stmt = connection.createStatement();
ResultSet rs = stmt.executeQuery("SELECT count(*) from account");
-
Does jBoss support running a j2ee app client within a container?
Something like "runclient.bat" in the J2EE reference implementation?
Victor
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
I haven't been following your thread but if you leave jboss-auto.jcml lying
around ( and aren't using the -very- latest ( i think 2.3, maybe 2.2.1)
sources you will keep getting all the mbeans from your previous runs even
though you removed them from jboss.jcml. Delete jboss-auto.jcml and these
A new 2.2.1 release is available from the jboss.org page at sourceforge along
with a JBoss2.2.1/Tomcat3.2.1 bundle. See http://sourceforge.net/projects/jboss/
An new JBoss2.2.1/Jetty bundle will be released later today.
See the Change Notes with Group=v2.2.1 for the changes relative to the
Hi,
Is there a way to check if a user's session is valid in JBoss? Is there a
JBossmethod or function that I can call. Outside of that there is always the
session time out.
Southin
___
JBoss-user mailing list
[EMAIL PROTECTED]
On the topic of flushing the EJB cache
Francois Archambault said...
|So we created our own LRUEnterpriseContextCachePolicy class to be able
|to passivate beans with JMS messages. We actually call the ageOut
|method with the beans key we want to flush by going through the LRUList
|obtains from
Hi,
Step 1. You should have a getConnection() method
that returns a java.sql.Connection object, which is retrieved through
Context.lookup(). We use a base class with the following method:
protected Connection getConnection()
throws SQLException { Connection conn =
null; Object o;
71 matches
Mail list logo