You have to use the cmr field of the user that is created. After creation you
can have an empty Collection on calling the getCMRfield() method. Then you can
use the Collection methods to add related CMP's to that collection.
Suppose you hava an collection of roles(CMP's) in a Collection
I am trying to deploy the the Fibonacci Application example porvided in the
jboss tutorial. I have exactly followed the instructions but am getting this
error. Please if someone can help me out
08:13:37,111 WARN [verifier] EJB spec violation: Bean : Fibo
Section: 22.2
Warning: The bean
As to the performance, just test it as it depends on lot of factors.
As to the CMR, make sure the field access and collection iteration is done in
the same tx.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3855159#3855159
Reply to the post :
Sorry, don't know where to find the full document.
In short, the missing part is that you need to configure a clusterwide id for
your tomcat. This is done by adding jvmRoute=... to the engine-tag in your
tomcat.
e.g.:
...
Have a look at the documentation from apache.org (don't know a
Be aware of how you fill the CMP field (if you're using CMP). Look at the type
mappings in the standardjbosscmp-jdbc.xml file. E.g use a Calendar object in
your application to create a correct date and time object (aware of timezone
etc.) and use this object to fill a date, time or timestamp
Even the DTD doesn't know anything about EARs with other EARs inside. JBoss
should?
http://java.sun.com/dtd/application_1_3.dtd
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3855163#3855163
Reply to the post :
Have you considered using standard portable J2EE web services (WS4EE) with
JBossWS?
http://www.jboss.org/wiki/Wiki.jsp?page=JBossWS
Borland probably wants to support that and discontinue JBoss.NET
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3855164#3855164
Not sure if this will be any help to anyone but...
The problem occurs when using the commons-logging.jar package inside a web
application deployed on JBoss 3.2.5 (or higher).
The latest JBoss uses Tomcat 5.X and evidently there is a class loading issue
with this (there are other posts with the
I fixed the wiki page.
Keep in mind that we strongly recommend using mod_jk1.2 instead
http://www.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3855166#3855166
Reply to the post :
I've always used Jboss 3.0.7. To connect AS/400 from my application following
data source works perfectly.
?xml version=1.0 encoding=UTF-8?
|
| !-- =
--
| !--
Thank you so much.
I will try to change the commit option to B. Later Ill return with feedback
and some numbers
Again, thank you so much.
Bye,
Eduardo Rodrigues
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3855172#3855172
Reply to the post :
Hello,
I have deployed an EJB session bean on jboss 3.2.6. The session bean acts as a
client for a webservice and therefore I had to activate Isolation with
Overriding for the axis libraries, because they interfere with the standard
libaries from jboss.
Now I'd like to publish this session
mespee wrote : Resolved:
| The key is the login-config.xml. They changed the section under !--
Security domain for
| JBossMQ --. I just took the 3.2.5 part of that section, and pasted into
| our login-config.xml and then it worked.
Hi mespee,
I have the same problem but I can't apply
genman wrote :
| JBoss already has tomcat 5 built in.
I kwon but I want work with other tomcat in other directory, how this is
possible ?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3855177#3855177
Reply to the post :
I am developing a quite complex application and have run into the folowing
problem.
For example I am using eXist as xml-database. I created a MBean for starting
the databases at deployment time. For this I have a jar-file containing eXist
and a sar-file containing the MBean. As I want the
Hi,
when using Bea-Weblogic there seems to be a way to make jar-files available to
all applications on the server if puting them in a special directory insoder
the ear-archive. Is there a similar way to do this with jboss?
I have quite a large set of independant Application-Parts, that all use
Raist_Majere,
Thanks for your reply. This (now solved) was a bit of a wierd one. The bit of
test CSS I was using simply modified the look of h1. I was using Firefox to
view the page and for some wierd reason Firefox seems to ignore the first CSS
tag defined! So the paths issue was a red
How could it be, that the Header accept-encoding with the value gzip, deflate,
will be parsed to --- and - ---, if I use jboss 3.2.6 with
tomcat instead of standalone tomcat 5
View the original post :
How can I disable this feature???
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3855183#3855183
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855183
---
This SF.Net
Perhaps you need to look at your rolesQuery. The result-set from this query
should return role-name and role-group-name (which I have hard-coded to
'Roles').
So maybe you could try something like:
select RoleName, 'Roles' from UserRoles where username=?
View the original post :
Another tip:
Increase the prepared-statment-cache for your datasource. This lead to a
dramatic performance increas when doing some SPECjAppServer2004 benchmarking.
Yet another Tip:
Use the JRockit VM from BEA it did not increase the troughput much, but the
response-time was a lot better. It's
At the moment I am working on a project for SAP where we have to compare the
new SAP Netweavers performance compared to JBoss 4.0.0.
As Installing SAP Netweaver on a Server-Cluster was a total, neverending
nightmare and SAP secially wanted uncensored results, I am planing on giving
them
On Systems with heavy load this parameter can be a very good performance
parameter. We used it for shifting the thrashing-point of the system.
I would only recomend increaing the transaction timeout, if you realy need the
time for your transactions. If not you are only delaying your problems
I'm trying to migrate and EJB previously deployed as a web service in WL6.1.
I've looked at the JBoss WS, and it seems that its not ready for prime time
yet. There's far too much manual generation of wsdl files etc.
So I revert to JBoss.NET which I have in fact had working in an older version
I see, another try to organize that huge pile of information this website
provides.
Good that you are trying ... but WhoTF came up with these we are so coporate
images at the top? (I saw a nice back of a girl unknown to me, that's the only
one I liked so far ;))
They look like canned music.
The training would show you how to use the included JBoss Scheduler Service.
It's all there.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3855191#3855191
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855191
Hello.
If we are deploying/re-deploying a large file (say ear), JBoss begins deploying
the individual elements (beans, servlets etc). The client can then access these
even though the ear deployment is not complete.
One idea i had is to stop the appropriate invokers and then to restart them
Hello scott, hello robuttera,
I experience the same problem.
I try to use a protected method in an ejb but it
seems the roles are not set properly.
Here is the stack trace ...
|
| 14:01:36,254 INFO [STDOUT] fnowak
| 14:01:36,254 INFO [STDOUT]
Hi, our webhoster forced us to upgrade our jboss 3.2.3 installation to 3.2.6.
The deployed application still runs as expected but there are now many xslt
related error messages in the server log.
This is what I see:
12:44:08,699 INFO [STDOUT] [Error] :99:80: Document root element
We've seen this kind of behavior in the past when using mod_jk2. The reason is
still not well identified but it is definitely not a problem caused by JBoss AS.
That's why we recommend using mod_jk1.2 instead as explained in this wiki page
Hey group,
I'm trying to access a simple Session Bean via JNDI. I'm using JBoss 3.2.6 and
everytime the lookup is performed, I get an exception ejb not bound I already
searched all the other newsgroup entries, but I couldn't find anything fixing
my problem. The strange this is, that the EJB
I found the fix to the problem!
It was identical to this:
http://java2.5341.com/msg/64448.html
Where the axis URLMapper service was not running correctly.
James
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3855204#3855204
Reply to the post :
Download the tutorial from
http://sourceforge.net/project/showfiles.php?group_id=22866package_id=72248release_id=254457
That is for Eclipse-IDE, but I think, you can understand, how to build a .ear
file...
View the original post :
genman wrote :
| There are a couple pools you're dealing with:
|
| 1. Web service connections. These are configured within some .xml file I
imagine. This configures the number of simultaneous connections.
| 2. Database connections. These are (likely) within some sort of -ds.xml
?xml version=1.0 encoding=UTF-8?
!DOCTYPE mbean SYSTEM D:\eclipse\workspace\ibsext\jboss_xmbean_1_0.dtd
The IBS CONFIG XMBean Example
state-action-on-update value=keep-running/
com.ibs.cofig.mbean.ConfigFile
?xml version=1.0 encoding=UTF-8?
!DOCTYPE mbean SYSTEM D:\eclipse\workspace\ibsext\jboss_xmbean_1_0.dtd
!--mbean
The IBS CONFIG XMBean Example
state-action-on-update value=keep-running/
Also, one other thing I'd like someone to help me understand. And please
forgive my obvious ignorance...
If a connection pool of 50 is specified (minimum), does this mean that jboss
will open 50 dedicated connections to a database host?
Thanks again...
View the original post :
FYI, I eventually got the one named
jakarta-tomcat-connectors-jk-1.2.6-solaris8-sparc-apache-1.3.31_native.so to
work, at least to the point of Apache 1.3.31 starting up without errors. I
renemed it to mod_jk.so, followed directions in the links for mod_jk + Apache,
but the fix was that I had
FYI, I eventually got the one named
jakarta-tomcat-connectors-jk-1.2.6-solaris8-sparc-apache-1.3.31_native.so to
work, at least to the point of Apache 1.3.31 starting up without errors. I
renamed it to mod_jk.so, followed directions in the links to mod_jk + Apache,
but the fix was that I had
[EMAIL PROTECTED] wrote : The ejb container has a jmx name of the form
|
|
| | jboss.j2ee:service=EJB + ,jndiName= + jndiName
| |
|
| where jndiName is the name of the home interface, or the local home if the
ejb does not provide a remote home.
|
| You can also embed the
I'm getting this error from the O'Rielly EJB workbook exercise 2f, chapter 7
(Client_72f).
Is this a error in the workbook code? Is anyone else getting this
error -- does anyone have a fix? Here is more of the message:
[java] javax.ejb.CreateException: Could not create
Perhaps I should have mentioned; my question refers to the 4th edition
(O'Reilly EJBs).
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3855225#3855225
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855225
I have the following situation;
An entitybean has a compound primary key. The primary key consists of a unique
number and a foreign key.
I have already found out that I should use some kind of a wrapper class for the
compound primary key.
The wrapper class is finished and has 2 public fields
It looks to me like you are using the 3.2.6 getting started code with the J2EE
1.4 tutorial from sun.Make sure you are using the 4.0 code:
http://docs.jboss.org/jbossas/getting_started/startguide40.zip
View the original post :
Ok ... after another googling Session one of the pages unavailable fpr the last
days was online again and I found a solution to my problem. Instead of adding a
Class-Path Element to the MANIFEST.MF File I have to add a module to my
application.xml file:
lib/utility.jar
Just thought I
FYI for those that don't know. Apache 2.1 is going to include a replacement for
JK called mod_proxy_ajp
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3855229#3855229
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855229
That is the 3.2.6 getting started code. Try:
http://docs.jboss.org/jbossas/getting_started/startguide40.zip
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3855231#3855231
Reply to the post :
Haha ... what an intelligent system to stip off the xml-tags ...
well I'll just replace with [ and with ] :)
[module]
[java]lib/jakarta-oro-2.0.6.jar[/java]
[/module]
Eat this! ;)
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3855232#3855232
Reply to
Thank you very much , i will test this and inform you, but, one different thing
that i deploy my ear. so when i touch my ear ...
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3855235#3855235
Reply to the post :
I had this same problem trying to debug jgroups in jboss 4.0.0, which didn't
work till I removed the commons-logging.properties from the ebxmlrr folders.
Lot's of thanks - you saved me time here too!
View the original post :
Can you not include the jars in the class path? The entry can be made in the
conf/jboss-service.xml file.
Extract the jars in the ear file to a location (ex: /home/mylib/)
Include the following line in the jboss-service.xml file:
classpath codebase=/home/mylib/ archives=*/
This way the jars
It would also work if I could just make JBoss work with the Tomcat installation
I already have.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3855239#3855239
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855239
Here is the scenario. I have a custom jaas login module that my web app and
EJBs use. A user performs a login. The webpage calls an EJB to do something.
It seems as though the web application authenticates and authorisizes properly,
however, the EJB seems to fail in the same process. Am I
If the archive that you are deploying has been recreated with later classes /
jars you should not need to touch it as it would already have a later modified
time anyway.
If your build process is not updating the modified time of the jar / ear it is
likely that the archive is not being updated
| module
| javalib/jakarta-oro-2.0.6.jar/java
| /module
|
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3855242#3855242
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855242
Thanks, that was it. I have unzipped so many bits and pieces, I overlooked
that the jbossj2ee-src.zip was included in the startguide40.zip file, so went
and got another copy that turned out to be the jboss 3.2 version.
View the original post :
I need to automatically invoke a stateless session bean method after jboss has
started. And probably via a MBean. Can anyone tell me how to detect when jboss
has completed its startup process?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3855245#3855245
Hi All,
We are attempting to use JBoss with a Struts app originally developed under
Weblogic. I'm at the point of compiling JSPs in Ant using
org.apache.jasper.JspC.
There are many custom tag attributes used in the .JSPs that differ from the
.TLD files in case only. Never showed itself is a
Ant can do it with the waitfor task. Probably something like:
| waitfor
| http url=http://localhost:8080/jmx-console/
| /waitfor
|
Good luck,
Brett
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3855248#3855248
Reply to the post :
1st method:
Write an MBean (extend org.jboss.system.ServiceMBeanSupport) and inside the
startService() method make the call to your EJB - make a ./deploy/deploy.last
folder and deploy your MBean in there.
2nd method:
Write an MBean (extend org.jboss.system.ListenerServiceMBeanSupport) and
Hello,
I'm relatively new to EJBs and I have a question on stateless session beans.
I would like to know if I need to remove stateless session beans once I'm
finished using them.
I understand that my J2EE server (JBoss in this case) has a reserve of bean
instances ready to execution business
Chris,
I need to dynamically create an XMBean for a project. I'm not quite following
how you would do this from what you have posted. Could you outline the steps
in more detail or provide some sample code?
Thanks
View the original post :
I am getting this error too. But, my standardjboss.xml shows:
invoker-proxy-binding
session-webservice-invoker
invoker-mbean/
proxy-factoryorg.jboss.net.ws4ee.server.EJBProxyFactoryImpl/proxy-factory
proxy-factory-config/
/invoker-proxy-binding
So, seems like
You answered the question yourself.
Your image is a restricted directory.
Place that image in an unrestricted location.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3855254#3855254
Reply to the post :
on my own little debian install of user mode linux binaries (2.4.26-um3), when
i try to start any jboss 4.0 or 3.2.6 with jdk 1.4.2_06 or 5.0, it just locks
my uml process and i have to kill it off from the host.
on my vps host (using linux 2.4.26-um2), jdk 1.4.2_06 works fine with either
Thanks for your reply
I'm gona to read the EJB Spec
thanks again
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3855261#3855261
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855261
This way I have to reconfigure the server. I want to avoid this. In
Bea-Weblogic I can explicitly export jars inside an ear to the global server
classpath, just as if I had added them to the jboss/server/default/lib
directory. I was wandering if such a thing is available on Jboss.
View the
A Session Facade + Value Object design patterns solves this problem
JaimeS
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3855264#3855264
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855264
I got a fail to obtain type-mapping metadata error when deploying CMP. I am
using JBoss 4.0.0./Java 1.4. I am using mySQL database.
My mysqldb-ds.xml in my deploy directiory looks like:
local-tx-datasource
jndi-nameDefaultDS/jndi-name
Hello,
I'm trying a lot of things with optimizing the loading of CMP's. But still the
purpose of the element eager-load-group in is not clear to me.
To me it looks like the element is a sort of default. Saying something about
the default eager-load-group for a specific CMP bean.
I tried e.q. a
Hi
I'm using jboss 4.0 with postgresql 7.2.
I have cmp's with attribute-column-name mappings set through jbosscmp-jdbc.xml,
e.g:
| jbosscmp-jdbc
| .
| .
| entity
| ejb-nameOperator/ejb-name
| datasourcejava:/jdbc/AmisPooledDS/datasource
|
loubyansky,
Thanks for the message. I tried adding the following code to my 'ejb-jar.xml'
file:
|container-transaction
| method
| ejb-nameProduct/ejb-name
| method-intfLocal/method-intf
| method-nameaddChild/method-name
|
I opened up the src for the DatabaseServerModule and I copied the queries
exactly. I even made sure to structure my db the same way.
Yet same problem... I can enter invalid user name and password all day, but one
I enter the right username and password I get the 403 error... So it does seem
to
I found out what I did wrong.
My login module code must be in the ejb jar files, and also in the war files.
Everything else was done correctly :)
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3855273#3855273
Reply to the post :
move your files out of the directory that requires authentication.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3855274#3855274
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855274
Since you're already using XDoclet I would recommend to let XDoclet create the
PK also.
Mark those fields which are part of the PK with @ejb.pk-field.
Add entitypk to the ejbdoclet task in build.xml.
View the original post :
I successfully followed the instructions in the wiki to get an external
directory to serve static content through JBoss 3.2.6
Now I need to secure access to that content through my JBoss security
configuration. I figured this would be done through the Realm sub-element of
the Context element
The HSQDB database file won't shrink until you do a clean ashutdown.
What is the stack trace of the OOMException?
If you want to continue using HSQLDB, I would use 1.7.2 (which is in 3.2.7RC I
believe, or d/l the .jar file from the website.) Otherwise, I suggest going
with a free database
I have a problem with random inserting an already existing bean errors at a
client - about every month or so.
the error occurs on a line where i am not doing any data inserts of my own.
The error happens on the home.create()
Object ref2 =
At the end of a bunch of hibernate calls I commit my JTA transaction, which
calls org.jboss.hibernate.session.TransactionSynch.beforeCompletion(). Inside
this method I see that session.flush() is called, and it's failing for me
because of a db integrity constraint, which is fine. However, the
Has anyone solved this? I am having the *Exact* same problem. None of my
Exception classes from an external project are being found by JBoss when
deploying the War or EJB Jar for my app. Deployment descriptors are correct,
the Exception classes JBoss is choking itself trying to find are in
?xml version=1.0 encoding=UTF-8?
!DOCTYPE mbean SYSTEM D:\eclipse\workspace\ibsext\jboss_xmbean_1_0.dtd
The IBS CONFIG XMBean Example
state-action-on-update value=keep-running/
com.ibs.cofig.mbean.ConfigFile
?xml version=1.0 encoding=UTF-8?
!DOCTYPE mbean SYSTEM D:\eclipse\workspace\ibsext\jboss_xmbean_1_0.dtd
mbean
descriptionThe IBS CONFIG XMBean Example /description
descriptors
persistence persistPolicy=Never persistPeriod=10
persistLocation=data/JNDIMap.data
I understand your meaning, thanks.
I use jboss3.2.1
| ?xml version=1.0 encoding=UTF-8?
| !DOCTYPE mbean SYSTEM D:\eclipse\workspace\ibsext\jboss_xmbean_1_0.dtd
| mbean
| descriptionThe IBS CONFIG XMBean Example/description
| descriptors
| persistence
Changed the port as per your prior reply from 8080 to 8089, Still get the
following message: How to I get JBoss to run on something other than 8080?
THANKS - Ken Cooper
...22:55:50,906 INFO [Server] Core system initialized
22:55:54,062 INFO [Log4jService$URLWatchTimerTask] Configuring from
Here's some more info. Just recently, about the same time of the hang,
whenever I startup jboss I get the following exception, perhaps this is
related:
---
GMS: address is 10.51.241.62:49800 (additional data: 17 bytes)
hello ,
we shiped an application consist of offline clients using a stand alone
application to process their data and when a client is online - he send an rpc
call to announce he is online , and exchange his data using messages
to jbossMQ for persisting and further processing.
now , the
I'm running jboss-3.2.6, with the included Tomcat web server.
>From a java servlet I want to create a link to a pdf file. Consider the following two lines from my servlet:
out.println(a href='test1.gif'>Click here to get the logo/a>br>);
out.println(a href='test2.pdf'>Click here to get the
edmond wrote : In order to call InitialContext(), what information should be
supplied with Context.INITIAL_CONTEXT_FACTORY? The code fragment is as fllow.
| Hashtable env = new Hashtable();
| env.put(Context.INITIAL_CONTEXT_FACTORY,
org.jnp.interfaces.NamingContextFactory );
|
INFO [NamingService] Started jnpPort=1099, rmiPort=1098
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3855299#3855299
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855299
This might be a stupid question, but did you check if the role that is returned
matches the user's role?
I'm not sure if it's case-sensitive.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3855300#3855300
Reply to the post :
lafr wrote : Since you're already using XDoclet I would recommend to let
XDoclet create the PK also.
| Mark those fields which are part of the PK with @ejb.pk-field.
| Add entitypk to the ejbdoclet task in build.xml.
|
I am familiar with that, but now I would like to know how to use the
92 matches
Mail list logo