You could configure the session bean so that it is in a pool with a strict maximum
size of 1.
That way you will never get more than one client calling the session bean.
If you look at the 'Free Docos' to the right you should get access to the
administrators and developers guide which describes
Hi!
How can I subscribe the same mdb class to two topics? Here are my working ejb-jar and
jboss xmls for subscribing to 1 topic.
-
LinkPublisherMDB
com.crisys.sf.framework.link.LinkPublisherMDB
Container
AUTO_ACKNOWL
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=53797
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847817#3847817
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3847817
--
According to the wiki i should configure my message driven bean with:
|
| testBean
| topic/testTopic
| Singleton Message Driven Bean
|
|
But still on all nodes of my cluster the mbean responses to any message in the topic,
but i want that only one instanc
I installed the JBoss 3.2.5 distro on my system with the following attributes:
* Linux RedHat (V9)
* Java 1.4.2
I ran into the compile issues noted in other threads (can't find javax.servlet.jar),
fixed those and successfully built and deployed the Bank application.
I installed the JBoss distro
Trying to call session bean, and getting the error. Here is the snippets of my program
which I am using . This is working in 3.0.8, but not in 3.2.5.
static public InitialContext getInitialContext() throws Exception
{
java.util.Properties p = new java.util.Properties();
I have an application using SYBASE with JBOSS and TORQUE, and have been monitoring the
database connections used in the jmx-console. When a user only views information,
they only use one connection, however when they update or insert they use two.
Can anyone point me to why this is the case? I
I configure log4j.xml to use the LogFactor Appender, so I get a nice color-coded log
file viewer.
LF5 is not able to load its configuration file: lf5_configuration.xml
Works OK with Jboss 3.2.3 and fails with 3.2.5.
LF5 does this:
DocumentBuilderFactory docBuilderFactory = DocumentBuilderFacto
I am trying to set
the following values in a xml file
3
50
5000
10
true
true
I am using Jboss v 3.0.8.. and i get error that " attribute IdleTimeoutEnabled value
not found"
Please help.
Thanks,
View the original post :
http://www.jboss.org/index.html?modul
The JAAS howto deals with the public interface for passing in credentials. See the
jboss-3.x/tomcat/src/main/org/jboss/web/tomcat/security package for example Realms and
Valves for propagating the web container credentials.
View the original post :
http://www.jboss.org/index.html?module=bb&op=v
Here's my setup: I have a client that looks up and uses a bean that is deployed on a
server. This server is part of a cluster, however the particular bean is only located
on that one server.
Now the problem: if I move the bean in the cluster from one server to another the next
invocation of on
"object ans" is a typo, the sentence should have read.
you can read the data from DB, create an object and save at some JNDI location.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847842#3847842
Reply to the post :
http://www.jboss.org/index.html?module=
Dear friends,
When I try to do a jndi lookup in jboss3.2.5 environment,
//Getting initial context
ctx = new InitialContext();
//Loading mail properties
Session mailSession =
(Session)PortableRemoteObject.narrow(ctx.lookup("java:/Mail"), Session.class);
I get the f
(view using mono-space font for proper "ascii-art" display ;)
i'd like to write a presentation level integration prototype using jboss (4.0, if
possible). therefore, the presentation layer (to be implemented) needs to provide the
following different "services" to a client (browser and/or rich cl
recently, i bought "enterprise javabeans, 4th ed" by richard
monson-haefel, bill burke and sacha labourey.
i have installations of jboss 3.2.3 (java 1.4.1) on my gentoo
linux server and jboss 4.0.0 rc2 (java 1.5.0-rc-b63) on windows
xp sp2 on my tabletpc/localhost. i strongly prefer to use the
jbo
"chiba" wrote : As you know, you cannot unload a class from
| the JVM.
*hmm* that's bad. I thought that this is perhaps also possible. Thanks a lot for your
answers :)
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847787#3847787
Reply to the post :
http:
If you run a *TCP* based configuration, you will *not* see this problem. At least not
in JChannel, but HAJNDI uses multicast as well.
Bela
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847775#3847775
Reply to the post :
http://www.jboss.org/index.html?modu
Thanks. Can this be done for one particular session bean and not the others?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847832#3847832
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3847832
---
Hi.
Is there exists a login module performing real user authentication, not like the
ClientLoginModule? Is it working with standard JBoss or needs some extras?
And one more question.
Using the ClientLoginModule I've seen that server do not performs authentication when
InitialContext.lookup() or
Hi,
I'm setting up several different clusters (development, qa, etc) on the same
network. I'm separating the clusters by changing the mcast_addr setting in
cluster-service.xml from mcast_addr="228.1.2.4" to mcast_addr="228.1.2.5", etc.
I'm seeing the following scenario:
start up nod
Remove the servlet.jar from the packaged war.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847806#3847806
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3847806
--
Would it be the addition of "Blob blob = rs.getBlob(index);" since jboss-3.2.4 in
JDBCUtil that would be not appreciated by the oracle driver? In previous version it
was doing a getBinaryStream(index) on the resultset, while now it's trying to it
through a jdbc blob object !?
View the original
Hi,
is it possible to use CMP with JBoss TreeCache in JBoss 3.2.5?
If so, where can I find an example configuration?
Thanks,
Anders NordstrÃm
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847794#3847794
Reply to the post :
http://www.jboss.org/index.html?mo
Hi,
I have work with Jboss and there queue server. Now I'm developing an application
which uses a queue server. But we can't use Jboss Application server only as a queue
server, because our main application is run on a another different application server.
If I use Jboss as for a queue server t
okay. i switch over to the default cluster-service.xml and restarted node1 and node2
after node1 finishes booting up. But sitll they cant see each other. and also added
bind_addr=
node1
| [EMAIL PROTECTED] deploy]# netstat -nr
| Kernel IP routing table
| Destination Gateway
Use a servlet instead, where you can better control the output, or run your jsp tags
all together on the same line (no newlines between them):
<% // code here
%>
instead of on separate lines like:
<% // code
%>
Hmm another idea just popped in to my mind, you may be able to write a Filter that
I tried to write own valve. Just for test. And always get null from
request.getUserPrincipal(). Though basic authentication seems completed (though,
strangely it succeeds always).
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847791#3847791
Reply to the pos
Interesting. Maybe I read something wrong, maybe I can't read at all. But Jaas howto
contains Tomcat links in sentences where JBoss/Tomcat is recommended to download, in
JBoss logs, and yet one irrelevant sentence. Valve is occured only in logs. No any
explanation.
Maybe I need to read other ho
Hi there! We were using jboss 3.2.2 here and everthing was working almost fine :D I
upgraded to 3.2.5 due to bug { [ 810612 ] NullPointerException if entity is read-only }
Well, I just tried it as it came (nothing modified) and jboss ran ok! Then I put all
libraries and set my own datasources. Ev
Hi,
I am new to JMX and here is what I want to achieve.
I want to know the depth of a JMS queue which is existing on JBoss called "testQueue".
Please note that I am able to send messages to this queue using my JMS application.
Now, to find out this depth I want to access "QueueDepth" attribute
Hello!
I am trying to port an application that uses toplink 9 from weblogic 8.12 to jboss
3.2.5.
Toplink is used within session beans, and the mapped domain POJOS are returned to the
clients.
My problem is not really toplink, it works fine (not integrated with the container
transactions). The
(view using mono-space font for proper "ascii-art" display ;)
hi all,
i'd like to write a presentation level integration prototype
using jboss (4.0, if possible). therefore, the presentation layer
(to be implemented) needs to provide the following different
"services" to a client (browser and/or
Within my application, there is a query that potentially can return large amounts of
data. In order to display this data in the client app without freezing the UI waiting
for the entire data set, we have three EJB methods to get the data. 1) Do the query
and store the ResultSet 2) Get a specifi
snavjot, I need to create a singleton object cache and this sounds like the solution I
am looking for. I am not familiar with some of your terminology though. What is an
"object ans." Could you please elaborate on your solution. Thanks.
-Kevin
View the original post :
http://www.jboss.or
I have followed indications in JBossHibernate wiki with JBoss4.0. The application and
.har deployments have no problems, but when I call
SessionContext.getSession("java:/hibernate/SessionFactory") in a stateless session
bean method I get the following exception
20:44:39,418 ERROR [LogIntercepto
I have see this behaviour by logging off the administrator
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847836#3847836
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3847836
--
Searched quite a bit to find an answer to this problem, so please let me know if it's
already been answered...
I'm using CMP, with commit-option A (JBoss 3.2.5). I have some container managed
relationships (CRM) set up. As a conceptual example similar to my own, a box contains
many gadgets, eac
Use BBCode
|
|
|
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847790#3847790
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3847790
---
This SF.Net
I also have the same issue with hot-deployment. Works fine when the server is started
but after bringing a node down and then back up , the deployment happens only on
the node where it is touched.
Whats the sourceforge issue number in case something is already filed?
Thanks
View the ori
There is no coupling between a session and the security domain cache. If you want that
behavior its a simple matter of adding a session listener that invalidates the cache
through jmx. I'll add a session listener that does this to the dist for 3.2.6RC2/4.0.0
View the original post :
http://www
Hi Bela, I definitely have a cluster. I didn't check the JMX console, but I can see
the logging stating that I have 2 machines in the cluster and they are the machines I
am expecting. As well, the above code works just fine until the second machine comes
up. As soon as I see the logging stating
Also, the bean is read-only, with commit option B.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847830#3847830
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3847830
I have a finder with an eager load group configured. for the sake of discussion, let's
say that the eager load group contains field A, B, C.
I also configured the strategy of the finder to on-find, and when I turn on SQL
debugging, it's showing that the primary key and the fields I specified ar
Well, I found another forum topic describing the same problem. Guess I should have
read more of the forum topics. |:
The original forum topic can be viewed at:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=52094
Apparently 3.2.5 has a problem with the Bank demo. I installed 3.2
There is a problem that when the HttpSession is invalidated, the logout() method of
the JAAS loginModule is not called.
I am using JBoss 3.2.3 with embedded Tomcat41 (jbossweb-tomcat41.sar).
This has been fixed on Jetty see:
http://article.gmane.org/gmane.comp.java.jetty.general/4915
Is there a
Hi All.
I want to write a finder that finds the parent objetc for a 1:1 relation. Wirth a
1:many relation, i can use the IN operator, but with a 1:1, I got no idea what to do.
My EntityBeans look like this:
TempData:
uuid: String
name: String
binaryData: BinaryData
tumbnailImage: BinaryData
pre
hi all,
recently, i bought "enterprise javabeans, 4th ed" by richard
monson-haefel, bill burke and sacha labourey.
i have installations of jboss 3.2.3 (java 1.4.1) on my gentoo
linux server and jboss 4.0.0 rc2 (java 1.5.0-rc-b63) on windows
xp sp2 on my tabletpc/localhost. i strongly prefer to use
Does JBoss for Linux need to be configured differently than JBoss for Windows for
SQLException handling?
Here is my situation: I am creating a Struts 1.1 based application that runs fine
under Tomcat 5 and JBoss 3.2.5 on Windows. During login, I am validating the user
against their PostgreSQL d
Hello,
I'm having an issue with some legacy code I had to take over. There is a session
bean that has a singleton class. In that singleton class there is a method where a
socket is opened up and some data is sent and received. Problem is when two users
use the session beans to send data on
Nevermind, I figured it out.
To upgrade Jetty, simply replace the org.mortbay.jetty.jar file in the jbossweb.sar
with the org.mortbay.jetty.jar file of the version of Jetty you want to upgrade to.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847816#3847816
The fix is to upgrade the version of Jetty packaged within JBoss 3.0.7.
To do this, simply replace the org.mortbay.jetty.jar file in the jbossweb.sar with the
org.mortbay.jetty.jar file of the version of Jetty you want to upgrade to.
The relevant fix for AJP13 issues is in Jetty 4.2.11
View the
Hello,
What is the expected date for the production release of JBoss 4.0?
Thanks in advance,
Julien Martin.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847814#3847814
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=384
Hi, been searching around and never could find the answer to this. Is it better to
have a whole bunch of little EJB's with only 1 or 2 methods or a couple of large EJB's
with many methods? We're wondering performance wise, and ease of maintenance.
The goal of the application is to write most/all
MinSize">3
MaxSize">50
BlockingTimeoutMillis">5000
IdleTimeoutMinutes">10
IdleTimeoutEnabled">10
Please help.. it gives an error of IdleTimeoutEnabled not found..
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847812#3847812
Reply to the post :
http://www.j
I'm new in Nukes and it seems greet, but i have some difficulties to display module
for specific user. How can i set a block visible for guest ?
Thanks
(Is there a full tutorial on Nukes ?)
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847810#3847810
Reply t
It is not a limitation of Javassist but the JVM.
You can reload a class if you use the JPDA
interface but the schema changes between
the old and new classes are quite restricted.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847807#3847807
Reply to the post
Thanks for the information genman. I figured out what was wrong while looking at some
of the other forums. My MDB was consuming the messages before they could be
propagated to the DB.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847808#3847808
Reply to
True.
My situation is summed up in the "Configure JBoss/Jetty to use nsapi_redirect.so with
SunOne 6.1" post.
The reason I am looking to upgrade Jetty is because there are issues with getting it
configured to use a fronting web server via ajp13. I am unable to upgrade to a newer
version of JBo
Why it will be that I obtain to make deploy of mine ejbs in one schemes with
windows2000, jboss-3.2.3 and when I catch this exactly archive I do not obtain to make
deploy in mine notebook with windows200 + jboss-3.2.3.
This error:
Error in ejb-jar.xml, in method-permission: An unchecked elemen
Couple of options i can think of
1) Have a apache(or any webserver) running on ur machine and store the files in the
htdocs area.
2) create a directory called files.war in the deploy directory and store all the files
underneath there. That way u can restore them as
http://machine:port/files/a.jp
Try
ObjectName objName = new
ObjectName("jboss.mq.destination:service=Queue,name=testQueue")
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847799#3847799
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3847799
Unfortunately, due to a customers demands and the reliance on third party software
that is not yet compatible with newer versions of JBoss upgrading all of JBoss is not
an option.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847796#3847796
Reply to the pos
Hi,
is there a possibility to turning-off the jboss cache for cmp-
entity beans - I need a kind of write-through-cache.
In other word, changes made to cmp-entity beans should
immediately reflected to the underlying database. The
default behavior of jboss is to cumulate updates to cmp-
entity-beans
Hi all,
I'm getting a strange error while I'm logging in to my application. I'm using my
own login module with the Jboss3.2.5. It was was working fine with Jboss3.0 . What is
difference in JAAS implementation between Jboss3.0 and 3.2.5. Any special
configurations have to do apart from 'login-
hi All,
I have configured multiple instances of JBoss3.2.5(tomcat) to work with Apache 2.0,
where Apache is the Web proxy for load balancing.
The problem I'm facing is with Form based Authentication.
If only a single JBoss server is running OR I have enable only a single worker in
workers2.prop
I want to use a cmp or bmp with a datasource, but when the first datasource isn't
available it should use a second datasource.
Is this possible with a cmp or should i use (and how) a bmp?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847778#3847778
Reply to
This time all seems obvious, doesn't? I just use JBoss LoginModule and because of that
I've got exceptions. Ok, but can at least someone says how to correct that (possibly
by writing own LoginModule)? Or, at least, at what stage credentials are lost?
(I repeat again but that is just if somethin
Hello,
I'am trying to speed up my JBoss by using the prepared-statement-cache-size
parameter, but it seems that it doesn't work becasue JBoss doesn't take into account
the value I set.
I'am using JBoss 3.2.5 and Oracle 9 as DB. My problem is that in my oracle-ds.xml
datasource descriptor I se
68 matches
Mail list logo