| %@ page contentType=text/html; charset=iso-8859-1 language=java
import=java.sql.* errorPage= %
| jsp:useBean id=ou scope=page class=ivas.Outlet/
| jsp:setProperty name=ou property=* /
|
that my little code to use bean in red color
the problem how to use bean in jboss server
View
Hi,
I have my application installed on JBoss 4.0.4, MySQL 5.0.8 and FC5.
Click on link - service=invoker,type=pooled of jmx-console. Then i go ahead and
change the MBean attribute - MaxPoolSize from 80 to 70 and then do Apply
Changes. This works fine. Then i go ahead and invoke stop() MBean
Is it possible to trace when transactions start and finish ? We have an
application that seems to be creating loads of new transactions but I need to
prove it.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996798#3996798
Reply to the post :
well i have solved the problem. i was reducing the code to send you , and i
came to know that conflict was between the JSTL library and the seam pages.xml
action...
thanks a lot for your help..
View the original post :
Hi Peter,
You are right . I am using regular expression in this class. And this is
probably the casue for the exception.
But how do I correct. It is an application I am moving from from an old version
of JBOSS (version 3.2 I think) to now 4.0.5.
In the old version of JBOSS I had to place the
Hi,
I have been fighting with OOMEs and yesterday I was able to
track down the cause.
There are lot of ConcurrentReaderHashMap entries and it seems that something is
repeating itself.
I have heapdump (about 300MB) which can be analyzed using MDD4J for IBM JVM. I
can provide them for further
Hello,
I need to get the time jboss starts, before deploying or anything else.
The Information will be needed in a Scheduler.
We are using JBoss 3.2.6 (we will switch to 4.0 soon, but it has to work on
both, maybe there is no difference, just to let you know).
Thanks
Daniel
View the original
i'd need help understanding the behaviour of my application cause it seems that
when i use a s:button component the backing components are not updated. If i
use h:commandButton everything goes fine. I'm sure everything runs within the
scope of a conversation. That's the code :
h:commandButton
Start one or both of the JBoss instances using the --udp command line option to
change the UDP multicast address to a different value. For example:
run -c config1 --udp=228.99.99.1
run -c config2 --udp=228.99.99.2
View the original post :
Hello,
I've got major problems with my transaction-rollback implementation, and I'm
reading manuals for over two days now (I really like
http://svn.nuxeo.org/nuxeo/ECMPlatform/NXCore/trunk/doc/Transactions.txt ), and
I'm getting frustrated.
The problem is fairly easy; I'm implemention a
actually they are injected in the servlet context of the web application.
the portlet context is a mere wrapper of the servlet context.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996821#3996821
Reply to the post :
[EMAIL PROTECTED] wrote : actually they are injected in the servlet context
of the web application.
|
| the portlet context is a mere wrapper of the servlet context.
Ok, thanks. I have solved the task in another way (the solution with the
mbeanserver inside a transaction). I reed this
Hi, everyone!
Can somebody tell me if a BPEL extension was designed and tested to work in a
cluster environment and how to configure it if an answer is yes?
Thanks!
Serg
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996824#3996824
Reply to the post :
1) Depends on whether the type of the message and/or part match. If the
received message matches the input message of the subsequent invocation, the
assign is unnecessary. If the messages differ and the type of the part matches,
then you need to copy the part from the received message to the
Hello,
i have develop a ServiceMBean wich is using some EJB´s for initializing, and
backup data for a application.
My problem is that jboss starts my Service bevore the EJB´s are deployed and so
i become a javax.naming.NameNotFoundException: testBeans not bound.
When i deploy my Service after
Hi Peter,
Thank you for your help. I just need to put regular expression class in the
WEB-INF/lib.
Torben
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996832#3996832
Reply to the post :
yes, I just noticed it's actually caused by clr=true. what does clr mean? Is
there anyway to solve this problem?
Here is how mu url looks like:
http://testmachine:8080/myweb/home.meal?city=1actionMethod=home.xhtml%3AmyBean.myMethodcid=3clr=trueconversationPropagation=join
View the original post
1) How to create web-application with JBPM?
2) Can I Create whole application using JBPM designer and some tunings of
configuration XML?s nothing else is required. is it so?
3) How to I use GWT in front end and rest process management on backend?
View the original post :
Hello there! Our application start throwing this error few days ago:
Caused by: javax.naming.CommunicationException [Root exception is
java.rmi.ConnectIOException: error during JRMP connection establishment; nested
exception is:
java.net.SocketTimeoutException: Read timed out]
The
You'll be able to extend SecurityConfiguration to load roles/permissions from a
database if you like, however keep in mind that these are only explicitly
assigned permissions, as opposed to the dynamic rule-based permissions that the
security API will also support.
As for enums, the type
So it looks like JBoss 4.0.4 doesn't support the optional JMSX property
JMSXUserID. So is there a way to know on the MDB side what user id sent the
message? It's not an authentication thing since the user was already
authenticated in order to connect to the queue and publish a message to it.
Look for address 0x900a0188 from my previous post.
-Juha-
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996844#3996844
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3996844
Thank you very much for the reply. I have actually tried both of those things.
The problem with the autoReconnectForPools is that you still hit an error once
and then the connection reconnects.
I just don't understand why that would even be happening if I have:
It workd if I use property name=hibernate.hbm2ddl.auto value=update/.
Thanks!
Anyway, I'll experiment a bit more and I will probably report this to hibernate.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996848#3996848
Reply to the post :
Hi,
I have a problem with the following system:
JBoss [Morpheus] 5.0.0.Beta2 (build:
SVNTag=https://svn.jboss.org/repos/jbossas/tags/JBoss_5_0_0_Beta2
date=200612281636)
In JBoss 4.0.4GA//4.0.5GA my MDB works fine, but in JBoss 5.0.0.Beta2 I get
this Exception:
ERROR [AbstractKernelController]
The portal_2_0.dtd supplied with the source code does not match the
documentation. The documentation shows the root element to be . The DTD
states that the root element is .
Which is correct?
I am trying to figure out which version of JBoss Portal to use (if any) to
start a new portal
My requirement is that i need to monitor a mail id from a j2ee application
(using Jboss application server) and if any new mail comes, then i need to
perform some action.
For monitoring the mailid, i am looking forward to use JMX, but not sure that
these functionalities could be performed
WS4EE is part of Jboss 4.0.0, 4.0.1, 4.0.2 and 4.0.3. It is bundeled in the
distribution, you do not have to install it seperately. That is why you have
ajboss-ws4ee.sar
JbossWS is the new stack for Jboss release 4.0.4 and later. It will not work
with your Jboss release.
Hope this helps.
unfortunately, the portal DTD doesn't match the documentation ...
Which is correct? documentation or DTD?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996869#3996869
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3996869
I am using JBoss 4.0.5 with ActiveMQ 4.1.0 as my JMS provider. I have an MDB
set up, reading from an ActiveMQ queue, and am using normal container managed
transactions (with XA). When the transaction fails, the message is correctly
put back on the queue. From the logs, I can tell that my
I also tried calling MessageDrivenContext.getCallerPrincipal() but that always
returns 'anonymous'. I'm creating a connection to the factory like:
| Connection sendConnection =
| connectionFactory.createConnection(dude, test);
|
Any help would be appreciated.
Mike
View the
Hi all,
I have to use some queries with LIKE and ORDER BY operators. Is correct to
override ejb-ql in ejb-jar.xml writing these queries in jbosscmp-jdbc.xml file
using jboss-ql.../jboss-ql?
have I to use ...LIKE CONCAT(?1,'%')...?
hope this is the rights place,
thanks!
View the original post :
Any one from JBOSS EJB team here to help
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996857#3996857
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3996857
___
jboss-user
wstools are part of JbossWS the webservice stack for Jboss releases 4.0.4 and
later. If you are using 4.0.4 or later you should use wstools, If you got a JB
4.0.x prior to 4.0.4 stick to wscompile.
The application server guide has been updated to the new releases that is why
it mentions
Hi all,
has anyone successfully integrated the ice:inputFile/ Component? I am trying
to get this to work, but I keep getting an 404 inside the genrated iframe.
I am new to seam and icefaces.
So any help is highly appreciated.
Here is my setup:
I am using the web.xml from the seam 1.1.GA
How can we configure JBoss to use Gmail smtp. I am using 4.0.2 and I want Jboss
to use gmail smtp. I did something in my mail-service.xml.
| attribute name=Configuration
|!-- Test --
|configuration
| !-- Change to your mail server prototocol --
|
Have you overridden @RemoteBinding.clientBindUrl or its XML equivalent on your
EJB? If so, it's possible you've hardcoded the lookup address in the proxy
object.
S,
ALR
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996875#3996875
Reply to the post :
Hey folks,
I've downloaded a copy of JBoss 5 Beta 1, and I've installed it on a box
running CentOS and I'm trying to do a test run to verify that everything got
installed correctly. When I do, I get a huge dump over the next two minutes,
and it doesn't look like all is well.
The salient bits
Hi,
I need to make http GET from session bean and retreive response code. Should I
use typical java way of implementing it (javax.net. etc classes) or is there
some special jboss way of doing it?
Another thing is deos anywone have any examples of using scheduler (in cron
-like way)? I
I have a stateless session bean which accesses an EJB3 entity. When I use
entitymanager.find() it works fine, but when i do persist() i get the following
error:
org.jboss.tm.JBossRollbackException: Unable to commit,
tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=jupiter/31, BranchQual=,
Having also run into this problem I ran uninstaller.jar, then reinstalled
(selecting ejb) in a different directory, but still see that activation.jar,
jsr173_1.0_api.jar, and jaxb1-impl.jar are missing.
View the original post :
Hi JBossCache folks.
We have a number of use cases where we need to maintain state across
application servers. Specifically, one application in one cluster may need to
save a conversation before redirecting to another application in yet another
cluster.
So, the use case is:
* App 1 stores
I am trying to use URLClassLoader class tor retrieve information about a class
in the local file system, using the version 4.0.5 of the JBoss application
server.
I have a business function in a session bean class in which i do this:
| String classPathString = path;
| File
Hi there,
I ran into a strange problem:
What I'm trying to do is:
An action is called on conversation-component 'A'. All fields are perfectly
injected and carry the right values.
Now I'm calling a method in conversation-component 'B' from the action-method
in component 'A' (not directly, happens
I think you will need a combination of
http://www.java2s.com/Code/Java/Servlets/Servletsessionlistener.htm
and maybe a client side javascript.
http://forum.java.sun.com/thread.jspa?threadID=736720messageID=4487506
View the original post :
Hi all,
I unziped Jboss-4.0.5.GA, and run ant for EJB3.0_RC9_Patch1. It looks
everything was successful, but when I run Jboss server, I got the following
exceptions. Anybody can give me some guidance? Thank you in advance.
10:59:07,937 ERROR [MainDeployer] Could not create deployment:
Please, someone? If I am being stupid, just tell me where I should look...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996885#3996885
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3996885
I am getting the same error with similar xhtml code, but my error is coming
from h:outputText #{bean.firstName}/ which is even more crazy... No one
seen this? Texan, if you found the solution, please post it up. Thanks
View the original post :
Hi
We are using JBOSS 4.0.4GA along with Sonic JCA Resource adapter. I have a MDB
deployed on JBOSS which listens on a Topic on Sonic ESB. Under heavy load on
this topic, my MDB appears to turn deaf after processing 1 or so messages
on this topic. I see in the server.log messages like one
I am using JBPM3.1, this code is working with JBPM3.1.2 here is the code.
*
JbpmConfiguration jbpmConfiguration =
JbpmConfiguration.getInstance(jbpm.cfg.xml);
JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
ProcessDefinition processDefinition =
I dont have clientBndUrl defined or xml files. I'm using ejb 3.0.
Do I need to define clientBndUrl in RemoteBinding? I only have the jndi name
defined in the RemoteBinding.
Is it working for you?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996894#3996894
Sorry I forgot to mention it is JBPM3.1.3.
Guys if u have any solution please post it.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996895#3996895
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3996895
Hello,
I have the same kind of problem.
Did you find a solution ?
Thank you
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996896#3996896
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3996896
hello,
i am new to seam and am trying to perform the actions described in chapter 2 of
the seam introduction guide.
I have two questions/problems with this tutorial:
1. the instructions state to: Add your JBoss installation to the JBoss Server
View in Eclipse. what do i need to do within
ultimately the parser :-)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996890#3996890
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3996890
___
jboss-user mailing list
perhaps we should have a customization guide that would guide step by step how
to customize and integrate ?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996891#3996891
Reply to the post :
I just got done through this tutorial:
http://www.j3ltd.com/articles/shoestring/introduction.htm
I used jboss 4.04 with ejb3 option, and JBossIDE for Eclipse 2.0.0.Beta2.
It's a great article for someone starting out with JBoss + EJB3 + Eclipse.
Though be careful of typos in the article --
Interesting indeed: I was running JDK 6.
Changed JDK for JBoss to 1.5 and it deployed fine.
As a double check I changed back to 6 (simply restarting the server with the
ear still in the deploy directory): The error reappeared
So I guess you should change the import.sql anyway. It's an easy
Check the documentation for configuration templates:
http://labs.jboss.com/portal/jbossws/user-guide/en/html/endpoints.html#template-config
And refer to the MTOM disabled config:
| config-nameStandard MTOM disabled endpoint/config-name
|
View the original post :
The log4j category jbossws.SOAPMessage needs to be set to TRACE
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996899#3996899
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3996899
JBossWS trunk (which is the base for the 2.x releases) can only be build
against the latest AS sources (5.x).
Even if you get the 2.0.0 CR2, it won't deploy on 4.x, because they are not
binary compatible.
But we are currently evaluating the possibilty of providing a 2.x backport that
works
Yeah - very interesting. I guess something in JDBC 4.0 isn't entirely
backwards compatible. I just wanted to make sure that was the issue before
checking a fix. Thanks for finding that!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996901#3996901
Reply
Does anyone have a sample orm.xml file that works? I'd like to start decoupling
some elements from the actually classes like named queries.
Thanks
Dave
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996912#3996912
Reply to the post :
Hello everyone,
I am having trouble to get s:conversationPropagation working with an
a4j:commandLink. I have a master/detail scenerio where a click on row of my
master page will open a new window with detail information. This new window is
opened through javascript and loaded with data
Hi Folks,
I found, that I was missing entries in my web.xml
| servlet
| servlet-nameuploadServlet/servlet-name
|
servlet-classcom.icesoft.faces.component.inputfile.FileUploadServlet/servlet-class
| load-on-startup 1 /load-on-startup
| /servlet
|
s:button does not submit the form. s:button is simply a form of s:link that is
rendered as a button.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996907#3996907
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3996907
I too would like some links on how to do this.
I could do it all manually, but that would suck.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996908#3996908
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3996908
Hmm... I wonder if there is something bigger going on here. The exception
doesn't make sense for a simple component instantiation failure. Have you
gotten any other insite into the issue?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996909#3996909
Reply
Are you trying to bookmark the ACTION or the resulting view? Doing the former
doesn't make that much sense in seam, though it isn't hard to accomplish the
equivalent. If it is the later, why not redirect to the view afterwards so
that you have a much simpler problem to solve? It's hard to
Just like the guy in Beginners Corner
http://www.jboss.com/index.html?module=bbop=viewtopict=98041
I reverted back to jdk 1.5 and the problem went away.
I sure would like to know what the issue is.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996913#3996913
This doesn't make sense. Can you post your entire xhtml page?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996904#3996904
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3996904
Ok, I have come a bit closer.
I have created my own Stateful SessionBean, which exposes all the necessary
methods...
| package de.ellumination.share.sb;
|
| import java.util.EventObject;
|
| import javax.ejb.Remove;
| import javax.ejb.Stateful;
| import javax.ejb.Stateless;
|
Injected values are only kept valid while the component is executing. They
will be dis-injected when then the component is not being used. Remember,
it's not simple-minded IOC configuration injection, it is contexual bijection.
When the component is active, the component will be linked to
I am using JBoss Server as an EJB container to provide access to Stateful
Session Beans. Clients connect via JNP to the EJB's on the Server. When
clients disconnect cleanly they call the remove function on the EJBObject and
this trickles up to the Session Bean and it can do whatever cleanup
Thanks for your help. It is a result view.
Here is what I'm trying to do. I have 3 pages: search-choose from result-
detailed info. I used s:link in the 2nd page. the detailed info page needs to
be bookmarkable. The back bean has a search method and showResult method. both
action methos are
looks like I found the problem. the data list has inconsistent data types.
therefore the unable to call methods.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996915#3996915
Reply to the post :
Can you point me to some documents about where in the JNDI tree Seam binds
objects for the various contexts? It seems like a generic bean that could be
declared in the micro-container and bind beans to JNDI would be useful. Then
people could use the micro-container to setup and configure
Hi ,
I have used another way I have added system/application properties to
properties-service.xml, This file can be found at server/default/deploy.
To acess the variables declared in properties-service.xml , we will be able to
access these varibles ${test.name}, This variable can be acceed
I think what you are doing should work. What database are you using?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996923#3996923
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3996923
Seam doesn't bind anything into JNDI. It only uses JNDI to lookup EJB3
components. If you have other things in JNDI, I think the best strategy is to
use an @Unwrap wrapper around your lookup code. If this were something that
people would generally want to do, I'm sure we could provide some
Can you show the JBoss output after you deploy the application? (everything
from tje Init J2EE application message to the Started J2EE application
message)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996925#3996925
Reply to the post :
Not at all, I commented out the Injecting of the FacesMessages and I haven't
gotten the exception all day long, strange.
btw, how do I add messages to the facesMessages in a Class that extends
EntityHome, because there is no direct access to facesMessages in Home since it
is private and not
Hi!
IIRC, there is no easy way to do that...
Except for adding a binding to join points of classes annotated with Foo, so
that your advice can store the class name everytime it is called.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996927#3996927
Reply to
Hi, Robotics80!
Sorry, but we discussed so many subjects on this thread that I don't know which
declaration you're talking about.
Please, let me know so I can answer your question.
Thank's!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996928#3996928
Reply
You'll have to inject it again in your subclass.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996934#3996934
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3996934
___
I had the same problem, finally found that the JBossWS documentation is wrong!
In the configuration, the wsdl-java attribute is location={file} not
file={file} as the documentation shows. Changing file= to location=
corrected the problem and it generated my Java source. Hope it helps...
i have a similar problem. h:message shows the validation messages correctly but
s:message just doesn't work.
i followed exactly this tutorial:
http://docs.jboss.com/seam/1.1GA/reference/en/html/validation.html
but when the page reloads theres no text on the page. the console of the as
shows
Hi,
I am looking for 'something' that:
- has the features of a SFSB (statefull, can be clustered)
- runs as a singleton
I have investigated a lot the Service bean (the jboss extension) but
unfortunately it does not support replication (am i right?).
I would like to implement a system that
From http://raibledesigns.com/page/rd?entry=tse_hop_into_real_object:
anonymous wrote : Ben just did a survey of the room asking who's using Ant vs.
Maven. Surprisingly, Ant only slightly beats Maven.
I can't stress the importance of being able to declare Seam as a dependency for
Maven users.
hi all,
I am using jboss connection pooling for my web app.
my database is oracle.
I want to know whether all connection in pool use only one session or
each connection creates its own session
Thanks in advance
View the original post :
I think there should be MaxPoolSize rather than a maxSession property.
When I set my MDB to have a maxSession of 1 (to get a singleton), and send
multiple messages to the Queue, indeed only one MDB is actually being processed
(as confirmed in my logs). However, when I go to the JMX-console and
I can see someone has a similar issue:
http://opensource.atlassian.com/projects/hibernate/browse/ANN-513
I though about using AssertTrue, but it felt forced, especially when I would
need to use several if I wanted to actually link errors to certain fields...
Is there a way that I can create a
You can override the Validators component to add your own createValidator()
strategy. But I don't think that's really what you are after. If you think
about what I posted, the problem is not in creating a class validator or having
Hibernate call it. Hibernate does exactly that by default in
93 matches
Mail list logo