Thanks Tim.
Isidoro Fernández Díaz
mailto:[EMAIL PROTECTED]
Software Engineer
TELENIUM, The New Millennium Telecom Company
Agustín de Foxá, 25, plta. 13
28036 MADRID
Tel. +34 91 315 85 62
Fax +34 91 315 63 37
http://www.telenium.es
-Mensaje original-
De: [EMAIL PROTECTED]
[mailto:[EMAI
Hello Éric,
JBoss is using a cache for the principals already authenticated. The
cache has a timeout and it's default lifetime is 30 minutes. If you
need an immediate update you could write your own CachePolicy. See a
mail from Scott Stark (04/06/2001) for some details about this.
Tobias
Hi Peter,
we posted the results yesterday (see posting by [EMAIL PROTECTED],
Subject : "Benchmark results for MDBs"). What benchmark are you referring to
(progress ?), and where can I find infos about it ?
Best regards,
Jubin Zawar
> -Ursprungliche Nachricht-
> Von: [EMAIL PROTECTED]
>
> org.apache.jasper.JasperException: Unable to compile class for
> JSP/usr/local/jakarta_3.2.1/jakarta-tomcat-3.2.1/work/localhos
> t_8080%2Fcustomer/_0002ftest_0005fservlet_0002ejsptest_0005fse
> rvlet_jsp_13.java:59: Class
> Customer not found.
> Customer u = (Customer)
> reque
Put in your email address and go to this address:
http://lists.sourceforge.net/lists/options/jboss-user/ENTER-YOUR-EMAIL
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
hi!
I have downloaded jboss version 2.2.1. i have JVM
path in place. (i have jdk1.3). but still when i run the server it throws an
exception. Can anyone tell me whats going wrong?
Thanks in advance . I am giving the error thats
thrown up.
regards rahul
C:\JBoss-2.2.1\bin>runJBOSS_CLASS
Thanks for your reply -danch.
> Isolation level can't be set declaritively in the > descriptors. You can set it
>programatically on connections > you retrieve from the pool.
This is dangerous. You have to make sure that you restore the connection existing
isolation level before it is put back
Hi all
I am getting a weird FileNotFoundException once in a while... i am using
jboss-2.2 + tomcat (downloaded the bundle from the web site ). I am also
InstantDB, that comes with the package. This error occurs very rarely, and i
am unable to reproduce the error. Can anybody throw some light o
Folks,
I am tearing my hair out trying to get the SOAP 2.1 examples to work with
JBoss.
Any help will be very gratefully received.
Set-up:
NT 4.0, JDK 1.3, Apache Soap 2.1, JBoss 2.2.1 / Embedded Tomcat 3.2.1,
Xerces 1.2.3.
(Already been through the Xerces 1.3.1 pain :-))
soap.jar and x
Hi all,
I'm very new to JBoss. What I want to do is using the JMX HTML adaptor to
see the different MBeans of JBoss. I've checked in the default jboss.jcml
file and the HTML adaptor seems to be there. However, I don't see anything
about it in the output produced when starting JBoss and I cannot c
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Lewis
Henderson
Sent: 15 May 2001 17:19
To: JBoss User (E-mail)
Subject: [JBoss-user] Example Servlet Connecting to EJB using JAAS
Does anyone have an example of servlet connecting to an EJB in JBoss usin
We're having some trouble when we have to restart JBoss. The situation seems to be
that the web server port starts listening for connections before the appserver is
fully spun up. In our case, we're under a fair amount of load so while the server is
coming up, it starts trying to take requests
EJBDoclet is found at http://sourceforge.net/projects/ejbdoclet/
and for the newcomers, ant is found at http://jakarta.apache.org
<[EMAIL PROTECTED]>
Subject: Re: [JBoss-user] JBoss and ANT
Date: Thu, 17 May 2001 17:25:45 -0700
Reply-To: [EMAIL PROTECTED]
What is EJBDoclet? could you provide so
Adam,
I had some problems with the jars in $TOMCAT_HOME}/lib. My JBoss
log reported that the jars there were added to the classpath
extension, but jboss couldn't find them.
I fixed it by adding the jars to the classpath argument of
the org.jboss.Main call.
I asked this list about why this is,
There's no way to create a context from the ejb jar and see the beans
without need of maintain two copies of my interfaces?
On Fri, 18 May 2001 [EMAIL PROTECTED] wrote:
> > org.apache.jasper.JasperException: Unable to compile class for
> > JSP/usr/local/jakarta_3.2.1/jakarta-tomcat-3.2.1/work/
I'm not advocating dropping the specially written service wrappers
because they should provide for better management of the service,
but the whole issue of service wrappers that creamed everyone with 1.3.0
should dissipate in that your favorite service wrapper should work
provided the -Xrs command
I changed my hashCode() method as recommended below. I also
made the default constructor change as recommended in the
posts referenced by Alexander (sorry I forgot to check the
archives first).
However, I'm still getting the same warnings.
Any other suggestions?
Thanx.
Norton
-Original M
I have been able to successfully deploy and use the sample session and
entity EJBs from the online documentation; however, when I attempt to
deploy the sample MDB, I receive the following:
[Container factory] Serious error in init:
javax.naming.NameNotFoundException: XATopicConnectionFactory n
No clue, I never used .ear files.
Does anybody have any idea how to avoid having the multiple copies of the
home and remote interfaces in jboss and tomcat?
> There's no way to create a context from the ejb jar and see the beans
> without need of maintain two copies of my interfaces?
__
Thomas,
I noticed another bug in the code you sent. Although what you have (with the
suggested changes) will most likely work in JBoss, it is not compliant with
the EJB specification. In the EJB 1.1 Specification section 5.9 on page 47
is the following:
A client program that is intended to be in
Most likely you just have some stuff in your system classpath on your
Windows box that you don't have on your Linux systems classpath. This
stuff is in jta-spec1_0_1.jar. Your client will need most of the jar
files in JBoss' client directory in its classpath.
-danch
Indika Fernando wrote:
>
Hi Rick,
there is a already bug entry on Sourceforge regarding this behaviour.
I don't know if somebody is already working on repairing this.
Ralf
[EMAIL PROTECTED] wrote:
>
> We're having some trouble when we have to restart JBoss. The situation seems to be
>that the web server port starts l
Do you not?
I tried to do that, without success.
I tried using directories in application.xml, instead of using .jar o .war
files.
On Fri, 18 May 2001 [EMAIL PROTECTED] wrote:
> No clue, I never used .ear files.
>
> Does anybody have any idea how to avoid having the multiple copies of the
> ho
...this is a re-post as I am tearing my hair out on this one!
Thanks
Lewis
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Lewis
Henderson
Sent: 15 May 2001 17:19
To: JBoss User (E-mail)
Subject: [JBoss-user] Example Servlet Connecting to EJB using JAAS
[EMAIL PROTECTED] wrote:
>
> No clue, I never used .ear files.
>
> Does anybody have any idea how to avoid having the multiple copies of the
> home and remote interfaces in jboss and tomcat?
>
> > There's no way to create a context from the ejb jar and see the beans
> > without need of maintain
Norton,
Your PK equals method:
public boolean equals(Object obj) {
GUID compareTo = (GUID)obj;
if (_guid.toString().equals(compareTo.toString())) {
return(true);
}
return(false);
}
The correct would be:
...
if (_guid.toString().equals(compareTo._guid.toString()
Last month I sent the following message, which details how I integrated the
Tomcat and JBoss security systems. Scott Stark has written a new JBoss realm
that work similar to mine. His new JBoss realm is available in CVS (I'm not
sure where) and I think will be in the next release of JBoss.
I h
> Do you not?
No, I'm using JBoss and Tomcat separately, both contain copies of home and
remote interfaces. Try to ask this question with another subject, maybe
somebody will respond.
Regards,
Roman Rokytskyy
___
JBoss-user mailing list
[EMAIL PROTECT
I've created a simple benchmark to test the efficiency of my JDBC connection
pooling within JBoss. Initially, I had JBoss running on my machine
(PIII-450, 256mb RAM, NT4 Wks. SP5), along with mySQL and the test client.
The test was a stateless session bean, which accesses the mySQL database and
d
How can I run JBoss as a NT service so that I can NET start/stop it?
- vineet
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
The conversation goes to other topic. just that. The subject is the same,
im have a experience with Orion App Server.. in that platform youn can
instantiate the beans without imports or anything "strange" like
duplicates of interfaces or that type of things. But it's not free :)
Chao.
On Fri,
If you build an ear containing your war and ejb-jars, everything works
_except_ compiling JSPs.
-danch
[EMAIL PROTECTED] wrote:
> No clue, I never used .ear files.
>
> Does anybody have any idea how to avoid having the multiple copies of the
> home and remote interfaces in jboss and tomcat?
>
I receive a error message: "com.jnetdirect.jsql.m: sp_cursor: The cursor
identifier value provided (0) is not valid" when I try to call an
updateRow() on an updatable resultset.
If I get the resultset from a direct driver connection, the update is done
corrrectly, but not when it comes from a data
EXCELLENT > 2 Birds with one stone...
My problem was not quite as you answered...however
I shall use this code when I secure my WebApp !
My Problem was that when I use loginContext.login() in a connection bean
(Used by both Swing apps and a struts Action) to authenticate the use
I am using log4j as the trace mechanisim for all of my beans. I have
extended log4j slightly to add new categories. The typical static
definition inside each bean class is:
static TraceCategory trace =
(TraceCategory) TraceCategory.getInstance( MyMDB.class );
MDB or Enti
Anyone have idea why generates or look for my mysql tables with the
ejb-name instead of table-name?
For example:
if i have a table named customer, he is looking for Customer (!!)
Chao.
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lis
Dain, don't you have to add this to auth.conf (if you use PostgreSQL)
org.jboss.security.plugins.samples.DatabaseServerLoginModule required
dsJndiName="java:/jdbc/PostgresDB" principalsQuery="select password from
principals where principalid=?" rolesQuery="select role, rolegroup from roles
wher
Hi
I am trying to make the Monson Cabin-Travelagent example working but to no
avail
The Cabin bean works Ok (it populates the tables ) but the travelagent jar
does not recognize the
Cabin EJB.
There are two different jars (session +entity) and I want the
seesion to be able to see the entity from
...I spoke a little too soon...
I connect OK, I keep my principal for about 15 seconds as I move between my
EJBs then all of a sudden I get a
[WorkflowClient] Authentication exception, principal=null
[WorkflowClient] TRANSACTION ROLLBACK EXCEPTION:checkSecurityAssociation;
nested exception is:
Go to a good search engine like www.northernlight.com, and look for Java NT service,
and there are a few free Java tools:
http://www.eworksmart.com/jnt/index.htm Tool
http://msdn.microsoft.com/library/periodic/period99/vji9902_ntserv.htm Article
http://www.swtech.com/java/ntsvc/ article
ht
Have you overridden the table name in jaws.xml?
Also, SQL is case-insensitive as far as table and column names go.
-danch
Emanuel Galindo wrote:
> Anyone have idea why generates or look for my mysql tables with the
> ejb-name instead of table-name?
>
> For example:
> if i have a table n
No...
The _guid property is private. I've overridden the
toString() method to return a _guid.toString().
Thanx for the thought.
-Original Message-
From: Rafael Alves Chaves [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 18, 2001 10:20 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [JBoss-user]
Hi,
We've recently moved from 2.0_Final to 2.2.1, and are very pleased with the
improvements and added functionality. One thing we can't figure out,
however, is how to get SQL query strings to be logged to the console. With
2.0_Final we could see exactly what the container was trying to do (we
FYI, those interested in NT running Java apps as a service might want to
upgrade to jdk 1.3.1 (now that it's finally released). It fixes a
directly related bug (Bug Parade ID: 4323062).
http://java.sun.com/j2se/1.3/fixedbugs/1.3.1/runtime.html
Of course, you could always upgrade your OS to UN
Hi
I am farily new to JBoss. I try to use Tomcat admin pages it asks for
passsword and uid.
tomcat - tomcat doesn't seems to work.
How do I administer passwords in the vanilla install of 2.2.1 - tomcat
intagrated version??
Thanks
Aron
___
JBoss-use
Does anyone know of an open source JMS implementation that includes
libraries for access from other languages? I'm specifically interested in
one with a C library interface.
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/li
Anil,
No, the code I posted simply hands login off to JAAS. You can use the
JaasServerLoginModule, the DatabaseServerLoginModule, or any other login
module (I wrote my own). By default JBoss 'other' context uses the
JaasServerLoginModule which uses a users.properties and roles.properties
files.
Thanks!!
A slightly off-topic question - Will JBoss run any slower if the I run it as
a service
by invoking the batch file (run.bat) specified as the .exe of the Service
Installer tool?
Will it run as a 16 bit application or a 32 bit application?
Sounds silly but we all know how weird the M$ wor
Norton,
I had this same problem. The code you are running into follows:
Object one, two;
try {
one = cls.newInstance();
two = cls.newInstance();
try {
if(!one.equals(two)) {
status = false;
fireSpecViolationE
Just out of curiosity, I looked at the 1.3.1 release notes for this
(http://java.sun.com/j2se/1.3/relnotes.html
). It looks like though fixed, it's not enabled by default:
Bug 4323062: Any Windows NT Service embedding Java VM aborts when user
logs out
This bug has been fixed in J2SDK 1.3.1.
Depends on how you have your server configured. If you are using NT or 2000
desktop version, it is configured to favor the user applications, and if you
are using the server version, it is configured to favor services. You can
change this in the System Control Panel | Advanced | Performance Optio
You can use JNI to access any Java code from C. I have used it in the past
and found it easy to use. There is now a book on JNI "Essential Jni : Java
Native Interface."
Alternatively, you can use Corba, or you can pay IBM or Oracle a lot of
money use their commercial message queues.
Dain Sund
> No...
>
> The _guid property is private. I've overridden the
> toString() method to return a _guid.toString().
Ok, but an instance of a class have full access to private fields of
another instances of the same class.
Norton, could you show us the complete code for GUID class?
Bye,
add true to your jaws.xml, at the 'top' level (within the
tag, but not in any other. Also, make sure that you're allowing
debug level logs to be output.
-danch
Chris Campbell wrote:
> Hi,
>
> We've recently moved from 2.0_Final to 2.2.1, and are very pleased with
> the improvements and add
Title: auto deploy (native code class loading)
I deployed a message driven bean which is listening on a queue. I sent some messages to the queue. MDB was working fine.
Then I recompiled the MDB and copied the jar to deploy directory. Auto deploy was successful.
Then I sent some more message t
Title: RE: auto deploy (native code class loading)
btw I am using jboss-2.2.1.
-Original Message-
From: Parayali, Jayesh 1065
Sent: Friday, May 18, 2001 12:25 PM
To: '[EMAIL PROTECTED]'
Subject: auto deploy (native code class loading)
I deployed a message driven
Hi,
Is this mailing list also available as a newsgroup?
I would prefer to access it as a ng to speed up my mail checking.
Regards,
Bas
p.s. Excuse me being OT, but I didn't know a better place to ask my
question.
--
Bas E. Cancrinus<[EMAIL PROTECTED]>
Product Manager RepTrack
Hi All,
To test some stuff locally, I was trying to
run JBoss on W2K (gasp). I defined a XA Data Source, but get "No Suitable Driver
Found" on JBoss startup (below) . I have the jar in lib/ext so I expect the
classes are there (this config does work on Solaris). I do remember something
about
Does JBoss 2.2.1 provide full EJB 2.0 support ? I mean the EJB 2.0 CMP
feature. From the JBoss docs JBoss 2.0 only has partial EJB 2.0 support
(Home methods and Message Driven Beans). How is JBoss 2.2.1 ?
Da-Ming
___
JBoss-user mailing list
[EMAIL PRO
OK, so this pipes into to what ever you have set up.
Tks for the clarification.
anil.
Dain Sundstrom wrote:
> Anil,
>
> No, the code I posted simply hands login off to JAAS. You can use the
> JaasServerLoginModule, the DatabaseServerLoginModule, or any other login
> module (I wrote my own). B
Hi everyone,
I have managed to successfully deploy petstore 1.1.2
on jboss 2.2.1-tomcat 3.2.1, using Hypersonic as the database.
If anyone is interested, I'm willing to share what I've done.
=
Cuong Q. Tran <[EMAIL PROTECTED]>
__
Do You Y
Hi,
I am trying to incorporate my filesystem directories into the JBoss server
JNDI namespace, using the ExternalContext JNDI MBean. But I am not
having any luck whatsoever, and I would really appreciate some help.
I followed Scott Stark's tutorial for this, and as the tutorial suggested
I first
go ahead
~
Namaste - I bow to the divine in you
~
Filip Hanik
Software Architect
[EMAIL PROTECTED]
www.filip.net
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Cuong Tran
> Sent: Friday, May 18, 2001 2:13 PM
> To: [EMAIL PROTECTED]
> Subject: [JB
Anyone knows how, and if it possible, to setup a bean to one DS and the
second bean to another DS? All in the same context.
I' was thinking in override jaws from the .jar, but i've read that cannot
put that file there. Before do desasters, anyone can tell me if i can do
anything like that? witho
Can you please provide the detailed steps of doing this?
Thanks
> Message: 9
> Date: Fri, 18 May 2001 14:12:36 -0700 (PDT)
> From: Cuong Tran <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] petstore 1.1.2 deployed successfully
> Reply-To: [EMAIL PROTECTED]
>
> Hi everyone,
>
Did you maintain separate jars in the .ear or use one big jar for the ejbs?
Also, does Jboss allow you to generate the stubs and skels are deploy time
like Weblogic 6.0 with ejbc? In the case o Weblogic 6.0 you cannot do this
because there are class resolution issues across the jars and their
dep
Hi guys,
I'm just trying to get started with JBoss and have got the server up and
deploying .ears nicely. The only problem i've got is each time I start
up the server I get the following exceptions:
[JBossMQ] Starting
[JBossMQ] Cannot start the JMS server ! Invalid configuration.
[JBossMQ] java
Jayesh,
Welcome to the club, man.
Technically speaking, you are not allowed to use native
libraries in EJB.
Wanna reason?
OK. Each bean works in its own thread. Pretend that
one instance of your bean is created and loads native
library. Then another instance is created and what?
Yep, trying
jBoss does not have full support for any of the proposed EJB 2.0 draft
standards. This is reasoable, as there is no final EJB 2.0 spec yet.
However, if you want to get your feet wet in EJB 2.0, I an strongly
recomend a plugin persistence manager that supports EJB 2.0 PFD1. Its
available at:
h
I would agree that a newsgroup would be much easier to deal with, though
I very much appreciate this list!
--
Bas Cancrinus wrote:
> Hi,
>
> Is this mailing list also available as a newsgroup?
> I would prefer to access it as a ng to speed up my mail checking.
>
> Regards,
> Bas
>
> p.s. Ex
Hi Ray,
> I've tried to execute a context.getEJBObject and a context.getEJBHome >
within an ejbPostCreate call
>
> But for some reason, this hangs JBoss.
>
> According to most stuff I've read, I should be able to use the
> context inside ejbPostCreate.
You are right, according to EJB spec 1.1 se
Hell yeah! I've been trying to do this (with Cloudscape) all week. Please
fill us in on the details! (any and all config files would be great too!)
Thanks!
Jonah
> I have managed to successfully deploy petstore 1.1.2
>on jboss 2.2.1-tomcat 3.2.1, using Hypersonic as the database.
>If anyone
Hello every one,
I am new to JBoss. I am reading the online documentation. Chapter 4, Using
container-managed persistence, has some missing sample codes. The
CDCollection, CDCollectionHome, CDCollectionBean just do not exist. I tried
to compile List.java which uses CDCollectionHome. Of course,
Hello every one,
I am new to JBoss. I am reading the online documentation. Chapter 4, Using
container-managed persistence, has some missing sample codes. The
CDCollection, CDCollectionHome, CDCollectionBean just does not exist. I
tried to compile List.java which uses CDCollectionHome. Of cours
Hi all,
I'm hoping for some help...
I have got three entity beans and one session bean that use CMP and are
deployed successfully.
The entity beans are Product, LineItem and Order.
This is what I get at deploy,
[Container factory] Deploying Product
[Container factory] Deploying Order
[Container f
Hi Jim,
> Yes, exactly so. I should have made it clear, sorry. The naming
> convention is XXXHome and XXX are the home and remote interfaces, and
> XXXBean is a value object that conforms to the JavaBean spec (required
> further on in the app).
>
> The id field is constrained as a primary key -
Hi Dan,
> If all you need to do is get your primary key from the autoincrement,
> you can simply put the code to fetch the value in ejbCreate and return
> that value as your primary key. Or am I missing something?
yes, I think so, Ray has essentially a CMP bean, and EJB spec 1.1
in section 9.5
Ah... I understand now.
The problem is that my GUID class, by definition, creates
a new GUID for every call to the default constructor. I
use it to create unique IDs for newly created EJBs.
Therefore, the below code could never be true. Given
that, I guess I'll just have to live with the w
Brian D. Brown wrote:
> I've created a simple benchmark to test the efficiency of my JDBC connection
> pooling within JBoss. Initially, I had JBoss running on my machine
> (PIII-450, 256mb RAM, NT4 Wks. SP5), along with mySQL and the test client.
> The test was a stateless session bean, which ac
1. JBOSS-2.2.1 + TOMCAT 3.2.1 as is out of the
box.
2. Windows 2K and JDK1.3.0_02. and J2EE 1.3
beta.
3. MySQL 3.23.36 and mm driver 2.0.4.
Here is my problem, I deployed a simple
stateless session bean with all the classes it needs in an XYZ.jar
file.
1. The bean deploys ok.
2. My clien
80 matches
Mail list logo