There is not really any out-of-the-box way to do this with JBoss AOP, since
what you suggest breaks how Java should work. You could maybe access the
private members by reflection instead, just remember to call
AccessibleObject.setAccessible(true) first.
View the original post :
I never configured the content-type. Where should it be configured?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065417#4065417
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4065417
The Seam-managed persistence context caches entities in the conversation
context (this is what you want to happen). To see the changes made by some
other transaction, you need to end the conversation.
View the original post :
This problem is for integrating Trinidad 1.0.1, Richfaces 3.0.1 and Seam 2.0.0
Beta1 running on JBoss AS 4.2.0 GA. I know there is a seamdiscs example that
shows the integration. By checking out the seam project from CVS using tag
JBoss_Seam_2_0_0_B1, I had no problem building, deploying and
Anyways,
I got it to work.
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065420#4065420
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4065420
___
jboss-user mailing list
Umm, yeah. Ignore my last post, I'm an idiot. :)
I forgot implements ReadOnlyCacheJmxWrapperMBean in my subclass, so naturally
JMX exposed the CacheJmxWrapperMBean instead. Duh!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065422#4065422
Reply to the post :
Hi,
I just wanted to check on the status, I am running with similar problem and
wanted to know if your issue is fixed ?
If yes can you guide me through it ?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065423#4065423
Reply to the post :
I have found a problem with instances of processes. When I start multiple
instance of same process, JMSIntegrationService mix the instances inside the
Token variable. Two instances started at the same time and in one instance flow
did not continue and other instance activity is mixed with
Thank you for your quick reply. I will try reflection then.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065426#4065426
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4065426
___
It's been a few months and I'm wondering if there is a response from anyone or
if this issue has been addressed.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065421#4065421
Reply to the post :
Read The Fine Manual
Basically Adrian told you to read the manual ;)
It is given in Jboss messaging user guide chapter 7.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065427#4065427
Reply to the post :
Try running wsconsume from you application server bin directory, this should
allow the wsconsume script to correctly set the classpath required to load
org/jboss/ws/tools/jaxws/command/wsconsume.
Bye
Alessio Soldano
http://www.javalinux.it
View the original post :
what does you persitence.xml look like?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065429#4065429
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4065429
___
jboss-user mailing
Hi,
I run a jboss server on a production machine in cluster, with changing load of
2-50 concurrent users.
I encountered a situation where a simple method that usually takes not more
than 2 seconds, takes from time to time about 60 seconds.
I put a debug line just before a session bean method
Hi,
I am using JBoss 4.2.1GA.
I have two web applications, say, one is public.war, and another is
private.war. I need to deploy public.war to the port 8080 and private.war to
port 8081.
How can I configure JBoss to make it work?
Thanks in advance!
View the original post :
you could also try just using the initialcontext
| Context jndiContext=getInitialContext();
| ArticleManagerLocal artman= (ArticleManagerLocal)
jndiContext.lookup(ArticleManager/local);
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065438#4065438
Reply
Thanks Alessio. I'll check your suggestion out and post a reply when I resolve
the problem.
David
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065433#4065433
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4065433
I use ExternalInterface in both directions - Flex/Flash to javascript and
javascript to Flex/Flash. In my case user's can use the mouse wheel to zoom in
and out on the diagram very easily. In my HTML page I have a toolbar that has a
combobox showing the current zoom percent. When users uses
Not sure whether it's a bug, or just me, but it doesn't look like the refresh()
method is doing anything for me - the result list is stale and never refreshes,
until I start a new coversation...
I have a simple CRUD screen where the edit form is combined with the record
listing:
h:form
Hi,
I am new to @Stateful. Before I have using the POJO Seam components. But now
when I'm using the EJB3 I have problem with java.lang.NullPointerException.
When I access page after throwed exception again, all is working. But I don't
know where is the problem.
Thansk Mila
Here is code:
Hi,
I'm using JBoss AS 4.0.1sp1 with JBoss Native 2.0 package to get it to work as
a Windows Service. It works fine, however I cannot stop the service later from
control panel. After a while, I get the usual service timed out message, and
I can no longer start it: the log claims that the ports
Greetings ...
I have a project generated with seam-gen. I modified one of this files, because
I need use s:fileUpload component, like this:
Originally
|
| s:decorate id=contenidoDecoration template=layout/edit.xhtml
| ui:define name=labelcontenido/ui:define
| h:inputText
Thanks for your reply.
I can able to fix the issue by giving the namespace tag. But i have few other
problems with mulitple instance of same portlet on same page. I am invoking the
javascript before the body tag
alert(Test);
...
On submit of this form again i am
Thanks for your reply.
I can able to fix the issue by giving the namespace tag. But i have few other
problems with mulitple instance of same portlet on same page. I am invoking the
javascript before the body tag
| script language=JavaScript
| alert(Test);
| /script
|
Hi Adrian
I need your help urgently since my application is running on production
I get error on the jboss like
Cannot ping the JMS server; - nested throwable: (java.io.IOException: Client is
not connected)
Please help I need to fix this issue immediately.
Please ?. Please ?.help , I realy
Hi guys,
quite a long time ago, I think, I can add destinations simply by adding some
lines in configuration (destinations-service.xml), and new destinations will be
deployed without service interruption.
However. Now, when I am using JBoss 4.2.0 and JBM 1.3.0 G.A, this is not
working
Try this and see if its still random
| script language=JavaScript
|function callOnLoad()
|{
|alert(Test);
|}
| /script
| body onload=javascript:callOnLoad();
| ...
| /body
|
Basically making the code execute using DOM events.
anonymous wrote : Also previously with earlier versions of JBPM I was using the
controllers to create text input forms, it seems this is no longer working, and
looking in the example web sale app there are xhtml forms pre created ? Is this
how it works now ?anonymous wrote :
| | Yes
|
please use a new topic for this. This topic is on concurrency within one
process, not for concurrent instances of a process.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065460#4065460
Reply to the post :
We have a newer version of JBoss cache and jgroups which we were suggested to
download and use when we initially deployed this application in production
along with JBoss 3.2.6.
Given below is the dump from the Manifest files from the JBoss cache/jgroups
and Jboss AS.
The JBoss AS is clustered
I'm a performance tester tinkering with configuring a jboss startup script.
I've updated other files before without issue and have gotten our profiler
picking up all the methods within a JVM.
I'm having issues adding an argument to the JAVA_OPTS on this JBoss application
server. The argument
Did anyone find a solution to this problem. Recently upgraded from 4.0.5 to
4.2.1, having the same problem.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065466#4065466
Reply to the post :
excellent, thanks for that!
Any ideas on mail setup?
Thanks for your help
Ross
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065467#4065467
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4065467
I'm trying to get a standalone JAX-WS client running with WS-Security. At
present, it can't find the keystore. The documentation is somewhat incomplete
in this regard:
We did not specify a key store or trust store, because client apps instead use
the wsse System properties instead. If this was
Tried with the Onload event but still its not working.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065468#4065468
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4065468
___
Are you by any chance using the Partial Refresh feature of the Portal?
Reason I say that is with Partial Refresh only portions of your page a loaded
and the Page is not fully refreshed.
If you page is being fully refreshed, the onload event on your body should be
getting called
Thanks
View
Hi,
using a build from CVS 18/07/2007 I can no longer access the debug.jsf page. I
get the following exception:
| 8:08:45,946 WARN [lifecycle] phase(RENDER_RESPONSE 6,[EMAIL PROTECTED])
threw exception: javax.faces.FacesException:
javax.el.PropertyNotFoundException:
JBoss comes with Hibernate installed, so there's no work to do there.
What database are you using? oracle, mysql, ...?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065477#4065477
Reply to the post :
for mail, it is best to lool at the testcases in the source (we see it as part
of the docs ;-)) . This could give you enough info to get started.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065480#4065480
Reply to the post :
No i am not using the partial refresh feature.
No one more thing is that the link tag for styles is also not working similar
to the javascript.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065482#4065482
Reply to the post :
line 128:
| catch (Exception ere)
| {
| log.error(could not destroy contexts, e);
| }
|
I'm guessing you meant
| catch (Exception ere)
| {
| log.error(could not destroy contexts, ere);
| }
|
Change the logging to trace and see whats happening.
Regards
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065484#4065484
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4065484
Hello,
I'm currently having some troubles with the WebServiceContext injection, and I
saw that this release fixes this problem. The project that I work for is using
jboss as 4.0.4, and I saw here:
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWSLegacyDocumentation
that this version partially
Hi,
Envi:
JBoss 4.2
Portal 2.6
CMS Alfresco
I want to have a class at the start of the portal which would service and get a
login credentials to be used later in different portlets. Login not related to
Portal but for a different underlying CMS (Alfresco) access.
I could see that we can have
Have a search in this forum too.
I vaguely recall people having similar problems moving from 1.2.0 to 1.3.0 and
they resolved it. Some problem in their config - maybe something to do with
scoping (in 1.3.0 you shouldn't scope anything)
View the original post :
And this onload javascript works just fine when only one instance of the
portlet is placed on the page?
At this point you may have to do some javascript debugging on your browser.
The part is actually completely independent of what the portlets are doing on
the page. The Portlets are just
Ok. May be the mistake is in my configuration. I think I will ask the people in
deployment forum.
Thank you for your confirmation.
Best Regards,
Hendra
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065489#4065489
Reply to the post :
I found the problem. I had
core:manager concurrent-request-timeout=500
| conversation-timeout=12
| conversation-id-parameter=cid
| conversation-is-long-running-parameter=clr/
|
in my components.xml and apparently Seam 2.0
This topic suggests that this is a warning that will still come for SFSB -
Stateful session beans.
http://www.jboss.com/index.html?module=bbop=viewtopict=81523
However is this error anyways related to slowness.
And why does the error occur? Is it because when the cache is attempting to
I did the following for the partial refresh
Log in as admin and added the Partial refresh property for that page but
disabled the partial refresh by unchecking it.Then log in as the user and
copied that particular page to my dashboard. Now everything is working fine.
The problem is with the
I found a solution... I had to add a few jars to the WSTOOLS classpath in
wstools.bat, but it was different for JRE 1.5 vs 1.6.
Using JRE 1.5.x I had to add the following:
set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JBOSS_HOME%/client/wsdl4j.jar
| set
Just a correction to my earlier message.
I understand it is not an error, just a warn - but does hundreds of messages
like this indicate a problem that we need to investigate?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065499#4065499
Reply to the post :
Hello,
I'd like to know how to acess the MainDeployer in Jboss 5.
The Wiki entry (http://wiki.jboss.org/wiki/Wiki.jsp?page=MainDeployer) of the
Maindeployer says
that in JBoss4 the MBean jboss.system:service=MainDeployer can be used to acess
the MainDeployer.
However for JBoss5 it only says
Hey,
I was wondering about few issues that I'll be glad if you guys can make them
clear to me,
Since actions can be implemented on any bean without much limitations, I'm
kinda confused how to design my beans correctly.
Usually actions needs access to resources such as database, transactions,
I am in the process of trying to build a bridge between Flex and Seam. In my
factory for creating the remote object I have it delegating to Seam for this.
| new
Initialization(flex.messaging.FlexContext.getServletConfig().getServletContext()).init();
|
|try {
|
Hi,
Same error for me...
Could you tell me if this error has been corrected in newer versions of JBOSS
AS and/or JBOSS WS ?
Thanks,
fred.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065508#4065508
Reply to the post :
Adrian,
you removed some content from the wiki concerning DataSource configuration.
See http://wiki.jboss.org/wiki/Diff.jsp?page=ConfigDataSourcesr1=35r2=34
Did you place that information elsewhere?
Was it inappropriate at that place?
Ciao,
Tobias
View the original post :
Blocked where? Ask yourself is there really any information in your question
that makes it answerable?
GUESS:
These threads are part of thread pool. They're intended to block until
work is available (or they've been idle for too long and are destroyed).
View the original post :
You're on the wrong track. JMS is not a database where you do CRUD operations.
Redelivery of messages is a part of the JMS api.
If the client does not acknowledge a message (for whatever reason)
then it will be redelivered with the redelivered flag set:
| if (message.getJMSRedelivered()) {
And ironically RTFM is also documented in the docs :-)
http://wiki.jboss.org/wiki/Wiki.jsp?page=BadPostRTFM
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065511#4065511
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4065511
The only things being rendered are pure html tags.
Tags like ui:composition are not being interpreted by the browser.
I copied the web.xml and components.xml from the dvd store example, but nothing
helped.
Appreciate any help
View the original post :
Thanks Fred,
I dont see any error messages in server.log . The server starts without any
issues but when I try from browser, the browser waits/tries for sometime and
then results in Problem loading page with
The connection has timed out
The server at xyz.corp.abc.com is taking too long
I don't think the onload javascript execution issue has anything to do with the
fact you have instances of the same portlet on the same page.
This issue is more related to the way AJAX based Partial refresh works, and
when that happens, only your pages DOM model is getting updated, but the
Am I using the wrong ...-state-service.xml ? I basically modified the
hsqldb-jdbc-state-service.xml to use the MSSQL 2005. It seems like the error
has nothing to do with the SQL statements in the xml rather something
hardcoded...
Getting the exception below:
10:53:46,347 WARN
FYI: If Patrick pretty cool WebService/Action library is not an option for what
ever reason. The FlexAjaxbridge makes using the seam remoting(javascript)
pretty easy. An example of the helloworld
| ---Html page
|
| script src=FABridge.js /script
| script type=text/javascript
I'm running jboss embedded on tomcat.
For some reason every once in a while (I haven't figured out the circumstances
yet), I get some strange transaction problems.
SeamPhaseListener (line 560) checks to make sure Transaction.instance() isn't
STATUS_ACTIVE or STATUS_MARKED_ROLLBACK, but it
Ok, either way, your version of JBoss Cache will not give you JMX info. And I
wouldn't recommend running a production system on a beta version of JGroups!
Even if you are reluctant to move to a newer version of JBossAS or JBoss Cache,
I'd certainly recommend using a production version of
Possibly related: The portlet spec says something about disallowed HTML tags.
I believe head and body were among them.
Is this relevant when using JSP?
Maybe dispatcher.include(myJSP.jsp) parses those tags out when returning
control to the portlet.
View the original post :
I am going crazy with this, in fact I am about to eat glass. Anyone
encountered this before?
|
| javax.servlet.ServletException
| javax.faces.webapp.FacesServlet.service(FacesServlet.java:256)
|
Hi,
I have 2 applications (WAR and SAR). Currently, the same set of shared
libraries are copied to both the locations and hence, I am running into a
ClassCastException which appears to be due to ClassLoading issues (based on
reading done). So, I need to move these to the EAR level (WAR and SAR
anonymous wrote : Any idea how this can be achieved under JBoss?
Sorry Steve, i havent done that before and lack knowledge, for answering this.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065528#4065528
Reply to the post :
I'm not exactly sure if this will help but I noticed problems when I tried to
do certain things to early in the component initialization phase. For example
my session contexts would be null. My trick is not to do things that access
contexts until the create method is called for my Seam
Looks like I found a solution . In case anyone else face this issue:
If I change the ports in some 7600 range , I'm able to access remotely but
if it is 8080 or any other port (other than 7600), it does not throw any
exception but unable to connect (timeout) from browser.
Does anyone know
They are just warns, if you dont need log4j just ignore them in the standalone
program of yours and the program will still work.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065531#4065531
Reply to the post :
Thanks for the replies. It still doesn't work, tried a dozen of jndi-lookup
possibilities, but no success. However, injection works perfectly:
| public class TestServlet extends HttpServlet {
| private @EJB ArticleManagerLocal artman;
| public void doGet(HttpServletRequest req,
FWIW I got the DB tables to create and load the sql by changing the Resource
Type on my pool from javax.sql.ConnectionPoolDataSource to javax.sql.DataSource
and leaving the Datasource Classname set to
com.mysql.jdbc2.optional.MysqlConnectionPoolDataSource.
Any thoughts on why this is what it
In your faces-config.xml file:
| application
| locale-config
| default-localezh/default-locale
| supported-localeen/supported-locale
| supported-localeen_US/supported-locale
|
The solution to this answer is not to forget about the JSF lifecyle.
| new
Initialization(flex.messaging.FlexContext.getServletConfig().getServletContext()).init();
|
Lifecycle.setServletContext(flex.messaging.FlexContext.getServletConfig().getServletContext());
|
anonymous wrote : Any ideas on how to properly stop the service?
When you stop the service, are there any errors in the server.log file?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065543#4065543
Reply to the post :
Thanks for the tip. I too was thinking of upgrading to a release version of
JGroups but wanted to ensure compatibility. The upgrade matrix link that you
provided is useful in that regard.
Based on the compatibility matrix between JBoss cache and JGroups as shown
here, i checked out the JGroups
Thank you!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065545#4065545
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4065545
___
jboss-user mailing list
How about this:
|
| # initialise root logger with level INFO and call it
| log4j.rootLogger=INFO, stdout
|
| #set your application to use the BLAH appender
| log4j.logger.org.myapp=INFO, BLAH
|
| #configure the Console appender
|
anonymous wrote : So, I need to move these to the EAR level (WAR and SAR
applications are deployed as part of this EAR). How can I do that and what are
the steps involved?
|
You will have to create an ear file containing the war file and the sar file.
Additionally, you will require a
anonymous wrote : Nops, There is only one jar file common-collections.jar in
default\lib\.
I meant, do you have multiple copies of the same jar file on the server?
anonymous wrote :
| And it is there in build path of both EJB as well as Web app.
|
You mean that the deployed ejb jar
Well at the end there is a unique HTML page with a unique html, head and body
tags. So in your portlet you mustn't produce those tags.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065548#4065548
Reply to the post :
ramdas wrote :
|
| Based on the compatibility matrix between JBoss cache and JGroups as shown
here, i checked out the JGroups download site and they have 2.2.9.3 as the
latest. I am assuming 2.2.9.x to mean 2.2.9.* right?
|
|
Yes.
View the original post :
I need to do some extra validation in certain actions -- for failed validation,
I can set control-specific error messages in the action method via:
FacesMessages.instance().addToControl(name, new InvalidValue(my error text,
MyClass.class, name, getInstance().getName(), getInstance()));
but
Is this working now with Seam 2.0 B1 and Trinidad 1.0.1/1.2.1?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065551#4065551
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4065551
The situation occurs on a user account login information retrieval. An action
class takes an email address to retrieve the data. If the email address is
incorrect for various reasons, the same screen/page will be redisplayed.
Other than a pair of getter and setter for the email address, there
The logs and the jndi.properties look OK. Not sure what might be wrong.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065553#4065553
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4065553
Try (all on one line, it is long so it wraps):
JAVA_OPTS=$JAVA_OPTS -Dprogram.name=$PROGNAME
-Xbootclasspath/p:/opt/MercuryDiagnostics/JAVAProbe/classes/IBM/1.4.2:/opt/MercuryDiagnostics/JAVAProbe/classes/boot
View the original post :
What kind of access? Programmatic? Administrative? For the latter, see the
file server/xxx/conf/bootstrap-beans.xml.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065556#4065556
Reply to the post :
The ConnectionFactory is bound to the global jndi namespace. Looking up
ConnectionFactory should have returned you the connection factory. Is that
all you see in the exception stacktrace or is there more in the stacktrace? If
so, please post the entire exception stacktrace
anonymous wrote : by
Hi guys,
I have the following inital Method to fill my database everytime I start
jboss-4.0.5:
| public void contextInitialized(ServletContextEvent arg0) {
| logger.info(ServletContext initialized, initialize DB.);
| InitialContext iCtx;
| try {
| iCtx = new
I am trying to add a gif tothe login page. However, even though I have it in
the image folder under
{jboss_install}/server/default/deploy/jboss-portal.sar/portal-server.war/images
the gif image will not display on the page. Is there some reason why gifs do
not display?
View the original
I forgot to post this method:
| public void saveMockEntities(ListEntityBean entities) throws Exception {
| for (EntityBean entityBean : entities) {
| em.persist(entityBean);
| }
| }
|
View the original post :
this is an annoying little problem.
I have a long running conversation marked by Begin and End.
The method marked with End is also the Start of my Business process
(@CreateProcess) where i persist an object that is the result of the long
running convo, and add the Primary key of the object to
This used to be a known problem but I believe it has been fixed. How old is
your Seam 2.0 beta? You might want to try the latest build from cvs.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065562#4065562
Reply to the post :
Thanks.
I will first attempt to increase the max_credits on the jgroups FC to 2 million
like you suggested initially.
As a next step will install jgroups 2.2.9.3. Hoping between these changes i am
able to get around the jgroups blocking issue.
Thanks
Ramdas
View the original post :
The warning is pretty straightforward. Only a root deployment can define a new
classloading scope/domain.
I don't recall what was the exact fix we made, but it seems your packaging
could be wrong before.
View the original post :
101 - 200 of 245 matches
Mail list logo