Actually, it's not as bad as I'd presented in my prior post. Only the first
call (which I'm assuming triggers the bean construction step) takes unusually
long to complete. Once the stub has been acquired and at least one call made,
it's actually very fast. Obviosuly, that warrants some design c
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
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 have
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
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 :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896747#
Hi, I'm using Jboss 3.2.6. We use:
org.jboss.ejb.plugins.lock.NoLock
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
3) if flag is true, add o
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
helloworld.war
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 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 java.security.AccessControlContext.checkPermis
You need to tell eclipse to start Jboss with a 1.5 JVM.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896731#3896731
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896731
-
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 servi
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=bb&op=viewtopic&p=3896727#3896727
Reply to the post
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:
org.jboss.ejb3.EJ
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 screwin
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 d
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 it'
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 :
http://www.jboss.com/index.html?module=bb&op=vie
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 :
http://www.jbo
Moved to user forum. This is a java/linux faq.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896704#3896704
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896704
--
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 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=bb&op=viewtopic&p=3896699#3896699
Reply to the post :
http://www.jboss.com/inde
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 :
h
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, cach
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 FAILED
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 attrib
This is really a tomcat/apache question, not really a JBoss one.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896680#3896680
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896680
---
Session per thread. Sessions aren't supposedly thread safe anyway.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896679#3896679
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896679
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=bb&op=viewtopic&p=3896677#3896677
Reply to the post :
http://www.jboss.co
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 a
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:
|
| http://java.sun.com/xml/ns/jax-rpc/ri/config";>
|
|
|
|
|
Here is my directory structure:
- WS_Example (project
"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 :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896671#
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=bb&op=viewtopic&p=3896668#3896668
Reply to the post :
http://www.jboss.com/index.html?module
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=bb&op=viewtopic&p=3896667#3896667
Reply to the post :
ht
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 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=22866&package_id=84509&release_id=353715
the changelog since 2.0 final :
| Release Notes - JBoss Portal - Version 2.0.1 RC2
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
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=bb&op=viewtopic&p=3896655#3896655
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896655
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 jbos
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 JBossCache_1_2
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 :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=
How do I register a client side handler using the JBOSS client classes?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896650#3896650
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896650
-
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
getHand
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=bb&op=viewtopic&p=3896640#3896640
Reply to the post :
http://www.jboss.com/in
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
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 :
http://www.jboss.com/i
search the web for "distributed transaction XA"
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896637#3896637
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896637
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 META
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
and
Here is the error message. My war file is conman.war
In my web.xml, I am trying to load this listener.
|
rupurt.lifecycle.RupurtApplicationLifecycleListenerJBoss
|
09:24:56,019 INFO [TomcatDeployer] deploy, ctxPath=/conman,
warUrl=file:/z:/conman/deploy/conman.war/
| 09:24
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=bb&op=viewtopic&p=3896629#3896629
Reply to the 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
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 :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3
Have you made sure that the abstract class implements Serializable?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896626#3896626
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896626
-
You can use a thread local association.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896624#3896624
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896624
---
SF.Ne
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
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 dep
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 de
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=bb&op=viewtopic&p=3896620#3896620
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896620
--
How is the associated complex type for
| 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=bb&op=viewtopic&p=3896618#3896618
Reply to the post :
http://www.jboss.com/index.htm
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 [LocalFi
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 mana
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
[org.jboss.ejb.plu
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.
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 disp
meaning
false
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896602#3896602
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896602
---
SF.Net email is sponsored by:
T
try
false
in deploy/transaction-service.xml
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896599#3896599
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896599
--
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:
Sorry but It doesn't work like that man..
Thank you anyway
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896596#3896596
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896596
-
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 t
Will try it out.
Please can you elaborate more on the usage.
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896585#3896585
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896585
--
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: "+myCache.getOb
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 :
http://www
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 :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=389658
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 ma
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 clustering
Thx, a Tomcat only solution would also be great, but i prefer JBoss :-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896574#3896574
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896574
"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 EVERYTH
"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 EVERYTH
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 whe
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=bb&op=viewtopic&p=3896568#3896568
Reply to the p
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
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) {
|
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
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 nee
"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
|
|
|
| OracleDS
|
jdbc:oracle:thin:@192.165.12.200:1521:ded
|
85 matches
Mail list logo