I'd love to see some examples of source code organization and packaging
as it relates specifically to EJBs and Jboss. Things I'm looking for
are:
1) Easy versioning - allow one EJB to evolve without impacting others.
2) Clean separation between client and server side classes, while
dealing with
no sugestion?
Emerson Cargnin - MSA wrote:
> My problem is to make a junit test to access the EJB's using security. I
> tried to use the tests from CVS. My server uses ldap to authenticate
> users. From embbeded tomcat it works allright, i did the following to
> access through junit task :
>
>
1) Why do you deploy the .jar and .war separately? If the .jar is an
ejb-jar file, you should put them both into a single .ear file. This
will also allow you to use local interfaces and improve performance.
2a) You can add a destroy() method to your servlet that can stop your
custom threads.
Using 3.0.0. I have an application that I deploy
as a .jar and a .war file separately. Running under
supervision of jetty is a servlet that starts and allows
to run continually a number of Threads.
When I redeploy the application (actually undeploy
and then deploy), the old threads continue to ru
please ignore, found it
> -Original Message-
> From: Eric Kaplan [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 01, 2002 2:56 PM
> To: Jboss-User
> Subject: timed out transactions
>
> Where specifically can I control the timeout of my transactions. Right
> now, I think
Where specifically can I control the timeout of my transactions. Right now,
I think it's too short.
Thanks
Eric Kaplan
Armanta, Inc.
55 Madison Ave.
Morristown, NJ 07960
Phone: (973) 326-9600
winmail.dat
Description: application/ms-tnef
The theory certainly seems to suggest that there is the ejb coder and the
ejb deployer, and that neither one should have to do much with the other.
If bean A calls bean B, a deployer can choose to have bean B be Required or
RequiresNew at deployment time. However, in reality, the choice has a lot
I'm using JDK1.3.1 and have run into the same problem wiht JNDI
where i get a ClassCastException when i do a
Thing t = (Thing) ctx.lookup("name");
i have no idea why it happens. I know for sure that the class is a "Thing".
the Exception occurs when i do a lookup from a different JVM than wih
I don't know a lot about JBoss 3.0, in 2.4, JDBC driver is something you
can't deploy with your ear files if the application uses JBDI based data
source created by JBoss. The driver has to be visible outside the
application. You probably want to copy the driver to JBoss lib/ext directory
instead.
This error is common, the javac compiler is not in classpath, put tools.jar in
classpath of jboss startup. Put in eclipse setting plugin for jboss, tools.jar.
Claudio Miranda
> From: "Sullivan, Sean C - MLG" <[EMAIL PROTECTED]>
> To: "'[EMAIL PROTECTED]'"
> Date: Sun, 30 Jun 2002 21:0
I am currently running JBoss 2.4.4 / Tomcat 4.0.1. I will be migrating to
JBoss 3.0.1.
I have a bean which receives a request, gets an XA JMS connection, creates
a message, and puts the message into a queue (thereby enlisting the queue
in the bean's transaction).
If I make the bean a Session Bea
Hi,
I'm guessing you are on JDK 1.4 and you hit a JDK bug. Try
usersys = (UserSysMatch) key;
hth,
Burkhard
- Original Message -
From: "Conover, Ryan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 01, 2002 8:51 AM
Subject: [JBoss-user] ClassCastException
> I am using JBo
My problem is to make a junit test to access the EJB's using security. I
tried to use the tests from CVS. My server uses ldap to authenticate
users. From embbeded tomcat it works allright, i did the following to
access through junit task :
- ant build.xml file that calls junit test:
i use SRVANY.EXE with INTSRV.EXE. you can find all this on the web easily.
just do a google search for them. they are part of the nt resource kit.
Here are the steps (there are several steps but it is very easy)
search the web for the following executables and put them on your system
available i
Greetings.
The attached UCE was sent to a Application Server discussion list. The list is for
anything and everything to do with JBoss. This UCE is advertising a sex-site, and is
most definately off-topic for
this list. Please terminate this site.
ATTN: Vienna University;
You appear to be
Ok, thanks same as tomcat (should have thought of that!, d'oh!)
-Original Message-
From: David Ward [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 01, 2002 10:04 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] JBoss-3.0.1RC1 Released
The root context is a special case (obviously). N
Title: Message
Excellent.
thanks.
.peter
-Original Message-From: Sacha Labourey
[mailto:[EMAIL PROTECTED]]Sent: Monday, July 01,
2002 3:24 AMTo: [EMAIL PROTECTED]Subject:
RE: [JBoss-user] Classloader Question
Yes,
both EAR will share a common struts.jar "thanks" to the
The root context is a special case (obviously). Name your war file
ROOT.war (case sensitive).
As far as a tool, admins (at least UNIX admins) love command line (as I
do). I guess you could overcomplicate a couple mv's with a shell script
if you wanted...
David
--
LaBanca, Rick wrote:
> Ok
Bruce,
Since we did a few "patches" to the axis-beta (I´ll be changing this policy
in the near future to include the
patched sources into jboss.net instead), I did not plan to include every
beta into jboss-net (especially since there is
nothing spectacular in functionality in beta2 from my point
Oops; sorry to tek1 and jboss-user subscribers.
When I re-added the user list address, I forgot my context and typed in
jboss-user when I meant to type in xdoclet-user.
Silly me,
David
--
David Ward wrote:
> Please do a "Reply-All" not just "Reply" to user list emails. That way
> everyone c
Ok, that would work, what do you name it for root (empty context-name as I
set)?
I still wish there was more deploy control though. It would be handy to be
able to have wars sitting there undeployed and be able to switch them in and
out via a tool.
Rick
-Original Message-
From: David
Use PortableRemoteObject.narrow(a,b) only on a jndi-looked-up remote
home interface. You should not use it on objects returned by a findBy
from the home interface.
More specifically, you probably used the narrow function to get
"usersyshome". You don't need to use it again on "key".
David
Please do a "Reply-All" not just "Reply" to user list emails. That way
everyone can benefit from the discussion.
Concerning your problem:
1) Don't use classpathref in ejbdoclet; you only need it in taskdef.
2) Don't use sourcepaths in 1.2. Use nested filesets.
Here are some snippets from one
JRMPInvoker has a method private void loadCustomSocketFactories()
If you defined a custom serverSocketFactory, an instance of this factory
is made
and the BindAddress is set:
if( serverSocketFactoryName != null )
{
Class ssfClass = loader.loadClass(serverSocketFacto
I am using JBoss-2.4.4. When I return a collection from an entity bean 1.1
spec, I get a Class Cast Exception whenever I try to cast it from an Object
to an Integer. using the following code.
Collection returnedlist = usersyshome.findByUsername(this.Username);
UserSysMatch usersys = null;
Iter
Ufortunately I still have:
Caused by: java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
exception.
sincerely Olek
PS/ My friens are using NetBeans. Is Eclipse somehow better ?
- Original Message -
From: "Emerson Cargnin - MSA" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
If you're just deploying war files, you can just omit the jboss-web.xml
and rename the war file to whatever you want, and that will be the
context-root.
For example, with not context-root in jboss-web.xml, naming a war file
foobar.war and dropping it in the deploy directory will give your web
Quoting Kakoli <[EMAIL PROTECTED]>:
> Hi,
> I have downloaded JBoss3.0.1RC1_tomcat4.0.4.
> Then I am calling run.bat on Windows to start the server. It is starting
> successfully.
>
> But pointing to url http://localhost:8080/index.html in IE browser gives
> the
> following error :
> No Context
Hi,I have downloaded JBoss3.0.1RC1_tomcat4.0.4.Then I am
calling run.bat on Windows to start the server. It is starting successfully.
But pointing to url http://localhost:8080/index.html in IE browser gives the
following error :No Context configured to process
this request
The server consol
Hi all,
Two things.
First, I found that builds I made using the cvs files from JBoss include
the old axis-beta1 jar. A solution around this is to download the current
axis-beta2 from http://xml.apache.org/axis/dist/beta2/ and switch this
newer axis.jar file for the one included in the server/
Bruno Lowagie wrote
> What am I doing wrong?
In my output, I see the following line:
DomainServerSocketFactory,
this=org.jboss.security.ssl.DomainServerSocketFactory@484a05
So I know the RMISSLServerSocketFactory called the constructor
of DomainServerSocketFactory without the SecurityDomain as
So I finally have the combination Catalina/SSL working.
Now I want RMI over SSL.
When I change this in jboss-service.xml:
org.jboss.security.ssl.RMISSLClientSocketFactory
org.jboss.security.ssl.RMISSLServerSocketFactory
I get this NullPointerException when I start j
You should try to figure out why you are getting closed connections. Is
there a chance the driver/db closed them due to a long idle period? If so,
there is an idle timeout you can set, although with 2.4 you also have to
set many other parameters to get it to work (I think GCEnabled, GCInterval,
Sean Howell wrote:
> Hi bruno, I actually didn't solve the problem, my requirement to use SSL
> actually went away instead. Let me know if you solve it though, I'll be
> doing something with SSL in the near future.
Frederic Soulier wrote:
> Hi Bruno,
>
> No. But I had a few things that did n
I think that the run.bat tries to find tools.jar in your jdk
distributions and add it to Jboss' classpath before starting it. This
makes sun/tools/javac/Main available to Jetty/Jasper to compile JSPs
on-the-fly.
It looks like your plugin is starting JBoss directly from Java without
having too
Title: Requestor/Reply hung in JBoss 2.4.6
Hi,
Can anyone confirm if there is such bug in JBoss2.4.6?
During debugging, I could see the request message got delivered, and the reply message got sent w/o any sort of exception. However, the requestor is blocked for ever because the reply mes
Yes but the JMS would generate traffic from server to clients even if
clients are not logged into the rooms.
I don't know how many users will use the system at the same time but I
guess this will fllod the network, won't it ?
ionel
Sacha Labourey wrote:
> Wouldn't be easier to use the same to
> Yes but the JMS would generate traffic from server to clients even if
> clients are not logged into the rooms.
?!? The data is filtered on the *server*. Filters are a JMS feature, it is
part of the spec.
Cheers,
Sacha
---
Title: Updated jboss-user
Günlük update edilen en genis video arsivi
Bu sayfalari gezmeden porno gördük demeyin. Kaliteli, seri
video arsivi
Günlük Videolar
Who can tell me how to config the jboss to intergate tibco
ent. for jms?
I modify jboss's config file according the document of
tibco,but can't success. please help me.
Wouldn't be easier to use the same topic but use filters to filter out
distinct rooms?
> -Message d'origine-
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]De la part de Ionel
> Gardais
> Envoye : lundi, 1 juillet 2002 10:44
> A : [EMAIL PROTECTED]
> Objet : [JBoss-user] creating a
Hi,
I'm planning to develop a simple chat app.
I'd like to use the JMS topic system to broadcast messages.
I would also want my users to be able to create their own chat rooms.
(ie. creating their own topic on demand)
I think of creating a template XML service file and deploy it, filled
with th
Title: Message
Yes,
both EAR will share a common struts.jar "thanks" to the UnifiedClassLoader
(UCL). If you want two distincts UCL, you need to configure your EAR
accordingly:
http://www.jboss.org/forums/thread.jsp?forum=66&thread=15984&message=3721110
-Message d'origine-De
Title: Message
Is the classpath isolated for
separate ears?
If the classpath is not isolated, does anyone have a recommended strategy
for handling ears with different versions of the same
jar?
I just deployed 2 ears
with radically different versions of the struts jar in them. Depending o
I've had a similar problem trying to execute a build script through the
integrated ant module. Is your JAVA_HOME pointing to your SDK (not just
the runtime) directory? If that didn't help, try adding the tools.jar
file to your classpath.
It may be related try
-Original Message-
From:
thanks,
I managed to resolve that one and you are right! :-)
Regards,
Michael
- Original Message -
From: "Neal Sanche" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 01, 2002 12:53 AM
Subject: Re: [JBoss-user] Error creating table
>
> Probably because 'index' is a re
46 matches
Mail list logo