dave,
from what i've been able to suss out is that you don't use merge,
Jboss/hibernate is supposed to update when you leave the function.
I can now add a new relationship but if I want to add a new child then it
either doesn't update of if I use merge it starts to duplicate.
Andrew
View
Sorry I haven't. I was hoping someone else would have an idea.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3896528#3896528
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896528
Have a look at the section:
Why is It Different? The Concept of Classloaders
at the following link:
http://www.onjava.com/pub/a/onjava/2003/04/02/log4j_ejb.html?page=lastx-maxdepth=0
This might help in understanding the concept of classloader.
Briefly explaining, your classes are not yet
Hi, is there any way to run JBoss from a CD?
Does anyone know a HowTo for that?
Anyone tried this before?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3896530#3896530
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896530
I found in
[url=https://sourceforge.net/tracker/?func=detailatid=381174aid=631825group_id=22866[/url]
the following:
anonymous wrote :
| 2. For some reason, previous versions of JBoss mapped java.lang
| .Object to a JDBC type of JAVA_OBJECT, and then proceeded to
| serialize the object
This is so far only available in jboss-head with jboss-5.0.0alpha
Once jbossws-1.0 is released there will be a backport to jboss-4.0
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3896535#3896535
Reply to the post :
What sort of round trip times should I expect from a simple call to a stateless
echo style bean?
Server
| @Stateless
| @Remote({Echo.class})
| public class EchoBean implements Echo, Serializable {
| public String echo(String value) {
| return value;
| }
| }
First thanks for your answer. But this isn't helpful for me...
I already use the doc type, but it's not located in the portlet but in the
layout. My layout start like this:
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;
| %@ taglib
Configuration is a simple single cluster, two nodes, and SLSB. Cluster node A
invokes a SLSB service which requires affinity to cluster node B (Our custom LB
policy would redirect to Node B). The LoadBalancePolicy choosetarget is never
invoked. The LB policy does get correctly invoked in the
To be clear, Cluster Node A and B are both JBoss App. Server instances
(4.0.1sp1) which are members of the same cluster, identical configurations.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3896540#3896540
Reply to the post :
lafr wrote : You can put all your datasources into one oracle-ds.xml.
| The root tag datasources can have an unlimited number of
local-tx-datasource children.
I've done that now I have
| datasources
|
| local-tx-datasource
| jndi-nameOracleDS/jndi-name
|
Hi,
Does anyone have any guides on how to deploy extend projects to a Jboss app
server, i have created the project and copied the .war file to the deploy
directory, the appserver picks it up and then throws loads of errorsi guess
there are come certain settings within the project that i
Found the solution in my java I had
| ds = (DataSource)ctx.lookup(java:comp/env + db);
|
and it was working fine for OracleDS
now I've tried
| ds = (DataSource)ctx.lookup(java: + db);
|
and it works for both :)
now I've a question about connection pooling but it's best to put it
Hi,
I have some doubts about the implementation of connection pooling using JBoss.
All I have to do it's to implement something like this?
|
| Context ctx = new InitialContext();
| ds = (DataSource)ctx.lookup(java: + db);
| synchronized (ds) {
|
Hi dcreado,
thanx for your reply.
when i deploy the MessageDrivenBeans on the master and on each other node, i
will run into the following deployment issue.
***
org.jboss.deployment.scanner.URLDeploymentScannerJBoss main
LOCALHOST
Here is a page to start looking at: -
http://wiki.jboss.org/wiki/Wiki.jsp?page=LimitFilesJBossWritesToDisk
Your first task will be to make sure JBoss does not need to write to disk.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3896568#3896568
Reply to the
Hi,
is it possible to let a client acknowledge a single JMS message ? The
acknowledgment is now done a the session level, which is not what we need.
We have the following situation :
JBoss has a queue A
Client CA is consumer on A
Client CB is consumer on A
Every client polls for new messages
gunjan_iitk wrote : Hi All,
| I am using jboss 4.0.2 . After starting my jboss4.0.2 when i try to create
scheduler task using our standalone java client which is swing based i GET
FOLLOWING EXCEPTION ON JBOSS SERVER CONSOLE. bUT I HAVE DEPLOYED THE SAME
APPLICATION ON jBOSS 3.2.7 AND
Thx, a Tomcat only solution would also be great, but i prefer JBoss :-)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3896574#3896574
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896574
Hi
JBoss clustering uses Jgroups communication (multicast) for Clustering
technology . Although multicast is enabled across all routers and firewalls ,
JBoss clustering doesn't work in the same network ( with different subnets ) .
Why JBoss cluster will behave like this ?
Jboss
No luck...still stuck Hot deployment broken
I'm clutching at straws but I'm running out of ideas.
Is it something to do with the Deployment scanner config?
Some of the ??? unbound errors are linked to the URLDeployer I had assumed that
this was a secondary symptom rather than the
What is the current branche for jbosscache (for 1.2.4beta)
i try to see source under fishEye in Main branche but all is deleted and i
don't found a branche for this release named *1_2_4beta
Thx
Christopher
View the original post :
Hi
I just want to know , is there any tool to find out number of concurrent
sessions handled by JBoss server ?
And also , is there any document which will describe the difference between
JBoss and other application server ?
Thanks Regards,
Shashi Kanth
View the original post :
I have registered a TreeCacheListener on my aopcache:
In method cacheStarted(TreeCache arg0)
i call: myCache.putObject(/foo/bar, 42)
And in the same listener in method nodeCreated(Fqn arg0)
i call :
if (arg0.equals(Fqn.fromString(/foo/bar))
{
System.err.println(find bis:
Will try it out.
Please can you elaborate more on the usage.
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3896585#3896585
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896585
Hello everyone,
We are suffering from a very strange problem on one of our Stateful Session
Beans running in a JBoss 3.2.4 server:
The bean implementation class for our EJB inherits from an abstract class which
contains a protected variable of class String[].
This variable is initialized in
Sorry but It doesn't work like that man..
Thank you anyway
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3896596#3896596
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896596
Hi Roy,
It does exist. Take a look at the directory listing. I believe that rep.home
equals to /cygdrive/c/apps/jboss/server/portal/data/portal/jcr in my case.
$ pwd
/cygdrive/c/apps/jboss/server/portal/data/portal/jcr
$ ls -R
.:
repository/ versions/ workspaces/
./repository:
./versions:
try
false
in deploy/transaction-service.xml
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3896599#3896599
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896599
---
meaning
attribute name=Debugfalse/attribute
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3896602#3896602
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896602
---
I was wondering if lazy loading could be done for indivdual columns, or if I
would have to use a native query to achieve what I want.
Let's say you have a table in the database for storing blogs.
Something like
blogEditor int
blogHeader varchar
blogContents text
blogCreated Datetime
You
Hi,
I'm using JBOSS4.0.2.windowsXP(pro)
I deployed the rar file MyHelloWorldRar.rar and a JAR(SLSBean) which contains
a SLSbean only , to use/connect to the Connectionfactory.
1) I'm not able to connect 'MyHelloWorldRar' adapter from the SLSB(code
below).Something to do with the JNDI Lookup.
Hi, I've just tried a new install on winXP Pro, and got the following errors
(in bold):
...
| 2005-09-23 13:44:38,579 INFO [org.jboss.ejb.StatelessSessionContainer]
Started jboss.j2ee:jndiName=lgolnet/IntegrationResponseHandler,service=EJB
| 2005-09-23 13:44:38,599 WARN
Normally message processing within MDB's is 'wrapped' into a container managed
transaction. Maybe larger messages are just getting reprocessed again and again
due to a transaction timeout ? So increasing the default transaction timeout
value (default 5 min I guess) of the Jboss transaction
Hi,
Gave it a shot again after rebooting my Windows machine and got different error
messages:
15:05:34,159 INFO [JCRCMS] Starting JCR CMS.
15:05:34,249 INFO [LocalFileSystem] LocalFileSystem initialized at path
C:\apps\jboss\server\portal\data\portal\jcr\repository
15:05:34,249 INFO
How is the associated complex type for
| ns1:myMethodResponse xmlns:ns1=http://myWS.org/method;
|
defined in schema?
Does it allow a null value for element result?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3896618#3896618
Reply to the post :
Have you looked at the server log to find out why the endpoint is not started?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3896620#3896620
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896620
Hi,
I know I can change the property in
jboss-portal.sar\conf\hibernate\hibernate.cfg.xml, but is there another way to
set the default Hibernate dialect so that I don't have to extract/modify/save
the file?
The change is required as without it JBoss AS 4.0.3RC2 refuses the portal sar
to be
The client does not access the servers JNDI tree.
Lets preach this again: Your fat clients or non trivial cmd line apps should
run on JBoss. At its bare minimum this buys you nameing/lookup (JNDI) and
managment (JMX). These two every non trivial app would need anyway. On top of
that you can
ok. I will look at it. I had to modify some of the deployment code for those
deploying exploded, and it may have broken the packed deployment.
I will get back to the CMS service this weekend/week. I wanted to finish and
check in the new theme, get it out of the way, so I can move on to this and
You can use a thread local association.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3896624#3896624
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896624
---
SF.Net
Have you made sure that the abstract class implements Serializable?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3896626#3896626
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896626
If I use Classloader Isolation for a war, does that mean that all the classes
it accesses must be under WEB-INF/lib? I cannot mix classes from WEB-INF/lib
and server/lib because they have different classloaders?
View the original post :
majohnst wrote : Now when I try to start my app, my webapp says that it
can't find the classes that are in myApp.jar
|
I assume by this you mean ClassNotFoundException. Reason why this is occuring
may be(again assuming that this class is present in the jar), the ClassLoader
that you have
xa-datasource
for tx accross different database machine?
local-tx-datasource
for tx in one database machine?
Any documentation can give the detail usage of these datasource?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3896629#3896629
Reply to the post :
Here is the error message. My war file is conman.war
In my web.xml, I am trying to load this listener.
listener
|
listener-classrupurt.lifecycle.RupurtApplicationLifecycleListenerJBoss/listener-class
| /listener
09:24:56,019 INFO [TomcatDeployer] deploy, ctxPath=/conman,
You can put the file with the Queue/Topic definition under deploy-hasingleton.
This will force the Queue/Topic to exist only on one node of the cluster.
The invoker of MDB will use the JMSProviderLoader (defined in
deploy\jms\jajndi-jms-ds.xml) which in turn will lookup the ConnectionFactory
Ya you are right, the webapp classloader should have loaded your class file,
since control has already reached the webapp.
I am not sure whether that jar file containing the class, is ever getting loaded
Try out the following, not sure whether this might work:
In the MANIFEST.MF file in the
search the web for distributed transaction XA
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3896637#3896637
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896637
---
Hi I am using JBoss 3.2.1.
I want to give a startup file in user-service.xml.
The startup file is in a jar file which is wrapped in ear file.
Now please tell me what should be given in following fields/
AttributeValue
Thanks in advance
View the original post :
It's possible that I have my wires crossed here; possibly I have the
documentation and source versions out-of-sync. But, 'here goes' !
I had to modify an xml and a jsp to get the players.jsp to load properly(
chapter 9. My changes are as follows. Hope it helps someone else.
change players.jsp
This might be useful:
http://java.sun.com/docs/books/tutorial/jar/manifest/downman.html
http://java.sun.com/docs/books/tutorial/jar/manifest/index.html
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3896640#3896640
Reply to the post :
Hello,
I am trying to add a handler to my webservice client. I have tried to do it
programmatically using the HandlerRegistry but when I request the
handerregistry from the Service it throws an exceptions stating:
java.lang.UnsupportedOperationException: Components should not use the
How do I register a client side handler using the JBOSS client classes?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3896650#3896650
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896650
unfortunately no, but you should use the exploded version of JBoss Portal.
if you use the cvs build, you can do sh build.sh explode, which explodes the
sar file and its content and provide you easy configuration.
View the original post :
When JBossCache was broken out as a standalone project separate from the
appserver project, it's CVS module changed.
It's no longer jboss-cache, now its JBossCache.
See http://anoncvs.forge.jboss.com/viewrep/JBoss/JBossCache
Final work on the 1.2.4 release is being done on Branch
Hi guys.
Realy easy question.
I'm looking for information about interaction betwin tomcat ad jboss
The question is: i need to use embedded tomcat in jboss as.
I wont know if I need do download tomcat
or it's olredy inside
It is already there integrated with JBoss so you do not need to download and
install it seperately.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3896655#3896655
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896655
Hello,
I am getting a ClassCastException when doing the following:
| XADataSource m_XADataSource = (XADataSource)
ctx.lookup(java:/MyDataSource);
|
My problem is no doubt not just the above line but my whole understanding of
the area of Transactions.
I am replacing the entity beans in
The portal team is proud to release JBoss Portal 2.0.1RC2, the files are
available for download on sourceforge :
http://sourceforge.net/project/showfiles.php?group_id=22866package_id=84509release_id=353715
the changelog since 2.0 final :
| Release Notes - JBoss Portal - Version 2.0.1 RC2
Even though its the same Network Interface, you are making a call between two
VMs. Running it in the same VM(like a servlet calling the EJB) maybe faster but
I think the numbers might just be what you might get. For all this, JBoss uses
Dynamic Proxies, instead of Stubs and Skeletons, so your
Can someone please let me know how to set up JBoss in a open filesystem as I'm
doing development and everytime I do a change I need to re-build the WAR files.
Thanks,
Pedro
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3896667#3896667
Reply to the post :
You should be able to deploy two instances of the EJB(bound for different
customers) and allocate entity pool instances for each of them.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3896668#3896668
Reply to the post :
papjboss wrote : Can someone please let me know how to set up JBoss in a open
filesystem as I'm doing development and everytime I do a change I need to
re-build the WAR files.
|
| Thanks,
| Pedro
View the original post :
I've been searching and reading about this error for two days. Nothing I've
read has helped me, and I've tried everything.
Here is my config.xml:
| ?xml version=1.0 encoding=UTF-8?
| configuration xmlns=http://java.sun.com/xml/ns/jax-rpc/ri/config;
| service name=FrontController
When you scoped the classloader for ur war, you might also have to set the
java2ParentDelegation to be true. this property is by default set to false, and
so when if the value is false, a NoParentClassLoader gets assigned as its
parent class loader. When the class in the server/lib gets loaded
Did you get any errors on the server startup ? The logs that you posted show no
indication of jmx-console, so i cant really say if it got deployed or not.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3896677#3896677
Reply to the post :
Session per thread. Sessions aren't supposedly thread safe anyway.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3896679#3896679
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896679
This is really a tomcat/apache question, not really a JBoss one.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3896680#3896680
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896680
Hello all,
I am presently using the org.jboss.security.auth.spi.LdapLoginModule for
authentication with great success, and also have it successfully used for basic
Authorization by group.
However, I would like to take a step further on Authorization where my
application would like to use
Hi Julien,
$ pwd
/cygdrive/c/projs/jboss-portal-2.2/build
$ ./build.sh explode
build.sh: *WARNING* Ignoring environment value for $ANT_HOME
build.sh: Executing: /cygdrive/c/projs/jboss-portal-2.2/tools/bin/ant -logger
org.apache.tools.ant.NoBannerLogger explode
Buildfile: build.xml
BUILD
Hello everyone,
I have the following code in a unit test:
TreeCache treeCache = new TreeCache();
treeCache.createService();
treeCache.startService();
cacheManager.put(a/b/c, key, value);
treeCache.stopService();
treeCache.destroyService();
assertEquals(0,
Hello Jacek,
actually you need to do it in the core module where the sar portal-service.sar
is built.
I hope that the explanations where clear enough even if I had to go quickly on
the subject. That was a pleasure for me to expose my work to all of you guys.
cheers
View the original post :
Alexy - as this is an architectural bug - I am hamstring by it as well - when
will it be fixed/has it been fixed, and if so, in what version of JBoss?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3896699#3896699
Reply to the post :
I need the following two URLs to execute the same code (i.e. *not* start up two
separate instances). BTW - My servlets are deployed within an EAR file.
http://server:port/MyApp/abc?param1=value1
http://server:port/OurApp/abc?param1=value1
I've seen/read a variety of documentation and forum
Moved to user forum. This is a java/linux faq.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3896704#3896704
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896704
---
I have been getting No ClassLoaders found for: classname exception when I
start my server. Following is my Mbean configuration in jboss-service.xml
CacheManager
Can anyone please tell me what is wrong with this Mbean description.
Thank you
View the original post :
Wrap your XML with [ code ][ /code ] tags without the spaces and use the
preview button to make sure your post displays correctly.
Also execute the command 'jar -tf sarname.sar' against your sar and post the
output here.
View the original post :
Well I figured out my missing class issue. In some of the classes under
server/lib, I used Class.loadClass. If I changed that the
Thread.getCurrentThread().loadClass it worked.
But now I still haven't gotten log4j to work. I am trying to use a custom
log4j.xml inside my WEB-INF/classes, but
I have been getting No ClassLoaders found for: classname exception when I
start my server. Following is my Mbean configuration in jboss-service.xml
I think the problem is that I dont know under which domain I should deploy this
under.
Can anyone please tell me what is wrong with this Mbean
This may sound stupid but... doesn't that interface have to end with MBean
and not Mbean.
Writing a standard MBean has some fairly strict requirements, one being the
name of the interface must be the same fully qualified name with MBean
appended to it. That lowercase b might be screwing it
I try to start JBoss Server in Eclipse, but I have this error in console:
23:05:52,812 ERROR [MainDeployer] Could not create deployment:
file:/C:/java/jboss-4.0.3RC2/server/default/deploy/ejb3.deployer/
org.jboss.deployment.DeploymentException: Unexpected error during load of:
Yes correct the case of Mbean to MBean.
Are you trying to deploy your MBean in a sar or a war?
It should be in a sar and you need to remove the 'WEB-INF/classes' from the
path.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3896727#3896727
Reply to the post :
We have created a java web service running on jboss 3.2.5 that will call and be
called by a partner's web service. Basically, we will give them the WSDL that
they will need, and then they will reverse engineer a web service off of that
WSDL. (Not client stubs...they will need their own web
You need to tell eclipse to start Jboss with a 1.5 JVM.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3896731#3896731
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896731
I have a similar problem, I did it as you mention but I got another error
Getting J2EE initial context
Looking up EJB Home
java.security.AccessControlException: access denied (java.net.SocketPermission
230.0.0.4 connect,accept,resolve)
at
You should probably use wscompile instead of WSDL2Java.
Have you looked at:
http://wiki.jboss.org/wiki/Wiki.jsp?page=WSDOCClientStepByStep
and: http://wiki.jboss.org/wiki/Wiki.jsp?page=WSDOCServiceStepByStep
I would imagine that wscompile can be configured to generate the server files
from a
I just tried it again and it works. Here's the whole story:
1) I'm running JBoss Portal 2.0 on JBoss App Server 4.0.2
2) I got the zipfile from:
http://download.jboss.com/jbossportal/samples/helloworld.war.zip
3) I unzipped the zipfile to my JBoss deploy directory so that I have a
Hi, I'm using Jboss 3.2.6. We use:
locking-policyorg.jboss.ejb.plugins.lock.NoLock/locking-policy
in our system for performance issues. However, it creates persistency problems.
There is a bean with a function like this:
1) check if entry abc exist, save result in a flag
2) add abc to the table
given a change to class file(s), does anyone know if jboss will reload * just
those files *. i cannot afford to knock users off in the middle of their
sessions just to reload a few minor class files.
View the original post :
Hello,
I am running eclipse 3.1. I am trying to install the eclipse IDE by following
the steps as mentioned in your install guide. Eclipse hangs for long time
before returning with an error that it cannot download
org.jboss.ide.eclipse.jdt.j2ee.core_1.4.1.e31-jar15.jar file. I have seen the
Hello gulapalarajasekhar
Thank you for your response to the above question, however if you could be more
specific that would be very much appreciated.
I have a situation where I have a (1) and web application and (1) ejb module
inside of the Enterprise App (.ear). The 2 problems that I
Windows XP
JBoss 4.0.3RC2 installed via the installer program with all instead of
minimal or ejb3.
MySQL 4.1.14-nt-max via TCP/IP
MySQL-Connector 3.1.10-bin
I'm trying to get MySQL setup as my default database. I keep getting the same
error when I use MySQL as the database for JMS. I do not
93 matches
Mail list logo