Thanks so much.
Indeed it worked after I changed the Mixin method to take MyPojo as an input
argument.
I was wonder why this has to be the case though.
I can not see from the AOP document that the mixin creation method has to take
the opriginal pojo as the argument.
>From Section 5.6 @Mixin
khaliq/Nusa,
I am also getting the cast exception. I was able to create a regular JSF
managed bean and bind/cast to it just fine however, binding to a Seam component
caused the cast exception:
Caused by: java.lang.ClassCastException:
org.apache.myfaces.trinidad.component.core.data.CoreTable ca
Hi,
I could not find exact references whether JBoss AS 4.0.5GA implement "last
agent optimisation", whereby in a global transaction, there is one non-XA
resource but 1 or more XA resource. Basically, I will have an XA JMS resource
and a non-XA database resource.
I saw some references in www.th
hi there,
I have faced the same issue as you do.
The quick solution:
Look into the Jboss Portal Reference Guide 2.6
(http://docs.jboss.com/jbportal/v2.6/reference-guide/en/html_single/#ipc).
There you find the correct link to the HelloWorldIPC sample:
http://anonsvn.jboss.org/repos/portletswap/
hi there,
There is a HelloWorldIPC-sample available which works immediately for Jboss
Portal 2.4.0, but is mentioned only starting with the 2.6DR-reference
documentation.
Please look this up for a solution for Jboss Portal-2.4.0 and 2.6DR and bug
hints for 2.2.1SP3:
http://jboss.org/index.htm
Hi Folks!
I'm new to Seam/EJB/JBoss, but pretty enthuasiastic for what I've seen so far.
Please forgive if this might be an easy question, but I've searched around and
found nothing on the web or in the forums. Additionally, I'm not sure that I
understood everything (components and their depend
hi there,
There is also an easy way to get the HelloWorldIPC sample for Jboss Portal
2.2.0 with Jboss Portal 2.2.1SP3:
Simply download the sample file for Jboss-Portal 2.2.0:
http://labs.jboss.com/file-access/default/members/portletswap/downloads/portlets/samples/HelloWorldIPC.zip
and then repl
Both JBossTM (the default TM in JBoss-4.0.x) and JBossTS (Arjuna) implement the
LRCO (Last resource commit optimization).
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990794#3990794
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=postin
@chalad,
seems as we are at least two => seems to be a bug.
Removing the subcontext isn't an option in my project. As mentioned, Versions
4.0.4 and 4.0.5 have this bug.
Suprisingly no one else seems to use this feature which is essential to my
customer in production. Buying 24x7 support for ap
In fact this does not solves the problem as I am discussing here:
http://www.len.ro/work/articles/jboss/webapp-logging/[/url]. The solution can
be found in fact here:
[url]http://wiki.jboss.org/wiki/Wiki.jsp?page=Log4jConflictsInJBoss as this was
the problem in my case.
View the original post
Sorry for the bad links, here they are again:
http://www.len.ro/work/articles/jboss/webapp-logging/
and
http://wiki.jboss.org/wiki/Wiki.jsp?page=Log4jConflictsInJBoss
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990797#3990797
Reply to the post :
http:/
Indeed, we forgot to add this requirement to the documentation.
It will be fixed on the next release.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990798#3990798
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990798
_
hi,
i took a look at the JBoss 4 AS guide (adminguide) which i downloaded from
JBoss. What i was looking for was a much more detailed description of JBoss AS
organization and its intern processes so that i could model JBoss AS
mathematically. Do you know if there's a better and detailed documen
anonymous wrote : Should I be moving the EJB security-domain over to that as
well?
Yes you will have to change the jboss.xml as well. It should look like:
|
| SPDB
|
But going by the NameNotFound exception that you have mentioned i guess there
something else that's failing. Let us
Yes, this does make a lot of sense. It can be used as a datastore (replicated,
persistent) or as a true cache (just an in-memory repository).
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990801#3990801
Reply to the post :
http://www.jboss.com/index.html
Re: 880:
No, it's not that I am against this idea, just that I think that this should be
a custom extenstion (something a user may implement) rather than a part of the
core JBoss Cache product.
Then again, there has been some talk about this on the forums and it is useful
for some of our core
Re: 841
Since with 2.0.0, the node is now a top-level construct, I can see the value in
adding comparators to the dataset. I'mnot averse to adding stuff to the API
provided it is useful and cohesive to the core offering of JBoss Cache. Again,
+1 on the idea.
Functors is a nice genericisation
Hi,
Sorry for this topic title, I mean "Cyclic dependencies" ...
So I still can't make the dependecy ignored by using jboss.xml. So i wanted to
try by specifying @IgnoreDependency in the source code. The problem is that i
can't find the library which defines this annotation. I can't see it in
Could you answer the qestion please?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990805#3990805
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990805
___
jboss-user mailing
Not sure if you found more information, but here is what I have discovered
through testing...
I experienced the same problem with the transaction configuration. Seems that
when you configure Hibernate with a factory_class definition other than the
default (JDBC), it assumes that ITis responsib
If the value to inject does not exist, Seam tries to set the primitive to null.
A simple fix might be included in the Reflections.set method:
| public static void set(Field field, Object target, Object value) throws
Exception
|{
|if (value == null && field.getClass().isPrimiti
The org.jboss.logging package is meant to be used by JBoss and not applications
that are deployed on JBoss. I think the main intention behind creating such a
package is to avoid tight binding with log4j or any other logging framework.
Though not directly related, the thread below is mentioning s
Have you checked your JNDI pattern in the seam configuration?
in WEB-INF/components.xml you should have something like this:
|
| true
| true
| easyCV/#{ejbName}/local
|
|
make sure the prefix is the name of your .EAR file.
Alternatively you might
As you probably know *-jdbc2-service.xml and *-jdbc-state-service.xml contain
SQL statements. Unfortunately, as you also know, while SQL is a standard there
exists database differences. This is is the reason why Jboss provides out of
the box different flavors of *-jdbc2-service.xml and *-jdbc-st
Hi All,
I tried to use initialValue in a TableGenerator but it seems not to work (JBoss
4.0.4 GA SP1). Does Hibernate not support initialValue on TableGenerator?
Additionally, I have a generall question. When does Hibernate/JBoss update the
table containing pkColumnName and valueColumnName? Sa
Hi,
I am trying to use Icefaces in an existing (working) application using facelets
and pageflows. I used jars and examples from the Seam-1.1.0-CR2 release.
After modifying all configuration files (web.xml, faces-config.xml etc.,
icesfaces-facelets.jar instead of facelets.jar) the pageflow does
Hello,
my requirement is to implement configuration infrastructure. The configuration
should be persistent and should be synchronized in all nodes of the cluster.
My idea is to use JBoss cache for cluster synchronization and FileCacheLoader
for persistency. I also want to make my own version of
Hello,
We are working on a distributed Java-based application where processes running
in different JVMs need to carry out certain tasks as a response to certain
events. One design option is to use a message oriented middleware where
processes can publish events and subscribers can choose to lis
Hi, all!
I am trying to run my JSF custom component with facelets. Is it necessary to
reference de XX.taglib.xml from web.xml with this code?:
|
|facelets.LIBRARIES
|XX.taglib.xml
|
|
because JBoss Seam doesn't need this context-param (Tomahawk yes). How can I
avoid this
This is a simple classloading problem, and will be solved as soon as you take
the time to learn and understand Java EE / J2EE classloading.
It has absolutely nothing to do with AOP. (??!)
And of course, Seam has a much more sophisticated feature than the ugly-ass and
totally evil prerender() cr
I'm really not sure how well icefaces deals with redirects. It would be better
to direct these questions to the icefaces team.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990821#3990821
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=post
Hi Ben,
thanks a lot for your answer.
My components.xml had the lines you mentioned, the problem was something else
(fortunately it is solved now!):
The exploded-archives dir contained old files which weren't in the src branch
anymore; they caused the trouble. An
ant clean
helped. Everything
Hi
I need to know the used locale in one of my sessionbeans so I inject the
session context in a regular session bean:
@In private Context sessionContext;
then I get the localeSelector with sessionContext.get("localeSelector").
This worked fine when I was using Seam 1.0.1GA but when I switched
Thanks Gavin,
That worked when being called from the bean (running in JBoss), but I get a
NullPointerException when I try and use the (supposedly injected) POJO from the
TestNG test:
Output from TestNG Follows:
(which throws a NameAlreadyBoundException, not sure if that's related to the
proble
I'm using JBoss 4.0.5GA (ejb3) compiled from sources.
More errors
| at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:320)
| at
EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap.writeObject(ConcurrentReaderHashMap.java:1230)
| ... 555 more
Hi,
I've just upgraded to CR2 (from CR1), and my app still deploys and works fine
in JBoss.
However, one of my test suites (extending SeamTest) has started failing. Every
test that tries to use my "login" component fails at the bijection phase. Here
is a snippet of my logs:
| EBUG 04-12
It looks like you're not getting any response packet sent back by the server.
Is it producing a stack trace?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990829#3990829
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=
Thanks for your support.
Regarding your suggestion about functors: I'm actually thinking that something
akin to a materialized view would be almost better. I may have the SQL
terminology wrong, but the idea is that you take a query and then map the
results to a table. When the underlying data i
Hi sklerche,
Not sure exactly whats going on but are you able to try it with jdk 1.5?
Steve
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990831#3990831
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990831
I would like to know if some known strategy exists to simulate inheritance of
aspects made in aspectj for jboss aop. I am working in a project based on
aspectj with this characteristic. The project is very big then I is looking an
alternative, instead of implementing the features in all "subclas
Yes, this is a change in Seam 1.1.0.CR2. You should use:
sessionContext.get("org.jboss.seam.core.localeSelector")
Component.getInstance("localeSelector")
Or just plain:
@In LocaleSelector localeSelector
Check the new docs to understand this behavior, which *is* an improvement.
View the origina
Ahem, sorry for being aggressive. I really need to learn how to not drink beer
and answer forum posts. :-(
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990834#3990834
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=399
This is a known bug that was already fixed in CVS.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990835#3990835
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990835
___
jbos
Thanks Gavin. Sorry that my search hadn't turned up the previous forum post
about this.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990836#3990836
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990836
_
Hi Shane,
I just figured it out. I had this:
|
|Say Hello
|
|
After staring at that for awhile, I decided to do this:
|
|
|
|
Which works. Alternatively, I can take the original button out of the h:form
and that also works.
Thanks for taking the time to help m
I'm currently thinking about using JBoss AOP but i can't seem to get by this
issue. I cannot read the parameter annotations of methods w/ a pointcut
annotation. Here's the code i'm using:
jboss-aop.xml:
|
|
|
|
|
|
|
|
|
|
|
|
java
| ejb-jar.xml
|
|
| administration object ref for
outbound queue
|
jms/ReplyQueue
|
javax.jms.Queue
|
|
| jboss.xml
|
|
|
See also:
http://wiki.jboss.org/wiki/Wiki.jsp?page=BuddyReplicationAndClusteredSSO
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990840#3990840
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990840
___
Oops.
My mistake... didn't do the relaying to EMS from JBoss ds file
Just in case, someone is interested..
tibjmsnaming://localhost/Ticket
ABC
Ticket is the queue in EMS, ABC is my JNDI name in Jboss.
jms/replyQueue is the resource-env-ref
Hello hello,
Seam has nice way of handling i18n by the usage of #{messages.key}, with nice
support for param passing to messages (eg. #{stuff.name} in the value ).
Now i'm trying to implement something that would allow us to construct
grammatically correct messages regarding plurals. I just st
Of course, default button behaviour is to submit the form.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990843#3990843
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990843
Hi guys,
I'm using JBoss4.0.4GA and RedHat AS4.0 Linux.
I want to dubug the remote JBoss in Linux from my Windows machine via
Eclipse3.2.
I modified run.sh and added the following statement
JAVA_OPTS=%JAVA_OPTS% -Xdebug -Xnoagent
-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n
un
I would recommend not modifying the run.sh script directly. In your JBOSS/bin
directory you will find a file named run.conf. This file contains the necessary
parameters to start JBoss in debug mode. You simply need to
find the line
| # Sample JPDA settings for remote socket debuging
| #JAV
Hi Gavin,
Thank you so much for this bug fix. Now, there is no exception again when I
click logout after having used the CVS. However, if I don't click logout, and
leave server alone for a while, the server will throw the exact same exception.
I don't know whether it is a bug or not. Thank you
I am tasked with creating a business process that starts up, checks if a file
is ready for parsing, and then if it is, parses the file. If no file is
available for parsing, it should keep checking for the file. So essentially
there are 5 nodes here:
1) Start Node
2) Check for File Node
3)
This is not a bug, it is due to your SFSB timing out. Adjust the timeout.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990849#3990849
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990849
_
Or possibly because your destroy method throws an exception.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990850#3990850
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990850
__
Hi Gavin,
Thank you so much for your quick reply. I try to test it.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990851#3990851
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990851
__
Hello, All
I've hit a minor snag in my understanding of ManyToMany relationships with
EJB3. In a nutshell, I have a Post Entity which as a ManyToMany relationship
with a Keyword Entity. I'm decided to create my own junction table. The Keyword
table has a unique key constraint on the keyword fie
Hello weston,
Thanks for your help.
With your instruction, I removed the my modification in run.sh,
and uncommented the configuration you mentioned in run.conf.
Then run "./run.sh", the process just be "listening for transport dt_socket at
address: 8787",
but didn't launch the server and other a
By default, the debug configuration in run.conf suspends the start of the
server and waits for you to attach with your debugger. You can disable this by
setting the following property in the run.conf configuration
| suspend=n
|
Note, your server would start if you attached to the server v
Note, just for clarification the property should be set here
| # Sample JPDA settings for remote socket debuging
| #JAVA_OPTS="$JAVA_OPTS -Xdebug
-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=vi
Hi Gavin,
Frankly, I don't really know how to set session timeout. I tried to add the
following code in web.xml:
|
|3
|
Then I login into system, after having waited for a while. I got the following
exception. My destroy code is set in a super class which is extended by a SFSB.
Ok i have lookd at this for a while and maybe i am just not getting it. thought
i was but i cant seem to get the tasks to show up.
I have this business process definition -
|
|
|
|
|
|
|
|
|
|
|
|
Hi Craig,
Your web services are failing because collections are not supported by
jax-rpc. (if you search on this forum you can find out more details).
The short of it is you will have to change your collections to arrays.
Steve.
View the original post :
http://www.jboss.com/index.html?m
Hi there,
This is the answer.
The fragments produced by WSRP and JSR168 must be valid HTMLor XHTML
fragments (depending on the content type of the request) but other than
that no special syntax is mandated by the specs.
The URLs however that are included in the markup and that semanatically
point b
OK, all is fine.
Thanks!
a cup of Java, cheers!
Sha Jiang
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990860#3990860
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990860
I am going through the "Message Driven POJOs" EJB3 tutorial from
http://docs.jboss.org/ejb3/app-server/tutorial/consumer/consumer.html
I am not able to access the example code referred in this tutorial from
http://cvs.sourceforge.net/viewcvs.py/jboss/jboss-ejb3/src/test/org/jboss/ejb3/test/con
I'm getting the exception above with a SFSB that has two methods which are
annotated @Factory. I'm guessing that this means that I'm not allowed to have
two @Factory methods in one SFSB, because it doesn't know which one to call
first, so it refused to do it? I did a Google and I didn't find A
Thought I would answer my own question again now that jbossws 1.0.4.GA
(http://labs.jboss.com/portal/jbossws) is out. They fixed the issue with the
transportGuarantee parameter with the org.jboss.ws.annotation.PortComponent
annotation. When I upgraded things started working.
| @PortComponent
btw ... i switched to using DefaultDS instead of a specific database ... and it
seemed to work.
any idea why that owuld be?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990864#3990864
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=post
I read in several places that org.w3c.dom.Element gets mapped to anyType and
can be used in Document/Literal endpoints. However, I cannot seem to get a
simply test endpoint (using JSR-181 EJB) to work.
Using JBoss 4.0.5.GA w/ JBossWS 1.0.4.GA
| @EJB(name="PingBuildLinksEndPointBean",
beanIn
I didn't notice a @PortComponent annotation, like:
| @PortComponent(authMethod="BASIC",
urlPattern="/contextHere/athenaserver",transportGuarantee="CONFIDENTIAL")
|
Also, I'm guessing you are using the Tomcat that comes with 4.0.5.GA? If so,
you should also remember to set the restrictedUs
Hello Folks,
I have configured the mail-service.xml file in deploy directory correctly to
send a mail. I need to send an email from my application using JBoss AS
4.0.4GA.
How come I accomplish this? How to write a program to send email using JBoss AS?
Please help me.
Thanks in Advance,
Vie
Hello Folks,
I have configured the mail-service.xml file in deploy directory correctly to
send a mail. I need to send an email from my application using JBoss AS
4.0.4GA.
How come I accomplish this? How to write a program to send email using JBoss AS?
Please help me.
Thanks in Advance,
Vie
Please do not cross post between forums. It does not get your question answered
any faster and only clutters the forums with duplicate respones. Further, if
you crost post you aren't guaranteed to get a pleasant response ;-)
There is nothing fundamentally different about sending mail in JBoss ve
I have this same problem.
-Juha-
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990870#3990870
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990870
___
jboss-user mailing l
Hello,
Thank you very much for your quick response. Now, I got the idea.
Sorry for the duplicate post.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990871#3990871
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=39908
Hi,
Have you found any solution to your problem. Infact I am also facing the same
problem.I am using spring-1.2.7. What I am doing is that I am placing my
jboss-spring.xml in the deploy directory. When the spring deployer is trying to
load the jboss-spring.xml. I am getting following error.
i have created empQueue in jbossmq-destinations-service.xml and same queue
mentioned for message diven bean(EMPMessageDrivenBean) in jboss.xml;after
deploying EMPMessageDrivenBean i am getting below error;
when u look at log file at first line only empQueue was created and was bound
to JNDI nam
Hi
Even i wannt to add a startup class to the portal, Where should I add
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990883#3990883
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990883
"chaituu" wrote : i have created empQueue in jbossmq-destinations-service.xml
and same queue mentioned for message diven bean(EMPMessageDrivenBean) in
jboss.xml;after deploying EMPMessageDrivenBean i am getting below error;
|
| when u look at log file at first line only empQueue was created
in
jbossmq-destination-service.xml have you defined you quename ?
jboss.mq:service=DestinationManager
1000
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990887#3990887
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=post
Hi again,
I've not been able to recreate the bug in a test program. However, it now
definitely happens again, with the updated lib. One thread is stuck on
ClassLoader.findBoostrapClass() and another one on
SuperClassesFirstWeavingStrategy.obtainCtClassInfo(). One of them is trying to
load an an
How have you configured the JMS Provider?
What DB are you using?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990889#3990889
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990889
Hmm ... I don't know when the Spring API change occured, but it looks like
there is no compatible version of SpringDeployer with Spring 1.2.7.
You can either use Spring 1.2.4 or 2.0 - with compatible SpringDeployer.
I suggest upgrading Spring to 2.0final and using the latest SpringDeployer.
Vie
in
jbossmq-destination-service.xml have you defined you quename ?
yes
jboss.mq:service=DestinationManager
jboss.mq:service=SecurityManager
-1
How have you configured the JMS Provider?
in jms-ds we have configured the JM
html tags are not coming;sorry for that;
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990893#3990893
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990893
___
jboss-user mai
How can I configure the cache in a way, that it will not exceed the maxheap of
my jvm? I want to create a real big cache used as a data store. I used
passivation=true, but then nothing was written to the persistent storage.
Best, Michael
View the original post :
http://www.jboss.com/index.htm
I was trying to migrate from weblogic to Jboss 3.2.7 I have added all the
Jboss related xdoclet tags and also checked the generated jboss.xml and the
jbosscmp-jdbc.xml and everything is looking fine. But whenever I try to deploy
I get the above mentioned error though this element is configure
to compile @IgnoreDependency - you need
jboss-4.0.5.GA\client\jboss-annotations-ejb3.jar in your compile classpath.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990897#3990897
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=r
91 matches
Mail list logo