Hello, i'm not sure where to ask this but i think this place might be ok.
Anyway, i was wondering how session beans can have transaction control when *I*
have total control over what happens inside a session bean's method.
For example, my whole session bean method could consist of a large
Have a look at this link:
http://wiki.jboss.org/wiki/Wiki.jsp?page=WhatIsTheCorrectWayToMakeADurableSubscription
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3894830#3894830
Reply to the post :
Hi,
think i should continue the smalltalk with myself :-)
The biggest problem for me right now is, that in the scope of the MDB's, which
are only deployed on the MasterNode, a call to a SSB will result in an local
invocation. So no load-balancing can happen. My hope was, that this is only
true
Unless you don't use log4j (e.g. use the JDK logger), this JAR is not mandatory.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3894834#3894834
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894834
Hi !
Is exist any alternative of endless loop in session bean ?
// create bean
while (true) {
// do some work
}
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3894840#3894840
Reply to the post :
Hi,
I'm using Jboss 3.2.5 and I want to read data from a view, that is covered by a
read only CMP entity bean.
I want to execute only 1 query to read the data (there are no relationships..).
I have configured the commit option to A, the read-ahead strategy on find with
the eager load group *.
Place the xml in server/default/conf directory
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3894846#3894846
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894846
---
Hi,
We have a system that have 2 databases. One for storing data that the
customer provides and one for storing data about the system.
We use BMP entity beans to query the system database.
Now to my question. Is it possible to let multiple customers run against
the same JBoss server if each
hello,
when I start jboss within eclipse it gives error mess jnp fail to
connect at port 1099. but it comfortabily start from terminal or pcqlinux
2005. I use jboss-3.2.2 , eclipse 2.1, fedora core 4, java 1.4.2_03, lomboz
plugins 2.1.
View the original post :
To get the display of UTF-8 characters to work correctly, I added the following
to all of our portlet JSP pages:
%@ page contentType=text/html;charset=UTF-8 %
We found that JBoss Portal will display UTF-8 characters fine - BUT we have not
found a why to submit them correctly in a FORM yet... I
Hello,
I've tried to implement composite pattern with EJB3, but it seems impossible.
This is my code :
1- parent class
| @Entity
| @Table(name = groupesetediteurs)
| @Inheritance(strategy = InheritanceType.JOINED)
| public abstract class EGroupesEtEditeurs
|
Maybe someone tried to call any remote WS and can help me, because I
can't understand where is my mistake!
Thank you
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3894867#3894867
Reply to the post :
I had the same problem when I copied the axis jar -files to server/default/lib.
The Axis classloader can't recover from redeployment, because it has static
classloaders.
The problem can be avoided by copying the Axis jars to your deployment package
instead of servers lib folder. Then the AS
The exception thrown is a custom exception but the lookup for the bean only
failed since I configured a springbean method to be invoked on startup. This
method is responsible for loading static data when the war is deployed.
My stacktrace on jboss startup is as follows:
...
10:23:54,775 INFO
I'm using JBOSS 3.2.5 ( with jGroups 2.2.8 and jCache 1.2.3 )
There is a strangs 'feature' which affects hot deployment on all of our
systems.
the initial deployment of an application is OK. The application loads onto all
nodes in the cluster without errors and appears to run OK.
The problem
Geert,
Sorry, I do not have the answer but... I am very very interested in it... Have
you made any progress?
Also, whether you use JAAS or the createConnection with password, can the
consumer of the message know who sent it? Typically do you know of any means
to allow an MDB to have the
How you solved this?
The problem is org.jboss.portal.core.impl.tree.loader.CMSCacheLoader is in the
portal-core-lib.jar and I can see no way of removing it without rebuilding.
Phil
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3894873#3894873
Reply to the
Hello,
I've just downloaded the JBossCache 1.2.3 and set it up as in the example
local-service.xml, but the eviction policy does not seem to work for me.
!-- Name of the eviction policy class. --
| attribute
name=EvictionPolicyClassorg.jboss.cache.eviction.LRUPolicy/attribute
I am sending UTF-8 / German chars through a form and it works for me. However
it was a longer way for me to get there:
http://www.jbossgroup.com/index.html?module=bbop=viewtopict=63925view=previous
The solution for me was not to modify anything in the portal, but to change ...
the default
ANy luck,
I am having the same issues as jKonkin. Need a solution if anybody knows of one.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3894877#3894877
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894877
Some more info on this: the logfiles indicate that the IdleRemover thread seems
to get stuck. After some time, we don't see the IdleRemover notifying pools
message any more.
After some more time, threads requesting connections from a pool get a
ResourceException: Interrupted while requesting
What exactly are you trying to do? The client calling your session bean will
be blocked for as long as the processing takes place.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3894881#3894881
Reply to the post :
Just finished reading the JBoss Developer's Notebook - well worthy of a read,
very common tasks explained to the point. If you've got the basics of j2ee,
then this shows exactly how to serve it up on JBoss - and I'm staggered to say
- stuff works largely out of the box, deployment could not be
[EMAIL PROTECTED] wrote : the actual content portlet always use the same link.
|
| perhaps it should have an option where then it could be used to navigate
from that portlet
Actually what I needed was a portlet which would display one page when
normal/minimized, to fit graciously with the
I rebuilt the portal from the sources and the portal core part gives this
warning...
compile:
[execmodules] Sep 15, 2005 6:15:23 AM xdoclet.XDocletMain start
[execmodules] INFO: Running
[execmodules] WARNING: Some classes refer to other classes that were not found a
mong the sources or on the
Here is the jboss-service xml... just in case it helps.
?xml version=1.0 encoding=UTF-8?
|
| !-- $Id: jboss-service.xml,v 1.59.2.43 2004/01/03 16:21:25 jhaynie Exp $
--
|
| !-- =
--
| !-- JBoss Server Configuration
You have to submit the form with the right charset
form method='post' accept-charset=UTF-8 ...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3894886#3894886
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894886
hello,
when I strat jboss within eclipse it gives follwing error but when I
start at terminal it run comfortabily I use fedora core 4 ,eclipse 2.1 , lomboz
2.1 ,java1.4.2_03
02:30:56,672 WARN [NamingContext] Failed to connect to localhost:1099
javax.naming.CommunicationException: Failed
You should see a second edition of the book by Java ONE. It will have EJB3
instead of J2EE in the background. Because we can't expect people to be EJB3
gurus already, we'll do a little more teaching and app development than we have
now. We are likely to add in JMS and clustering talk, but I
Reason why you are getting the exception is :
anonymous wrote : The security methods--getCallerPrincipal() and
isCallerInRole()--also throw a RuntimeException if invoked on a
MessageDrivenContext. When an MDB services a JMS message there is no caller,
so there is no security context to be
I am using Jboss 4.0.3 RC2 and I am sending a SOAPMessage using the call(...)
method of javax.xml.soap.SOAPConnection. I also need to set the Authorization
mime header on the message but when I use:
| SOAPMessage message;
| ...
| message.getMimeHeaders().addHeader(Authorization, ...);
Situation: I have some instances of application, working in cluster on
different machines. I want to manage and monitor it via JMX.
For example I want to know value of one parameter on every instance of this
application. Do I have to check this parameter on every server or these
machines
Hi there
I am facing difficulty to access the oracle datasource which is deployed in
JBOSS server from a stand alone program.Trickiest thing was i have already
deployed 2 CMPs on same datasource those are working fine.
The problem comes when i try to access the datasource from a stand alone
Hi All,
I am using jboss 4.0.2 . After starting my jboss4.0.2 when i try to create
scheduler task using our standalone java client which is swing based i GET
FOLLOWING EXCEPTION ON JBOSS SERVER CONSOLE. bUT I HAVE DEPLOYED THE SAME
APPLICATION ON jBOSS 3.2.7 AND EVERYTHING WORKS FINE.
CAN
Hi
I have a small JSF RI portlet deployed with the 2ColumnsLayout. If try to
minimize/maximize the portlet i get
| 13:21:57,089 WARN [ViewHandlerImpl] Unable to determine FaceServlet
mapping for servlet path 'null'
|
and nothing happens.
More detailed:
|
I have problems running an example HelloWorldTest. It doesn't start.
iand gives console output:
13:50:54,693 DEBUG GraphElement : event 'process-start' on
'ProcessDefinition(fc9944)' for 'Token(/)'
13:50:54,740 DEBUG GraphElement : event 'before-signal' on 'StartState(eb017e)'
for 'Token(/)'
I am running JBoss 4.0.2 in a clustered environment. I am using Oracle as my
JMS persistence layer and my MDBs are using the HA-Singleton functionality of
JBoss.
I have a MDB that connects to a mail server to process messages from its queue.
Occaisionally, the mail server is unavailable and
My mistake... It's working!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3894908#3894908
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894908
---
SF.Net email is
Is there any planning to implement this precompile on deploy option?
it looks a nice option
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3894909#3894909
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894909
Is there any way for a user to set their desired locale in the portal? It's OK
to use the HTTP headers as a start to guess what locale the user might like,
but you can't count on users being able to find the proper settings in their
browser. Ideally it would be nice to either allow the user
I think your JNDI name (java:/OracleDS) is wrong. Try with OracleDS.
java:/ works inside the same JVM
J.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3894911#3894911
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894911
Joster,
I have already tryed with that option also but it was not working.
I have tryed with (OracleDS) . But it is showing same exception.
so cant we access JBOSS datasource from stand alone program??
Thanks Regards
Bonthu
View the original post :
Actually, TreeCache extends ServiceMBeanSupport, and that imports log4j's NDC
class. So, log4j is required. Removing the the tie to ServiceMBeanSupport is
on the JBossCache roadmap; this would remove the log4j dependency. I also
think it would be good to abstract away the NDC usage in
anonymous wrote : FAQ means the question has been asked too many times,
| nobody is interested in answering repeat questions from lazy users.
This isn't helpful.
1) FAQ means a series of questions and answers.
see: http://en.wikipedia.org/wiki/Faq
it does NOT mean your explanation, which has a
Hi folks,
Right now I put 2 war files into a ear. these 2 wars files have their own
jboss-web.xml file, but the content is the same, and under their own WEB-INF
folder.
But after I started Jboss, I got this error
--
17:50:00,976 INFO
Actually I am trying to set up the ClusteredSingleSignOn mode for the fail-over.
I configured 2 nodes:
- node1 (jvmRoute: TOM1) and node2 (jvmRoute: TOM2)
I use the mod_jk for the load balancing
I logged on my application from the node1.
I checked that the SSO credential has been replicated
Sorry for the formating errors on my original post:
Here is the summary of my configuration
Tomcat jboss-service.xml:
Attribute UseJK = true
Tomcat server.xml:
Valve className=org.jboss.web.tomcat.tc5.sso.ClusteredSingleSignOn
Kamel
View the original post :
Oh s**t ! Can we create a JIRA issue to remove the dependency on NDC ?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3894930#3894930
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894930
I wonder if 2 web applicaions confilct on one port 8080.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3894932#3894932
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894932
fheldt wrote : You have to submit the form with the right charset
|
| form method='post' accept-charset=UTF-8 ...
|
Yes I'm already doing that as I said in my previous message:
So now I attempt to enter UTF-8 characters in my FORM, the HTML FORM has the
following attribute:
I want to deploy new war out the deploy forlder and call the new page, for
example pages.default.NewPage defined in the new war.
Thanks in advance ... Luis
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3894934#3894934
Reply to the post :
Try to put the mysql driver in tomcat/common/lib also. Hope it works
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3894936#3894936
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894936
Are you using windows? If so, the netstat utility (part of Windows, look in
the help for instructions) will show you which ports are in use. Or you could
use TcpView (available at http://www.sysinternals.org)
View the original post :
I try skip to add the client, and i got this error:
type Exception report
message
description The server encountered an internal error () that prevented it from
fulfilling this request.
exception
javax.servlet.ServletException: Lookup of java:/comp/env/ failed
I just copied the contents of the two folders in the zip file (features and
plugins) to the same-named folders in the eclipse directory - all worked out
fine.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3894943#3894943
Reply to the post :
I have a web application running on jboss 3.2.7. My client has decided to run
it through an SSL Offloader. User agents access the offloader server which
handles encryption and decryption then forwards request to the non-ssl jboss
server.
I'm having a problem authenticating protected resources
http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigDataSources
You need to add a use-java-context element to the ds.xml and set it to false,
this will mean that the datasource will be bound to the global context so can
be looked up without the java: in the JNDI name.
This however is not
fport
http://www.foundstone.com
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3894948#3894948
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894948
---
SF.Net email is
Hi,
if the deploy is correct, the location is incorrect.
Use the web console to look at the jndi name.
Ciao
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3894952#3894952
Reply to the post :
Hi,
I'm developing a web service to be accessed through a HTTPS connection (SSL),
I've configured Tomcat to enable SSL and I've created the appropiate
certificates and the keystore for server and client authentication. The service
works without any problem but the question is:
How can I
Hi ,
I am using Mysql and Jboss4.0.3 with ejb3.0
i am using the jboss ide over eclipse
when i an starting jboss i am getting this exception:
17:29:56,109 INFO [Server] Starting JBoss (MX MicroKernel)...
17:29:56,109 INFO [Server] Release ID: JBoss [Zion] 4.0.3RC2 (build:
CVSTag=Branch_4_0
I have the same problem. Unfortunelly there is few docs to develop apps with
HAR.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3894961#3894961
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894961
This problem has been bothering me for quite a long time now. I created a class
to handle all databse transactions. I am using postgresql on jboss 4.0.2. In
fact this class is used in a web service. But whenever a query is executed (or
updated) I get a NullPointerException. I cannot figure out
... after the complaint ... your schemaexport didnĀ“t find the compiled java
classes to map the DDL. Identify the classpath in your Ant target.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3894968#3894968
Reply to the post :
Hello,
has anyone tried to use JAXP1.3 with JBoss 4.02?
I am trying to use JAXP 1.3's XML validation in a simple web app deployed
within JBoss 4.02. that read a SOAPEnvelope in the request and validates the
body content and sends a response back.
I have included the JAXP1.3 jars in the
Hy for all!
I'm trying to run JBoss 3.2.6 on my windows 2k pro and it shows me the
following error:
16:09:33,811 ERROR [NamingService] Starting failed jboss:service=Naming
java.rmi.server.ExportException: Port already in use: 7098;
First i tried to run JBoss using its default port for RMI,
looking for an opensource JSP editor...
At the office I use Weblogic's Workshop to edit JSP pages with
struts/struts-like logic. Nice thing with Workshop is the ability to hang
pages together in a workflow and display pages (CSS transformed) visually.
Is there an opensource/freeware variation
Hi, I know someone is going to flame me, so I will put as much anit-flaming
information in this message as I can, because I'm tired of this problem, and
not being able fix it based on all the information I've read about it in this
forum.
Here is my setup: (Server)
JBoss 3.2.6 (No I
Yes, there should be no explicit log4j dependencies in the core services/apis.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3894995#3894995
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894995
http://jira.jboss.com/jira/browse/JBAS-2262
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3894996#3894996
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894996
---
anonymous wrote : Also, whether you use JAAS or the createConnection with
password, can the consumer of the message know who sent it?
I guess jaikiran is right, it doesn't make sense in JMS to transport the
security context outside of the message. If you want to transport it, you'd
have to
Hi,
I have the need for a Portal framework, and as a long time user of JBoss, JBoss
Portal is the obvious first choice.
I have been playing around with it (and the Portlet API) for a few days now and
have come across a few 'issues' (which could be all be me, being a newbie to
Portals and all
I am running a multi-site jboss server with 4 instances. They have been up and
running for some time and it works quite well. However, when i deploy
a web service on any of the servers, the REPLACE_WITH_ACTUAL_URL is incorrectly
replaced on any but the 8080 server. For example, on the
8080 web
I figured this out, an old Jboss 3.26 bindings.xml was used instead of the new
4.02 one.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3895008#3895008
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3895008
I dont get this, This is my code
in my ejb-jar.xml file
Item Bean deployment descriptor
display-nameItem/display-name
ejb-nameItem/ejb-name
[EMAIL PROTECTED] wrote : JBoss World Recap to get you started.
|
Is there an up to date link for these presentations?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3895011#3895011
Reply to the post :
Howdy,
Would using JCA work for accessing an external EIS. For example, lets say you
are registrar (godaddy) that must communicate with a registry (verisign) using
their predefined protocol (EPP). Is it possible to use JCA and create a
connection adapter that can use their predefined protocol
Thank you Bela, Brian and Scott
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3895022#3895022
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3895022
---
SF.Net email is
Hello,
I'm developing a simple standalone EJB client. I was trying to set up security
using JASS, but I encountered some problems with authorization. I tried using
DatabaseServerLoginModule, but it seems it is not able to acces the DataSource
in the application server.
So my question is - is
For type safety I am using a custom primary key class. I've got the XML that I
expect but there are a few issues I'd like to iron out:
1) What does my finder method look like now? The CMP field that I used to have
(ID) has been replaced by the unknown primary key: it specifies a field name
I realised that the storelist was null in a new customer, so I added
if (this.StoreList == null)
| {
| this.StoreList = new ArrayListStoreCMP();
| }
|
the store record is created but when I retrieve it via getstorelist it returns
I am creating a startup service as a .sar file and deploying in Jboss server
instance. Now even though I change the contents of my the sar file and redeploy
the sar file, it is not taking the changes and still displaying the old sar
contents.
eg - protected void startService throws Exception {
What are the Class loading differences between libraries that are in a web
application web-inf/lib and that are in class-path entry of
META-INF/manifest.mf of a ear.
I recently developed a web services application with a ejb endpoint.Then
packaged it in a ear file with the classpath entry .The
What are the Class loading differences between libraries that are in a web
application web-inf/lib and that are in class-path entry of
META-INF/manifest.mf of a ear. I recently developed a web services application
with a ejb endpoint.Then packaged it in a ear file with the classpath entry
.The
thnx, workaround fixed %100 cpu utilization problem. It was timer-5 thread for
me which gives stackoverflow.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3895048#3895048
Reply to the post :
Thank you, we're having exactly the same problem. While googling, we saw your
jira entry: http://jira.jboss.com/jira/browse/EJBTHREE-231.
After setting sessioncontext to @Transient it works like a charm.
| @Resource
| @Transient
| javax.ejb.SessionContext ctx;
|
By the way, I bet
Sorry it should be:
| @Resource
| private transient javax.ejb.SessionContext ctx;
|
aycanirican wrote :
| After setting sessioncontext to @Transient it works like a charm.
|
| | @Resource
| | @Transient
| | javax.ejb.SessionContext ctx;
| |
|
View the original
In fact it was:
| @Resource
| private transient javax.ejb.SessionContext ctx;
|
I have applied this fix also to
| @PersistenceContext(unitName = postgresql)
| private transient EntityManager manager;
|
I'm not sure if it's necessary too, but it's working for now.
View the
It is Windows platform
i download fport, it is what i need.
thanks
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3895057#3895057
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3895057
How do I deploy a web app with just the directory and files uncompressed as
opposed to WARring it up in Jboss 4.0.2?
Tha nks!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3895059#3895059
Reply to the post :
hi Dave,
i can't even retrieve my pictures in a onetomany relationship. I can see my
next challenge will be like yours.
please let me know how you get on.
Andrew
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3895060#3895060
Reply to the post :
91 matches
Mail list logo