You don't need the narrowing anymore. use this code instead:
|InitialContext ctx = new InitialContext();
|MyTestSession testSession =
(MyTestSession)ctx.lookup("ejb/test/MyTestSessionBean/remote");
|
That's all!!!
View the original post :
http://www.jboss.com/index.html?module
Please can you explain again clearly exactly what your set up is and what you
are doing (killing process control-c or whatever)?
Also can you post your code example?
Thx
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038817#4038817
Reply to the post :
http
I to have been wrestling with this for some time now.
I commented out the identities references in the Hibernate config (as directed
by the documentation) and my app has now developed a problem where the class
loader cannot find an AssignmentHandler file that previously worked fine.
|
No, but there was a change which prevented you trying to deploy the same
component twice ;)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038814#4038814
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038814
__
Hi guys.
I am having troubling in deploying JBoss as a distributed cache.
Can someone please have a look at my property configuration
Your help will be very much appreciated
jboss:service=Naming
jboss:service=TransactionManager
I'm going to test that, but I had no problem deploying multiple jars with that
components.xml included. It's only whan I have both jars and wars when problems
start to appear. The same setup was working fine with Seam 1.1 and the
documentation doesn't seem to indicate anything was changed with r
Thanks a lot!
I have replaced the jboss-remoting related jars to the version2.2.0 in my
application. Now the Sender application able to get Connection on Node1, if the
Node0 fails. But the Receiver application throws the exception like:
anonymous wrote : 2007-04-19 15:20:44,861 [main] WARN -
Hello,
I've a standard JBoss Service MBean that depends on two EJB 3.0, an entity
(accessed by a stateless facade bean) and a message driven (that create and
bind a JMS queue).
The Service MBean implementation
| import org.jboss.system.ServiceMBean;
|
| public interface MyServiceMBean ex
1) Read this first:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=59031
2) Start a new thread and try again
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038805#4038805
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mo
org.jboss.util.NestedSQLException: Could not create connection; - nested
throwable: (org.jboss.resource.JBossResourceException: Fail ed to register
driver for: oracle.jdbc.driver.OracleDriver; - nested throwable:
(java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver)); - nested
t
- REPLICATION mode replicates everything is put inside the cache. This is bad
because replicates everything, also objects that have not been modified,
generating unnecessary traffic.
- INVALIDATION mode tags objects that are out of date. This is bad because
objects have to be reloaded into cache
This is the nature of a SLSB
anonymous wrote : The contents of instance variables are not guaranteed to be
preserved across method calls.
or
anonymous wrote : This means that everything a stateless session bean method
needs to know has to be passed via the method's parameters.
View the orig
What are the contents of your /etc/hosts file?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038800#4038800
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038800
___
jboss-u
I've been hanging around for almost two weeks just to make
working.
Simply want to add upload file capability to seam-registration. I'm using
seam-space
sample as reference and adapt it into stateless version. Not refering to wiki's
samples cause it using tomahawk, I just want to have it plain a
We are about to release CR1 (tagged in SVN) that contains WSRP. For technical
reasons, WSRP could not be included in Beta1
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038795#4038795
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&
JBoss Portal does not offer today all those tools as they would represent a
significant effort in term of productization and resource behind it, it's an
whole other world.
What we do provide is a good Forum and we are about to provide also a Blogging
portlet.
Maybe other users of this forum ca
For changing default login, you need to update the script that creates the
default user which is in the conf/hibernate/user/setup.txt . It is a BeanShell
script.
For removing the links, you can try to remove the PagerCustomizerInterceptor in
META-INF/jboss-service.xml, but it would remove lot o
Hi there,
I'd rather avoid deploying the rar separately, because it needs quite a few
things that are part of the ear. I don't want to have to deploy many different
files.
I give you more details about the content of the ear:
- InputDriver.jar contains the message-listener interface, as well a
Hi everyone,
I try to do something very strange ...
In a particular process, I grouped some nodes in a superstate groupe. My need
is : If the user do something wrong in one of the nodes, he can erase the
superstate context by doing a "Rollback" at the superstate begining.
maybe I d'ont underst
Hello,
I created a faceted search & navigation engine (open source):
http://www.facetnav.org:8080/facetnav/demo.seam
I used an imputext, with ajax support.
Now every time when I hit enter I get the problem the whole form is submitted.
Is there something I can do abouw that?
21
Ok, I got it. The problem was that I forgot to replace the javassist.jar in
JBoss/server/myConf/lib with the one in the JDK5 AOP deployer... everything
seems to work fine now, *with* scoped class-loading. Thank you very much for
the help!
View the original post :
http://www.jboss.com/index.htm
Because the FacesMessages are bound to the conversation, which you just ended
;) plain JSF FacesMessage don't survive redirects
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038785#4038785
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=pos
Hm, and the facesMessages do not survive this redirect if I set this option..
why?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038784#4038784
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038784
__
"m.alex" wrote :
| component.xml in each JAR's META-INF contains:
|
| |
| | clientNotificationTopic
| |
| |
| |
|
So you have multiple jar files in your application with the same
components.xml? That's the problem there, you're try
This error has been corrected in the meantime. I have just checked out the
latest version of the console from cvs and verified that it works.
Regards, Martin
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038783#4038783
Reply to the post :
http://www.jboss.
Ok, sorry.
I can't get my object Model in the constructor. My Model has not yet been
created by seam...
When I get in a getAttribute, it works very well.
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038781#4038781
Reply to the post :
http://www.jb
How can i change password for default login (admin / admin)
after login i saw links Dashboard,admin. Can i remove them? or change them ?
Thanks in advance
Mohan
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038780#4038780
Reply to the post :
http
that last suggestion works, but makes it necessary to move the navigation to
pages.xml (not really a bad thing of course). Thanks!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038776#4038776
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=
Anybody?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038777#4038777
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038777
___
jboss-user mailing list
jboss-user@lists.jboss
Do you resolved the problems?
If yes, can you help me?
Thanks in advance
adiceglie
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038775#4038775
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038775
__
Do you resolved the problems?
If yes, can you help me?
Thanks in advance
adiceglie
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038774#4038774
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038774
__
I would
1) copy a vanilla "default" configuration from a clean jboss dist
2) Use a clean "injboss"example
3) Follow the instructions in section 10.3 of the reference manual to set up
the -javaagent loader
**Use the jboss-aop-jdk5.deployer from the 1.5.5.GA release, and follow the
instructions i
ok
| @Name("seam1")
| @Scope(ScopeType.CONVERSATION)
| public class Seam1Action {
|
| private Model model;
|
| private String updateModel{ // method called on an actionCommand in JSF
|//
|setModel(model);
| }
| }
|
@Name("seam2")
| @Scope(ScopeType.CO
You should be able to use
for this?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038767#4038767
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038767
___
jboss-user maili
do a flush before you close the JbpmContext
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038766#4038766
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038766
___
jboss-user
Post your code
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038765#4038765
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038765
___
jboss-user mailing list
jboss-user@lists
Or you could just try to redirect the page? (In pages.xml) It might do the
trick...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038764#4038764
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038764
__
http://jira.jboss.org/jira/browse/RF-105
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038763#4038763
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038763
___
jboss-user mai
sinalize ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038762#4038762
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038762
___
jboss-user mailing list
jboss-user@lists.jbo
When I start JBoss AS 4.2.0.CR2 under a default Linux Fedora Core 6, I get the
following error followed by a container shutdown.
anonymous wrote :
| Caused by: java.lang.RuntimeException: Exception creating identity:
localhost.localdomain: localhost.localdomain
| at org.jboss.remoti
I just needed to find out what feature you were talking about ;)
and yes, this is something we have as a target - better hotdeployement.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038758#4038758
Reply to the post :
http://www.jboss.com/index.html?module
Thanks for pointing that out. Indeed, if I add indirection through an
intermediate page with the same link as I would have redirected to, it works...
bummer...
Starting the conversation when clicking the link doesn't solve the problem
though, since I need the conversation to be active for the d
I've made the following changes:
1. Changed "UseJBossWebLoader" to "true"
2. Removed jboss-app.xml from the example's deployment and the
tag from jboss-aop.xml in the .aop archive.
3. Changed ear-deployer.xml "Isolated" attribute to "false".
4. Re-started the server, and re-deployed the injboss
Hi,
Currently I am evaluating Jboss Portal. I want to setup a portal which requires
Groups, Blogs, Calendar / events / alerts functionalities. I am not able to
find any portlet for such feature. Can anybody help me on this. It is quite
urgent for me.
Or do I need to write my own portlets for s
It' always a good idea to look for the initializations of your own components.
This gave me the major clue.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038751#4038751
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=40
I found the reason for the failure by my self. It is needed to ad the
test-build directory to the build-path of the eclipse project. Otherwise the
embedded EJB-Container will not parse the EJB-classes for components.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopi
I don't think its possible to end and start a new conversation in a single
request (yet). I am not 100% sure of the seam lifecycle, but i believe i have
read in this forum that its not possible, but might be implemented in some
future version. Why not start the conversation when you click the li
"sabdulkareem" wrote :
|
| Will it make any difference?
|
|
Yes, CTRL-C does not kill the server - it performs a clean shut down. Clean
shut down and crash are different things.
There is also a bug in jboss remoting that prevents reconnections in some
situations - this has been fixe
I tried the examples distributed-queue, queue-failover.
Both are working fine.
In queue-failover example the application kills the Messaging-node0
programatically. But I am using Ctrl+C to kill the Messaging-node0.
Will it make any difference?
Thanks & Regards,
Abdul Kareem
View the orig
Hello :-)
I've got two bean seam Seam1, Seam2.
I ouject Seam1 in the context and I can get it in Seam2. It works well.
In Seam1, I've got a getter/setter method on a non seam object Object1.
When I try to get Object1 in my Seam2, I've got a nullPointerException.
When I display attributes of my
"sabdulkareem" wrote :
| 4. The Sender and Receiver applications tries to get Connections using
Recovery Algorithms.
|
JBM uses transparent failover so there is no need to recover the connections
yourself, i.e. you don't need to implement an Exception Listener.
When failover occurs the co
Anybody got some ideas...?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038743#4038743
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038743
___
jboss-user mailing list
jbos
Do the clustering examples run?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038742#4038742
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038742
___
jboss-user mailing list
Looks like a bug in the sybase driver when doing batch updates.
You could try turning batch updates off in the persistence manager
configuration.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038741#4038741
Reply to the post :
http://www.jboss.com/index.ht
As Julien said, look at the ds configuration at AS level:
http://wiki.jboss.org/wiki/Wiki.jsp?page=WhatHappensToJBossIfIRestartTheDatabase
Regards, Martin
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038740#4038740
Reply to the post :
http://www.jboss.com
If you have malformed xml in your ds configuration, I think easiest way to set
it up right is to take the example datasource from
JBOSS_HOME/docs/examples/jca/postgres-ds.xml, modify it to suit your
environment and copy it in the /deploy directory with the name you like.
Regards, Martin
View t
The content of jbpm-ds.xml is :
JbpmDS
jdbc:postgresql://192.168.0.233:5432/bccbpm
org.postgresql.Driver
postgres
voipack
PostgreSQL 8.1
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038737#4038737
Reply
Hi all,
I am trying to setup failover for our standalone applications(MessageSender
and MessageReceiver) using JBoss Messaging.
I have created 3 nodes in my local machine to form a cluster like:
Message-Node0, Message-Node1,Message-Node2 and started the three nodes.
This is the ConnectionFa
URL looks like:
http://localhost:18080/portal/auth/portal/dashboard/admin/default/11?action=6&mode=view
The "action" param is added by the tag. So it's difficult
to guess it.
It's a POST form. Hidden input fields are used to store data. There is no
"action" hidden fields. So, if I transform t
My application server is jboss, and set the individual datasource, but when
start the jboss, I get the error as follow . why and How .
Thank you in advance .
14:28:54,209 ERROR [MainDeployer] Could not initialise deployment:
file:/usr/local/jboss-4.0.3SP1/server/default/deploy/jbpm-ds.xml
or
Hi all,
I am trying to setup failover for our standalone applications(MessageSender
and MessageReceiver) using JBoss Messaging.
I have created 3 nodes in my local machine to form a cluster like:
Message-Node0, Message-Node1,Message-Node2 and started the three nodes.
This is the ConnectionFac
201 - 261 of 261 matches
Mail list logo